paper-with-me

Papers

CoMeT: Collaborative Memory Transformer for Efficient Long Context Modeling

2026-02-02 · Runsong Zhao, Shilei Liu, Jiwei Tang, Langming Liu, Haibin Chen, Weidong Zhang, Yujin Yuan, Tong Xiao, Jingbo Zhu, Wenbo Su, Bo Zheng 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

📄 PDF Abstract BibTeX arXiv:2602.01766

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Contextualize Knowledge Bases with Transformer for End-to-end Task-Oriented Dialogue Systems

2020-10-12 · EMNLP 2021 11 · Yanjie Gou, Yinjie Lei, Lingqiao Liu, Yong Dai 외

Incorporating knowledge bases (KB) into end-to-end task-oriented dialogue systems is challenging, since it requires to properly represent the entity of KB, which is associated with its KB context and dialogue context. Th…

Response GenerationTask-Oriented Dialogue Systems

CometNet: Contextual Motif-guided Long-term Time Series Forecasting

2025-11-11 · Weixu Wang, Xiaobo Zhou, Xin Qiao, Lei Wang 외 arxiv

Long-term Time Series Forecasting is crucial across numerous critical domains, yet its accuracy remains fundamentally constrained by the receptive field bottleneck in existing models. Mainstream Transformer- and Multi-la…

Time Series Forecasting

COMET-SG1: Lightweight Autoregressive Regressor for Edge and Embedded AI

2026-01-28 · Shakhyar Gogoi arxiv

COMET-SG1 is a lightweight, stability-oriented autoregressive regression model designed for time-series prediction on edge and embedded AI systems. Unlike recurrent neural networks or transformer-based sequence models, C…

COMET: Generating Commit Messages using Delta Graph Context Representation

2024-02-02 · Abhinav Reddy Mandli, Saurabhsingh Rajput, Tushar Sharma

Commit messages explain code changes in a commit and facilitate collaboration among developers. Several commit message generation approaches have been proposed; however, they exhibit limited success in capturing the cont…

Paragraph-level Commonsense Transformers with Recurrent Memory

2020-10-04 · Saadia Gabriel, Chandra Bhagavatula, Vered Shwartz, Ronan Le Bras 외

Human understanding of narrative texts requires making commonsense inferences beyond what is stated explicitly in the text. A recent model, COMET, can generate such implicit commonsense inferences along several dimension…

SentenceWorld Knowledge