mlsanityData to 7 Oct 2026

CAMELoT: Towards Large Language Models with Training-Free Consolidated Associative Memory

arXiv 2402.13449 ↗First posted 21 Feb 2024cs.CLcited by 24

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) struggle to handle long input sequences due to high memory and runtime costs. Memory-augmented models have emerged as a promising solution to this problem, but current methods are hindered by limited memory capacity and require costly re-training to integrate with a new LLM. In this work, we introduce an associative memory module which can be coupled to any pre-trained (frozen) attention-based LLM without re-training, enabling it to handle arbitrarily long input sequences. Unlike previous methods, our associative memory module consolidates representations of individual tokens into a non-parametric distribution model, dynamically managed by properly balancing the novelty and recency of the incoming data. By retrieving information from this consolidated associative memory, the base LLM can achieve significant (up to 29.7% on Arxiv) perplexity reduction in long-context modeling compared to other baselines evaluated on standard benchmarks. This architecture, which we call CAMELoT (Consolidated Associative Memory Enhanced Long Transformer), demonstrates superior performance even with a tiny context window of 128 tokens, and also enables improved in-context learning with a much larger set of demonstrations.

Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 31 of its 41 references that are in the map. First posted on arXiv 21 Feb 2024.

Builds on

31 of 41 references.

References · 31

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  4. 2020Longformer: The Long-Document Transformercited by 3,362
  5. 2016Pointer Sentinel Mixture Modelscited by 2,992
  6. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  7. 2017Billion-scale similarity search with GPUscited by 2,477
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  9. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  10. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  11. 2020Reformer: The Efficient Transformercited by 1,658
  12. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
19 more
  1. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  2. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  3. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  4. 2014Neural Turing Machinescited by 630
  5. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  6. 2020Hopfield Networks is All You Needcited by 461
  7. 2020Generative Language Modeling for Automated Theorem Provingcited by 379
  8. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  9. 2014Memory Networkscited by 354
  10. 2023Adapting Language Models to Compress Contextscited by 350
  11. 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 241
  12. 2016Dense Associative Memory for Pattern Recognitioncited by 230
  13. 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 201
  14. 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 190
  15. 2023Augmenting Language Models with Long-Term Memorycited by 186
  16. 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
  17. 2022Structured Prompting: Scaling In-Context Learning to 1,000 Examplescited by 81
  18. 2023MedEval: A Multi-Level, Multi-Task, and Multi-Domain Medical Benchmark for Language Model Evaluationcited by 19
  19. 2021Biological learning in key-value memory networkscited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 14; 2026: 4.

24 papers.

Sort:

By area:

  1. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
  2. 2024Titans: Learning to Memorize at Test Timecited by 303
  3. 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Modelscited by 273
  4. 2025MIRIX: Multi-Agent Memory System for LLM-Based Agentscited by 160
  5. 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 146
  6. 2025A Survey of Context Engineering for Large Language Modelscited by 120
  7. 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 57
  8. 2025Mem-α: Learning Memory Construction via Reinforcement Learningcited by 49
  9. 2024Online Adaptation of Language Models with a Memory of Amortized Contextscited by 35
  10. 2024MemLLM: Finetuning LLMs to Use An Explicit Read-Write Memorycited by 35
  11. 2025ArcMemo: Abstract Reasoning Composition with Lifelong LLM Memorycited by 22
  12. 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
12 more
  1. 2024Towards LifeSpan Cognitive Systemscited by 13
  2. 2025R3Mem: Bridging Memory Retention and Retrieval via Reversible Compressioncited by 12
  3. 2025Infinite Retrieval: Attention Enhanced LLMs in Long-Context Processingcited by 7
  4. 2026Position: Modular Memory is the Key to Continual Learning Agentscited by 7
  5. 2025Search-R3: Unifying Reasoning and Embedding in Large Language Modelscited by 4
  6. 2025R4: Retrieval-Augmented Reasoning for Vision-Language Models in 4D Spatio-Temporal Spacecited by 2
  7. 2025Attention is All You Need Until You Need Retentioncited by 1
  8. 2025Memory-Augmented Architecture for Long-Term Context Handling in Large Language Modelscited by 1
  9. 2025On the Role of Hidden States of Modern Hopfield Network in Transformercited by 1
  10. 2026Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamicscited by 0
  11. 2026Enhancing Software Engineering Through Closed-Loop Memory Optimizationcited by 0
  12. 2026Agentic Context Management: Solving Agent Memory and Cost by Treating Them as Lifecycle and Architecture Problemscited by 0