CAMELoT: Towards Large Language Models with Training-Free Consolidated Associative Memory
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
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
19 more
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2014Neural Turing Machinescited by 630
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2020Hopfield Networks is All You Needcited by 461
- 2020Generative Language Modeling for Automated Theorem Provingcited by 379
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2014Memory Networkscited by 354
- 2023Adapting Language Models to Compress Contextscited by 350
- 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 241
- 2016Dense Associative Memory for Pattern Recognitioncited by 230
- 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 201
- 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 190
- 2023Augmenting Language Models with Long-Term Memorycited by 186
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
- 2022Structured Prompting: Scaling In-Context Learning to 1,000 Examplescited by 81
- 2023MedEval: A Multi-Level, Multi-Task, and Multi-Domain Medical Benchmark for Language Model Evaluationcited by 19
- 2021Biological learning in key-value memory networkscited by 18
Built on by
Citing papers per year: 2024: 6; 2025: 14; 2026: 4.
24 papers.
Sort:
By area:
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Modelscited by 273
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agentscited by 160
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 146
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 57
- 2025Mem-α: Learning Memory Construction via Reinforcement Learningcited by 49
- 2024Online Adaptation of Language Models with a Memory of Amortized Contextscited by 35
- 2024MemLLM: Finetuning LLMs to Use An Explicit Read-Write Memorycited by 35
- 2025ArcMemo: Abstract Reasoning Composition with Lifelong LLM Memorycited by 22
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
12 more
- 2024Towards LifeSpan Cognitive Systemscited by 13
- 2025R3Mem: Bridging Memory Retention and Retrieval via Reversible Compressioncited by 12
- 2025Infinite Retrieval: Attention Enhanced LLMs in Long-Context Processingcited by 7
- 2026Position: Modular Memory is the Key to Continual Learning Agentscited by 7
- 2025Search-R3: Unifying Reasoning and Embedding in Large Language Modelscited by 4
- 2025R4: Retrieval-Augmented Reasoning for Vision-Language Models in 4D Spatio-Temporal Spacecited by 2
- 2025Attention is All You Need Until You Need Retentioncited by 1
- 2025Memory-Augmented Architecture for Long-Term Context Handling in Large Language Modelscited by 1
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformercited by 1
- 2026Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamicscited by 0
- 2026Enhancing Software Engineering Through Closed-Loop Memory Optimizationcited by 0
- 2026Agentic Context Management: Solving Agent Memory and Cost by Treating Them as Lifecycle and Architecture Problemscited by 0
- 2026Agentic Context Management: Solving Agent Memory and Cost by Treating Them as Lifecycle and Architecture Problems23 Jul 2026
- 2026Enhancing Software Engineering Through Closed-Loop Memory Optimization4 Jun 2026
- 2026Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamics21 Mar 2026
- 2026Position: Modular Memory is the Key to Continual Learning Agents2 Mar 2026
- 2025R4: Retrieval-Augmented Reasoning for Vision-Language Models in 4D Spatio-Temporal Space17 Dec 2025
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformer24 Nov 2025
- 2025Search-R3: Unifying Reasoning and Embedding in Large Language Models8 Oct 2025
- 2025Mem-α: Learning Memory Construction via Reinforcement Learning30 Sep 2025
- 2025ArcMemo: Abstract Reasoning Composition with Lifelong LLM Memory4 Sep 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025MIRIX: Multi-Agent Memory System for LLM-Based Agents10 Jul 2025
- 2025Memory-Augmented Architecture for Long-Term Context Handling in Large Language Models23 Jun 2025
12 more
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Time29 May 2025
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memory10 Apr 2025
- 2025R3Mem: Bridging Memory Retention and Retrieval via Reversible Compression21 Feb 2025
- 2025Infinite Retrieval: Attention Enhanced LLMs in Long-Context Processing18 Feb 2025
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach7 Feb 2025
- 2025Attention is All You Need Until You Need Retention15 Jan 2025
- 2024Titans: Learning to Memorize at Test Time31 Dec 2024
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes30 Oct 2024
- 2024Towards LifeSpan Cognitive Systems20 Sep 2024
- 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models23 May 2024
- 2024MemLLM: Finetuning LLMs to Use An Explicit Read-Write Memory17 Apr 2024
- 2024Online Adaptation of Language Models with a Memory of Amortized Contexts7 Mar 2024
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2025ArcMemo: Abstract Reasoning Composition with Lifelong LLM Memorycited by 22
- 2025Infinite Retrieval: Attention Enhanced LLMs in Long-Context Processingcited by 7
- 2026Position: Modular Memory is the Key to Continual Learning Agentscited by 7
- 2025Search-R3: Unifying Reasoning and Embedding in Large Language Modelscited by 4
- 2025R4: Retrieval-Augmented Reasoning for Vision-Language Models in 4D Spatio-Temporal Spacecited by 2
- 2026Position: Modular Memory is the Key to Continual Learning Agents2 Mar 2026
- 2025R4: Retrieval-Augmented Reasoning for Vision-Language Models in 4D Spatio-Temporal Space17 Dec 2025
- 2025Search-R3: Unifying Reasoning and Embedding in Large Language Models8 Oct 2025
- 2025ArcMemo: Abstract Reasoning Composition with Lifelong LLM Memory4 Sep 2025
- 2025Infinite Retrieval: Attention Enhanced LLMs in Long-Context Processing18 Feb 2025
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach7 Feb 2025
- 2024Titans: Learning to Memorize at Test Time31 Dec 2024
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 146
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 57
- 2025Mem-α: Learning Memory Construction via Reinforcement Learningcited by 49
- 2024Online Adaptation of Language Models with a Memory of Amortized Contextscited by 35
- 2024MemLLM: Finetuning LLMs to Use An Explicit Read-Write Memorycited by 35
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
- 2024Towards LifeSpan Cognitive Systemscited by 13
- 2025R3Mem: Bridging Memory Retention and Retrieval via Reversible Compressioncited by 12
- 2025Attention is All You Need Until You Need Retentioncited by 1
- 2025Memory-Augmented Architecture for Long-Term Context Handling in Large Language Modelscited by 1
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformercited by 1
12 most cited of 14 All 14 (JSON)
- 2026Enhancing Software Engineering Through Closed-Loop Memory Optimization4 Jun 2026
- 2026Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamics21 Mar 2026
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformer24 Nov 2025
- 2025Mem-α: Learning Memory Construction via Reinforcement Learning30 Sep 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025Memory-Augmented Architecture for Long-Term Context Handling in Large Language Models23 Jun 2025
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Time29 May 2025
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memory10 Apr 2025
- 2025R3Mem: Bridging Memory Retention and Retrieval via Reversible Compression21 Feb 2025
- 2025Attention is All You Need Until You Need Retention15 Jan 2025
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes30 Oct 2024
- 2024Towards LifeSpan Cognitive Systems20 Sep 2024
12 newest of 14 All 14 (JSON)