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

固定计算预算下LLM微调中令牌效率的缩放定律

A Scaling Law for Token Efficiency in LLM Fine-Tuning Under Fixed Compute Budgets

University of Connecticut Storrs(康涅狄格大学斯托尔斯分校)

Ryan Lagasse, Aidan Kierans, Avijit Ghosh, Shiri Dori-Hacohen

AI总结:

本文提出一种考虑数据组成(样本数量与平均令牌长度)的LLM微调缩放定律,并通过BRICC和MMLU实验证明数据组成显著影响令牌效率,为资源受限场景提供更精细的缩放指导。

摘要:

我们提出了一种在固定计算预算下微调大语言模型(LLMs)的缩放定律,该定律明确考虑了数据组成。传统方法仅以总令牌数来衡量训练数据,然而样本数量及其平均令牌长度——我们称之为数据集体量——对模型性能起着决定性作用。我们的公式按照既定流程进行调优。在BRICC数据集和MMLU数据集子集上的实验,采用多种子采样策略进行评估,结果表明数据组成显著影响令牌效率。这些结果推动了在资源受限环境下实用LLM微调的精细化缩放定律研究。

英文摘要:

We introduce a scaling law for fine-tuning large language models (LLMs) under fixed compute budgets that explicitly accounts for data composition. Conventional approaches measure training data solely by total tokens, yet the number of examples and their average token length -- what we term \emph{dataset volume} -- play a decisive role in model performance. Our formulation is tuned following established procedures. Experiments on the BRICC dataset \cite{salavati2024reducing} and subsets of the MMLU dataset \cite{hendrycks2021measuringmassivemultitasklanguage}, evaluated under multiple subsampling strategies, reveal that data composition significantly affects token efficiency. These results motivate refined scaling laws for practical LLM fine-tuning in resource-constrained settings.

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

↑