近年来,随着大语言模型在各领域的快速应用,模型规模逐渐增大,其预训练所需资源呈指数级增长。从零训练一个大语言模型会消耗大量计算资源,而从更小的模型进行规模扩展是一种更高效的方法,因此受到广泛关注。本文提出AquilaMoE,这是一款前沿的双语8*16B混合专家(Mixture of Experts,MoE)语言模型,包含8个专家、每个专家有160亿参数,采用名为EfficientScale的创新训练方法开发。该方法通过两阶段流程在优化性能的同时最大限度降低数据需求。第一阶段称为Scale-Up(规模放大),使用预训练小模型的权重初始化更大的模型,实现大量知识迁移,且仅需显著更少的数据即可进行持续预训练。第二阶段称为Scale-Out(规模扩展),使用预训练稠密模型初始化MoE专家,进一步增强知识迁移与性能。我们在1.8B和7B模型上开展了大量验证实验,对比了多种初始化方案,得到的模型在持续预训练过程中能够维持并降低损失。利用最优方案,我们成功训练了16B模型,随后又训练了8*16B的AquilaMoE模型,证明其在性能与训练效率上均有显著提升。
英文摘要:
In recent years, with the rapid application of large language models across various fields, the scale of these models has gradually increased, and the resources required for their pre-training have grown exponentially. Training an LLM from scratch will cost a lot of computation resources while scaling up from a smaller model is a more efficient approach and has thus attracted significant attention. In this paper, we present AquilaMoE, a cutting-edge bilingual 8*16B Mixture of Experts (MoE) language model that has 8 experts with 16 billion parameters each and is developed using an innovative training methodology called EfficientScale. This approach optimizes performance while minimizing data requirements through a two-stage process. The first stage, termed Scale-Up, initializes the larger model with weights from a pre-trained smaller model, enabling substantial knowledge transfer and continuous pretraining with significantly less data. The second stage, Scale-Out, uses a pre-trained dense model to initialize the MoE experts, further enhancing knowledge transfer and performance. Extensive validation experiments on 1.8B and 7B models compared various initialization schemes, achieving models that maintain and reduce loss during continuous pretraining. Utilizing the optimal scheme, we successfully trained a 16B model and subsequently the 8*16B AquilaMoE model, demonstrating significant improvements in performance and training efficiency.
LLaMA-MoE: Building Mixture-of-Experts from LLaMA with Continual Pre-training
Soochow University(苏州大学);Shanghai AI Laboratory(上海人工智能实验室);Shanghai Jiao Tong University(上海交通大学);Fudan University(复旦大学);The Chinese University of Hong Kong(香港中文大学)
CIPHER-MoE: Balancing Efficiency and Routing Fidelity in Trillion-Scale MoE Training
Tongji University(同济大学);Cornell University(康奈尔大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));AI Training Platform Team, Shenzhen Loop Area Institute(深圳环域研究院AI训练平台团队)
Continual Pre-training of MoEs: How robust is your router?
Université de Montréal(蒙特利尔大学);Mila – Quebec AI Institute(魁北克人工智能研究所);Concordia University(康科迪亚大学);University of Chicago(芝加哥大学);Capital One(Capital One公司)
TEAM: Temporal-Spatial Consistency Guided Expert Activation for MoE Diffusion Language Model Acceleration
Institute for Artificial Intelligence(人工智能研究院);School of Integrated Circuits(集成电路学院);Yuanpei College(元培学院);Beijing Advanced Innovation Center for Integrated Circuits(北京集成电路先进创新中心)
MoE Router-Guided Clustering for Heterogeneous Federated Instruction Tuning
California State University, Dominguez Hills(加州州立大学多明戈斯山分校);University of California, Irvine(加州大学欧文分校);Johns Hopkins University(约翰斯·霍普金斯大学);Arizona State University(亚利桑那州立大学)
Expert Streaming: Accelerating Low-Batch MoE Inference via Multi-chiplet Architecture and Dynamic Expert Trajectory Scheduling
AI Chip Center for Emerging Smart Systems(新兴智能系统芯片中心);The Hong Kong University of Science and Technology(香港科技大学);Shanghai UniVista Industrial Software Group Co., Ltd.(上海华大九天工业软件集团有限公司)
Alibaba Group(阿里巴巴集团);University of Edinburgh(爱丁堡大学);Chinese Academy of Sciences(中国科学院);Nanjing University(南京大学);University of Amsterdam(阿姆斯特丹大学);Shanghai AI Lab(上海人工智能实验室)
MoSE: Mixture of Slimmable Experts for Efficient and Adaptive Language Models
Mohamed bin Zayed University of Artificial Intelligence (MBZUAI), UAE(Mohamed bin Zayed人工智能大学(MBZUAI));Michigan State University (MSU), USA(密歇根州立大学(MSU));Amazon Science, UK(亚马逊科学)
Astrea: A MOE-based Visual Understanding Model with Progressive Alignment
Zhejiang University(浙江大学);Southern University of Science and Technology(南方科技大学);Beijing University of Technology(北京工业大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Hong Kong Polytechnic University(香港理工大学);Qingdao University(青岛大学)
Efficient Training of Large-Scale AI Models Through Federated Mixture-of-Experts: A System-Level Approach
Division of Electrical and Computer Engineering, Louisiana State University(电气与计算机工程系,路易斯安那州立大学);Division of Computer Science and Engineering, Louisiana State University(计算机科学与工程系,路易斯安那州立大学);Department of Data Science, New Jersey Institute of Technology(数据科学系,新泽西理工学院);Department of Electrical and Computer Engineering, University of Louisiana at Lafayette(电气与计算机工程系,路易斯安那大学拉斐特分校);Department of Electrical and Electronic Engineering, Imperial College London(电气与电子工程系,伦敦帝国理工学院)
SpaceMoE: Realizing Distributed Mixture-of-Experts Inference over Space Networks
Department of Electrical and Computer Engineering, The University of Hong Kong (HKU)(香港大学电子与计算机工程系);State Key Laboratory of Integrated Service Networks, Institute of Information Science, Xidian University(西安电子科技大学信息科学学院集成服务网络国家重点实验室);Department of Electronic and Computer Engineering, The Hong Kong University of Science and Technology (HKUST)(香港科学与技术大学电子与计算机工程系)
DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models
DeepSeek-AI(深度求索人工智能);National Key Laboratory for Multimedia Information Processing, Peking University(北京大学多媒体信息处理全国重点实验室);Institute for Interdisciplinary Information Sciences, Tsinghua University(清华大学交叉信息研究院);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术全国重点实验室)
SparseDoctor: Towards Efficient Chat Doctor with Mixture of Experts Enhanced Large Language Models
Department of Computer Science, Hong Kong Chu Hai College(香港 Chu Hai 学院计算机科学系);Department of Computing, The Hong Kong Polytechnic University(香港理工大学计算机系)
Beyond Spurious Signals: Debiasing Multimodal Large Language Models via Counterfactual Inference and Adaptive Expert Routing
School of Computer Science, Peking University(北京大学计算机科学学院);MOE Key Laboratory of Computational Linguistics, Peking University(北京大学教育部计算语言学重点实验室);National Key Laboratory for Multimedia Information Processing, Peking University(北京大学国家多媒体信息处理重点实验室)
Knowledge-Guided Adaptive Mixture of Experts for Precipitation Prediction
Samuel Ginn College of Engineering(萨姆uel吉恩工程学院);Auburn University(阿伯杜大学);Gustavus Adolphus College(古斯塔夫·阿道夫学院);School of Engineering and Computer Science(工程与计算机科学学院);Oakland University(奥克兰大学);School of Computing and Design(计算与设计学院);California State University Monterey Bay(蒙特利尔湾加州州立大学)