通过反转指令约束提升复杂指令遵循能力
Reverse Preference Optimization for Complex Instruction Following
- 用反转指令约束动态生成无噪声偏好对
- 在两个基准上分别提升4.6和2.5分
- 适用于需要高精度多约束遵循的场景
指令遵循(IF)是大语言模型的关键能力,但处理含多重约束的复杂指令仍具挑战。现有方法基于满足约束数量选择偏好对,易引入噪声——所选回应可能遗漏某些约束,而被拒回应反而在某些方面表现更优。为此,我们提出一种简单有效的逆向偏好优化(RPO)方法:通过动态反转指令中的约束,确保优选回应完全正确,从而减少对大量采样与筛选完美回应的需求。同时,反转操作扩大了优选与被拒回应之间的差距,使优化方向更清晰,增强对噪声的鲁棒性。我们在两个多轮指令遵循基准(Sysbench 和 Multi-IF)上评估 RPO,结果表明在 Llama-3.1 8B 模型上分别相对于 DPO 基线平均提升 4.6 和 2.5 分。此外,RPO 在模型规模上具有良好扩展性(从 8B 到 70B 参数),其中 70B 版本性能超越 GPT-4o。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。