mlsanityData to 7 Oct 2026

CoMeT: Collaborative Memory Transformer for Efficient Long Context Modeling

arXiv 2602.01766 ↗First posted 2 Feb 2026cs.LG cs.AIcited by 5

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  3. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  4. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  5. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  6. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  7. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  8. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  9. 2022Simplified State Space Layers for Sequence Modelingcited by 776
  10. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  11. 2017The NarrativeQA Reading Comprehension Challengecited by 590
  12. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
28 more
  1. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
  2. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
  3. 2025LLMs Get Lost In Multi-Turn Conversationcited by 400
  4. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
  5. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  6. 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
  7. 2023Adapting Language Models to Compress Contextscited by 350
  8. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
  9. 2021Efficient Attentions for Long Document Summarizationcited by 342
  10. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 194
  11. 2022SCROLLS: Standardized CompaRison Over Long Language Sequencescited by 170
  12. 2024A Survey on Recent Advances in LLM-Based Multi-turn Dialogue Systemscited by 170
  13. 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 145
  14. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
  15. 2024Long Context Compression with Activation Beaconcited by 101
  16. 2024LongCite: Enabling LLMs to Generate Fine-grained Citations in Long-context QAcited by 78
  17. 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 73
  18. 2024CompAct: Compressing Retrieved Documents Actively for Question Answeringcited by 64
  19. 2020Memformer: A Memory-Augmented Transformer for Sequence Modelingcited by 63
  20. 2024Learning to Compress Prompt in Natural Language Formatscited by 54
  21. 2023Evaluating Instruction-Tuned Large Language Models on Code Comprehension and Generationcited by 49
  22. 2022Long Document Summarization with Top-down and Bottom-up Inferencecited by 42
  23. 2020ERNIE-Doc: A Retrospective Long-Document Modeling Transformercited by 31
  24. 2024Perception Compressor: A Training-Free Prompt Compression Framework in Long Context Scenarioscited by 22
  25. 2024HMT: Hierarchical Memory Transformer for Efficient Long Context Language Processingcited by 20
  26. 2025GMSA: Enhancing Context Compression via Group Merging and Layer Semantic Alignmentcited by 20
  27. 2025Autoencoding-Free Context Compression for LLMs via Contextual Semantic Anchorscited by 14
  28. 2024SelfCP: Compressing Over-Limit Prompt via the Frozen Large Language Model Itselfcited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.