跳到正文
arXiv (AI + Vision + Imaging)· Minsang Kim, Seungjun Baek·AI 评分38

MoEZip:面向稀疏MoE大模型的路由感知KV Cache压缩方案

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

AI 导读

MoEZip是一种面向稀疏MoE语言模型的路由感知KV Cache压缩方法,通过基于路由分布Fisher信息矩阵的新指标估计专家路由对扰动的敏感度,并结合注意力权重对上下文进行路由感知评分。该方法还构建了融合稠密与稀疏MoE架构淘汰策略的互补评分体系。在KV保留率10%时,MoEZip在LongBench和RULER上平均较SoTA基线提升+24和+20分,对应分数分别高出2.3倍和4.9倍。

正文 · 原文

arXiv:2610.30206v1 Announce Type: new Abstract: 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.

来源:arXiv (AI + Vision + Imaging) · arxiv.org