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

MoEZip:面向稀疏混合专家(MoE)大语言模型的路由感知KV缓存压缩

MoEZip: Routing-Aware KV Cache Compression for Sparse Mixture-of-Experts LLMs

Korea University(高丽大学);SK Telecom(SK电信)

Minsang Kim, Seungjun Baek

AI总结:

针对稀疏MoE大语言模型长上下文推理的KV缓存瓶颈,提出MoEZip路由感知KV缓存压缩方法,结合路由分布Fisher信息矩阵指标与注意力权重,在KV保留率10%时较SoTA基线在LongBench、RULER上分别提升24、20个点

摘要:

混合专家(MoE)语言模型通过为每个token激活一小部分参数,高效扩展了模型容量。然而,在长上下文推理中,内存仍是主要瓶颈,因为KV缓存随序列长度线性增长。现有的KV缓存压缩方法降低了密集Transformer的该成本,但忽略了MoE特有的问题:KV驱逐会改变答案生成过程中选择的专家,从而降低生成质量。我们提出MoEZip,一种面向稀疏MoE语言模型的路由感知KV缓存压缩方法。为估计专家路由对扰动的敏感性,我们提出一种基于路由分布Fisher信息矩阵的新指标。MoEZip将该指标与注意力权重结合,实现上下文的路由感知评分。最后,我们构建了一个互补评分系统,结合了密集和稀疏MoE架构的驱逐方法。实验表明,MoEZip在各种基准上的激进缓存压缩下均表现出稳健性能。在KV保留率为10%时,MoEZip在LongBench和RULER上分别比现有最优(SoTA)基线平均提升24和20个点,对应分数分别提高2.3倍和4.9倍。

英文摘要:

Mixture-of-Experts (MoE) language models scale model capacity efficiently by activating a small subset of parameters per token. However, in long-context inference, memory remains a major bottleneck because the KV cache grows linearly with sequence length. Existing KV cache compression methods reduce this cost for dense transformers, but overlook a problem specific to MoE: KV eviction can change which experts are selected during answer generation, degrading the generation quality. We propose MoEZip, a routing-aware KV cache compression for sparse MoE language models. To estimate the sensitivity of expert routing to perturbation, we propose a novel metric based on the Fisher information matrix of routing distributions. MoEZip combines this metric with attention weights for routing-aware scoring of contexts. Finally, we compose a complementary scoring system that combines eviction methods for dense and sparse-MoE architectures. Experiments show that MoEZip achieves robust performance under aggressive cache compression on various benchmarks. At a KV retention ratio of 10\%, MoEZip improves over the SoTA baseline by +24 and +20 points on average on LongBench and RULER, corresponding to 2.3$\times$ and 4.9$\times$ higher scores, respectively.

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

↑