Echo learning enables biologically plausible temporal credit assignment
Abstract
Biologically plausible learning requires temporal credit assignment without backpropagation through time (BPTT). Hamiltonian Echo Learning (HEL) achieves this by running a neural system twice: first, an inference phase then an input-reversed echo phase, and recovers exact BPTT gradients. We identify spatio-temporal sum-separability of the Hamiltonian as the structural condition making HEL’s learning rule both spatially and temporally local. We showed its efficiency in practice by training end-to-end a Hopfield-inspired oscillatory RNN with dense, nonlinear recurrent connectivity in which HEL yields a contrastive Hebbian rule with constant memory. This rule matches full BPTT and outperforms e-prop and truncated BPTT on time-series classification and regression. We then relax HEL’s Hamiltonian-reversibility constraint which forces unbiological connectivity and activation patterns to derive Echo Learning (EL). EL can be applied to arbitrary smooth dynamics and recovers exact gradients whenever the network satisfies two properties, reversibility and self-adjointness. Both conditions can be enforced by a temporally local homeostatic loss, recovering near-BPTT gradient quality.