Skip to content

How Temporal Correlations Shape Memory in Linear Recurrent Neural Networks

Aug 2026 · 0 citations · 29 references
Computer Science

TL;DR

One property of the input is turned into a prediction of whether a network learns memory and why correlated data turns recurrent networks into change detectors and explains why correlated data turns recurrent networks into change detectors.

Abstract

The linear recurrent neural network (LRNN) is a simple model for studying how much memory a network builds up as it trains. For uncorrelated inputs, earlier work found that training itself settles the network between keeping the past and reacting only to the present. Real sequences are correlated, and we solve the learning dynamics exactly for correlated inputs. In the solution, keeping the past carries a cost. The whole effect of correlation lands on that cost. This cost reduces to the earlier one when inputs are uncorrelated and grows once they are positively correlated. Three findings follow. (1) Correlation reshapes the course of learning, not only its end. Memory builds, overshoots, and is partly removed, and the settled network keeps less of the past. (2) Memory switches off at a threshold set by one number, how much each input resembles the one just before it. Neither sequence length nor longer-range correlation moves this threshold. Memory is worth keeping only when the task needs the previous input more than the current input already supplies it through correlation with the past. (3) The best network changes too. Zero error demands a feedthrough, a path that passes the current input straight to the network's output and remembers nothing, and training builds it unprompted when given one spare hidden dimension. Our work turns one property of the input into a prediction of whether a network learns memory and explains why correlated data turns recurrent networks into change detectors.

View source

Similar papers

#machine learning Preprint Oct 2026

Learning infinite context windows in recurrent architectures via spatial neural computing

Recurrent neural networks (RNNs) offer linear-time scaling with sequence length while requiring only constant memory, yet they struggle to capture long-range dependencies due to vanishing gradients and limited receptive fields. To address these limitations, we introduce a second-order recurrent model in which the stand...

Aleix Salvador-Pomarol, A. Montanari, E. K. Miller et al. · 0 citations
#artificial intelligence Preprint Oct 2026

DeltaTTT: Layerwise Optimization for Nonlinear Recurrent Memory

Sequential test-time training adapts a memory network through successive updates, each computing an inner-loop gradient based on the network's previous state. Intuitively, this state dependence should allow each update to account for what the memory has already learned and better incorporate new information. However, w...

Yi-Ning Li, Dong-Chen Han, Jie Fu et al. · 0 citations
#machine learning Preprint Oct 2026

Voltic: Distinguishing Volatility from Stochasticity in Recurrent Memory

Recurrent sequence models must decide how strongly to overwrite their memory at each token. Read as Bayesian filtering, this write is the gain of a Kalman update, set by uncertainty from two sources that pull it in opposite directions: volatility, how quickly the underlying associations change, and stochasticity, how n...

Parsa Hejabi, Morteza Dehghani, Payam Piray · 0 citations
#artificial intelligence Preprint Oct 2026

Continuous Memory Machines

Recurrent neural networks typically compress information into a single vector-valued recurrent state, forcing short-term computation and long-term retention to share the same representation. Past extensions alleviate this bottleneck by increasing the memory capacity or separating timescales, but lack the combination of...

Ciaran Regan, K. Arulkumaran, L. Darlow et al. · 0 citations
#machine learning Preprint Sep 2026

Learning Length-Extrapolatable Recurrent Models

This work intervenes directly on state credit and proposes Credit Stabilization through Time (CST), which locally rescales the state-credit signal to stabilize its norm without rotating the component being corrected, while leaving the forward computation unchanged.

Hanwen Jiang · 0 citations
Open access Oct 2026

Attractor dynamics underlie sequence working memory in data-constrained recurrent neural networks

Sequences of stimuli can be maintained in working memory by encoding each item, together with its position, as a distinct pattern of neural population activity. Competing hypotheses about the underlying dynamics have been proposed: patterns of activity might be supported either by stable attractor states that persist o...

Matthijs Pals, J. Macke · 0 citations

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.