CoMeT: Collaborative Memory Transformer for Efficient Long Context Modeling
Not on the map. Why?
Abstract (arXiv)
The quadratic complexity and indefinitely growing key-value (KV) cache of standard Transformers pose a major barrier to long-context processing. To overcome this, we introduce the Collaborative Memory Transformer (CoMeT), a novel architecture that enables LLMs to handle arbitrarily long sequences with constant memory usage and linear time complexity. Designed as an efficient, plug-in module, CoMeT can be integrated into pre-trained models with only minimal fine-tuning. It operates on sequential data chunks, using a dual-memory system to manage context: a temporary memory on a FIFO queue for recent events, and a global memory with a gated update rule for long-range dependencies. These memories then act as a dynamic soft prompt for the next chunk. To enable efficient fine-tuning on extremely long contexts, we introduce a novel layer-level pipeline parallelism strategy. The effectiveness of our approach is remarkable: a model equipped with CoMeT and fine-tuned on 32k contexts can accurately retrieve a passkey from any position within a 1M token sequence. On the SCROLLS benchmark, CoMeT surpasses other efficient methods and achieves performance comparable to a full-attention baseline on summarization tasks. Its practical effectiveness is further validated on real-world agent and user behavior QA tasks. The code is available at: https://github.com/LivingFutureLab/Comet
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 40 of its 56 references that are in the map. First posted on arXiv 2 Feb 2026.
Builds on
40 of 56 references.
References · 40
- 2017Attention Is All You Needcited by 59,932
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
- 2022Simplified State Space Layers for Sequence Modelingcited by 776
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
28 more
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
- 2025LLMs Get Lost In Multi-Turn Conversationcited by 400
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
- 2023Adapting Language Models to Compress Contextscited by 350
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
- 2021Efficient Attentions for Long Document Summarizationcited by 342
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 194
- 2022SCROLLS: Standardized CompaRison Over Long Language Sequencescited by 170
- 2024A Survey on Recent Advances in LLM-Based Multi-turn Dialogue Systemscited by 170
- 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 145
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2024Long Context Compression with Activation Beaconcited by 101
- 2024LongCite: Enabling LLMs to Generate Fine-grained Citations in Long-context QAcited by 78
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 73
- 2024CompAct: Compressing Retrieved Documents Actively for Question Answeringcited by 64
- 2020Memformer: A Memory-Augmented Transformer for Sequence Modelingcited by 63
- 2024Learning to Compress Prompt in Natural Language Formatscited by 54
- 2023Evaluating Instruction-Tuned Large Language Models on Code Comprehension and Generationcited by 49
- 2022Long Document Summarization with Top-down and Bottom-up Inferencecited by 42
- 2020ERNIE-Doc: A Retrospective Long-Document Modeling Transformercited by 31
- 2024Perception Compressor: A Training-Free Prompt Compression Framework in Long Context Scenarioscited by 22
- 2024HMT: Hierarchical Memory Transformer for Efficient Long Context Language Processingcited by 20
- 2025GMSA: Enhancing Context Compression via Group Merging and Layer Semantic Alignmentcited by 20
- 2025Autoencoding-Free Context Compression for LLMs via Contextual Semantic Anchorscited by 14
- 2024SelfCP: Compressing Over-Limit Prompt via the Frozen Large Language Model Itselfcited by 8
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026SemantiCache: Efficient KV Cache Compression via Semantic Chunking and Clustered Mergingcited by 5
- 2026PoC: Performance-oriented Context Compression for Large Language Models via Performance Predictioncited by 3
- 2026MemoSight: Unifying Context Compression and Multi Token Prediction for Reasoning Accelerationcited by 1
- 2026HybridThinker: Efficient Chain-of-Thought Reasoning via Compressed Memory and Transient Thought Stepscited by 0
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAGcited by 0
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAG4 Sep 2026
- 2026HybridThinker: Efficient Chain-of-Thought Reasoning via Compressed Memory and Transient Thought Steps2 Jun 2026
- 2026MemoSight: Unifying Context Compression and Multi Token Prediction for Reasoning Acceleration16 Apr 2026
- 2026PoC: Performance-oriented Context Compression for Large Language Models via Performance Prediction20 Mar 2026
- 2026SemantiCache: Efficient KV Cache Compression via Semantic Chunking and Clustered Merging15 Mar 2026