All models

Equilibrium Propagation (EqProp)

A layered continuous Hopfield network for MNIST that predicts by relaxing to a fixed point of its energy function.

563 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (49 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
398.3K
Operations
563
Framework
PyTorch
Recurrent
Yes
Published
Frontiers in Computational Neuroscience 2017
Cited by
482 (as of 27 October 2026)
Authors
Benjamin Scellier, Yoshua Bengio
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16464
Graph hash
cf15a51202f6352c3019ddb7d64a34964c94fbb1b9d8bb6bca578ee3b79235ed
Skeleton hash
cf15a51202f6352c3019ddb7d64a34964c94fbb1b9d8bb6bca578ee3b79235ed
Architecture hash
7256fec1d340ad55c15ae4787d159997975645711c5d7495b7ad534bf635d303
Diagram SHA-256
a39099841c5a4253fa623be7474de28fd3cbc1aff174d310ce27e8b20e893ff2
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Equilibrium Propagation is a learning framework for energy-based models, with the continuous Hopfield model as its prototype. Prediction in such a network is not a single feedforward pass: the inputs are clamped and the network relaxes to a fixed point, a local minimum of its energy function, where the prediction is read from the output units.

Training adds a second phase in which the outputs are nudged slightly toward their targets and the network settles to a new, nearby fixed point. The learning rule contrasts the two fixed points, and the paper proves it performs gradient descent on the squared error. Both phases use the same kind of neural computation, which the authors offer as more biologically plausible than Backpropagation. It still requires symmetric weights, which the paper flags as an open question from a biological perspective.

This model comes from a PyTorch implementation of the algorithm that trains energy-based models on MNIST. In the original paper, the authors trained networks with 1, 2 and 3 hidden layers on MNIST and report 0.00% training error, with generalization error between 2% and 3% depending on the architecture. They also found that the number of iterations needed to reach the free fixed point is large and grows fast with the number of layers, which slows training considerably.

Key idea. The paper introduces a two-phase learning procedure for energy-based models that computes the gradient of an objective function without a special computation or circuit for the second phase.

  • equilibrium propagation
  • eqprop
  • ep
  • energy-based model
  • continuous hopfield network
  • biologically plausible learning
  • backpropagation alternative
  • fixed point relaxation
  • mnist classification

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{scellier2017equilibriumpropagationbridginggap,
      title={Equilibrium Propagation: Bridging the Gap Between Energy-Based Models and Backpropagation}, 
      author={Benjamin Scellier and Yoshua Bengio},
      year={2017},
      eprint={1602.05179},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1602.05179}, 
}