arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.00949cs.CLmath.OC
收藏

大语言模型指令微调的超参数优化

Hyperparameter Optimization for Large Language Model Instruction-Tuning

GERAD

Christophe Tribes, Sacha Benarroch-Lelong, Peng Lu, Ivan Kobyzev

AI总结:

针对LoRA微调大语言模型的下游性能依赖超参数的问题,本研究将微调验证流程视为黑箱,用两种黑箱优化技术及NOMAD算法探索超参数空间,提升了模型性能与人类对齐水平。

摘要:

大语言模型(LLM)的微调使其近期在自然语言处理应用中取得了里程碑式的成果。规模不断增大的LLM为更高效的微调方法铺平了道路。其中,低秩适配(Low-Rank Adaptation, LoRA)方法在冻结预训练LLM大部分权重的同时,引入权重矩阵的低秩分解,使得仅需调整网络中极小比例的参数即可完成微调。使用LoRA微调的模型在下游任务上的性能高度依赖一组超参数,包括分解的秩值。在本研究中,我们通过两种主要的黑箱优化(blackbox optimization, BBO)技术研究这些超参数的选择问题。我们将在预训练LLM上执行微调与验证的完整流程视为一个黑箱,并使用NOMAD算法高效探索超参数空间,实现了调优后模型性能与人类对齐水平的提升。

英文摘要:

The fine-tuning of Large Language Models (LLMs) has enabled them to recently achieve milestones in natural language processing applications. The emergence of ever larger LLMs has paved the way for more efficient fine-tuning methods. Among these, the Low-Rank Adaptation (LoRA) method keeps most of the weights of the pre-trained LLM frozen while introducing a low-rank decomposition of the weight matrix, enabling the tuning of only a very small proportion of the network. The performance on downstream tasks of models fine-tuned with LoRA heavily relies on a set of hyperparameters including the rank of the decomposition. In this work, we investigate the choice of these hyperparameters through two main blackbox optimization (BBO) techniques. We examine the whole pipeline of performing fine-tuning and validation on a pre-trained LLM as a blackbox and efficiently explore the space of hyperparameters with the \nomad algorithm, achieving a boost in performance and human alignment of the tuned model.

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

↑