Deep Latents, Long Memory: Latent persistence explains temporal correlations in transformer activations
Not on the map. Why?
Abstract (arXiv)
The hidden layers of Large Language Models (LLMs) are believed to encode representations of the data whose abstraction increases with depth. However, in the absence of an operational notion of abstraction, this statement is hard to test quantitatively. Here, we propose an alternative view, building on the principle that the correlations of a sequence reflect the structure of the process that generated it. We define the autocorrelation function of a layer as the average dot product between its activations at two context positions separated by a lag. Latent variables encoded persistently along the context create slowly decaying tails in the autocorrelation, and we find these tails to grow across layers in both synthetic and natural data. In synthetic data with controlled hierarchical latent structure, this growth stems from the encoding of abstract latent variables, which govern long stretches of the input. Indeed, the persistence of latent codes predicts the qualitative structure of autocorrelations and accounts for most of the empirical measures. In real text, we take sparse-autoencoder features as proxies for latent variables, and find that their persistence correlates strongly with the magnitude of autocorrelations across datasets and LLMs. In particular, the persistence time increases with depth, as do autocorrelations, implying that deeper latent features persist for longer context spans. We complement this analysis by explicitly ablating the persistent sparse-autoencoder features and observing a consequent decrease in the autocorrelations.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 35 of its 48 references that are in the map. Submitted 13 Nov 2026.
Builds on
35 of 48 references.
References · 35
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2025Qwen3 Technical Reportcited by 9,994
- 2016Pointer Sentinel Mixture Modelscited by 3,344
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,575
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 2,225
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,891
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,607
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,106
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 794
- 2024Scaling and evaluating sparse autoencoderscited by 661
- 2024Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2cited by 450
- 2024Massive Activations in Large Language Modelscited by 343
23 more
- 2024Not All Language Model Features Are One-Dimensionally Linearcited by 240
- 2018Dissecting Contextual Word Embeddings: Architecture and Representationcited by 149
- 2026Verbalizable Representations Form a Global Workspace in Language Modelscited by 112
- 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structurescited by 96
- 2024Transformers represent belief state geometry in their residual streamcited by 88
- 2023How Deep Neural Networks Learn Compositional Data: The Random Hierarchy Modelcited by 84
- 2024Emergence of a High-Dimensional Abstraction Phase in Language Transformerscited by 65
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Taskcited by 57
- 2024Towards a theory of how the structure of language is acquired by deep neural networkscited by 50
- 2016Criticality in Formal Languages and Statistical Physicscited by 42
- 2025Priors in Time: Missing Inductive Biases for Language Model Interpretabilitycited by 33
- 2026Qwen-Scope: Turning Sparse Features into Development Tools for Large Language Modelscited by 30
- 2024A polar coordinate system represents syntax in large language modelscited by 27
- 2026Deriving Neural Scaling Laws from the statistics of natural languagecited by 27
- 2024How transformers learn structured data: insights from hierarchical filteringcited by 23
- 2025Dense SAE Latents Are Features, Not Bugscited by 23
- 2025Temporal Sparse Autoencoders: Leveraging the Sequential Nature of Language for Interpretabilitycited by 23
- 2024Evolution of SAE Features Across Layers in LLMscited by 17
- 2026Differential syntactic and semantic encoding in LLMscited by 9
- 2025A quantitative analysis of semantic information in deep representations of text and imagescited by 8
- 2026Deep networks learn to parse uniform-depth context-free languages from local statisticscited by 7
- 2025Unraveling Syntax: Language Modeling and the Substructure of Grammarscited by 5
- 2026Representational Curvature Modulates Behavioral Uncertainty in Large Language Modelscited by 2
Built on by
Not cited yet.