RNN memory is set by recurrent matrix eigenvalues — LRU's ring init fixes it

RobertTLange · x · 2026-11-15

Robert TLange explains the math behind what an RNN 'remembers':

The Linear Recurrent Unit (LRU) fixes this by initialising all eigenvalues on a thin ring just inside the unit circle (e.g. |λ| ∈ [0.9, 0.999]), giving long memory that is stable by construction. A toy simulation with 100 units and a random Gaussian matrix illustrates the dynamics.

References cited: Sompolinsky et al. (1988) on chaos in random neural networks (Phys. Rev. Lett.), and Orvieto et al.'s 2023 LRU paper.

Related event: RNN Memory Explained: Recurrent Matrix Eigenvalues and LRU Initialization(2 posts)→

Original post →

More from Models

Models channel →