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

让每个验证的标记都值得:MoE推测解码的自适应验证

Making Every Verified Token Count: Adaptive Verification for MoE Speculative Decoding

University of Science and Technology of China(中国科学技术大学);Tianyijiaotong Technology Ltd.(天翼教育科技有限公司)

Lehan Pan, Ziyang Tao, Xiao Wang, Zhimeng Zhao, Meng Wang, Yanyong Zhang

AI总结:

本文提出EVICT方法,通过截断草案树和保留成本有效的前缀,提升MoE推测解码效率,实验表明其在速度和减少专家激活方面优于现有方法。

摘要:

基于树结构的推测解码通过并行验证多个草案候选者加速自回归生成,但对稀疏混合专家(MoE)模型效果减弱。随着草案树增长,不同分支激活不同专家,扩大了激活专家的并集,显著增加目标侧验证成本。本文提出EVICT,一种无需训练、超参数和损失的自适应验证方法,通过截断草案树并在验证前保留成本有效的前缀,利用细粒度草案信号估计候选者效益,结合离线配置的验证成本,与高性能图基服务框架SGLang高度兼容。在多种MoE模型和基准测试中,EVICT在速度上比自回归解码快2.35倍,比现有最佳基线EAGLE-3快1.21倍,同时显著减少验证过程中的冗余专家激活。

英文摘要:

Tree-based speculative decoding accelerates autoregressive generation by verifying multiple draft candidates in parallel, but this advantage weakens for sparse Mixture-of-Experts (MoE) models. As the draft tree grows, different branches activate different experts, expanding the union of activated experts and substantially increasing target-side verification cost. We propose EVICT, a training-free, hyperparameter-free, and lossless adaptive verification method for MoE speculative decoding. EVICT makes every verified token count by truncating the draft tree before target verification and retaining only the cost-effective prefix. It leverages fine-grained drafter signals to estimate candidate benefit, combines them with offline-profiled verification cost, and remains highly compatible with the high-performance graph-based serving framework SGLang. Extensive experiments on diverse MoE backbones and benchmarks show that EVICT achieves up to 2.35x speedup over autoregressive decoding and an average 1.21x speedup over the state-of-the-art baseline EAGLE-3, while significantly reducing unnecessary expert activations during verification.

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

↑