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

SONIC:用于键值缓存信息压缩的分段优化 nexus

SONIC: Segmented Optimized Nexus for Information Compression in Key-Value Caching

The Hong Kong University of Science(香港科学与技术大学);King's College London, United Kingdom(伦敦国王学院)

Hong Chen, Xiang Liu, Bo Wang, Yuxuan Fan, Yuanlin Chu, Zongluo Li, Xiaowen Chu, Xuming Hu

AI总结:

SONIC通过动态预算训练实现高效键值缓存压缩,提升多轮对话的连贯性和部署效率。

摘要:

键值(KV)缓存的线性增长仍然是多轮大型语言模型(LLM)部署的瓶颈。现有的KV缓存压缩方法往往未能考虑多轮对话的结构特性,依赖于启发式淘汰策略,有风险丢失关键上下文。我们提出了SONIC,一种基于学习的框架,将历史片段压缩成紧凑且语义丰富的nexus令牌。通过整合动态预算训练,SONIC允许在不重新训练的情况下灵活适应不同的内存限制。实验显示,在80%和50%的压缩率下,SONIC在四个多样化的多轮基准上始终优于H2O和StreamingLLM等基线方法。具体来说,在广泛使用的MTBench101基准上,SONIC在最先进的基线方法上平均得分提高了35.55%,验证了其在维持连贯多轮对话中的有效性。此外,SONIC还提高了部署效率,相比全上下文生成,整体推理过程加速了50.1%。

英文摘要:

The linear growth of Key-Value (KV) cache remains a bottleneck for multi-turn LLM deployment. Existing KV cache compression methods often fail to account for the structural properties of multi-turn dialogues, relying on heuristic eviction that risks losing critical context. We propose \textbf{SONIC}, a learning-based framework that compresses historical segments into compact and semantically rich \textbf{Nexus} tokens. By integrating dynamic budget training, SONIC allows flexible adaptation to varying memory constraints without retraining. Experiments show that at compression ratios of 80\% and 50\%, SONIC consistently outperforms baselines such as H2O and StreamingLLM on four diverse multi-turn benchmarks. Specifically, on the widely used MTBench101 benchmark, SONIC achieves an average score improvement of 35.55\% over state-of-the-art baselines, validating its effectiveness in sustaining coherent multi-turn dialogues. Furthermore, SONIC enhances deployment efficiency, accelerating the overall inference process by 50.1\% compared to full-context generation.

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

↑