Learning long range dependencies through time reversal symmetry breaking
Not on the map. Why?
Abstract (arXiv)
Deep State Space Models (SSMs) reignite physics-grounded compute paradigms, as RNNs could natively be embodied into dynamical systems. This calls for dedicated learning algorithms obeying to core physical principles, with efficient techniques to simulate these systems and guide their design. We propose Recurrent Hamiltonian Echo Learning (RHEL), an algorithm which provably computes loss gradients as finite differences of physical trajectories of non-dissipative, Hamiltonian systems. In ML terms, RHEL only requires three "forward passes" irrespective of model size, without explicit Jacobian computation, nor incurring any variance in the gradient estimation. Motivated by the physical realization of our algorithm, we first introduce RHEL in continuous time and demonstrate its formal equivalence with the continuous adjoint state method. To facilitate the simulation of Hamiltonian systems trained by RHEL, we propose a discrete-time version of RHEL which is equivalent to Backpropagation Through Time (BPTT) when applied to a class of recurrent modules which we call Hamiltonian Recurrent Units (HRUs). This setting allows us to demonstrate the scalability of RHEL by generalizing these results to hierarchies of HRUs, which we call Hamiltonian SSMs (HSSMs). We apply RHEL to train HSSMs with linear and nonlinear dynamics on a variety of time-series tasks ranging from mid-range to long-range classification and regression with sequence length reaching ~ 50k. We show that RHEL consistently matches the performance of BPTT across all models and tasks. This work opens new doors for the design of scalable, energy-efficient physical systems endowed with self-learning capabilities for sequence modelling.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 40 of its 59 references that are in the map. First posted on arXiv 5 Jun 2025.
Builds on
40 of 59 references.
References · 40
- 2017Attention Is All You Needcited by 60,361
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2015Automatic differentiation in machine learning: a surveycited by 855
- 2022Simplified State Space Layers for Sequence Modelingcited by 788
- 2019Hamiltonian Neural Networkscited by 712
- 2016Language Modeling with Gated Convolutional Networkscited by 702
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
- 2020Lagrangian Neural Networkscited by 398
28 more
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
- 2023Fine-Tuning Language Models with Just Forward Passescited by 345
- 2018The UEA multivariate time series classification archive, 2018cited by 338
- 2016Equilibrium Propagation: Bridging the Gap Between Energy-Based Models and Backpropagationcited by 259
- 2020The Hardware Lotterycited by 160
- 2019Symplectic Recurrent Neural Networkscited by 150
- 2019Hamiltonian Generative Networkscited by 137
- 2022Scaling Forward Gradient With Local Lossescited by 65
- 2020Scaling Equilibrium Propagation to Deep ConvNets by Drastically Reducing its Gradient Estimator Biascited by 64
- 2021UnICORNN: A recurrent model for learning very long time dependenciescited by 56
- 2024Training of Physical Neural Networkscited by 49
- 2017Unbiased Online Recurrent Optimizationcited by 47
- 2024The Elements of Differentiable Programmingcited by 43
- 2022Holomorphic Equilibrium Propagation Computes Exact Gradients Through Finite Size Oscillationscited by 42
- 2024Oscillatory State-Space Modelscited by 39
- 2023Energy-based learning algorithms for analog computing: a comparative studycited by 37
- 2024Log Neural Controlled Differential Equations: The Lie Brackets Make a Differencecited by 35
- 2021Self-learning Machines based on Hamiltonian Echo Backpropagationcited by 28
- 2023Can Forward Gradient Match Backpropagation?cited by 26
- 2023Online learning of long-range dependenciescited by 25
- 2022Agnostic Physics-Driven Deep Learningcited by 15
- 2024Memory-Efficient Optimization with Factorized Hamiltonian Descentcited by 11
- 2019Stochastic Subspace Descentcited by 10
- 2023The hardware is the softwarecited by 8
- 2024A Fast Algorithm to Simulate Nonlinear Resistive Networkscited by 6
- 2016Magnetic Hamiltonian Monte Carlocited by 4
- 2024Towards training digitally-tied analog blocks via hybrid gradient computationcited by 4
- 2025A Truly Sparse and General Implementation of Gradient-Based Synaptic Plasticitycited by 1
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2025Local Learning Rules for Out-of-Equilibrium Physical Generative Modelscited by 4
- 2026PaperFit: Vision-in-the-Loop Typesetting Optimization for Scientific Documentscited by 1
- 2025ASecond-Order SpikingSSM for Wearablescited by 0
- 2026Reshape and Recur: Improving SSMs with Input Reshaping and Depth Recurrencecited by 0
- 2026Equilibrium Propagation and Hamiltonian Inference in the Diffusive Fitzhugh-Nagumo Modelcited by 0
- 2026Unifying Physical Backpropagationcited by 0
- 2026Prospective Coding Improves Learning in Deep Continuous-Time Recurrent Networkscited by 0
- 2026Prospective Coding Improves Learning in Deep Continuous-Time Recurrent Networks3 Sep 2026
- 2026Unifying Physical Backpropagation12 Aug 2026
- 2026Equilibrium Propagation and Hamiltonian Inference in the Diffusive Fitzhugh-Nagumo Model20 May 2026
- 2026Reshape and Recur: Improving SSMs with Input Reshaping and Depth Recurrence15 May 2026
- 2026PaperFit: Vision-in-the-Loop Typesetting Optimization for Scientific Documents11 May 2026
- 2025ASecond-Order SpikingSSM for Wearables16 Oct 2025
- 2025Local Learning Rules for Out-of-Equilibrium Physical Generative Models23 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2021Physics-guided Deep Markov Models for Learning Nonlinear Dynamical Systems with Uncertainty
- 2026Parallel-in-Time Training of Recurrent Neural Networks for Dynamical Systems Reconstruction
- 2026Physics-Guided Recurrent State-Space Neural Networks for Multi-Step Prediction
- 2022Hidden Parameter Recurrent State Space Models For Changing Dynamics Scenarios
- 2024Conformal Symplectic Optimization for Stable Reinforcement Learning
- 2026Prediction Is Not Physics: Learning and Evaluating Conserved Quantities in Neural Simulators
- 2026LeHami: Symplectic Latent Dynamics for World Models
- 2024HiPPO-Prophecy: State-Space Models can Provably Learn Dynamical Systems in Context