Filtered Direct Preference Optimization
Tetsuro Morimura, Mitsuki Sakamoto, Yuu Jinnai, Kenshi Abe, Kaito Ariu
TL;DR
The paper investigates how preference-text quality affects direct preference optimization (DPO) compared with reward-model-based RLHF. It reveals that DPO is more sensitive to data quality and proposes filtered Direct Preference Optimization (fDPO), which filters low-quality samples using a trained reward model before performing DPO. Across AlpacaFarm and Anthropic HH datasets, fDPO improves final model performance and robustness to mixed-quality data, demonstrating practical data-refinement as a path to better offline alignment. The approach balances data efficiency with quality control, offering a scalable solution when high-quality human data are scarce, and it is validated with both automated and human evaluations. Overall, fDPO advances offline alignment by mitigating dataset quality bottlenecks in RM-free learning while remaining compatible with standard RLHF evaluations.
Abstract
Reinforcement learning from human feedback (RLHF) plays a crucial role in aligning language models with human preferences. While the significance of dataset quality is generally recognized, explicit investigations into its impact within the RLHF framework, to our knowledge, have been limited. This paper addresses the issue of text quality within the preference dataset by focusing on direct preference optimization (DPO), an increasingly adopted reward-model-free RLHF method. We confirm that text quality significantly influences the performance of models optimized with DPO more than those optimized with reward-model-based RLHF. Building on this new insight, we propose an extension of DPO, termed filtered direct preference optimization (fDPO). fDPO uses a trained reward model to monitor the quality of texts within the preference dataset during DPO training. Samples of lower quality are discarded based on comparisons with texts generated by the model being optimized, resulting in a more accurate dataset. Experimental results demonstrate that fDPO enhances the final model performance. Our code is available at https://github.com/CyberAgentAILab/filtered-dpo.
