A Physical Theory of Backpropagation: Exact Gradients from the Least-Action Principle
Antonino Emanuele Scurria

TL;DR
This paper derives exact backpropagation from Hamilton's least-action principle, unifying inference and gradient computation within a continuous-time variational framework inspired by physics.
Contribution
It introduces a novel Hamiltonian-based formalism that derives exact backpropagation without separate backward passes or weight symmetry constraints.
Findings
Exact backpropagation is recovered as a discrete projection of continuous Hamiltonian flow.
Unified inference and gradient computation unfold through local interactions without a separate backward circuit.
The framework opens pathways for physics-inspired analysis and neuromorphic implementations of learning.
Abstract
Backpropagation is typically presented as a symbolic procedure: a backward pass topologically distinct from inference, with non-local error signals and synchronous global clocking, features with no clear analog in physical reality. Existing physics-inspired alternatives recover gradients only approximately, in vanishing-perturbation limits, or under weight-symmetry constraints incompatible with feedforward architectures. In this paper, we address this gap by deriving exact backpropagation from Hamilton's least-action principle. By recasting the forward dynamics in continuous time and adapting a Lagrangian formalism for non-conservative systems to the resulting flow, we unify inference and gradient computation within a single variational framework on a doubled phase space, whose two conjugate fields jointly encode activations and sensitivities. A single global Lagrangian governs the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
