arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.14889cs.AI
收藏

MemoSight: 统一上下文压缩与多令牌预测以加速推理

MemoSight: Unifying Context Compression and Multi Token Prediction for Reasoning Acceleration

School of Computer Science and Engineering, Northeastern University, China(东北大学计算机科学与工程学院);Meituan Inc.(美团公司);NiuTrans Research, Shenyang, China(牛译研所)

Xinyu Liu, Xin Liu, Bo Jin, Runsong Zhao, Pengcheng Huang, Junhao Ruan, Bei Li, Chunyang Xiao, Chenglong Wang, Tong Xiao, Jingbo Zhu

AI总结:

提出 MemoSight 框架,通过特殊令牌和位置布局统一上下文压缩与多令牌预测,在保持思维链推理性能的同时减少 KV 缓存使用并提升推理速度。

摘要:

虽然思维链推理使大型语言模型能够解决具有挑战性的推理任务,但 KV 缓存的线性增长导致了大量的内存和推理开销。现有方法如上下文压缩和多令牌预测通过压缩历史令牌和并行生成未来令牌两个互补方向提高效率。然而,由于它们不同的训练范式和架构假设,有效结合它们仍然具有挑战性。在这项工作中,我们提出 MemoSight(基于记忆与前瞻的推理),一个统一框架,集成了上下文压缩和多令牌预测,以提高推理效率同时保持思维链性能。MemoSight 采用基于特殊令牌和令牌特定位置布局的共享极简设计,用于压缩和并行预测。在四个推理基准上的实验表明,与普通 SFT 基线相比,MemoSight 将 KV 缓存使用减少高达 66%,推理速度提升 56%,同时平均推理准确率下降不到 3%,相比现有的思维链压缩方法实现了更好的效率-准确率权衡。

英文摘要:

While chain-of-thought (CoT) reasoning enables LLMs to solve challenging reasoning tasks, the linear growth of the KV cache leads to substantial memory and inference overhead. Existing approaches such as context compression and multi-token prediction (MTP) improve efficiency from two complementary directions by compressing historical tokens and generating future tokens in parallel. However, effectively combining them remains challenging due to their different training paradigms and architectural assumptions. In this work, we propose MemoSight (Memory-Foresight-Based Reasoning), a unified framework that integrates context compression and MTP to improve inference efficiency while preserving CoT performance. MemoSight adopts a shared minimalist design based on special tokens and token-specific positional layouts for both compression and parallel prediction. Experiments on four reasoning benchmarks show that, compared to the vanilla SFT baseline, MemoSight reduces KV cache usage by up to 66% and improves inference speed by 56%, while incurring less than a 3% drop in average reasoning accuracy, yielding a better efficiency-accuracy trade-off than existing CoT compression methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑