arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.11847cs.LGcs.AI
收藏

科学人工智能中基于Transformer的模型内存高效训练综述

A Survey on Memory-Efficient Transformer-Based Model Training in AI for Science

College of Computer Science and Technology, National University of Defense Technology, Changsha 410073, China(计算机科学与技术学院,国防科技大学,长沙410073,中国)

Kaiyuan Tian, Linbo Qiao, Baihui Liu, Gongqingjian Jiang, Shanshan Li, Dongsheng Li

AI总结:

本综述回顾了基于Transformer的LLM在科学领域的应用,系统分类了内存高效预训练技术,并以AlphaFold 2为例展示定制优化方法在降低存储需求的同时保持预测精度,为可扩展且成本效益高的LLM训练提供见解。

摘要:

科学研究面临传统方法成本高、效率低的问题,但深度学习和大语言模型(LLMs)的兴起提供了创新解决方案。本综述回顾了基于Transformer的LLM在生物学、医学、化学和气象学等科学领域的应用,强调其在推动研究中的作用。然而,模型规模的持续扩大导致显著的内存需求,阻碍了LLMs在科学领域的进一步发展和应用。本综述系统回顾并分类了大规模Transformers的内存高效预训练技术,包括算法级、系统级和软硬件协同优化。以AlphaFold 2为例,我们展示了定制的内存优化方法如何在保持预测精度的同时减少存储需求。通过连接模型效率与科学应用需求,我们希望为科学人工智能中可扩展且具成本效益的LLM训练提供见解。

英文摘要:

Scientific research faces high costs and inefficiencies with traditional methods, but the rise of deep learning and large language models (LLMs) offers innovative solutions. This survey reviews transformer-based LLM applications across scientific fields such as biology, medicine, chemistry, and meteorology, underscoring their role in advancing research. However, the continuous expansion of model size has led to significant memory demands, hindering further development and application of LLMs for science. This survey systematically reviews and categorizes memory-efficient pre-training techniques for large-scale transformers, including algorithm-level, system-level, and hardware-software co-optimization. Using AlphaFold 2 as an example, we demonstrate how tailored memory optimization methods can reduce storage needs while preserving prediction accuracy. By bridging model efficiency and scientific application needs, we hope to provide insights for scalable and cost-effective LLM training in AI for science.

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

↑