How to Train Your Resistive Network: Generalized Equilibrium Propagation and Analytical Learning

arXiv:2602.03546 · cs.LG, cond-mat.dis-nn, cond-mat.mes-hall, cond-mat.soft, cs.ET · Submitted 2026-02-03 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: Today's paper: "How to Train Your Resistive Network".

Jane: The gist: The authors develop an algorithm to exactly calculate gradients using a graph theoretic and analytical framework for Kirchhoff’s laws,

Tom: First, who's behind it and why it matters.

Paper summary: Tom: So, as we move into the second part of this discussion, let's recap where we are. We’ve looked at how this paper, "How to Train Your Resistive Network: Generalized Equilibrium Propagation and Analytical Learning", addresses the energy efficiency problem in analog computing by focusing on training methods that respect physical locality constraints.

Jane: Exactly. The paper starts by explaining the core idea: training these systems without needing a replica or reading out every resistor value is what they call two-phase learning rules like Equilibrium Propagation and Coupled Learning, which compare a free phase to a nudged phase.

Lu: The paper claims that they developed Generalized Equilibrium Propagation, GEP, as this framework to unify those two learning rules by considering the nudged energy in a specific way: F(beta, theta, y) equals Etheta(y) plus n(beta, theta, y), where n satisfies n equals zero when beta is zero and is of order beta.

Meng: So GEP acts like a bridge between those two methods. I need to understand how this unification actually translates into a usable training procedure for the physical network itself.

Lalam: The paper shows that the key result of GEP is that the leading-order two-phase finite difference in parameter derivatives is proportional to the derivative of a generalized objective function defined by h(theta, y0), which is one over k factorial d to k n d beta to k (zero theta, y) <ref:2602.03546#pg3>.

Tom: That formula tells us that GEP gives us a direct connection between the two-phase estimators and the analytical circuit gradient. It's not just a conceptual link; it’s mathematical proof that they are related in a specific way.

Jane: And this framework allows them to see how to compare those different two-phase estimators against the analytical circuit gradient, which is what they call the projector-based analytical learning rule.

Lu: They establish a linear operator viewpoint where the circuit implements the map v equals minus omega A over R s, and then they show that this operator can be interpreted as a weighted cycle-space projector written in edge variables.

Meng: So, if we take that cycle-space projector idea seriously, what’s the immediate implication for training? Does it mean we only need to focus on specific edges?

Lalam: It means the central learning operator is exactly this R-weighted cycle-space projector omega A over R, which is the central learning operator in passive resistor networks.

Conclusion: Tom: We’ve covered a lot here about how this paper "How to Train Your Resistive Network: Generalized Equilibrium Propagation and Analytical Learning" tackles the core problem of training analog hardware energy efficiency. The title itself really sums up the focus on resistive networks.

Jane: It really does, and the authors are showing that they're not just proposing a learning rule, but a unified framework—GEP—that connects different existing methods to an exact analytical gradient calculation for these physical systems.

Lu: The real implication here is that it shows how to co-design hardware, dynamics, and learning rules rather than just abstracting away those three things separately.

Meng: From a deployment perspective, the ability to train without needing a replica over every resistor seems like the most practical win for scaling up these systems.

Lalam: I think the paper confirms that the analytical gradient approach is mathematically rigorous because it defines an exact gradient for learning in passive networks, and that EP and CL appear as approximate implementations of a similar projector-based learning rule.

Tom: So, ultimately, this work suggests a clear path forward for making these analog AI models viable by showing how to integrate the hardware structure directly into the training process.

J. Lin, A. Desai, F. Barrows, F. Caravelli

University of Southern California · Center for Nonlinear Studies at Los Alamos National Laboratory · University of California, Berkeley

cs.LG, cond-mat.dis-nn, cond-mat.mes-hall, cond-mat.soft, cs.ET

Submitted: 2026-02-03

Updated: 2026-02-14

Comments: 8 pages double column; plus 16 supp mat.;

Journal ref: APL Mach. Learn. 4, 036112 (2026)

DOI: 10.1063/5.0326359

Code: https://github.com/jlin1212/differentiable-circuits

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 83/100

The gist: The gist: The authors develop an algorithm to exactly calculate gradients using a graph theoretic and analytical framework for Kirchhoff’s laws, introducing Generalized Equilibrium Propagation

Key concepts

Equilibrium Propagation (EP)
A two-phase learning rule that compares two nearby steady states of a system under the same inputs in both a free phase and a nudged phase. It is an early method for training analog systems by relating parameter derivatives to the derivative of an objective function defined via the nudge.
Coupled Learning (CL)
Another two-phase learning rule that compares two nearby steady states. Like EP, it is used to train analog systems by comparing states in different phases, aiming to find the gradient of a training objective with respect to system parameters.
Generalized Equilibrium Propagation (GEP)
A framework that unifies EP and CL by considering the nudged energy as a function of two variables. GEP allows for a direct comparison between these two-phase estimators and the analytical circuit gradient, providing a broader learning paradigm.
Projector-based Learning
An analytical learning rule that bypasses nudging by directly differentiating the closed-form linear response map of passive resistor networks. This method calculates gradients with respect to edge resistances using physical experiments like voltage and current measurements.

Summary

The gist: The authors develop an algorithm to exactly calculate gradients using a graph theoretic and analytical framework for Kirchhoff’s laws, introducing Generalized Equilibrium Propagation (GEP) as a perturbative viewpoint that unifies Equilibrium Propagation (EP) and Coupled Learning (CL), showing how to train resistor networks without needing a replica or control over all edges<ref:2602.03546#pg12>.

How it works

The paper addresses the challenge of training analog computing systems while respecting locality constraints imposed by physical hardware, which is often energy-intensive<ref:2602.03546#pg2>. Two-phase learning rules, such as Equilibrium Propagation (EP) and Coupled Learning (CL), address this mismatch by comparing two nearby steady states of the same system under the same inputs in both a free phase and a nudged (weakly clamped) phase<ref:2602.03546#pg2>.

The core mathematical framework is rooted in linear response theory from nonequilibrium statistical mechanics, where relaxation dynamics are written as a gradient flow, which is then modified by adding a small training field to induce a nudged energy function<ref:2602.03546#pg12>. The EP identity states that the leading-order two-phase finite difference in parameter derivatives is proportional to the derivative of an objective function defined via the nudge, specifically showing that for standard EP, it recovers the gradient of a training objective with respect to parameters<ref:2602.03546#pg12>.

Two Learning Paradigms

The paper contrasts vanilla two-phase learning (EP-style) with projector-based (analytical) learning rules, which bypass nudging entirely by differentiating the closed-form linear response map of passive resistor networks<ref:2602.03546#pg12>.

  1. Vanilla two-phase learning involves comparing a free steady state to a nudged steady state, where the nudge is an explicit linear energy term, leading to an update that is a “difference-of-squares” rule in resistance form<ref:2602.03546#pg12>.

  2. The projector-based learning rule differentiates the closed-form map to obtain an analytical gradient with respect to edge resistances, which can be implemented physically using a small number of voltage- and current-mode experiments that realize the response operator ΩA/R<ref:2602.03546#pg12>.

Generalized Equilibrium Propagation (GEP)

GEP is introduced as a perturbative viewpoint that unifies EP and CL by considering the nudged energy as F(β, θ, y) = Eθ(y) + n(β, θ, y), where n satisfies n(0, θ, y) = 0 and n(β, θ, y) = O(β)<ref:2602.03546#pg12>. This framework allows for a direct comparison between two-phase estimators and the analytical circuit gradient<ref:2602.03546#pg12>.

The key result of GEP is that the leading-order two-phase finite difference in parameter derivatives is proportional to the derivative of a generalized objective function defined by h(theta, y0), where h(theta, y) = 1/k! d k n / dβ k (0, θ, y)<ref:2602.03546#pg12>.

Circuits as Tunable Input–Output Maps

The paper establishes a linear operator viewpoint where the circuit implements the map v = -ΩA/Rs s<ref:2602.03546#pg12>. This allows for explicit inference: a voltage-mode experiment implements s ↦→ v (left multiplication by-ΩA/R), and reciprocal/current-mode manipulations can access the adjoint action Ω T A/R<ref:2602.03546#pg12>.

The induced input–output map W R = -γ PoΩA/Rp i satisfies rank(W R) ≤ min(Ei, Eo, C)<ref:2602.03546#pg12>. This rank bound is crucial for understanding the expressivity of the network<ref:2602.03546#pg12>.

Performance and Bounds

Experiments on classification and regression tasks demonstrate that projector-based training is typically more stable than two-phase learning, while achieving comparable performance when the latter succeeds<ref:2602.03546#pg12>. Furthermore, the analytical gradient remains unbiased under additive zero-mean observation noise E[ε x] = 0, unlike the two-phase estimator which incurs both a finite-β approximation error and an O(β) noise-induced bias<ref:2602.03546#pg12>.

The analysis also provides bounds on the input–output map implemented by the circuit projector, showing that for an input pattern applied on the designated input edges, the resulting output voltages satisfy v(output) ≤ s(input)2/√Rmax/Rmin<ref:2602.03546#pg12>.

Conclusion

The work concludes that the R-weighted cycle-space projector ΩA/R directly defines an exact gradient for learning in passive networks, and that Equilibrium Propagation and Coupled Learning appear as approximate implementations of a similar projector-based learning rule<ref:2602.03546#pg12>. The paper suggests clear extensions to noise, dynamics, and nonlinear devices, and to co-design of graph structure, edge selection, and learning rules<ref:2602.03546#pg12>.

How it works

The authors show that the standard two-phase current-squared contrastive update converges in the β → 0 limit to the gradient of a distinct objective function<ref:2602.03546#pg12>. The analytical gradient does not incur the finite-β approximation error of the two-phase estimator and remains unbiased under additive zero-mean observation noise, with remaining uncertainty arising only from variance due to observation noise and finite-sample averaging<ref:2602.03546#pg12>.

The paper further demonstrates that while both vanilla two-phase learning and Ω learning perform well in the noiseless setting, Ω learning has a significant advantage in the noisy setting due to the statistical bias in the gradient estimates of vanilla two-phase learning<ref:2602.03546#pg12>.

How it works

The paper shows that for margin-violating samples, a subgradient is given by-v T T (I − ΩA/R) diag(i)<ref:2602.03546#pg12>. The projector-based scheme implements this update by applying an output-supported error vector ε and computing Δ = (I − Ω T A/R)ε, where the action of Ω T A/R is realized by a reciprocal/current-mode experiment<ref:2602.03546#pg12>.

The resulting resistance update is then local: Δr ∝ iF ⊙ Δ<ref:2602.03546#pg12>. This mirrors the analytical structure in (155) and removes finite-nudge bias at the estimator level<ref:2602.03546#pg12>.

How it works

The paper shows that for any vector u ∈ R E, we can set the source voltages to be s = r ⊙ u, then measure the voltages v = -ΩA/R s. We then perform a Hadamard multiplication by r-1, the element-wise reciprocal of r, obtaining-Ω T A/R u = r-1 ⊙ v<ref:2602.03546#pg12>. This can be done completely locally, adhering to physical constraints<ref:2602.03546#pg12>.

The paper further notes that because ΩA/R is an idempotent (oblique) projector, Ω squared A/R = ΩA/R, compositions of biasing/measurement steps simplify algebraically<ref:2602.03546#pg12>. This makes it possible to analyze complex multi-step physical protocols as products of ΩA/R and Ω T A/R, providing a direct bridge between circuit experiments and the learning rules developed in the main text<ref:2602.03546#pg12>.

How it works

The paper shows that for a given target yT ∈ R Eo, the loss L(theta) attains a global minimum on Θ, and min theta ∈Θ L(theta) = 0 iff yT ∈ f(Θ)<ref:2602.03546#pg12>. This confirms the existence of a global minimizer for the training objective<ref:2602.03546#pg12>.

The paper also shows that for a fixed target yT ∈ R Eo, L(theta) = 0 iff f(theta) = yT, which is possible iff yT ∈ f(Θ)<ref:2602.03546#pg12>. This confirms the existence of a global minimizer for the training objective<ref:2602.03546#pg12>.

Improvements for AI systems

  1. textbfOmega-based Analytical Gradient Training for Resistor Networks (Algorithm 2): The system can compute an exact, physically interpretable gradient for training edge conductances without needing a replica or control over all edges by implementing the analytical update: The resistance update is then local: Δr ∝ iF ⊙ Δ.

  2. textbfBeyond Finite-Nudge Bias in Learning Rules: Generalized Equilibrium Propagation (GEP): This framework unifies Equilibrium Propagation (EP) and Coupled Learning (CL) by assuming a generalized objective function of the form l(theta) = 1/k! ∇ k β n(0,theta,y), allowing for a comparison between two-phase estimators on a common footing for comparison with the exact resistor-network gradients.

  3. textbfRobustness to Partial Control: Improved Performance Under Limited Actuation: The projector-based estimator exhibits lower variance and more consistent performance improvement as access to edges increases, whereas the contrastive estimator degrades more sharply under partial control, implying that the control over all resistive states (e.g. updating the resistive value based on the gradient) is not strictly necessary.

  4. textbfHandling Noisy Data: Unbiased Analytical Gradient for Regression: The analytical gradient remains unbiased under additive zero-mean observation noise because the observed analytical gradient satisfies E[Aˆ(x) x] = A(x), unlike the two-phase estimator which suffers from a noise-induced bias.

  5. textbf Enhanced Stability and Convergence: Superior Training Landscapes: Experiments show that while both methods achieve comparable accuracy, the projector-based training exhibits lower variance and more consistent performance improvement in noisy settings, suggesting it is typically more stable than two-phase learning.

Abstract

Machine learning is a powerful method of extracting meaning from data; unfortunately, current digital hardware is extremely energy-intensive. There is interest in an alternative analog computing implementation that could match the performance of traditional machine learning while being significantly more energy-efficient. However, it remains unclear how to train such analog computing systems while adhering to locality constraints imposed by the physical (as opposed to digital) nature of these systems. Local learning algorithms such as Equilibrium Propagation and Coupled Learning have been proposed to address this issue. In this paper, we develop an algorithm to exactly calculate gradients using a graph theoretic and analytical framework for Kirchhoff's laws. We also introduce Generalized Equilibrium Propagation, a framework encompassing a broad class of Hebbian learning algorithms, including Coupled Learning and Equilibrium Propagation, and show how our algorithm compares. We demonstrate our algorithm using numerical simulations and show that we can train resistor networks without the need for a replica or readout over all resistors, only at the output layer. We also show that under the analytical gradient approach, it is possible to update only a subset of the resistance values without a strong degradation in performance.

Sources

Related papers