大语言模型(LLM)的缩放是关乎模型训练与部署效率及效果的关键研究领域。本工作探究了缩放定律在密集模型(Dense Models)与专家混合模型(Mixture of Experts, MoE)之间的可迁移性与差异。通过结合理论分析与大量实验——包括一致的损失缩放、最优批量大小与学习率缩放,以及资源分配策略缩放——我们的研究结果表明,幂律缩放框架同样适用于MoE模型,这说明尽管架构存在差异,支配这类模型缩放行为的基本原理仍然成立。此外,MoE模型展现出更优的泛化能力,在相同的训练计算预算下,其测试损失低于密集模型。这些发现揭示了MoE模型的缩放一致性与迁移泛化能力,为优化MoE模型的训练与部署策略提供了新的见解。
英文摘要:
The scaling of large language models (LLMs) is a critical research area for the efficiency and effectiveness of model training and deployment. Our work investigates the transferability and discrepancies of scaling laws between Dense Models and Mixture of Experts (MoE) models. Through a combination of theoretical analysis and extensive experiments, including consistent loss scaling, optimal batch size and learning rate scaling, and resource allocation strategies scaling, our findings reveal that the power-law scaling framework also applies to MoE Models, indicating that the fundamental principles governing the scaling behavior of these models are preserved, even though the architecture differs. Additionally, MoE Models demonstrate superior generalization, resulting in lower testing losses with the same training compute budget compared to Dense Models. These findings indicate the scaling consistency and transfer generalization capabilities of MoE Models, providing new insights for optimizing MoE Model training and deployment strategies.
Joint MoE Scaling Laws: Mixture of Experts Can Be Memory Efficient
University of Warsaw(华沙大学);Wroclaw University of Science and Technology(弗罗茨瓦夫理工大学);Institute of Mathematics, Polish Academy of Sciences(波兰科学院数学研究所);Institute of Fundamental Technological Research, Polish Academy of Sciences(波兰科学院基础技术研究所)
Holistic Scaling Laws for Optimal Mixture-of-Experts Architecture Optimization
College of Computer Science and Artificial Intelligence, Fudan University(复旦大学计算机科学与人工智能学院);Hi Lab, Xiaohongshu Inc.(小红书公司Hi实验室);Project Numina(项目Numina);School of Data Science, Fudan University(复旦大学数据科学学院)
Optimal Expert-Attention Allocation in Mixture-of-Experts: A Scalable Law for Dynamic Model Design
The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));The Hong Kong University of Science and Technology(香港科学与技术大学);Ant Group(蚂蚁集团)
Charting Empirical Laws for LLM Fine-Tuning in Scientific Multi-Discipline Learning
The University of Sydney(悉尼大学);Shanghai AI Laboratory(上海人工智能实验室);Edith Cowan University(埃德温·考文大学);University of Oxford(牛津大学);The Chinese University of Hong Kong(香港中文大学);Beihang University(北航大学)
SPHERE: Mitigating the Loss of Spectral Plasticity in Mixture-of-Experts for Deep Reinforcement Learning
State Key Lab of General AI, School of Intelligence Science and Technology, Peking University(人工智能国家重点实验室,智能科学与技术学院,北京大学);State Key Laboratory of General Artificial Intelligence, BIGAI(通用人工智能国家重点实验室,BIGAI);Institute for Artificial Intelligence, Peking University(人工智能研究院,北京大学)
Mixtures of Experts Unlock Parameter Scaling for Deep RL
Mila - Québec AI Institute(米拉-魁北克人工智能研究所);Université de Montréal(蒙特利尔大学);Google DeepMind(谷歌DeepMind);University of Oxford(牛津大学);McGill University(麦吉尔大学)
Fast Catch-Up, Late Switching: Optimal Batch Size Scheduling via Functional Scaling Laws
School of Mathematical Sciences, Peking University(北京大学数学科学学院);Center for Machine Learning Research, Peking University(北京大学机器学习研究中心);School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学学院);State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China(中国科学技术大学认知智能国家重点实验室);Meituan, Beijing(美团(北京));AI for Science Institute, Beijing(北京人工智能科学研究院)
Mechanistic Analysis of Catastrophic Forgetting in Large Language Models During Continual Fine-tuning
Division of Statistics and Machine Learning (STIMA), Department of Computer and Information Science (IDA), Linköping University(统计与机器学习系(STIMA)、计算机与信息科学系(IDA)、利厄普堡大学)
Fermi National Accelerator Laboratory(费米国家加速器实验室);Rutgers University(罗格斯大学);Institute for Experimental Physics, Universität Hamburg(汉堡大学实验物理研究所);Institute for Theoretical Particle Physics and Cosmology, RWTH Aachen University(亚琛工业大学理论粒子物理与宇宙学研究所)
Scaling DRL for Decision Making: A Survey on Data, Network, and Training Budget Strategies
School of Computer and Information Technology, Shanxi University(山西大学计算机与信息技术学院);College of Intelligence and Computing, Tianjin University(天津大学智能与计算学院);School of Data Science, The Chinese University of Hong Kong (Shenzhen)(香港中文大学(深圳)数据科学学院);Department of Computer Science and Engineering, The Chinese University of Hong Kong(香港中文大学计算机科学与工程系)
Rethinking Physics-Informed Regression Beyond Training Loops and Bespoke Architectures
Department of Electrical \& Electronic Engineering, Imperial College, SW7 2AZ London, UK (e-mail: ).;Department of Aeronautics, Imperial College, \ 7 2AZ London, UK (e-mail: )