mlsanityData to 14 Oct 2026

ATLAS: Learning to Optimally Memorize the Context at Test Time

arXiv 2505.23735 ↗First posted 29 May 2025cs.CL cs.AIcited by 66

Not on the map. Why?

Abstract (arXiv)

Transformers have been established as the most popular backbones in sequence modeling, mainly due to their effectiveness in in-context retrieval tasks and the ability to learn at scale. Their quadratic memory and time complexity, however, bound their applicability in longer sequences and so has motivated researchers to explore effective alternative architectures such as modern recurrent neural networks (a.k.a long-term recurrent memory module). Despite their recent success in diverse downstream tasks, they struggle in tasks that requires long context understanding and extrapolation to longer sequences. We observe that these shortcomings come from three disjoint aspects in their design: (1) limited memory capacity that is bounded by the architecture of memory and feature mapping of the input; (2) online nature of update, i.e., optimizing the memory only with respect to the last input; and (3) less expressive management of their fixed-size memory. To enhance all these three aspects, we present ATLAS, a long-term memory module with high capacity that learns to memorize the context by optimizing the memory based on the current and past tokens, overcoming the online nature of long-term memory models. Building on this insight, we present a new family of Transformer-like architectures, called DeepTransformers, that are strict generalizations of the original Transformer architecture. Our experimental results on language modeling, common-sense reasoning, recall-intensive, and long-context understanding tasks show that ATLAS surpasses the performance of Transformers and recent linear recurrent models. ATLAS further improves the long context performance of Titans, achieving +80% accuracy in 10M context length of BABILong benchmark.

Key facts. Cited by 66 papers in the map (data through 14 Oct 2026). Builds on 67 of its 93 references that are in the map. First posted on arXiv 29 May 2025.

Builds on

67 of 93 references.

References · 67

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  6. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  7. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  8. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  9. 2016Pointer Sentinel Mixture Modelscited by 3,096
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  11. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  12. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
38 more
  1. 2025Gemma 3 Technical Reportcited by 1,824
  2. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  3. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  4. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  5. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
  6. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  7. 2022Simplified State Space Layers for Sequence Modelingcited by 788
  8. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  9. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  10. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  11. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  12. 2020Hopfield Networks is All You Needcited by 475
  13. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  14. 2014On the Number of Linear Regions of Deep Neural Networkscited by 381
  15. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
  16. 2024Titans: Learning to Memorize at Test Timecited by 328
  17. 2016Dense Associative Memory for Pattern Recognitioncited by 236
  18. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
  19. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
  20. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
  21. 2022Transformer Quality in Linear Timecited by 191
  22. 2024The Illusion of State in State-Space Modelscited by 187
  23. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
  24. 2023Birth of a Transformer: A Memory Viewpointcited by 161
  25. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
  26. 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
  27. 2022Liquid Structural State-Space Modelscited by 136
  28. 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 111
  29. 2025One-Minute Video Generation with Test-Time Trainingcited by 101
  30. 2023Uncovering mesa-optimization algorithms in Transformerscited by 100
  31. 2021Finetuning Pretrained Transformers into RNNscited by 96
  32. 2013On the number of response regions of deep feed forward networks with piece-wise linear activationscited by 94
  33. 2020Low-Rank Bottleneck in Multi-head Attention Modelscited by 89
  34. 2021Going Beyond Linear Transformers with Recurrent Fast Weight Programmerscited by 89
  35. 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
  36. 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrievalcited by 64
  37. 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 64
  38. 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 59

50 most cited of 67 All 67 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 20; 2026: 46.

66 papers.

Sort:

By area:

  1. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
  2. 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 86
  3. 2025A Survey on Latent Reasoningcited by 81
  4. 2025Nested Learning: The Illusion of Deep Learning Architecturescited by 72
  5. 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 47
  6. 2026ZipMap: Linear-Time Stateful 3D Reconstruction via Test-Time Trainingcited by 26
  7. 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 22
  8. 2025ViT3: Unlocking Test-Time Training in Visioncited by 18
  9. 2026Memory Caching: RNNs with Growing Memorycited by 15
  10. 2026Test-Time Training with KV Binding Is Secretly Linear Attentioncited by 13
  11. 2026Understanding LoRA as Knowledge Memory: An Empirical Analysiscited by 12
  12. 2025Native Hybrid Attention for Efficient Sequence Modelingcited by 10
38 more
  1. 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architecturescited by 9
  2. 2026GradMem: Learning to Write Context into Memory with Test-Time Gradient Descentcited by 9
  3. 2025Fast weight programming and linear transformers: from machine learning to neurobiologycited by 8
  4. 2025TNT: Improving Chunkwise Training for Test-Time Memorizationcited by 8
  5. 2026Preconditioned DeltaNet: Curvature-aware Sequence Modeling for Linear Recurrencescited by 7
  6. 2025On the Expressiveness of Softmax Attention: A Recurrent Neural Network Perspectivecited by 6
  7. 2026TrasMuon: Trust-Region Adaptive Scaling for Orthogonalized Momentum Optimizerscited by 6
  8. 2026Mem3R: Streaming 3D Reconstruction with Hybrid Memory via Test-Time Trainingcited by 6
  9. 2026FLARE: Diffusion for Hybrid Language Modelcited by 6
  10. 2025Trellis: Learning to Compress Key-Value Memory in Attention Modelscited by 5
  11. 2026DexWorldModel: Causal Latent World Modeling towards Automated Learning of Embodied Taskscited by 5
  12. 2025PERK: Long-Context Reasoning as Test-Time Learningcited by 4
  13. 2025Q-RAG: Long Context Multi-step Retrieval via Value-based Embedder Trainingcited by 4
  14. 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 4
  15. 2026Fast Spatial Memory with Elastic Test-Time Trainingcited by 3
  16. 2026Training LLM Agents for Spontaneous, Reward-Free Self-Evolution via World Knowledge Explorationcited by 3
  17. 2026Linearizing Vision Transformer with Test-Time Trainingcited by 3
  18. 2026Modular TTT: Rethinking Test-Time Training as Composable Modulescited by 3
  19. 2026A Survey on Self-Improving Test-Time Intelligence: Feedback-Driven Adapting, Learning, and Scaling at Inferencecited by 3
  20. 2025Trained Mamba Emulates Online Gradient Descent in In-Context Linear Regressioncited by 2
  21. 2025Higher-order Linear Attentioncited by 2
  22. 2025On Memory: A comparison of memory mechanisms in world modelscited by 2
  23. 2026AURA: Action-Gated Memory for Robot Policies at Constant VRAMcited by 2
  24. 2026Tapered Language Modelscited by 2
  25. 2025KRAFT: A Knowledge Graph-Based Framework for Automated Map Conflationcited by 1
  26. 2025Hydra: Dual Exponentiated Memory for Multivariate Time Series Analysiscited by 1
  27. 2026Dissecting Linear Recurrent Models: How Different Gating Strategies Drive Selectivity and Generalizationcited by 1
  28. 2026Reinforced Fast Weights with Next-Sequence Predictioncited by 1
  29. 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoningcited by 1
  30. 2026FG2-GDN: Enhancing Long-Context Gated Delta Networks with Doubly Fine-Grained Controlcited by 1
  31. 2026OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attentioncited by 1
  32. 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attentioncited by 1
  33. 2026Beyond Perplexity: A Behavioral Evaluation Framework for Deployment-Memory Claims in LLM Test-Time Trainingcited by 1
  34. 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modelingcited by 1
  35. 2026Rethinking Expressivity and Efficiency in Test-Time Trainingcited by 1
  36. 2026PRISM: Parallel Residual Iterative Sequence Modelcited by 0
  37. 2026MANAR: Memory-augmented Attention with Navigational Abstract Conceptual Representationcited by 0
  38. 2026Memory by Design: Bayesian Layers for Sequence Modelingcited by 0

50 most cited of 66 All 66 (JSON)