arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.05350cs.DCcs.LG
收藏

大规模语言模型预训练中高效参数搜索与并行性的扩展研究

Scaling Studies for Efficient Parameter Search and Parallelism for Large Language Model Pre-training

Oak Ridge Institute For Science And Education(橡树岭科学与教育研究所);Laboratory for Physical Sciences(物理科学实验室)

Michael Benington, Leo Phan, Chris Pierre Paul, Evan Shoemaker, Priyanka Ranade, Torstein Collett, Grant Hodgson Perez, Christopher Krieger

AI总结:

本研究针对大规模语言模型预训练,通过细粒度实验量化了三种并行方法(特别是DeepSpeed ZeRO阶段)与模型规模的关系,以优化参数搜索和并行效率。

摘要:

AI加速器的处理能力和内存限制在很大程度上决定了机器学习工作负载(如训练和推理)能在期望的时间范围内执行的规模。如今,训练最先进的基于Transformer的模型需要使用配备高速互连的GPU加速高性能计算机。随着数据集和模型规模的持续增大,AI的计算需求和内存需求也不断增长。这些挑战推动了分布式算法和基于电路的优化技术的发展,这些技术使得在多节点环境中逐步扩展模型、高效最小化神经网络代价函数以加快收敛速度,以及在有限可用资源中存储更多参数成为可能。在我们的研究项目中,我们专注于并行和分布式机器学习算法的开发,特别是优化一组5个编码器-解码器大型语言模型(LLM)的数据处理和预训练,这些模型的参数规模从5.8亿到130亿不等。我们进行了一项细粒度研究,以量化三种机器学习并行方法之间的关系,具体探索了微软DeepSpeed零冗余优化器(ZeRO)的阶段。

英文摘要:

AI accelerator processing capabilities and memory constraints largely dictate the scale in which machine learning workloads (e.g., training and inference) can be executed within a desirable time frame. Training a state of the art, transformer-based model today requires use of GPU-accelerated high performance computers with high-speed interconnects. As datasets and models continue to increase in size, computational requirements and memory demands for AI also continue to grow. These challenges have inspired the development of distributed algorithm and circuit-based optimization techniques that enable the ability to progressively scale models in multi-node environments, efficiently minimize neural network cost functions for faster convergence, and store more parameters into a set number of available resources. In our research project, we focus on parallel and distributed machine learning algorithm development, specifically for optimizing the data processing and pre-training of a set of 5 encoder-decoder LLMs, ranging from 580 million parameters to 13 billion parameters. We performed a fine-grained study to quantify the relationships between three ML parallelism methods, specifically exploring Microsoft DeepSpeed Zero Redundancy Optimizer (ZeRO) stages.

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

↑