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

通过弱普通Transformer提升混合专家Transformer的下游性能

Improving the Downstream Performance of Mixture-of-Experts Transformers via Weak Vanilla Transformers

Research Center for Social Computing and Interactive Robotics(社会计算与交互机器人研究中心);Harbin Institute of Technology(哈尔滨工业大学)

Xin Lu, Yanyan Zhao, Bing Qin, Ting Liu

AI总结:

针对MoE Transformer下游性能弱于普通Transformer的问题,本文提出迁移能力蒸馏概念,以弱普通Transformer为教师引导MoE模型,在BERT上验证了该方法可显著提升MoE的下游性能。

摘要:

近年来,混合专家(Mixture of Experts, MoE)Transformer因在模型容量和计算效率上的优势获得越来越多的关注。但已有研究表明,MoE Transformer在诸多下游任务上的表现弱于普通Transformer,这大幅降低了MoE模型的实用价值。为解释该问题,我们提出模型的预训练性能与迁移能力是其下游任务性能的共同决定因素;与普通模型相比,MoE模型的迁移能力更差,进而导致其下游任务表现不佳。为解决该问题,我们提出迁移能力蒸馏的概念,指出尽管普通模型性能较弱,但可作为迁移能力的有效教师模型;经普通模型引导的MoE模型可同时具备优秀的预训练性能与迁移能力,最终提升其下游任务表现。我们设计了具体的蒸馏方法,并在BERT架构上开展实验。实验结果显示MoE模型的下游性能获得显著提升,大量进一步证据也有力支撑了迁移能力蒸馏的概念。最后,我们尝试对迁移能力蒸馏进行解释,并从模型特征视角给出了若干见解。

英文摘要:

Recently, Mixture of Experts (MoE) Transformers have garnered increasing attention due to their advantages in model capacity and computational efficiency. However, studies have indicated that MoE Transformers underperform vanilla Transformers in many downstream tasks, significantly diminishing the practical value of MoE models. To explain this issue, we propose that the pre-training performance and transfer capability of a model are joint determinants of its downstream task performance. MoE models, in comparison to vanilla models, have poorer transfer capability, leading to their subpar performance in downstream tasks. To address this issue, we introduce the concept of transfer capability distillation, positing that although vanilla models have weaker performance, they are effective teachers of transfer capability. The MoE models guided by vanilla models can achieve both strong pre-training performance and transfer capability, ultimately enhancing their performance in downstream tasks. We design a specific distillation method and conduct experiments on the BERT architecture. Experimental results show a significant improvement in downstream performance of MoE models, and many further evidences also strongly support the concept of transfer capability distillation. Finally, we attempt to interpret transfer capability distillation and provide some insights from the perspective of model feature.

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

↑