2025-02-28 · 进阶 · 机器学习 · 自然语言处理

Drop-Upcycling: Training Sparse Mixture of Experts with Partial Re-initialization

提出了一种名为Drop-Upcycling的方法,通过在将密集模型扩展为MoE模型时选择性重新初始化专家FFN的参数,有效地平衡了知识迁移和专家专业化,显著提高了MoE模型的效率。

更新于 2025-02-28。作者:Taishi Nakamura、Takuya Akiba、Kazuki Fujii、Yusuke Oda、Rio Yokota、Jun Suzuki。

中文摘要

混合专家(MoE)架构与等效容量的密集模型相比,显著降低了训练和推理成本。升级改造是一种使用预训练的密集模型初始化和训练MoE模型的方法。虽然升级改造能带来初始的性能提升,但其训练速度比从头开始训练慢,导致长期性能不佳。我们提出了Drop-Upcycling——一种有效解决这一问题的方法。Drop-Upcycling结合了两种看似矛盾的方法:在统计上重新初始化部分权重的同时,利用预训练密集模型的知识。这种方法策略性地促进了专家专业化,显著提高了MoE模型在知识获取方面的效率。大量的大型实验表明,Drop-Upcycling在长期内显著优于之前的MoE构建方法,特别是在训练数以百亿计的标记或更多的情况下。因此,我们的具有5.9B个活动参数的MoE模型在与相同模型家族的13B密集模型相比时,实现了可比的性能,同时训练的FLOPs大约减少了1/4。所有实验资源,包括源代码、训练数据、模型检查点和日志,均已公开,以促进可重复性和MoE的后续研究。

英文摘要

The Mixture of Experts (MoE) architecture reduces the training and inference cost significantly compared to a dense model of equivalent capacity. Upcycling is an approach that initializes and trains an MoE model using a pre-trained dense model. While upcycling leads to initial performance gains, the training progresses slower than when trained from scratch, leading to suboptimal performance in the long term. We propose Drop-Upcycling - a method that effectively addresses this problem. Drop-Upcycling combines two seemingly contradictory approaches: utilizing the knowledge of pre-trained dense models while statistically re-initializing some parts of the weights. This approach strategically promotes expert specialization, significantly enhancing the MoE model's efficiency in knowledge acquisition. Extensive large-scale experiments demonstrate that Drop-Upcycling significantly outperforms previous MoE construction methods in the long term, specifically when training on hundreds of billions of tokens or more. As a result, our MoE model with 5.9B active parameters achieves comparable performance to a 13B dense model in the same model family, while requiring approximately 1/4 of the training FLOPs. All experimental resources, including source code, training data, model checkpoints and logs, are publicly available to promote reproducibility and future research on MoE.

解读

一句话总结

提出了一种名为Drop-Upcycling的方法,通过在将密集模型扩展为MoE模型时选择性重新初始化专家FFN的参数,有效地平衡了知识迁移和专家专业化,显著提高了MoE模型的效率。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt