Compressed Context Memory For Online Language Model Interaction
Not on the map. Why?
Cited by 22 in Efficient LLM inference and serving, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
This paper presents a context key/value compression method for Transformer language models in online scenarios, where the context continually expands. As the context lengthens, the attention process demands increasing memory and computations, which in turn reduces the throughput of the language model. To address this challenge, we propose a compressed context memory system that continually compresses the accumulating attention key/value pairs into a compact memory space, facilitating language model inference in a limited memory space of computing environments. Our compression process involves integrating a lightweight conditional LoRA into the language model's forward pass during inference, without the need for fine-tuning the model's entire set of weights. We achieve efficient training by modeling the recursive compression process as a single parallelized forward computation. Through evaluations on conversation, personalization, and multi-task learning, we demonstrate that our approach achieves the performance level of a full context model with 5× smaller context memory size. We further demonstrate the applicability of our approach in a streaming setting with an unlimited context length, outperforming the sliding window approach. Codes are available at https://github.com/snu-mllab/context-memory.
Key facts. Cited by 42 papers in the map (data through 13 Oct 2026). Builds on 37 of its 41 references that are in the map. First posted on arXiv 6 Dec 2023.
Builds on
37 of 41 references.
References · 37
- 2017Attention Is All You Needcited by 60,106
- 2023GPT-4 Technical Reportcited by 18,278
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,231
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,072
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,500
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,007
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,379
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,137
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,994
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,835
- 2020Big Bird: Transformers for Longer Sequencescited by 1,681
- 2019Generating Long Sequences with Sparse Transformerscited by 1,538
25 more
- 2015Deep Learning and the Information Bottleneck Principlecited by 796
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 707
- 2017DailyDialog: A Manually Labelled Multi-turn Dialogue Datasetcited by 649
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 551
- 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 458
- 2021MetaICL: Learning to Learn In Contextcited by 452
- 2023LaMP: When Large Language Models Meet Personalizationcited by 430
- 2023Learning to Compress Prompts with Gist Tokenscited by 382
- 2014Memory Networkscited by 360
- 2023Adapting Language Models to Compress Contextscited by 351
- 2021Mind the Gap: Assessing Temporal Generalization in Neural Language Modelscited by 226
- 2022Memorizing Transformerscited by 222
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 209
- 2022Recurrent Memory Transformercited by 199
- 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 194
- 2022SODA: Million-scale Dialogue Distillation with Social Commonsense Contextualizationcited by 166
- 2016Using Fast Weights to Attend to the Recent Pastcited by 164
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
- 2022Learning by Distilling Contextcited by 132
- 2022Block-Recurrent Transformerscited by 110
- 2022Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Modelscited by 96
- 2016Memory-Efficient Backpropagation Through Timecited by 78
- 2022HyperTuning: Toward Adapting Large Language Models without Back-propagationcited by 45
- 2023Meta-Learning Online Adaptation of Language Modelscited by 43
- 2022Meta-Learning Fast Weight Language Modelscited by 21
Built on by
Citing papers per year: 2024: 10; 2025: 17; 2026: 15.
42 papers.
Sort:
By area:
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 126
- 2024Long Context Compression with Activation Beaconcited by 101
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 91
- 2025R-KV: Redundancy-aware KV Cache Compression for Reasoning Modelscited by 51
- 2024Online Adaptation of Language Models with a Memory of Amortized Contextscited by 35
- 2025Cognitive Memory in Large Language Modelscited by 29
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
- 2024HMT: Hierarchical Memory Transformer for Efficient Long Context Language Processingcited by 20
- 2025InfiniteICL: Breaking the Limit of Context Window Size via Long Short-term Memory Transformationcited by 16
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memorycited by 13
- 2025Long Context In-Context Compression by Getting to the Gist of Gistingcited by 12
- 2024Anda: Unlocking Efficient LLM Inference with a Variable-Length Grouped Activation Data Formatcited by 9
30 more
- 2025When Personalization Meets Reality: A Multi-Faceted Analysis of Personalized Preference Learningcited by 9
- 2025SARA: Selective and Adaptive Retrieval-augmented Generation with Context Compressioncited by 9
- 2025G-KV: Decoding-Time KV Cache Eviction with Global Attentioncited by 7
- 2025AdmTree: Compressing Lengthy Context with Adaptive Semantic Treescited by 7
- 2024CMT: A Memory Compression Method for Continual Knowledge Learning of Large Language Modelscited by 6
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inferencecited by 6
- 2025CompLLM: Compression for Long Context Q&Acited by 5
- 2024Compressing Lengthy Context With UltraGistcited by 4
- 2024Training-Free Exponential Context Extension via Cascading KV Cachecited by 4
- 2026Pyramid Forcing: Head-Aware Pyramid KV Cache Policy for High-Quality Long Video Generationcited by 4
- 2025FastCache: Optimizing Multimodal LLM Serving through Lightweight KV-Cache Compression Frameworkcited by 3
- 2025AirCache: Activating Inter-modal Relevancy KV Cache Compression for Efficient Large Vision-Language Model Inferencecited by 3
- 2024EarthquakeNPP: A Benchmark for Earthquake Forecasting with Neural Point Processescited by 2
- 2025High-Layer Attention Pruning with Rescalingcited by 1
- 2025Learning What to Remember: Adaptive Probabilistic Memory Retention for Memory-Efficient Language Modelscited by 1
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformerscited by 1
- 2026Multi-turn Conversational AI from Text to Multimodal Interaction: Data, Models, Evaluation, and Open Challengescited by 1
- 2026Compressing Long Context into Answer-Aligned Memory Embeddings for LLM Inferencecited by 1
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstructioncited by 1
- 2025Dynamic Long Short-Term Memory Based Memory Storage For Long Horizon LLM Interactioncited by 0
- 2025Rhea: Role-aware Heuristic Episodic Attention for Conversational LLMscited by 0
- 2026Multi-Head Low-Rank Attentioncited by 0
- 2026Towards Efficient Large Vision-Language Models: A Comprehensive Survey on Inference Strategiescited by 0
- 2026Benchmarking KV-Cache Optimizations across Task Quality and System Performance for Long-Context Servingcited by 0
- 2026Out of Sight: Compression-Aware Content Protection against Agentic Crawlerscited by 0
- 2026Adapting Tree-Structured Speculative Decoding to DeepSeek-V4 for Efficient Inferencecited by 0
- 2026HasMem: Hard-Origin Adaptively Softened Memory for Long-Term LLM Agentscited by 0
- 2026DimPO: Dimensionality Reduction for Attention using Preference Optimizationcited by 0
- 2026ReLMem: Learning Recurrent Memory for Longitudinal EHR Modelingcited by 0
- 2026Role-aware Heuristic Episodic Attention for Conversational LLMscited by 0
- 2026Role-aware Heuristic Episodic Attention for Conversational LLMs1 Oct 2026
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstruction30 Sep 2026
- 2026ReLMem: Learning Recurrent Memory for Longitudinal EHR Modeling29 Sep 2026
- 2026DimPO: Dimensionality Reduction for Attention using Preference Optimization26 Sep 2026
- 2026HasMem: Hard-Origin Adaptively Softened Memory for Long-Term LLM Agents25 Sep 2026
- 2026Compressing Long Context into Answer-Aligned Memory Embeddings for LLM Inference22 Sep 2026
- 2026Adapting Tree-Structured Speculative Decoding to DeepSeek-V4 for Efficient Inference21 Sep 2026
- 2026Multi-turn Conversational AI from Text to Multimodal Interaction: Data, Models, Evaluation, and Open Challenges18 Aug 2026
- 2026Out of Sight: Compression-Aware Content Protection against Agentic Crawlers9 Jul 2026
- 2026Pyramid Forcing: Head-Aware Pyramid KV Cache Policy for High-Quality Long Video Generation13 May 2026
- 2026Benchmarking KV-Cache Optimizations across Task Quality and System Performance for Long-Context Serving3 May 2026
- 2026Towards Efficient Large Vision-Language Models: A Comprehensive Survey on Inference Strategies30 Mar 2026
30 more
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformers22 Mar 2026
- 2026Multi-Head Low-Rank Attention2 Mar 2026
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memory31 Jan 2026
- 2025Rhea: Role-aware Heuristic Episodic Attention for Conversational LLMs7 Dec 2025
- 2025AdmTree: Compressing Lengthy Context with Adaptive Semantic Trees4 Dec 2025
- 2025G-KV: Decoding-Time KV Cache Eviction with Global Attention29 Nov 2025
- 2025Learning What to Remember: Adaptive Probabilistic Memory Retention for Memory-Efficient Language Models9 Oct 2025
- 2025CompLLM: Compression for Long Context Q&A23 Sep 2025
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inference3 Aug 2025
- 2025SARA: Selective and Adaptive Retrieval-augmented Generation with Context Compression8 Jul 2025
- 2025Dynamic Long Short-Term Memory Based Memory Storage For Long Horizon LLM Interaction3 Jul 2025
- 2025High-Layer Attention Pruning with Rescaling2 Jul 2025
- 2025R-KV: Redundancy-aware KV Cache Compression for Reasoning Models30 May 2025
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction29 May 2025
- 2025Long Context In-Context Compression by Getting to the Gist of Gisting11 Apr 2025
- 2025Cognitive Memory in Large Language Models3 Apr 2025
- 2025InfiniteICL: Breaking the Limit of Context Window Size via Long Short-term Memory Transformation2 Apr 2025
- 2025AirCache: Activating Inter-modal Relevancy KV Cache Compression for Efficient Large Vision-Language Model Inference31 Mar 2025
- 2025FastCache: Optimizing Multimodal LLM Serving through Lightweight KV-Cache Compression Framework11 Mar 2025
- 2025When Personalization Meets Reality: A Multi-Faceted Analysis of Personalized Preference Learning26 Feb 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2024CMT: A Memory Compression Method for Continual Knowledge Learning of Large Language Models10 Dec 2024
- 2024Anda: Unlocking Efficient LLM Inference with a Variable-Length Grouped Activation Data Format24 Nov 2024
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Pass8 Nov 2024
- 2024EarthquakeNPP: A Benchmark for Earthquake Forecasting with Neural Point Processes27 Sep 2024
- 2024Training-Free Exponential Context Extension via Cascading KV Cache24 Jun 2024
- 2024Compressing Lengthy Context With UltraGist26 May 2024
- 2024HMT: Hierarchical Memory Transformer for Efficient Long Context Language Processing9 May 2024
- 2024Online Adaptation of Language Models with a Memory of Amortized Contexts7 Mar 2024
- 2024Long Context Compression with Activation Beacon7 Jan 2024
- 2024Long Context Compression with Activation Beaconcited by 101
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 91
- 2025Long Context In-Context Compression by Getting to the Gist of Gistingcited by 12
- 2024Anda: Unlocking Efficient LLM Inference with a Variable-Length Grouped Activation Data Formatcited by 9
- 2025AdmTree: Compressing Lengthy Context with Adaptive Semantic Treescited by 7
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inferencecited by 6
- 2025CompLLM: Compression for Long Context Q&Acited by 5
- 2024Training-Free Exponential Context Extension via Cascading KV Cachecited by 4
- 2026Pyramid Forcing: Head-Aware Pyramid KV Cache Policy for High-Quality Long Video Generationcited by 4
- 2025FastCache: Optimizing Multimodal LLM Serving through Lightweight KV-Cache Compression Frameworkcited by 3
- 2026Compressing Long Context into Answer-Aligned Memory Embeddings for LLM Inferencecited by 1
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstructioncited by 1
12 most cited of 15 All 15 (JSON)
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstruction30 Sep 2026
- 2026Compressing Long Context into Answer-Aligned Memory Embeddings for LLM Inference22 Sep 2026
- 2026Adapting Tree-Structured Speculative Decoding to DeepSeek-V4 for Efficient Inference21 Sep 2026
- 2026Pyramid Forcing: Head-Aware Pyramid KV Cache Policy for High-Quality Long Video Generation13 May 2026
- 2026Benchmarking KV-Cache Optimizations across Task Quality and System Performance for Long-Context Serving3 May 2026
- 2026Multi-Head Low-Rank Attention2 Mar 2026
- 2025AdmTree: Compressing Lengthy Context with Adaptive Semantic Trees4 Dec 2025
- 2025CompLLM: Compression for Long Context Q&A23 Sep 2025
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inference3 Aug 2025
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction29 May 2025
- 2025Long Context In-Context Compression by Getting to the Gist of Gisting11 Apr 2025
- 2025FastCache: Optimizing Multimodal LLM Serving through Lightweight KV-Cache Compression Framework11 Mar 2025
12 newest of 15 All 15 (JSON)
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 126
- 2025R-KV: Redundancy-aware KV Cache Compression for Reasoning Modelscited by 51
- 2025G-KV: Decoding-Time KV Cache Eviction with Global Attentioncited by 7
- 2025AirCache: Activating Inter-modal Relevancy KV Cache Compression for Efficient Large Vision-Language Model Inferencecited by 3
- 2026Towards Efficient Large Vision-Language Models: A Comprehensive Survey on Inference Strategiescited by 0
- 2026Out of Sight: Compression-Aware Content Protection against Agentic Crawlerscited by 0
- 2026Out of Sight: Compression-Aware Content Protection against Agentic Crawlers9 Jul 2026
- 2026Towards Efficient Large Vision-Language Models: A Comprehensive Survey on Inference Strategies30 Mar 2026
- 2025G-KV: Decoding-Time KV Cache Eviction with Global Attention29 Nov 2025
- 2025R-KV: Redundancy-aware KV Cache Compression for Reasoning Models30 May 2025
- 2025AirCache: Activating Inter-modal Relevancy KV Cache Compression for Efficient Large Vision-Language Model Inference31 Mar 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2024Online Adaptation of Language Models with a Memory of Amortized Contextscited by 35
- 2025Cognitive Memory in Large Language Modelscited by 29
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
- 2024HMT: Hierarchical Memory Transformer for Efficient Long Context Language Processingcited by 20
- 2025InfiniteICL: Breaking the Limit of Context Window Size via Long Short-term Memory Transformationcited by 16
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memorycited by 13
- 2024CMT: A Memory Compression Method for Continual Knowledge Learning of Large Language Modelscited by 6
- 2024Compressing Lengthy Context With UltraGistcited by 4
- 2024EarthquakeNPP: A Benchmark for Earthquake Forecasting with Neural Point Processescited by 2
- 2025High-Layer Attention Pruning with Rescalingcited by 1
- 2025Learning What to Remember: Adaptive Probabilistic Memory Retention for Memory-Efficient Language Modelscited by 1
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformerscited by 1
12 most cited of 17 All 17 (JSON)
- 2026Role-aware Heuristic Episodic Attention for Conversational LLMs1 Oct 2026
- 2026ReLMem: Learning Recurrent Memory for Longitudinal EHR Modeling29 Sep 2026
- 2026Multi-turn Conversational AI from Text to Multimodal Interaction: Data, Models, Evaluation, and Open Challenges18 Aug 2026
- 2026Mixture of Chapters: Scaling Learnt Memory in Transformers22 Mar 2026
- 2026Latent Context Compilation: Distilling Long Context into Compact Portable Memory31 Jan 2026
- 2025Rhea: Role-aware Heuristic Episodic Attention for Conversational LLMs7 Dec 2025
- 2025Learning What to Remember: Adaptive Probabilistic Memory Retention for Memory-Efficient Language Models9 Oct 2025
- 2025Dynamic Long Short-Term Memory Based Memory Storage For Long Horizon LLM Interaction3 Jul 2025
- 2025High-Layer Attention Pruning with Rescaling2 Jul 2025
- 2025Cognitive Memory in Large Language Models3 Apr 2025
- 2025InfiniteICL: Breaking the Limit of Context Window Size via Long Short-term Memory Transformation2 Apr 2025
- 2024CMT: A Memory Compression Method for Continual Knowledge Learning of Large Language Models10 Dec 2024
12 newest of 17 All 17 (JSON)