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

平衡预算:理解监督微调与基于偏好微调之间的权衡

Balancing the Budget: Understanding Trade-offs Between Supervised and Preference-Based Finetuning

Georgia Institute of Technology(佐治亚理工学院)

Mohit Raghavendra, Junmo Kang, Alan Ritter

AI总结:

该研究针对大型语言模型后训练中监督微调(SFT)与偏好微调(PFT)的数据预算分配问题,通过多任务、多模型规模实验发现低数据量下仅SFT占优,大数据量下两者组合更优,且少量SFT可解决PFT冷启动问题,为预算约束下模型开发提供指导。

摘要:

大型语言模型的后训练通常涉及监督微调(SFT)管道,随后使用直接偏好优化等方法进行偏好微调(PFT)。两个阶段都需要结构和成本差异很大的标注数据。我们通过涵盖四个不同任务、多种模型规模和各种数据标注成本的广泛实验,研究如何在两个阶段之间最优分配固定的训练数据预算。研究发现,在低数据量场景(<1000个标注样本)下,仅对基础模型进行SFT的性能占优。随着数据预算增加,SFT与PFT的组合(通常偏好数据分配比例增加)可实现最优性能。然而,完全省去SFT并直接在基础模型上运行PFT会导致性能次优,这在数学等任务中被称为冷启动问题。我们观察到这是由于直接在基础模型上使用DPO引发分步推理而产生的分布偏移。通过先将预算的小部分(<10%)分配给SFT,可有效解决这一局限,在GSM8k等分析基准上实现15-20%的性能提升。这些结果为研究人员和从业者在预算约束下优化模型开发提供了可操作的见解,其中高质量数据整理通常占模型开发总成本的很大一部分。

英文摘要:

Post-training of Large Language Models often involves a pipeline of Supervised Finetuning (SFT) followed by Preference Finetuning (PFT) using methods like Direct Preference Optimization. Both stages require annotated data that are very different in structure and costs. We study how to optimally allocate a fixed training data budget between the two stages, through extensive experiments spanning four diverse tasks, multiple model sizes and various data annotation costs. Our findings reveal that just SFT on the base model dominates performance in low-data regimes ($<1,000$ annotated examples). With larger data-budgets, we observe that a combination of SFT and PFT, often with increasing portions allocated towards preference data yields optimal performance. However, completely eliminating SFT and running PFT directly on the base model yields suboptimal performance, described as the cold start problem on tasks like mathematics. We observe that this is due to the distribution shift arising from using DPO directly on the base model to elicit step-by-step reasoning. This limitation can be effectively addressed by allocating even a small portion ($<10$%) of the budget to SFT first, resulting in performance improvements of $15-20$% on analytical benchmarks like GSM8k. These results provide actionable insights for researchers and practitioners optimizing model development under budget constraints, where high-quality data curation often represents a significant portion of the total costs of model development.

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

↑