CLSep 13, 2023

Statistical Rejection Sampling Improves Preference Optimization

arXiv:2309.06657v2352 citationsh-index: 20
Originality Highly original
AI Analysis

This work addresses a key limitation in offline preference optimization methods for language model alignment, offering a more accurate approach that could benefit AI safety and performance in applications like chatbots and content generation.

The paper tackles the challenge of aligning language models with human preferences by introducing Statistical Rejection Sampling Optimization (RSO), which sources preference data from the target optimal policy to improve accuracy, and demonstrates that RSO consistently outperforms existing methods like SLiC and DPO across three diverse tasks in evaluations by both LLMs and human raters.

Improving the alignment of language models with human preferences remains an active research challenge. Previous approaches have primarily utilized Reinforcement Learning from Human Feedback (RLHF) via online RL methods such as Proximal Policy Optimization (PPO). Recently, offline methods such as Sequence Likelihood Calibration (SLiC) and Direct Preference Optimization (DPO) have emerged as attractive alternatives, offering improvements in stability and scalability while maintaining competitive performance. SLiC refines its loss function using sequence pairs sampled from a supervised fine-tuned (SFT) policy, while DPO directly optimizes language models based on preference data, foregoing the need for a separate reward model. However, the maximum likelihood estimator (MLE) of the target optimal policy requires labeled preference pairs sampled from that policy. DPO's lack of a reward model constrains its ability to sample preference pairs from the optimal policy, and SLiC is restricted to sampling preference pairs only from the SFT policy. To address these limitations, we introduce a novel approach called Statistical Rejection Sampling Optimization (RSO) that aims to source preference data from the target optimal policy using rejection sampling, enabling a more accurate estimation of the optimal policy. We also propose a unified framework that enhances the loss functions used in both SLiC and DPO from a preference modeling standpoint. Through extensive experiments across three diverse tasks, we demonstrate that RSO consistently outperforms both SLiC and DPO on evaluations from both Large Language Model (LLM) and human raters.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes