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

基于Frontier的大语言模型架构对比研究

Comparative Study of Large Language Model Architectures on Frontier

Junqi Yin, Avishek Bose, Guojing Cong, Isaac Lyngaas, Quentin Anthony

AI总结:

本研究利用Frontier超算,在相同材料科学语料与端到端流程下对比GPT-NeoX和LLaMA的训练及下游性能,取得材料科学基准SOTA,提出高效架构设计方法,为HPC构建LLM提供指导。

摘要:

大语言模型(LLM)在AI领域及其他领域均受到广泛关注。其中,生成式预训练Transformer(GPT)已成为主流架构,衍生出众多变体。然而,这些变体的预训练条件各不相同,包括输入数据、数据预处理和训练方法的差异,导致缺乏受控的对比研究。本研究借助全球首台E级超算Frontier的算力,对两种知名开源GPT架构——GPT-NeoX和LLaMA展开细致研究。我们使用相同的材料科学文本语料库和完整的端到端流程,对二者的训练效果及下游性能进行对比分析,最终在一项高难度材料科学基准测试上取得了最优性能。此外,我们还研究了计算效率与能源效率,并提出了一种计算高效的架构设计方法。据我们所知,这些预训练模型是目前可用的最大规模材料科学领域模型。我们的研究结果为在高性能计算(HPC)平台上构建大语言模型提供了实用指导。

英文摘要:

Large language models (LLMs) have garnered significant attention in both the AI community and beyond. Among these, the Generative Pre-trained Transformer (GPT) has emerged as the dominant architecture, spawning numerous variants. However, these variants have undergone pre-training under diverse conditions, including variations in input data, data preprocessing, and training methodologies, resulting in a lack of controlled comparative studies. Here we meticulously examine two prominent open-sourced GPT architectures, GPT-NeoX and LLaMA, leveraging the computational power of Frontier, the world's first Exascale supercomputer. Employing the same materials science text corpus and a comprehensive end-to-end pipeline, we conduct a comparative analysis of their training and downstream performance. Our efforts culminate in achieving state-of-the-art performance on a challenging materials science benchmark. Furthermore, we investigate the computation and energy efficiency, and propose a computationally efficient method for architecture design. To our knowledge, these pre-trained models represent the largest available for materials science. Our findings provide practical guidance for building LLMs on HPC platforms.

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

↑