arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.09492cs.LGcs.AI
收藏

当心批量大小:评估 LoRA 中的超参数偏差

Beware of the Batch Size: Hyperparameter Bias in Evaluating LoRA

Pohang University of Science and Technology (POSTECH)(浦项科学技术大学(POSTECH))

Sangyoon Lee, Jaeho Lee

AI总结:

本文发现批量大小是导致 LoRA 变体性能矛盾的关键因素,提出基于代理的高效调优策略,将批量大小提升为一阶设计参数。

摘要:

低秩适配(LoRA)是微调大型语言模型的标准方法,但其众多变体在相同基准上报告了相互矛盾的经验性收益。我们表明这些矛盾源于一个被忽视的因素:批量大小。当适当调整时,vanilla LoRA 通常能达到与更复杂变体相当的性能。我们进一步提出了一种基于代理的、成本高效的批量大小调优策略,揭示了秩、数据集大小和模型容量对最优批量大小的影响。我们的发现将批量大小从次要实现细节提升为一阶设计参数,调和了先前的不一致性,并使得对 LoRA 变体的评估更加可靠。

英文摘要:

Low-rank adaptation (LoRA) is a standard approach for fine-tuning large language models, yet its many variants report conflicting empirical gains, often on the same benchmarks. We show that these contradictions arise from a single overlooked factor: the batch size. When properly tuned, vanilla LoRA often matches the performance of more complex variants. We further propose a proxy-based, cost-efficient strategy for batch size tuning, revealing the impact of rank, dataset size, and model capacity on the optimal batch size. Our findings elevate batch size from a minor implementation detail to a first-order design parameter, reconciling prior inconsistencies and enabling more reliable evaluations of LoRA variants.

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

↑