arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.08316cs.LGcs.CLmath.OC
收藏

COS-DPO:条件化一次性多目标微调框架

COS-DPO: Conditioned One-Shot Multi-Objective Fine-Tuning Framework

Institute for Computational and Mathematical Engineering (ICME), Stanford University(计算与数学工程研究所(ICME),斯坦福大学);Amazon(亚马逊);Department of Mathematics, Stanford University(数学系,斯坦福大学)

Yinuo Ren, Tesi Xiao, Michael Shavlovsky, Lexing Ying, Holakou Rahmanian

AI总结:

COS-DPO框架通过条件化一次性训练扩展直接偏好优化,解决多目标微调问题,实现高效帕累托前沿刻画与训练后灵活权衡控制,并在排序与LLM对齐任务中验证有效性。

摘要:

在大型语言模型对齐和许多其他机器学习应用中,人们经常面临多目标微调(MOFT)问题,即使用针对不同目标标注的数据集同时微调现有模型。为应对这一挑战,我们提出了一种条件化一次性微调框架(COS-DPO),该框架扩展了直接偏好优化技术(最初为使用偏好数据高效对齐大型语言模型而开发),以适应多目标微调设置。通过直接以辅助目标上的权重为条件,我们的Weight-COS-DPO方法享有高效的一次性训练过程,用于描绘帕累托前沿,并且即使在训练后阶段也能实现全面的权衡解决方案。基于我们对损失函数线性变换性质的理论发现,我们进一步提出了Temperature-COS-DPO方法,该方法将温度参数增强到模型输入中,增强了训练后对主目标和辅助目标之间权衡控制的灵活性。我们通过将COS-DPO框架应用于各种任务(包括学习排序(LTR)和大型语言模型对齐任务)来展示其有效性和效率,突显了其在大规模机器学习部署中的可行性。

英文摘要:

In LLM alignment and many other ML applications, one often faces the Multi-Objective Fine-Tuning (MOFT) problem, i.e., fine-tuning an existing model with datasets labeled w.r.t. different objectives simultaneously. To address the challenge, we propose a Conditioned One-Shot fine-tuning framework (COS-DPO) that extends the Direct Preference Optimization technique, originally developed for efficient LLM alignment with preference data, to accommodate the MOFT settings. By direct conditioning on the weight across auxiliary objectives, our Weight-COS-DPO method enjoys an efficient one-shot training process for profiling the Pareto front and is capable of achieving comprehensive trade-off solutions even in the post-training stage. Based on our theoretical findings on the linear transformation properties of the loss function, we further propose the Temperature-COS-DPO method that augments the temperature parameter to the model input, enhancing the flexibility of post-training control over the trade-offs between the main and auxiliary objectives. We demonstrate the effectiveness and efficiency of the COS-DPO framework through its applications to various tasks, including the Learning-to-Rank (LTR) and LLM alignment tasks, highlighting its viability for large-scale ML deployments.

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

↑