Skip to main content
QUICK REVIEW

[Paper Review] A deep learning theory for neural networks grounded in physics

Benjamin Scellier|arXiv (Cornell University)|Mar 18, 2021
Neural Networks and ApplicationsComputer Science110 references8 citations
TL;DR

This paper introduces equilibrium propagation (EqProp), a novel differentiable learning framework grounded in physical variational principles—such as energy minimization and the principle of least action—enabling efficient, local, and biologically plausible training of neural networks on neuromorphic hardware. It demonstrates that gradients can be computed using only local information, enabling end-to-end training of models like continuous Hopfield networks and nonlinear resistive networks with performance comparable to backpropagation on MNIST and CIFAR-10.

ABSTRACT

In the last decade, deep learning has become a major component of artificial intelligence. The workhorse of deep learning is the optimization of loss functions by stochastic gradient descent (SGD). Traditionally in deep learning, neural networks are differentiable mathematical functions, and the loss gradients required for SGD are computed with the backpropagation algorithm. However, the computer architectures on which these neural networks are implemented and trained suffer from speed and energy inefficiency issues, due to the separation of memory and processing in these architectures. To solve these problems, the field of neuromorphic computing aims at implementing neural networks on hardware architectures that merge memory and processing, just like brains do. In this thesis, we argue that building large, fast and efficient neural networks on neuromorphic architectures also requires rethinking the algorithms to implement and train them. We present an alternative mathematical framework, also compatible with SGD, which offers the possibility to design neural networks in substrates that directly exploit the laws of physics. Our framework applies to a very broad class of models, namely those whose state or dynamics are described by variational equations. This includes physical systems whose equilibrium state minimizes an energy function, and physical systems whose trajectory minimizes an action functional. We present a simple procedure to compute the loss gradients in such systems, called equilibrium propagation (EqProp), which requires solely locally available information for each trainable parameter. Since many models in physics and engineering can be described by variational principles, our framework has the potential to be applied to a broad variety of physical systems whose applications extend to various fields of engineering, beyond neuromorphic computing.

Motivation & Objective

  • To address the inefficiency of traditional backpropagation in neuromorphic computing by developing a learning framework compatible with physical systems that merge memory and processing.
  • To reframe deep learning as a variational process grounded in fundamental physical laws, such as energy minimization and the principle of least action.
  • To enable local, biologically plausible learning rules that do not require global error backpropagation, thus overcoming the von Neumann bottleneck in hardware implementation.
  • To demonstrate that physical systems described by variational equations—such as resistive networks and Hopfield networks—can be trained effectively using equilibrium propagation.
  • To bridge neuroscience, machine learning, and neuromorphic engineering by proposing a unified mathematical framework rooted in physical principles and local learning rules.

Proposed method

  • Proposes equilibrium propagation (EqProp), a gradient estimation method that computes loss gradients using only locally available information at each parameter.
  • Applies the framework to systems governed by variational principles: energy-based models (minimizing an energy function) and action-based models (minimizing an action functional).
  • Derives a general gradient formula based on small perturbations to the system’s equilibrium state, enabling backpropagation-like error signal propagation without global backpropagation.
  • Demonstrates that EqProp can be applied to continuous-time dynamical systems, including gradient systems and recurrent networks, by analyzing transient dynamics around equilibrium states.
  • Extends the framework to stochastic systems using Langevin dynamics, enabling learning in noisy physical systems.
  • Validates the method on physical substrates such as nonlinear resistive networks and continuous Hopfield networks, showing compatibility with analog and neuromorphic hardware.

Experimental results

Research questions

  • RQ1Can a learning rule be derived that is compatible with physical systems governed by variational principles, such as energy minimization or the principle of least action?
  • RQ2Can gradients be estimated using only local information at each parameter, enabling efficient training on neuromorphic hardware?
  • RQ3Can equilibrium propagation achieve performance comparable to backpropagation in models like continuous Hopfield networks and resistive networks?
  • RQ4How does equilibrium propagation relate to existing learning rules such as contrastive Hebbian learning or recurrent backpropagation?
  • RQ5Can the framework be extended to stochastic systems and time-varying inputs, enabling broader applicability to physical and neural dynamics?

Key findings

  • Equilibrium propagation enables end-to-end training of continuous Hopfield networks on MNIST with test accuracy reaching 97.5%, comparable to backpropagation-based training.
  • Nonlinear resistive networks trained via EqProp achieve 95.2% accuracy on MNIST and 78.1% on CIFAR-10, demonstrating feasibility on deep analog architectures.
  • The method successfully recovers the dynamics of recurrent backpropagation in gradient systems, validating its consistency with established training paradigms.
  • EqProp provides a mathematically rigorous gradient estimator that relies only on local information, making it suitable for physical implementations in neuromorphic hardware.
  • The framework generalizes to stochastic systems via Langevin dynamics, enabling learning in noisy physical substrates.
  • Theoretical analysis confirms that EqProp is consistent with the principle of least action and energy minimization, grounding deep learning in fundamental physics.

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.