Direct Density Ratio Optimization: A Statistically Consistent Approach to Aligning Large Language Models
Rei Higuchi, Taiji Suzuki
TL;DR
Direct Density Ratio Optimization (DDRO) offers a statistically consistent framework for aligning LLMs by directly estimating the density ratio between preferred and unpreferred outputs, circumventing explicit human-preference models. By formulating the problem via a Bregman-divergence loss on the density ratio and leveraging unpaired data, DDRO provably converges to the true preferred distribution $p^+$ as data grows. Theoretical guarantees are complemented by strong empirical results on UF-G and UF-B benchmarks across multiple model sizes, often matching or surpassing state-of-the-art methods while using unpaired data. This data-driven, model-agnostic approach significantly enhances the reliability and scalability of LLM alignment in real-world settings.
Abstract
Aligning large language models (LLMs) with human preferences is crucial for safe deployment, yet existing methods assume specific preference models like Bradley-Terry model. This assumption leads to statistical inconsistency, where more data doesn't guarantee convergence to true human preferences. To address this critical gap, we introduce a novel alignment method Direct Density Ratio Optimization (DDRO). DDRO directly estimates the density ratio between preferred and unpreferred output distributions, circumventing the need for explicit human preference modeling. We theoretically prove that DDRO is statistically consistent, ensuring convergence to the true preferred distribution as the data size grows, regardless of the underlying preference structure. Experiments demonstrate that DDRO achieves superior performance compared to existing methods on many major benchmarks. DDRO unlocks the potential for truly data-driven alignment, paving the way for more reliable and human-aligned LLMs.
