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

训练小规模大型语言模型的计算瓶颈

Computational Bottlenecks of Training Small-scale Large Language Models

Apple(苹果公司)

Saleh Ashkboos, Iman Mirzadeh, Keivan Alizadeh, Mohammad Hossein Sekhavat, Moin Nabi, Mehrdad Farajtabar, Fartash Faghri

AI总结:

针对小规模大型语言模型(SLMs)训练行为与计算需求研究有限的问题,本研究通过考察GPU类型、批大小等多因素影响,在云服务上评估相关指标,旨在为低资源机构优化SLMs训练提供支持。

摘要:

虽然大型语言模型(LLMs)主导着人工智能领域,但由于消费者对成本和效率的需求,小规模大型语言模型(SLMs)正受到关注。然而,关于SLMs的训练行为和计算需求的研究有限。在本研究中,我们通过考察各种超参数和配置的影响,包括GPU类型、批大小、模型大小、通信协议、注意力类型和GPU数量,探索训练SLMs(最多20亿参数)的计算瓶颈。我们使用每美元损失和每秒标记数等指标在流行云服务上评估这些因素。我们的发现旨在支持低资源人工智能研究机构更广泛地采用和优化语言模型训练。

英文摘要:

While large language models (LLMs) dominate the AI landscape, Small-scale large Language Models (SLMs) are gaining attention due to cost and efficiency demands from consumers. However, there is limited research on the training behavior and computational requirements of SLMs. In this study, we explore the computational bottlenecks of training SLMs (up to 2B parameters) by examining the effects of various hyperparameters and configurations, including GPU type, batch size, model size, communication protocol, attention type, and the number of GPUs. We assess these factors on popular cloud services using metrics such as loss per dollar and tokens per second. Our findings aim to support the broader adoption and optimization of language model training for low-resource AI research institutes.

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

↑