大语言模型微调方法研究综述
Fine Tuning Methods for Large Language Models: A Survey
-
摘要: 近年来,大语言模型成为人工智能领域非常受关注的技术,引发了自然语言处理领域新的研究范式。在大语言模型训练实践中,参数微调是其中非常重要的一个环节,它允许用户在资源受限条件下,通过调整少部分参数来提升模型理解用户指令、解决下游任务的能力。该文全面回顾了2019—2024年间50余种主要的大语言模型微调方法,从全新的角度进行了系统性的整理和概括,分为全参数微调、部分参数微调、新增参数微调和无参数微调方法,对每种方法的原理、微调位置及方法特点作了总结归纳和比较;接着,从计算的视角出发,着重分析比较了各类方法的参数量、内存消耗和计算量;最后,基于该文的微调方法调研及相关的参数微调实践,对大语言模型微调策略给出建议,以促进该领域的发展。Abstract: In recent years, the advent of large language models (LLMs) has revolutionized the field of artificial intelligence, particularly in natural language processing (NLP). A pivotal aspect of LLM training is parameter fine-tuning, a technique that enables the enhancement of model capabilities under limited resources. This paper offers an exhaustive review of the primary fine-tuning approaches for LLMs from 2019 to 2024, examining over 50 methods. It categorizes and elucidates these methods into four distinct types: full-parameter tuning, partial-parameter tuning, additional-parameter tuning, and parameter-free tuning. Each approach is discussed in terms of its underlying principles, the specific parameters adjusted, and its unique characteristics. Further, the paper delves into a comparison of the parameter volume, memory usage, and computational demands of these methods. Concluding with insights drawn from the fine-tuning research and practical applications, the paper presents recommendations for optimizing LLM fine-tuning.
下载: