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

超越“一种偏好适配所有”的对齐:多目标直接偏好优化

Beyond One-Preference-Fits-All Alignment: Multi-Objective Direct Preference Optimization

The Chinese University of Hong Kong(香港中文大学);Shanghai AI Laboratory(上海人工智能实验室)

Zhanhui Zhou, Jie Liu, Jing Shao, Xiangyu Yue, Chao Yang, Wanli Ouyang, Yu Qiao

AI总结:

针对单一对齐偏好的语言模型适配性不足、多目标RLHF微调不稳定且资源消耗高的问题,提出无RL的多目标直接偏好优化MODPO,理论上与MORLHF最优解一致,实验中性能相当或更优且计算资源仅为其三分之一。

摘要:

单个语言模型即便通过基于人类反馈的强化学习(RLHF)与标注者偏好对齐,也可能无法适配所有人类偏好。因此近期方法倾向于定制化,收集多维度反馈,并为每个维度构建独立的奖励模型,随后通过采用不同奖励权重的多目标RLHF(MORLHF),针对不同偏好优化出不同的语言模型。然而,RL微调过程不稳定且资源消耗大,尤其是在目标多样且通常存在冲突的情况下。本文提出多目标直接偏好优化(MODPO),这是直接偏好优化(DPO)面向多对齐目标的无RL扩展。本质上,MODPO将语言建模直接融入奖励建模,将语言模型训练为隐式集体奖励模型,以特定权重融合所有目标。MODPO在理论上能得到与MORLHF相同的最优解,但实际应用中更稳定、更高效。在安全对齐和长文本问答任务上的实验结果表明,MODPO性能与现有方法相当或更优,能生成适配多样偏好的语言模型帕累托前沿,且计算资源仅为MORLHF的三分之一。代码可在https://github.com/ZHZisZZ/modpo获取。

英文摘要:

A single language model, even when aligned with labelers through reinforcement learning from human feedback (RLHF), may not suit all human preferences. Recent approaches therefore prefer customization, gathering multi-dimensional feedback, and creating distinct reward models for each dimension. Different language models are then optimized for various preferences using multi-objective RLHF (MORLHF) with varying reward weights. However, RL fine-tuning is unstable and resource-heavy, especially with diverse and usually conflicting objectives. In this paper, we present Multi-Objective Direct Preference Optimization (MODPO), an RL-free extension of Direct Preference Optimization (DPO) for multiple alignment objectives. Essentially, MODPO folds language modeling directly into reward modeling, training language models as implicit collective reward models that combine all objectives with specific weights. MODPO theoretically yields the same optimal solutions as MORLHF but is practically more stable and efficient. Empirical results in safety alignment and long-form question answering show that MODPO matches or outperforms existing methods, producing a Pareto front of language models catering to diverse preferences with three times less computational resources compared to MORLHF. Code is available at https://github.com/ZHZisZZ/modpo.

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

↑