[Paper Review] Equilibrium Propagation with Continual Weight Updates
This paper introduces Continual Equilibrium Propagation (C-EP), a biologically plausible learning algorithm that enables synaptic weight updates to occur continuously during the second phase of equilibrium propagation, ensuring both spatial and temporal locality. Theoretically, C-EP closely approximates BPTT gradients when learning rates are sufficiently small, and empirically, it achieves competitive MNIST classification accuracy, with further extension to asymmetric networks via the C-VF method.
Equilibrium Propagation (EP) is a learning algorithm that bridges Machine Learning and Neuroscience, by computing gradients closely matching those of Backpropagation Through Time (BPTT), but with a learning rule local in space. Given an input $x$ and associated target $y$, EP proceeds in two phases: in the first phase neurons evolve freely towards a first steady state; in the second phase output neurons are nudged towards $y$ until they reach a second steady state. However, in existing implementations of EP, the learning rule is not local in time: the weight update is performed after the dynamics of the second phase have converged and requires information of the first phase that is no longer available physically. In this work, we propose a version of EP named Continual Equilibrium Propagation (C-EP) where neuron and synapse dynamics occur simultaneously throughout the second phase, so that the weight update becomes local in time. Such a learning rule local both in space and time opens the possibility of an extremely energy efficient hardware implementation of EP. We prove theoretically that, provided the learning rates are sufficiently small, at each time step of the second phase the dynamics of neurons and synapses follow the gradients of the loss given by BPTT (Theorem 1). We demonstrate training with C-EP on MNIST and generalize C-EP to neural networks where neurons are connected by asymmetric connections. We show through experiments that the more the network updates follows the gradients of BPTT, the best it performs in terms of training. These results bring EP a step closer to biology by better complying with hardware constraints while maintaining its intimate link with backpropagation.
Motivation & Objective
- To address the non-locality in time of existing Equilibrium Propagation (EP) implementations, where weight updates depend on information from the first steady state that is no longer physically available.
- To develop a learning rule that is local in both space and time, enabling potential hardware implementations with minimal energy consumption.
- To generalize EP to networks with asymmetric synaptic connections, which are more biologically realistic and common in deep learning.
- To demonstrate that continual weight updates during the second phase maintain alignment with BPTT gradients under small learning rates.
- To validate the method on MNIST using fully connected and deep architectures, showing performance comparable to standard EP.
Proposed method
- Proposes Continual Equilibrium Propagation (C-EP), where synaptic weight updates occur continuously throughout the second phase of dynamics, rather than after convergence.
- Introduces a temporal update rule that applies small, incremental weight changes at each time step of the second phase based on the difference in network activity between consecutive steps.
- Theoretical foundation: proves that under sufficiently small learning rates, the dynamics of neurons and synapses in C-EP follow the gradients of the loss function as computed by Backpropagation Through Time (BPTT), a property termed Gradient Descending Dynamics (GDD).
- Adapts C-EP to asymmetric networks via the Continual Vector Field (C-VF) approach, inspired by Scellier et al. (2018), to relax the symmetry constraint on synaptic weights.
- Employs a debugging algorithm (Alg. 5) that uses a tiny learning rate for accurate gradient approximation and rescales the final update to maintain training speed.
- Uses discrete-time RNN dynamics with a Lyapunov function to ensure convergence and stability during both phases.
Experimental results
Research questions
- RQ1Can synaptic weight updates in Equilibrium Propagation be made temporally local by updating weights continuously during the second phase?
- RQ2Does the continual update rule in C-EP preserve alignment with the gradients computed by BPTT under small learning rates?
- RQ3Can C-EP be generalized to neural networks with asymmetric synaptic connections, which are more biologically plausible?
- RQ4How does the performance of C-EP compare to standard EP in terms of training accuracy and convergence speed on standard benchmarks like MNIST?
- RQ5What is the impact of learning rate magnitude on the accuracy of C-EP, and can performance be recovered via rescaling of small updates?
Key findings
- C-EP achieves a test error of $1.89 \pm 0.22\%$ on MNIST with a two-hidden-layer fully connected network, matching the performance of standard EP.
- With a one-hidden-layer network, C-EP achieves $2.06 \pm 0.13\%$ test error using the debugging procedure (Alg. 5), confirming its ability to approximate BPTT gradients when learning rates are sufficiently small.
- The performance degradation observed in standard C-EP training is attributed to a learning rate that is too large; using a tiny learning rate and rescaling recovers near-optimal performance.
- The C-VF method enables training on networks with asymmetric connections, achieving $4.59 \pm 0.92\%$ test error on MNIST with one hidden layer and $5.05 \pm 1.17\%$ with two hidden layers.
- Training curves show that C-EP and C-VF converge stably over 100 epochs, with low variance across five trials, indicating robustness.
- Theoretical analysis confirms that C-EP exhibits the Gradient Descending Dynamics (GDD) property, meaning the system's dynamics follow BPTT gradients when learning rates are small.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.