NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Relative Density Ratio Optimization for Stable and Statistically Consistent Model Alignment

Hiroshi Takahashi, Tomoharu Iwata, Atsutoshi Kumagai, Sekitoshi Kanai, Masanori Yamada, Kosuke Nishida, Kazutoshi ShinodaarXiv 2026

TL;DR

This paper introduces Relative Density Ratio Optimization (RDRO), a novel language model alignment method that achieves statistical consistency—guaranteeing convergence to true human preferences as data scales—without relying on rigid preference models like Bradley-Terry. By optimizing a relative density ratio bounded by design, RDRO eliminates the training instabilities and gradient explosions that plague previous density-ratio approaches while delivering superior alignment performance.

What Problem Does This Paper Address?

Aligning Large Language Models (LLMs) with human preferences typically relies on reinforcement learning from human feedback (RLHF) or direct optimization techniques like Direct Preference Optimization (DPO). However, most of these methods share a fundamental assumption: they assume human preferences follow the Bradley-Terry (BT) model.

The BT model assumes preferences are transitive, but real-world human preferences are messy and often contain cyclic preferences (e.g., a user prefers response A to B, B to C, but C to A). Because they rely on a flawed assumption, standard methods lack statistical consistency—meaning that even with infinite data, the model might never truly converge to actual human preferences.

To fix this, recent work introduced Direct Density Ratio Optimization (DDRO). DDRO avoids preference models entirely by estimating the density ratio between preferred and non-preferred data distributions ($p^- / p^+$). While mathematically consistent, DDRO is notoriously unstable. If the "support" (the region of valid responses) differs between preferred and non-preferred data, the ordinary density ratio can approach infinity, causing massive gradient spikes and training failure.

Methods

The authors propose Relative Density Ratio Optimization (RDRO) to achieve the best of both worlds: the statistical consistency of density-based alignment and the training stability of model-based alignment.

Instead of estimating the volatile ordinary density ratio, RDRO estimates the relative density ratio. It compares the preferred data distribution ($p^+$) against a mixture of the preferred and non-preferred distributions ($p_{\text{ref}} = \alpha p^+ + (1-\alpha)p^-$):

$$r^*(y|x) = \frac{p^+(y|x)}{\alpha p^+(y|x) + (1-\alpha)p^-(y|x)}$$

Because the denominator contains a fraction of the numerator, this relative ratio is mathematically bounded above by $1/\alpha$. It can never diverge to infinity, ensuring stable training.

Figure 1: (a) Comparing density ratio g∗(y|x) and relative density ratio r∗(y|x), where non-preferred data distribution p−(y|x) = 0.1 and the hyperparameter α = 0.5. Although g∗(y|x) diverges as p+(y|x) →0, r∗(y|x) is bounded above by 1/α. (b) Our loss functions for preferred (blue) and non-preferred (orange) samples with α = 0.3. The loss for preferred samples is minimized when Tθ ≡log pθ(y|x) −log pref(y|x) attains log(1/α).

By minimizing the Bregman divergence with a specific choice of convex function, the authors derive a clean, logistic-regression-style loss function. Crucially, a stabilizing softplus transformation emerges naturally from their first-principles derivation, unlike DDRO, which has to hack in a heuristic sigmoid function that breaks its theoretical guarantees. Furthermore, the hyperparameter $\alpha$ acts as an implicit regularizer, removing the need for an explicit KL-divergence penalty term.

Datasets

The authors evaluated RDRO on two primary preference datasets:

  1. UltraFeedback GPT-3.5-Turbo Helpfulness (UF-G): A realistic and challenging dataset containing 0,088 preferred and 9,644 non-preferred samples. It is unpaired, meaning that for a given prompt, only a preferred or a non-preferred response is available, not both.
  2. MIX-14K: A mixture of Capybara, Orca, and UltraFeedback datasets containing 6,750 preferred and 6,750 non-preferred samples. This dataset consists of paired triplets (prompt, preferred, non-preferred), making alignment relatively easier.

Models were evaluated using AlpacaEval length-controlled (LC) win rates (using GPT-4 as an auto-annotator) and BIG-Bench Hard (BBH) (3-shot).

Key Insights and Ideas

  • Bounded Ratios Equal Stable Gradients: By framing the optimization around a mixture distribution, the maximum value of the ratio is capped at $1/\alpha$. This simple mathematical trick completely prevents the gradient explosions that ruin ordinary density ratio estimation.
  • Natural vs. Heuristic Stabilization: Previous methods like DDRO manually applied a sigmoid function to smooth out training spikes, which invalidated their convergence proofs. RDRO’s formulation naturally yields a softplus loss function directly from the math, preserving both stability and statistical consistency.
  • Tighter Convergence Bounds: The authors mathematically prove that RDRO provides significantly tighter convergence guarantees than DDRO. Specifically, DDRO's error bound is heavily penalized by $1/m_+$ (where $m_+$ is the minimum value of $p^+$), which blows up when preferred responses are rare. RDRO completely bypasses this vulnerability.

Key Results

The authors tested RDRO against KTO and DDRO across several base models, including Qwen-2.5 (1.5B, 3B) and Llama-3 (3B, 8B).

  • Superb Performance on Unpaired Data: On the more realistic and challenging UF-G dataset, RDRO consistently outperformed or matched the baselines. For Llama-3B, RDRO achieved a 12.63% win rate compared to KTO's 9.94% and DDRO's 12.07%. For Llama-3-8B, RDRO reached 17.31%, beating DDRO (15.66%) and blowing past KTO (9.34%).
  • Robustness to Hyperparameters: RDRO proved highly robust to the choice of $\alpha$. While performance varied wildly for DDRO depending on the hyperparameter tuning, RDRO remained stable across a wide range of $\alpha$ values.
Relationship between AlpacaEval LC win rates and the hyperparameter $\alpha$ on UF-G.

Limitations and Future Work

The primary limitation of RDRO is its reliance on a fully labeled binary dataset where every sample must be explicitly categorized as either preferred or non-preferred. In many real-world scenarios, data is partially labeled or completely unlabeled.

The authors note that a promising direction for future work is extending RDRO to handle unlabeled data by integrating techniques from positive-unlabeled (PU) learning, which would allow the algorithm to train on a mix of preferred examples and completely unannotated text.

Summary updated

BibTeX
@misc{takahashi2026relative,
  author = {Hiroshi Takahashi and Tomoharu Iwata and Atsutoshi Kumagai and Sekitoshi Kanai and Masanori Yamada and Kosuke Nishida and Kazutoshi Shinoda},
  title = {{Relative Density Ratio Optimization for Stable and Statistically Consistent Model Alignment}},
  year = {2026},
  eprint = {2604.04410},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.04410},
}
Figure