Papers
Topics
Authors
Recent
Search
2000 character limit reached

Relative Density Ratio Optimization for Stable and Statistically Consistent Model Alignment

Published 6 Apr 2026 in cs.LG, cs.AI, cs.CL, and stat.ML | (2604.04410v1)

Abstract: Aligning LLMs with human preferences is essential for ensuring their safety and reliability. Although most existing approaches assume specific human preference models such as the Bradley-Terry model, this assumption may fail to accurately capture true human preferences, and consequently, these methods lack statistical consistency, i.e., the guarantee that LLMs converge to the true human preference as the number of samples increases. In contrast, direct density ratio optimization (DDRO) achieves statistical consistency without assuming any human preference models. DDRO models the density ratio between preferred and non-preferred data distributions using the LLM, and then optimizes it via density ratio estimation. However, this density ratio is unstable and often diverges, leading to training instability of DDRO. In this paper, we propose a novel alignment method that is both stable and statistically consistent. Our approach is based on the relative density ratio between the preferred data distribution and a mixture of the preferred and non-preferred data distributions. Our approach is stable since this relative density ratio is bounded above and does not diverge. Moreover, it is statistically consistent and yields significantly tighter convergence guarantees than DDRO. We experimentally show its effectiveness with Qwen 2.5 and Llama 3.

Summary

  • The paper introduces RDRO to stabilize density ratios and improve model alignment by replacing unbounded estimates with a bounded, relative formulation.
  • RDRO employs a mixing parameter α to blend preferred and non-preferred distributions, ensuring gradient stability and tighter convergence guarantees.
  • Empirical evaluations on models like Qwen and Llama show RDRO's superior performance and robustness in handling diverse, unpaired human preference datasets.

Relative Density Ratio Optimization for Stable and Statistically Consistent Model Alignment

Introduction and Motivation

LLM alignment is critical for maintaining safety and reliability as these models are deployed in increasingly sensitive settings. Most current alignment strategies, including RLHF and DPO, rely heavily on strong assumptions about the structure of human preference (e.g., Bradley-Terry or prospect theory models). However, empirical work has shown these models frequently fail to capture real-world, possibly cyclic or intransitive, human preferences, leading to statistical inconsistency: even with infinite data, such methods may not converge to the “true” human preference.

Direct Density Ratio Optimization (DDRO) advances this problem by discarding explicit preference modeling, aligning the model directly with human preferences through density ratio estimation. While DDRO achieves statistical consistency, it suffers substantially from instability—density ratios can diverge if the distributions’ supports do not overlap, causing gradient explosions and unstable optimization. This instability is particularly pronounced where preferred and non-preferred sample distributions differ significantly in real datasets.

This paper introduces Relative Density Ratio Optimization (RDRO), which fundamentally stabilizes DDRO by replacing the standard density ratio with a relative density ratio, ensuring boundedness and thus improved convergence, stability, and statistical guarantees.

Methodological Innovations

Standard Density Ratio Optimization and its Instabilities

DDRO estimates the density ratio g(yx)=p(yx)p+(yx)g^*(y|x) = \frac{p^-(y|x)}{p^+(y|x)} between non-preferred (pp^-) and preferred (p+p^+) response distributions, using a reference model as a mixture of the two. The policy pθ(yx)p_\theta(y|x) is trained via Bregman divergence minimization to match p+p^+, with practical optimization reduced to logistic regression in parameter space. However, as p+(yx)0p^+(y|x) \rightarrow 0 (i.e., in low support regions), the density ratio diverges (see below). Figure 1

Figure 1

Figure 1: Comparison of the unbounded density ratio gg^* and the bounded relative density ratio rr^* as p+(yx)0p^+(y|x)\to 0, with p(yx)=0.1p^-(y|x)=0.1 and pp^-0.

This divergence is a primary source of training instability in DDRO, necessitating heuristic regularization or ad-hoc stabilization such as softplus transformations.

Relative Density Ratio Optimization

RDRO addresses this directly by estimating a relative density ratio:

pp^-1

where pp^-2 controls the degree of mixing and serves as an explicit regularization parameter. Notably, pp^-3 is upper-bounded by pp^-4 by construction, preventing divergence across all support regimes. In practice, RDRO models pp^-5 and aligns via minimization of the Bregman divergence between pp^-6 and pp^-7, formulated as a logistic regression problem with data from both preferred and non-preferred sets.

Synchronization of the RDRO objective with the DDRO stabilization heuristics occurs naturally, with the required softplus/sigmoid transformations emerging directly from the mathematically-grounded relative density ratio formalism.

Theoretical Properties

RDRO provides both rigorous stability and statistical consistency guarantees:

  • Boundedness and Gradient Stability: The upper bound on the relative density ratio ensures gradient terms for preferred and non-preferred samples cannot cause divergence, with pp^-8 acting as an explicit regularizer that can be tuned as a function of class balance.
  • Statistical Consistency and Tight Convergence: Theoretical analysis establishes that, under the typical assumption that the true human preference distribution is contained in the hypothesis space, RDRO shows quadratic risk decays as pp^-9—identical in order to DDRO but with all constant factors strictly tighter (i.e., lower), since pathological terms (e.g., p+p^+0 where p+p^+1 is the minimum probability in preferred support) are eliminated. Figure 2

Figure 2

Figure 2

Figure 2: Schematic representation of the DDRO framework and the regions where divergence can occur due to density ratio instability.

Figure 3

Figure 3

Figure 3

Figure 3: Demonstration of improved training dynamics in RDRO compared to DDRO, as exhibited by gradient norm behavior.

Experimental Evaluation

Extensive empirical validation supports the proposed methodology:

  • Datasets & Models: Experiments are conducted using Qwen 2.5 (1.5B, 3B) and Llama 3 (3B, 8B) as base models, with two diverse human preference datasets: UltraFeedback GPT-3.5-Turbo Helpfulness (UF-G) and KTO Mix 14K (MIX-14K).
  • Metrics: Evaluation uses AlpacaEval (LC win rate) and chain-of-thought benchmark BIG-Bench Hard (BBH) to quantify both alignment and general reasoning performance.

RDRO consistently matches or exceeds KTO and DDRO across all model/dataset combinations. Particularly on UF-G (which lacks paired preferred/non-preferred responses per prompt), RDRO provides statistically significant improvement over alternatives, reflecting its advantage in more challenging or unpaired preference settings. Figure 4

Figure 4

Figure 4

Figure 4

Figure 4: AlpacaEval LC win rates for Qwen-1.5B across alignment methods, showing RDRO superiority.

Figure 5

Figure 5

Figure 5

Figure 5: Training stability visualized through loss curves for DDRO, KTO, and RDRO, highlighting the absence of catastrophic spikes in RDRO.

Ablation and sensitivity analyses further confirm the robustness of RDRO to the mixing parameter p+p^+2; optimal results are obtained by simply matching p+p^+3 to the fraction of preferred samples, and performance does not fluctuate strongly as p+p^+4 varies within reasonable bounds.

Implications and Future Directions

The introduction of relative density ratio estimation to alignment circumvents the main instability barrier to density-ratio-based alignment approaches. Empirically, RDRO's consistent superiority on "unpaired" datasets such as UF-G suggests it is inherently suited to scenarios where preferred samples are unavailable for the same prompt as non-preferred ones, a condition common in practice.

On a theoretical level, RDRO establishes a rigorous path for model alignment under arbitrary (even non-transitive) human preferences, with statistical guarantees that are unattainable under standard model-based (e.g., Bradley-Terry) assumptions.

Model robustness to support mismatch and improved generalization rates may also motivate further research into extending RDRO to semi-supervised or positive-unlabeled preference datasets, leveraging methods from PU learning or energy-based estimation for partial information scenarios.

Conclusion

Relative Density Ratio Optimization (RDRO) provides the first alignment method for LLMs that is both stable (in the sense of bounded gradients and objective values) and statistically consistent in the absence of strong human preference model assumptions. The method achieves tighter convergence guarantees than DDRO and shows strong empirical results across multiple challenging alignment scenarios, highlighting its broad promise as a new foundation for preference-based model alignment and future developments in scalable, reliable LLM alignment methodologies.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.