cs.LGFeb 20, 2026

Leakage and Second-Order Dynamics Improve Hippocampal RNN Replay

Authors: Josue Casco-Rodriguez, Nanda H. Krishna, Richard G. Baraniuk

Organizations: Department of Electrical and Computer Engineering, Rice University, USA · Mila - Quebec AI Institute & Université de Montréal, Canada

Abstract

Biological neural networks (like the hippocampus) can internally generate "replay" resembling stimulus-driven activity. Recent computational models of replay use noisy recurrent neural networks (RNNs) trained to path-integrate. Replay in these networks has been described as Langevin sampling, but new modifiers of noisy RNN replay have surpassed this description. We re-examine noisy RNN replay as sampling to understand or improve it in three ways: (1) Under simple assumptions, we prove that the gradients replay activity should follow are time-varying and difficult to estimate, but readily motivate the use of hidden state leakage in RNNs for replay. (2) We confirm that hidden state adaptation (negative feedback) encourages exploration in replay, but show that it incurs non-Markov sampling that also slows replay. (3) We propose the first model of temporally compressed replay in noisy path-integrating RNNs through hidden state momentum, connect it to underdamped Langevin sampling, and show that, together with adaptation, it counters slowness while maintaining exploration. We verify our findings via path-integration of 2D triangular and T-maze paths and of high-dimensional paths of synthetic rat place cell activity.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Impact of leaky dynamics on predictive path integration accuracy in recurrent neural networks

    Apr 17, 2026Yanlin Zhang, Yan Zhang, Muhua Zheng +1Recurrent Neural Networks

  2. Neural noise enables accurate internal simulation of rare events

    Sep 16, 2026Heng Zhang, Pawel Herman, Zenas C. ChaoComputational Cognitive ModelingRare-Event Estimation

  3. Backward Coherence and Hidden-State Stability in Recurrent Neural Networks: A Quasi-Reverse-Martingale Theory

    Jun 8, 2026Yuan-chin Ivan ChangRecurrent Neural Networks