Global error signal guides local optimization in mismatch calculation | Synapse