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

面向复杂指令遵循的逆向偏好优化

Reverse Preference Optimization for Complex Instruction Following

Tongyi Lab(通义实验室);State Key Laboratory for Novel Software Technology(新型软件技术国家重点实验室);Nanjing University(南京大学)

Xiang Huang, Ting-En Lin, Feiteng Fang, Yuchuan Wu, Hangyu Li, Yuzhong Qu, Fei Huang, Yongbin Li

AI总结:

针对复杂指令遵循中的偏好对齐噪声问题,提出逆向偏好优化(RPO)方法,通过动态反转指令约束确保完美响应,在多轮基准测试中显著超越DPO基线,70B模型性能优于GPT-4o。

摘要:

指令遵循(IF)是大语言模型(LLMs)的一项关键能力。然而,处理具有多重约束的复杂指令仍然具有挑战性。以往的方法通常根据满足约束的数量来选择偏好对,这引入了噪声:被选中的示例可能无法遵循某些约束,而被拒绝的示例可能在某些方面优于被选中的示例。为了应对与多重偏好对齐的挑战,我们提出了一种简单而有效的方法,称为逆向偏好优化(RPO)。它通过动态反转指令内的约束来减轻偏好对中的噪声,以确保被选中的响应是完美的,从而减轻了为收集完美响应而进行大量采样和过滤的负担。此外,反转也扩大了被选中响应与被拒绝响应之间的差距,从而明确了优化方向,并使其对噪声更具鲁棒性。我们在两个多轮 IF 基准 Sysbench 和 Multi-IF 上评估了 RPO,结果表明,相较于 DPO 基线,平均分别提升了 4.6 和 2.5 个点(在 Llama-3.1 8B 上)。此外,RPO 在不同模型规模(8B 到 70B 参数)上均能有效扩展,其中 70B RPO 模型超越了 GPT-4o。

英文摘要:

Instruction following (IF) is a critical capability for large language models (LLMs). However, handling complex instructions with multiple constraints remains challenging. Previous methods typically select preference pairs based on the number of constraints they satisfy, introducing noise where chosen examples may fail to follow some constraints and rejected examples may excel in certain respects over the chosen ones. To address the challenge of aligning with multiple preferences, we propose a simple yet effective method called Reverse Preference Optimization (RPO). It mitigates noise in preference pairs by dynamically reversing the constraints within the instruction to ensure the chosen response is perfect, alleviating the burden of extensive sampling and filtering to collect perfect responses. Besides, reversal also enlarges the gap between chosen and rejected responses, thereby clarifying the optimization direction and making it more robust to noise. We evaluate RPO on two multi-turn IF benchmarks, Sysbench and Multi-IF, demonstrating average improvements over the DPO baseline of 4.6 and 2.5 points (on Llama-3.1 8B), respectively. Moreover, RPO scales effectively across model sizes (8B to 70B parameters), with the 70B RPO model surpassing GPT-4o.

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

↑