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

预训练指标能否可靠预测LLM的微调结果?

Can Pre-training Indicators Reliably Predict Fine-tuning Outcomes of LLMs?

Google DeepMind(谷歌DeepMind);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)

Hansi Zeng, Kai Hui, Honglei Zhuang, Zhen Qin, Zhenrui Yue, Hamed Zamani, Dana Alon

AI总结:

本研究将预训练检查点选择形式化为成对分类问题,发现困惑度是误导性指标,并提出新的代理指标,将微调性能预测错误率降低超50%。

摘要:

虽然预训练期间可用的指标(如困惑度)在规模定律研究中与模型性能相关性良好,但在固定模型规模下其预测能力仍不明确,阻碍了有效的模型选择与开发。为弥补这一空白,我们将选择预训练检查点以最大化下游微调性能的任务形式化为一个成对分类问题:预测两个预训练方式不同的LLM在监督微调(SFT)后哪一个表现更好。我们使用50个1B参数LLM变体构建了一个数据集,这些变体具有系统变化的预训练配置(如目标或数据),并在SFT后对它们进行了多样化的下游任务评估。我们首先进行了一项研究,证明传统的困惑度是一个误导性指标。因此,我们引入了从预训练中得出的新颖的无监督和有监督代理指标,成功地将相对性能预测错误率降低了超过50%。尽管该任务具有内在复杂性,我们展示了所提出的代理指标在特定场景中的实际效用,为针对各种下游任务优化的更高效预训练方案设计铺平了道路。

英文摘要:

While metrics available during pre-training, such as perplexity, correlate well with model performance at scaling-laws studies, their predictive capacities at a fixed model size remain unclear, hindering effective model selection and development. To address this gap, we formulate the task of selecting pre-training checkpoints to maximize downstream fine-tuning performance as a pairwise classification problem: predicting which of two LLMs, differing in their pre-training, will perform better after supervised fine-tuning (SFT). We construct a dataset using 50 1B parameter LLM variants with systematically varied pre-training configurations, e.g., objectives or data, and evaluate them on diverse downstream tasks after SFT. We first conduct a study and demonstrate that the conventional perplexity is a misleading indicator. As such, we introduce novel unsupervised and supervised proxy metrics derived from pre-training that successfully reduce the relative performance prediction error rate by over 50%. Despite the inherent complexity of this task, we demonstrate the practical utility of our proposed proxies in specific scenarios, paving the way for more efficient design of pre-training schemes optimized for various downstream tasks.

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

↑