每一份算力都至关重要:在没有高端 GPU 的情况下扩展一个 300B 参数的混合专家 LING 大语言模型

Every FLOP Counts: Scaling a 300B Mixture-of-Experts LING LLM without Premium GPUs

Ling Team (inclusionAI) Ling Team (inclusionAI) · Ant Group · 2025-03-07 · arXiv:2503.05139 ↗ · 被引 20

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

在本技术报告中,我们解决了训练大规模混合专家(MoE)模型的挑战,重点关注克服此类系统中普遍存在的成本低效和资源限制问题。为此,我们提出了两个不同规模的 MoE 大语言模型(LLM),即 Ling-Lite 和 Ling-Plus(中文名为“百灵”,拼音为 Bǎilíng)。Ling-Lite 包含 168 亿参数,其中 27.5 亿被激活;Ling-Plus 拥有 2900 亿参数,其中 288 亿被激活。两个模型均表现出与行业领先基准相当的性能。本报告提供了可操作的见解,以提高资源受限环境下 AI 开发的效率和可及性,促进更可扩展和可持续的技术。具体而言,为降低大规模 MoE 模型的训练成本,我们提出了创新方法:(1)优化模型架构和训练过程,(2)改进训练异常处理,(3)提升模型评估效率。此外,利用从知识图谱生成的高质量数据,我们的模型在工具使用方面表现出优于其他模型的能力。最终,我们的实验结果表明,一个 300B 参数的 MoE 大语言模型可以在低性能设备上有效训练,同时达到与类似规模模型(包括密集模型和 MoE 模型)相当的性能。与高性能设备相比,在预训练阶段使用低规格硬件系统可显著节省成本,计算成本降低约 20%。模型可在 https://huggingface.co/inclusionAI 获取。

In this technical report, we tackle the challenges of training large-scale Mixture of Experts (MoE) models, focusing on overcoming cost inefficiency and resource limitations prevalent in such systems. To address these issues, we present two differently sized MoE large language models (LLMs), namely Ling-Lite and Ling-Plus (referred to as "Bailing" in Chinese, spelled Bǎilíng in Pinyin). Ling-Lite contains 16.8 billion parameters with 2.75 billion activated parameters, while Ling-Plus boasts 290 billion parameters with 28.8 billion activated parameters. Both models exhibit comparable performance to leading industry benchmarks. This report offers actionable insights to improve the efficiency and accessibility of AI development in resource-constrained settings, promoting more scalable and sustainable technologies. Specifically, to reduce training costs for large-scale MoE models, we propose innovative methods for (1) optimization of model architecture and training processes, (2) refinement of training anomaly handling, and (3) enhancement of model evaluation efficiency. Additionally, leveraging high-quality data generated from knowledge graphs, our models demonstrate superior capabilities in tool use compared to other models. Ultimately, our experimental findings demonstrate that a 300B MoE LLM can be effectively trained on lower-performance devices while achieving comparable performance to models of a similar scale, including dense and MoE models. Compared to high-performance devices, utilizing a lower-specification hardware system during the pre-training phase demonstrates significant cost savings, reducing computing costs by approximately 20%. The models can be accessed at https://huggingface.co/inclusionAI.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 27)

阅读逐段中英对照全文 →