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

ExFusion:通过多专家融合实现高效的Transformer训练

ExFusion: Efficient Transformer Training via Multi-Experts Fusion

School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Huazhong University of Science and Technology(华中科技大学);Soochow University(苏州大学);Chinese University of Hong Kong(香港中文大学);School of Biomedical Engineering, Shanghai Jiao Tong University(上海交通大学生物医学工程学院)

Jiacheng Ruan, Daize Dong, Xiaoye Qu, Tong Zhu, Ting Liu, Yuzhuo Fu, Yu Cheng, Suncheng Xiang

AI总结:

ExFusion通过多专家融合提升Transformer训练效率,在保持性能的同时降低计算成本。

摘要:

混合专家(MoE)模型通过增加密集架构的容量显著提升了性能。然而,直接训练MoE模型需要大量计算资源,并引入额外的参数存储和部署开销。因此,开发一种利用MoE多专家能力以在最小额外成本下提升性能的方法至关重要。为此,我们提出了一种新的预训练方法,称为ExFusion,通过多专家融合提高Transformer训练的效率。具体而言,在初始化阶段,ExFusion将Transformer的前馈网络(FFN)转换为多专家配置,每个专家分配一个权重用于后续参数融合。在训练过程中,这些权重允许多个专家融合为一个等效于原始FFN的单一专家,随后用于前向计算。因此,ExFusion在训练过程中引入了多专家特性,但计算成本仅比标准密集训练略高。训练完成后,学习到的权重用于将多个专家整合为一个统一的专家,从而消除存储和部署中的额外开销。在多种计算机视觉和自然语言处理任务上的广泛实验验证了所提方法的有效性。

英文摘要:

Mixture-of-Experts (MoE) models substantially improve performance by increasing the capacity of dense architectures. However, directly training MoE models requires considerable computational resources and introduces extra overhead in parameter storage and deployment. Therefore, it is critical to develop an approach that leverages the multi-expert capability of MoE to enhance performance while incurring minimal additional cost. To this end, we propose a novel pre-training approach, termed ExFusion, which improves the efficiency of Transformer training through multi-expert fusion. Specifically, during the initialization phase, ExFusion upcycles the feed-forward network (FFN) of the Transformer into a multi-expert configuration, where each expert is assigned a weight for later parameter fusion. During training, these weights allow multiple experts to be fused into a single unified expert equivalent to the original FFN, which is subsequently used for forward computation. As a result, ExFusion introduces multi-expert characteristics into the training process while incurring only marginal computational cost compared to standard dense training. After training, the learned weights are used to integrate multi-experts into a single unified expert, thereby eliminating additional overhead in storage and deployment. Extensive experiments on a variety of computer vision and natural language processing tasks demonstrate the effectiveness of the proposed method.

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

↑