一项关于MoE模型的研究提出基于路由贡献度评分的RAMPr细粒度剪枝方法,通过裁剪各专家内部的弱神经元而非整个专家来压缩模型。实验显示在裁剪25%弱神经元后,6个模型仍能保留91%至98%的原始性能;保留50%神经元时GPU显存占用减少36%至43%,批量prefill吞吐量提升17%至39%。
New Tencent paper shows domain skills (like math or coding ) in Mixture of Experts models sit in scattered neurons across expert.
so cutting weak neurons instead of whole experts shrinks the models while keeping most skills.
In their experiment, Mixture of Experts AI models kept 91% to 98% of their performance after their least useful 25% of expert neurons were cut.
MoE models send each token to a few experts, which suggests each expert handles a domain like math or code. Other work finds routing mostly tracks token type instead.
They scored each neuron's routed contribution with a measure called RAMP. Neurons picked for one domain overlapped 58% to 74% across samples of that domain, versus 15% to 24% across domains, and sat in mixed experts.
RAMPr prunes by these scores across all experts and kept 91% to 98% of original performance with 75% of neurons left, across 6 models. With 50% left, GPU memory fell 36% to 43% and batched prefill throughput rose 17% to 39%.
If you compress MoE models, prune neurons inside experts by their routed contribution instead of treating each expert as a single unit.
来源:Rohan Paul · x.com