Lune

NeurIPS2023Top-tier venue

Energy-based learning algorithms for analog computing: a comparative study

Benjamin Scellier, Maxence Ernoult, Jack D. Kendall, Suhas Kumar

Abstract

Energy-based learning algorithms have recently gained a surge of interest due to their compatibility with analog (post-digital) hardware. Existing algorithms include contrastive learning (CL), equilibrium propagation (EP) and coupled learning (CpL), all consisting in contrasting two states, and differing in the type of perturbation used to obtain the second state from the first one. However, these algorithms have never been explicitly compared on equal footing with same models and datasets, making it difficult to assess their scalability and decide which one to select in practice. In this work, we carry out a comparison of seven learning algorithms, namely CL and different variants of EP and CpL depending on the signs of the perturbations. Specifically, using these learning algorithms, we train deep convolutional Hopfield networks (DCHNs) on five vision tasks (MNIST, F-MNIST, SVHN, CIFAR-10 and CIFAR-100). We find that, while all algorithms yield comparable performance on MNIST, important differences in performance arise as the difficulty of the task increases. Our key findings reveal that negative perturbations are better than positive ones, and highlight the centered variant of EP (which uses two perturbations of opposite sign) as the best-performing algorithm. We also endorse these findings with theoretical arguments. Additionally, we establish new SOTA results with DCHNs on all five datasets, both in performance and speed. In particular, our DCHN simulations are 13.5 times faster with respect to Laborieux et al. (2021), which we achieve thanks to the use of a novel energy minimisation algorithm based on asynchronous updates, combined with reduced precision (16 bits).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

13 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The least-control principle for local learning at equilibrium cites A contrastive rule for meta-learning
  • A fast algorithm to simulate nonlinear resistive networks cites Holomorphic Equilibrium Propagation Computes Exact Gradients Through Finite Size Oscillations
  • Holomorphic Equilibrium Propagation Computes Exact Gradients Through Finite Size Oscillations cites A contrastive rule for meta-learning
  • Learning long range dependencies through time reversal symmetry breaking cites A fast algorithm to simulate nonlinear resistive networks
  • Analog In-memory Training on General Non-ideal Resistive Elements: The Impact of Response Functions cites Towards Exact Gradient-based Training on Analog In-memory Computing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. Towards Exact Gradient-based Training on Analog In-memory ComputingZhaoxian Wu, Tayfun Gokmen, Malte J. Rasch, Tianyi ChenNeurIPS 2024 · 11 citations
  2. Only Strict Saddles in the Energy Landscape of Predictive Coding Networks?Francesco Innocenti, El Mehdi Achour, Ryan Singh, Christopher L. BuckleyNeurIPS 2024 · 10 citations
  3. Learning long range dependencies through time reversal symmetry breakingGuillaume Pourcel, Maxence ErnoultNeurIPS 2025 · 9 citations
  4. A fast algorithm to simulate nonlinear resistive networksBenjamin ScellierICML 2024 · 8 citations
  5. Analog In-memory Training on General Non-ideal Resistive Elements: The Impact of Response FunctionsZhaoxian Wu, Quan Xiao, Tayfun Gokmen, Omobayode Fagbohungbe et al.NeurIPS 2025 · 8 citations

Builds on8

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Your classifier is secretly an energy based model and you should treat it like oneWill Grathwohl, Kuan-Chieh Wang, Jörn-Henrik Jacobsen, David Duvenaud et al.ICLR 2020 · 643 citations
  3. Holomorphic Equilibrium Propagation Computes Exact Gradients Through Finite Size OscillationsAxel Laborieux, Friedemann ZenkeNeurIPS 2022 · 65 citations
  4. The least-control principle for local learning at equilibriumAlexander Meulemans, Nicolas Zucchet, Seijin Kobayashi, Johannes von Oswald et al.NeurIPS 2022 · 32 citations
  5. A contrastive rule for meta-learningNicolas Zucchet, Simon Schug, Johannes von Oswald, Dominic Zhao et al.NeurIPS 2022 · 22 citations

Related papers

  1. Dual Propagation: Accelerating Contrastive Hebbian Learning with Dyadic NeuronsRasmus Kjær Høier, D. Staudt, Christopher ZachICML 2023 · 14 citations
  2. Towards training digitally-tied analog blocks via hybrid gradient computationTimothy Nest, Maxence ErnoultNeurIPS 2024 · 6 citations
  3. Backpropagation at the Infinitesimal Inference Limit of Energy-Based Models: Unifying Predictive Coding, Equilibrium Propagation, and Contrastive Hebbian LearningBeren Millidge, Yuhang Song, Tommaso Salvatori, Thomas Lukasiewicz et al.ICLR 2023 · 6 citations
  4. Equilibrium Propagation for Non-Conservative SystemsAntonino Emanuele Scurria, Dimitri Vanden Abeele, Bortolo Matteo Mognetti, Serge MassarICML 2026 · 2 citations
  5. Flexible Phase Dynamics for Bio-Plausible Contrastive LearningEzekiel Williams, Colin Bredenberg, Guillaume LajoieICML 2023 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines