arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.04998cs.LGcs.AIcs.CL
收藏

学习率至关重要:Vanilla LoRA可能足以用于LLM微调

Learning Rate Matters: Vanilla LoRA May Suffice for LLM Fine-tuning

National Taiwan University(国立台湾大学);IBM Research(IBM研究院);Academia Sinica(台湾“学术院”)

Yu-Ang Lee, Ching-Yun Ko, Pin-Yu Chen, Mi-Yen Yeh

AI总结:

本文通过广泛的超参数搜索重新评估了九种代表性的LoRA变体和Vanilla LoRA,在数学推理、常识推理、代码生成和指令遵循等任务上,发现不同的LoRA方法偏好不同的学习率范围。当学习率正确调整时,所有方法都能达到相似的峰值性能,这表明Vanilla LoRA仍然是一个有竞争力的基线,而单一训练配置下的改进可能并不反映一致的方法优势。

摘要:

低秩适应(LoRA)是高效大型语言模型(LLM)微调的主流方法。在此范式基础上,近期研究提出了替代的初始化策略、架构修改和优化调整,报告了显著优于Vanilla LoRA的改进。然而,这些改进通常是在固定或狭窄调整的超参数设置下展示的,尽管神经网络对训练配置敏感已知。在本工作中,我们通过广泛的超参数搜索,系统地重新评估了九种代表性的LoRA变体以及Vanilla LoRA,搜索范围包括学习率、批量大小、秩和训练持续时间。在覆盖数学推理、常识推理、代码生成和指令遵循等任务的不同模型规模上,我们发现不同的LoRA方法偏好不同的学习率范围。关键的是,一旦学习率正确调整,所有方法都能达到相似的峰值性能(在1-2%以内),仅存在细微的秩依赖行为。这些结果表明,Vanilla LoRA仍然是一个有竞争力的基线,而单一训练配置下的改进可能并不反映一致的方法优势。最后,二次分析将不同的最优学习率范围归因于最大的Hessian特征值的变化,这与经典的机器学习理论一致。

英文摘要:

Low-Rank Adaptation (LoRA) is the prevailing approach for efficient large language model (LLM) fine-tuning. Building on this paradigm, recent studies have proposed alternative initialization strategies, architectural modifications, and optimization adjustments, reporting substantial improvements over vanilla LoRA. However, these gains are often demonstrated under fixed or narrowly tuned hyperparameter settings, despite the known sensitivity of neural networks to training configurations. In this work, we systematically re-evaluate nine representative LoRA variants alongside vanilla LoRA through extensive hyperparameter searches over learning rate, batch size, rank, and training duration. Across tasks spanning mathematical reasoning, commonsense reasoning, code generation, and instruction following at diverse model scales, we find that different LoRA methods favor distinct learning rate ranges. Crucially, once learning rates are properly tuned, all methods achieve similar peak performance (within 1-2%), with only subtle rank-dependent behaviors. These results suggest that vanilla LoRA remains a competitive baseline and that improvements reported under a single training configuration may not reflect consistent methodological advantages. Finally, a second-order analysis attributes the differing optimal learning rate ranges to variations in the largest Hessian eigenvalue, aligning with classical learning theories.

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

↑