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

DPO超参数空间的形态:测量内容、随规模的变化规律及不可迁移的情形

The Shape of the DPO Hyperparameter Landscape: What to Measure, How It Moves with Scale, and When Not to Transfer It

ELLIS Institute Tübingen(埃利斯研究所蒂宾根分所);Prior Labs(普莱尔实验室);distil labs(蒸馏实验室)

Hannan Mahadik, David Salinas, Jacek Golebiowski, Aaron Klein

AI总结:

该研究针对DPO超参数空间开展实验,明确其最优超参数随模型规模变化、不可跨数据集迁移,验证损失不适用于超参数优化,提出短候选训练运行可降低调优成本。

摘要:

直接偏好优化(Direct Preference Optimisation, DPO)被广泛用于语言模型的后训练,但其性能高度依赖超参数的选择,例如学习率和参考策略正则化参数β。为更好地理解DPO超参数空间,我们使用密集超参数网格对同一系列不同规模的模型开展大量实验,以此分析最优DPO超参数如何随模型规模和更新步数变化,中间检查点可提供低成本信号以加速超参数优化过程。此外,通过在静态和动态基准上评估模型,我们确定哪些基准能为超参数选择提供最强信号。最后,我们研究了不同的最先进超参数优化策略在该场景下的表现。实验表明,最优学习率随模型规模变化,且超参数无法跨训练数据集迁移;同时发现验证损失是超参数优化的不良代理指标,因为最小化验证损失的超参数与下游基准的最优超参数仅存在弱相关性。因此,DPO超参数需针对目标模型、数据集和评估目标进行专门调优,且短时长候选训练运行可大幅降低该选择的成本。我们发布所有训练配置和评估结果,以支持对选择质量和训练成本的可复现分析。

英文摘要:

Direct preference optimisation (DPO) is widely used for language model post-training, but its performance depends strongly on the choice of its hyperparameters, such as the learning rate and the reference-policy regularisation parameter $β$. To better understand the DPO hyperparameter landscape, we conduct extensive experiments using a dense hyperparameter grid across different model scales from the same family. This allows us to analyse how the optimal DPO hyperparameters evolve with model size and the number of update steps, with intermediate checkpoints providing an inexpensive signal to accelerate the hyperparameter optimisation process. Furthermore, by evaluating our models on both static and dynamic benchmarks, we identify which benchmarks provide the strongest signal for hyperparameter selection. Finally, we investigate how different state-of-the-art hyperparameter optimisation strategies perform in this setting. Our experiments show that the optimal learning rate varies with model size and that hyperparameters are not transferable across training datasets. We also find that validation loss is a poor proxy for hyperparameter optimisation, as hyperparameters that minimize validation loss only weakly correlate with optimal hyperparameters for downstream benchmarks. Therefore, DPO hyperparameters need to be tuned specifically for the target model, dataset, and evaluation objective. We also show that short candidate training runs can substantially reduce the cost of this selection. We release all our training configurations and evaluation results to support reproducible analysis of selection quality and training cost.

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

↑