Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

WPO: Enhancing RLHF with Weighted Preference Optimization (2406.11827v2)

Published 17 Jun 2024 in cs.CL, cs.AI, and cs.LG

Abstract: Reinforcement learning from human feedback (RLHF) is a promising solution to align LLMs more closely with human values. Off-policy preference optimization, where the preference data is obtained from other models, is widely adopted due to its cost efficiency and scalability. However, off-policy preference optimization often suffers from a distributional gap between the policy used for data collection and the target policy, leading to suboptimal optimization. In this paper, we propose a novel strategy to mitigate this problem by simulating on-policy learning with off-policy preference data. Our Weighted Preference Optimization (WPO) method adapts off-policy data to resemble on-policy data more closely by reweighting preference pairs according to their probability under the current policy. This method not only addresses the distributional gap problem but also enhances the optimization process without incurring additional costs. We validate our method on instruction following benchmarks including Alpaca Eval 2 and MT-bench. WPO not only outperforms Direct Preference Optimization (DPO) by up to 5.6% on Alpaca Eval 2 but also establishes a remarkable length-controlled winning rate against GPT-4-turbo of 76.7% based on Gemma-2-9b-it. We release the code and models at https://github.com/wzhouad/WPO.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Wenxuan Zhou (61 papers)
  2. Ravi Agrawal (4 papers)
  3. Shujian Zhang (28 papers)
  4. Sathish Reddy Indurthi (4 papers)
  5. Sanqiang Zhao (9 papers)
  6. Kaiqiang Song (32 papers)
  7. Silei Xu (10 papers)
  8. Chenguang Zhu (100 papers)
Citations (7)
Github Logo Streamline Icon: https://streamlinehq.com
X Twitter Logo Streamline Icon: https://streamlinehq.com