Skip to main content
QUICK REVIEW

[Paper Review] Updates of Equilibrium Prop Match Gradients of Backprop Through Time in an RNN with Static Input

Maxence Ernoult, Julie Grollier|arXiv (Cornell University)|May 31, 2019
Neural Networks and ApplicationsComputer Science8 citations
TL;DR

This paper introduces a discrete-time formulation of Equilibrium Propagation (EP) that achieves exact gradient matching with Backpropagation Through Time (BPTT) under specific conditions—when the RNN's transition function derives from a primitive function and the steady state is maintained. It demonstrates that EP can train fully connected and convolutional networks with performance comparable to BPTT, achieving ~1% test error on MNIST, the lowest reported with EP to date.

ABSTRACT

Equilibrium Propagation (EP) is a biologically inspired learning algorithm for convergent recurrent neural networks, i.e. RNNs that are fed by a static input x and settle to a steady state. Training convergent RNNs consists in adjusting the weights until the steady state of output neurons coincides with a target y. Convergent RNNs can also be trained with the more conventional Backpropagation Through Time (BPTT) algorithm. In its original formulation EP was described in the case of real-time neuronal dynamics, which is computationally costly. In this work, we introduce a discrete-time version of EP with simplified equations and with reduced simulation time, bringing EP closer to practical machine learning tasks. We first prove theoretically, as well as numerically that the neural and weight updates of EP, computed by forward-time dynamics, are step-by-step equal to the ones obtained by BPTT, with gradients computed backward in time. The equality is strict when the transition function of the dynamics derives from a primitive function and the steady state is maintained long enough. We then show for more standard discrete-time neural network dynamics that the same property is approximately respected and we subsequently demonstrate training with EP with equivalent performance to BPTT. In particular, we define the first convolutional architecture trained with EP achieving ~ 1% test error on MNIST, which is the lowest error reported with EP. These results can guide the development of deep neural networks trained with EP.

Motivation & Objective

  • To develop a computationally efficient, discrete-time version of Equilibrium Propagation (EP) for practical machine learning.
  • To prove theoretically and numerically that EP updates match BPTT gradients when the RNN transition function derives from a primitive and the steady state is long-lived.
  • To extend EP to standard neural network architectures, including convolutional networks, with performance comparable to BPTT.
  • To reduce simulation time in EP by a factor of 3–5 compared to real-time EP, enabling larger-scale training.
  • To achieve the lowest reported test error on MNIST using EP, validating its potential for deep learning.

Proposed method

  • Proposes a discrete-time formulation of EP, replacing continuous-time dynamics with iterative update rules based on gradient-like updates.
  • Introduces a two-phase process: first phase computes the steady-state activation under input x; second phase introduces a perturbation (elastic force) to compute weight updates.
  • Derives weight updates in EP as the difference in gradients of a modified energy function, analogous to BPTT's backpropagated gradients.
  • Establishes a step-by-step correspondence between EP's forward-time neural updates and BPTT's backward-time gradients under the GDU (Gradient-Descending Updates) condition.
  • Employs a primitive function to ensure the transition function satisfies the GDU property, enabling exact gradient matching.
  • Applies the method to fully connected and convolutional architectures using standard activation functions and hyperparameters, with training stabilized via energy-based and prototypical settings.

Experimental results

Research questions

  • RQ1Under what conditions does Equilibrium Propagation produce weight updates identical to those of Backpropagation Through Time?
  • RQ2Can a discrete-time formulation of EP match the gradients of BPTT in both theory and practice?
  • RQ3To what extent does the GDU property hold in standard, non-ideal neural network dynamics?
  • RQ4Can EP be successfully applied to train deep and convolutional neural networks with performance comparable to BPTT?
  • RQ5Can the simulation time of EP be significantly reduced without sacrificing learning accuracy?

Key findings

  • Theoretical analysis proves that EP updates exactly match BPTT gradients when the RNN's transition function derives from a primitive function and the steady state is maintained long enough.
  • Numerical experiments confirm the GDU property holds exactly in idealized settings and approximately in standard, prototypical networks.
  • The discrete-time EP formulation reduces simulation time by a factor of 3 to 5 compared to real-time EP, enabling larger-scale training.
  • EP successfully trains a convolutional neural network on MNIST, achieving a test error of approximately 1%, the lowest reported with EP to date.
  • Training with EP achieves performance comparable to BPTT across fully connected architectures with one to three hidden layers in both energy-based and prototypical settings.
  • The method demonstrates that EP can be scaled to standard deep learning architectures, offering a biologically plausible and energy-efficient alternative to backpropagation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.