Skip to content
ImagineWorld

Direct Preference Optimization with Rating Information: Practical Algorithms and Provable Gains

node_idnode-paper_arxiv-2602.00603_direct-preference-optimization-with-rating-information-practical-algorithms-and
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2602.00603
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the preference-optimization field, the work adds rating information to direct preference optimization — graded preferences beyond binary pairs, with practical algorithms and analysis for the richer signal — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleDirect Preference Optimization with Rating Information: Practical Algorithms and Provable Gains
paper_authorsLuca Viano, Ruida Zhou, Yifan Sun, Mahdi Namazifar, Volkan Cevher, Shoham Sabach, Mohammad Ghavamzadeh
arxiv_id2602.00603
arxiv_urlhttps://arxiv.org/abs/2602.00603
arxiv_categories{"primary":"cs.LG","secondary":[]}
arxiv_v1
arxiv_submitted_at2026-01-31
arxiv_updated_at2026-01-31
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedtrue
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:10:36Z
local graph

Direct Preference Optimization with Rating Information: Practical Algorithms and Provable Gains

Section titled “Direct Preference Optimization with Rating Information: Practical Algorithms and Provable Gains”

Authors: Luca Viano, Ruida Zhou, Yifan Sun, Mahdi Namazifar, Volkan Cevher, Shoham Sabach, Mohammad Ghavamzadeh

arxiv: 2602.00603

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering; figures embedded from the same source.


The class of direct preference optimization (DPO) algorithms has emerged as a promising approach for solving the alignment problem in foundation models. These algorithms work with very limited feedback in the form of pairwise preferences and fine-tune models to align with these preferences without explicitly learning a reward model. While the form of feedback used by these algorithms makes the data collection process easy and relatively more accurate, its ambiguity in terms of the quality of responses could have negative implications. For example, it is not clear if a decrease (increase) in the likelihood of preferred (dispreferred) responses during the execution of these algorithms could be interpreted as a positive or negative phenomenon. In this paper, we study how to design algorithms that can leverage additional information in the form of rating gap, which informs the learner how much the chosen response is better than the rejected one. We present new algorithms that can achieve faster statistical rates than DPO in presence of accurate rating gap information. Moreover, we theoretically prove and empirically show that the performance of our algorithms is robust to inaccuracy in rating gaps. Finally, we demonstrate the solid performance of our methods in comparison to a number of DPO-style algorithms across a wide range of LLMs and evaluation benchmarks.

Learning from preference data (ranking information) has become a popular paradigm for solving the alignment problem in large language models (LLMs) (Christiano et al., 2017; Rafailov et al., 2023; Zhu et al., 2023). Although data collection is easier and the annotators’ feedback is less noisy in this setting, compared to the rating style feedback, the amount of information that can be extracted from such data is very limited. Indeed, given a prompt, a preferred and a dispreferred response, several scenarios are likely: both responses are of high (low) quality or one is good and the other one is poor. However, the contrastive learning approach used by Direct Preference Optimization (DPO) style algorithms, such as DPO (Rafailov et al., 2023) and Identity-mapping Preference Optimization (IPO) (Azar et al., 2024), is only justified for the latter case. In the cases that the two responses have high (low) quality, it makes sense to imitate (forget) both of them. However, it is not possible for a fine-tuning algorithm to identify which of these cases it is facing from the preference style information. The lack of information about the individual or relative quality of responses can create ambiguity for these algorithms and have negative implications on their performance. For example, it has been shown that it can incentivize in-sample probability reduction in DPO-style algorithms and create bias towards policies that favor out-of-distribution responses (e.g., Adler et al. 2024b; Xu et al. 2024b; Pal et al. 2024; Fisch et al. 2024; Xiao et al. 2024; Shen et al. 2024; Wu et al. 2024; D’Oosterlinck et al. 2024), a phenomenon referred to as likelihood displacement (Razin et al., 2025).

(a)

In this paper, we study a setting in which, in addition to preference/ranking feedback, the training dataset contains the relative rating of the responses, which we refer to as rating gap. We propose three algorithms derived from two different approaches that leverage this additional information in an efficient and principled way. We derive our first two algorithms, Rating DPO (RDPO) and Rating IPO (RIPO), by changing the RLHF objective to maximize a linear combination of the ranking and rating information. Our third algorithm, Maximum-Likelihood-based Rating DPO (ML-RDPO), is derived using the maximum-likelihood (ML) principle by making certain assumptions on the joint distribution of the ranking and rating information. In ML-RDPO, we consider a linear combination of the likelihood objectives rather than a linear combination of the two sources of information (ranking and rating), as is done in the derivation of RDPO and RIPO. We provide theoretical analysis for our algorithms showing that they can achieve faster statistical rates than DPO in the presence of accurate rating gap information, and are robust in case this information is noisy. We empirically evaluate our algorithms and compare them to a number of DPO-style methods across a wide range of LLMs and evaluation benchmarks. The results validate our theoretical findings and demonstrate the solid performance of our algorithms.

Theoretical Contributions. We prove two desirable properties, acceleration and robustness, for our algorithms. Indeed, if the ratings are consistent with the latent reward model used by the annotator to rank the responses (under the Bradley-Terry formulation), RDPO and ML-RDPO can accelerate learning compared to DPO. That is, they are able to learn a well-performing policy faster than an algorithm that only leverages ranking information (e.g., DPO or IPO). Specifically, leveraging the rating information, our algorithms guarantee an exponential improvement over learning from rankings only, by avoiding the exponential dependence in the maximum reward range which affects all known ranking-only algorithms. Moreover, our algorithms are robust in the sense that the above guarantees hold even under a certain degree of corruptions or noise in the ratings.

Empirical Contributions. In addition to these nice theoretical properties, RDPO and ML-RDPO perform well in practical alignment problems. Figure 1 provides a summary of our experiments (more experiments in Section 6 and in Appendix F), showing the average win-rate of the checkpoints fine-tuned by different algorithms against the reference model π_ref\pi\_{\mathrm{ref}} in AlpacaEval (Li et al., 2023b) and ArenaHard (Li et al., 2024) benchmarks. The means and standard deviations are computed over 33 independent experiments where π_ref\pi\_{\mathrm{ref}} is one of the following models: Zephyr-7B,11 1 https://huggingface.co/alignment-handbook/zephyr-7b-sft-full Llama-3.1-8B,22 2 https://huggingface.co/allenai/Llama-3.1-Tulu-3-8B-SFT and Mistral-7B.33 3 https://huggingface.co/HuggingFaceH4/mistral-7b-sft-beta It can be seen that RDPO and ML-RDPO are the best and second best performing methods, respectively. Moreover, since RDPO has the smallest variance, it can be considered as the most consistently well-performing method across the choices of π_ref\pi\_{\mathrm{ref}} we experimented with.

In agreement with the theoretical findings, RDPO and ML-RDPO outperform both ranking-only methods, such as DPO, IPO, and SIMPO (Meng et al., 2024), and rating-only methods, such as Distilled DPO (Fisch et al., 2024). Moreover, their performance is superior to RPO (Adler et al., 2024a) and MAPPO (Lan et al., 2025), which are recent alignment methods leveraging both rating and ranking information, as done by RDPO and ML-RDPO. Finally, while RIPO does not perform as well as RDPO in the experiments of Figure 1, it still performs well in some of the experiments we report in Section 6 and in Appendix F. Moreover, it serves as an example that our principled derivation of RDPO can be extended beyond the cases where the Bradley-Terry assumption holds.

Paper Organization. In Sections 2 and 3, we first formalize the alignment problem and then derive RDPO, RIPO, and ML-RDPO from first principles. We present the theoretical guarantees of these algorithms in Section 4, discuss their closest related work in Section 5, and demonstrate their practical effectiveness in Section 6, before concluding the paper in Section 7.

We begin by presenting the main ingredients of the alignment problem in LLMs on which we will build in the subsequent sections. The input to most alignment algorithms is a dataset D\mathcal{D} of tuples (x,a,a′,z)(x,a,a^{\prime},z), where xx is a prompt sampled from a distribution ν_0\nu\_{0}, aa and a′a^{\prime} are two responses, and zz is a Bernoulli random variable that is one if the response aa is preferred to a′a^{\prime} conditioned on xx, i.e., a≻a′∣xa\succ a^{\prime}\mid x and is zero, otherwise. Given zz, we define a+=aa^{+}=a and a−=a′a^{-}=a^{\prime} if z=1z=1 and viceversa a+=a′a^{+}=a^{\prime} and a−=aa^{-}=a if z=0z=0. The binary variable zz is assumed to be sampled according to the Bradley-Terry (BT) model44 4 This can be extended to the more general Plackett-Luce ranking model (Plackett, 1975; Luce, 2012) if we have access to several ranked responses. (Bradley and Terry, 1952), i.e., z∼Bern(σ(r⋆(x,a)−r⋆(x,a′)))z\sim\texttt{Bern}(\sigma(r^{\star}(x,a)-r^{\star}(x,a^{\prime}))), where σ(x)=1/(1+e−x)\sigma(x)=1/(1+e^{-x}) is the sigmoid function and r⋆r^{\star} is the latent reward model (RM) of the annotator. We are also given a reference policy π_ref\pi\_{\text{ref}} (often the SFT checkpoint π_SFT\pi\_{\text{SFT}}) which serves as a guardrail.

In RLHF, we first employ D\mathcal{D} to train a parameterized RM, r_ϕr\_{\phi}, and then use it to solve the following KL-regularized reinforcement learning (RL) objective, denoted by J_βJ\_{\beta}:

$$!\max_{\theta};\underbrace{\mathbb{E}_{!!\begin{subarray}{c}x\sim\nu_{0}\ a\sim\pi_{\theta}(\cdotx)\end{subarray}}\Big[r_{\phi}(x,a)-\beta\cdot\mathbb{KL}\big(\pi_{\theta}(\cdotx)|\pi_{\text{ref}}(\cdot

where β>0\beta>0 is a hyper-parameter denoting the relative importance of reward maximization against ensuring a low deviation from π_ref\pi\_{\text{ref}}. The RM is learned by minimizing the cross-entropy (CE) loss

min⁡_ϕ ⁣ ⁣∑_(x,a+,a−)∈D ⁣ ⁣ ⁣ ⁣ ⁣ ⁣ ⁣−log⁡σ(r_ϕ(x,a+)−r_ϕ(x,a−)).\min\_{\phi}\!\!\sum\_{(x,a^{+},a^{-})\in\mathcal{D}}\!\!\!\!\!\!\!-\log\sigma\big(r\_{\phi}(x,a^{+})-r\_{\phi}(x,a^{-})\big).(2)

Fine-tuning π_θ\pi\_{\theta} in the RLHF approach is split into two stages: reward learning using the BT model, followed by a policy optimization using (1). More recently, a family of algorithms has emerged that solves the above two problems in a single stage, without explicitly learning a RM. The most notable among this family is DPO (Rafailov et al., 2023). The key insight here is that given a RM rr, the problem in (1) admits the following closed-form solution:

$$\pi^{\star}_{\beta}(ax)=\pi_{\text{ref}}(ax)\exp(r(x,a)/\beta)/Z(x),$$

where Z(x)Z(x) is the partition function. The next step is to introduce a parameterization of the reward rr by first parameterizing the closed-form solution π_β⋆\pi\_{\beta}^{\star} as π_θ\pi\_{\theta} in (3), and then inverting it for rr as

$$r_{\theta}(x,a)=\beta\cdot\log\frac{Z(x)\pi_{\theta}(ax)}{\pi_{\text{ref}}(ax)}.$$

The final step is to substitute the parameterized reward from (4) into the CE-loss in (2), the partition function Z(x)Z(x) is canceled out, leading to the following loss for DPO:

L_DPO(θ)= ⁣ ⁣∑_(x,a+,a−)∈D ⁣ ⁣ ⁣ ⁣ ⁣ ⁣−log⁡σ(β⋅Δ_θ(x,a+,a−)),\mathcal{L}\_{\text{DPO}}(\theta)=\!\!\sum\_{(x,a^{+},a^{-})\in\mathcal{D}}\!\!\!\!\!\!-\log\sigma\big(\beta\cdot\Delta\_{\theta}(x,a^{+},a^{-})\big),(5)

where   Δ_θ(x,a+,a−)=log⁡π_θ(a+∣x)π_ref(a+∣x)−log⁡π_θ(a−∣x)π_ref(a−∣x)\;\Delta\_{\theta}(x,a^{+},a^{-})=\log\frac{\pi\_{\theta}(a^{+}|x)}{\pi\_{\text{ref}}(a^{+}|x)}-\log\frac{\pi\_{\theta}(a^{-}|x)}{\pi\_{\text{ref}}(a^{-}|x)}.

Another popular member of the family of DPO-style algorithms is IPO (Azar et al., 2024). IPO uses the following square loss to fine-tune the LLM π_θ\pi\_{\theta}:

L_IPO(θ)= ⁣ ⁣∑_(x,a+,a−)∈D ⁣ ⁣ ⁣ ⁣ ⁣ ⁣(Δ_θ(x,a+,a−)−12β)2.\mathcal{L}\_{\text{IPO}}(\theta)=\!\!\sum\_{(x,a^{+},a^{-})\in\mathcal{D}}\!\!\!\!\!\!\big(\Delta\_{\theta}(x,a^{+},a^{-})-\frac{1}{2\beta}\big)^{2}.(6)

We conclude the section by introducing some notation that will be useful in the rest of the paper.

We denote by X\mathcal{X} and A\mathcal{A} the set of prompts given to and the set of responses generated by a LLM. Moreover, we denote by Π\Pi the class of policies that can be induced by a choice of the parameters θ\theta, i.e., Π={π∣∃ θ s.t. π(a∣x)=π_θ(a∣x) ∀x,a∈X×A}\Pi=\left\{{\pi\mid\exists~\theta~\text{s.t.}~\pi(a|x)=\pi\_{\theta}(a|x)~\forall x,a\in\mathcal{X}\times\mathcal{A}}\right\}, and by ∣Π∣\left|{\Pi}\right| the size of this class.55 5 For infinite classes, the result can be generalized using covering numbers. Finally, we denote the expected reward or performance of a policy π\pi under reward rr as ⟨π,r⟩:=∑_x∈Xν_0(x)∑_a∈Aπ(a∣x)r(x,a)\left\langle{\pi},{r}\right\rangle:=\sum\_{x\in\mathcal{X}}\nu\_{0}(x)\sum\_{a\in\mathcal{A}}\pi(a|x)r(x,a), and the optimal policy under the latent reward model r⋆r^{\star} as π⋆=argmax_π∈ΠJ_β(π;r⋆)\pi^{\star}=\mathop{\rm argmax}\_{\pi\in\Pi}J\_{\beta}(\pi;r^{\star}).

3 Algorithms for Alignment with Ranking and Rating Information

Section titled “3 Algorithms for Alignment with Ranking and Rating Information”

We now consider the problem of fine-tuning a LLM where the original dataset is augmented with the rating gaps of the responses, i.e.,

D={(x_i,a_i,a′_i,z_i,r^(x_i,a+_i)−r^(x_i,a−_i))}N_i=1.\mathcal{D}=\left\{{(x\_{i},a\_{i},a^{\prime}\_{i},z\_{i},\hat{r}(x\_{i},a^{+}\_{i})-\hat{r}(x\_{i},a^{-}\_{i}))}\right\}^{N}\_{i=1}.(7)

In (7), r^\hat{r} is the rating, i.e., an approximation of the latent RM of the annotator r⋆r^{\star}. Thus, the rating gap Δ_r^(x_i,a+_i,a−_i):=r^(x_i,a+_i)−r^(x_i,a−_i)\Delta\_{\hat{r}}(x\_{i},a^{+}\_{i},a^{-}\_{i}):=\hat{r}(x\_{i},a^{+}\_{i})-\hat{r}(x\_{i},a^{-}\_{i}) serves as an estimate of how much better is the selected action a+_ia^{+}\_{i} compared to the rejected one a−_ia^{-}\_{i}. Having introduced the dataset, we are now ready to present our algorithms in the next sections.

3.1 Ratings Direct Preference Optimization (RDPO)

Section titled “3.1 Ratings Direct Preference Optimization (RDPO)”

For deriving RDPO, we consider the RLHF objective in (1) where the reward of interest is a linear combination of the original reward model (RM) rr and the rating estimate r^\hat{r}, i.e.,

$\displaystyle\max_{\theta};\mathbb{E}_{\begin{subarray}{c}x\sim\nu_{0}\ a\sim\pi_{\theta}(\cdotx)\end{subarray}}$[r(x,a)+β⋅r^(x,a)β_1\displaystyle\bigg[r(x,a)+\frac{\beta\cdot\hat{r}(x,a)}{\beta\_{1}}
------------
$\displaystyle-\beta\cdot\mathbb{KL}\big(\pi_{\theta}(\cdotx)|\pi_{\text{ref}}(\cdot

The parameter β_1\beta\_{1} weighs the contribution of the rating information r^\hat{r} in (8), which is inversely related to our confidence in the accuracy of the rating information: the smaller β_1\beta\_{1} is, the more confident we are about the accuracy of r^\hat{r}. The problem in (8) admits the following closed-form solution:

$$!\pi_{\beta}^{\star}(ax)=\pi_{\text{ref}}(ax)\exp\Big(\frac{r(x,a)}{\beta}+\frac{\hat{r}(x,a)}{\beta_{1}}\Big)/Z(x).$$

Inverting the above equation and approximating π⋆_β\pi^{\star}\_{\beta} via π_θ\pi\_{\theta}, we can define the following implicit RM parametrized for any policy parameter θ\theta as r_θ(x,a)=β⋅log⁡Z(x)π_θ(a∣x)π_ref(a∣x)−ββ_1⋅r^(x,a)r\_{\theta}(x,a)=\beta\cdot\log\frac{Z(x)\pi\_{\theta}(a|x)}{\pi\_{\text{ref}}(a|x)}-\frac{\beta}{\beta\_{1}}\cdot\hat{r}(x,a). Finally, plugging r_θr\_{\theta} into (2), we obtain the following loss for RDPO:

L_RDPO(θ)=∑N_i=1−log⁡σ(βΔi_θ−ββ_1Δi_r^),\mathcal{L}\_{\mathrm{RDPO}}(\theta)=\sum^{N}\_{i=1}-\log\sigma\Big(\beta\Delta^{i}\_{\theta}-\frac{\beta}{\beta\_{1}}\Delta^{i}\_{\hat{r}}\Big),(10)

where for compactness we used Δi_θ:=Δ_θ(x_i,a+_i,a−_i)\Delta^{i}\_{\theta}:=\Delta\_{\theta}(x\_{i},a^{+}\_{i},a^{-}\_{i}) and Δi_r^:=Δ_r^(x_i,a+_i,a−_i)\Delta^{i}\_{\hat{r}}:=\Delta\_{\hat{r}}(x\_{i},a^{+}\_{i},a^{-}\_{i}). The exact definitions of Δ_θ(⋅)\Delta\_{\theta}(\cdot) and Δ_r^(⋅)\Delta\_{\hat{r}}(\cdot) can be found right after Eqs. 5 and 7, respectively. Following similar steps, we can derive several variants of RDPO as explained in the rest of this section.

RDPO variants. Replacing the BT preference model with more general alternatives, as in IPO Azar et al. (2024), we can derive the Ratings IPO (RIPO) loss in which the log sigmoid function in (10) is substituted with a parabola centered at 1/21/2, i.e.,

L_RIPO(θ):=∑N_i=1(βΔi_θ−ββ_1Δi_r^−\nicefrac12)2.\mathcal{L}\_{\mathrm{RIPO}}(\theta):=\sum^{N}\_{i=1}\Big(\beta\Delta^{i}\_{\theta}-\frac{\beta}{\beta\_{1}}\Delta^{i}\_{\hat{r}}-\nicefrac{{1}}{{2}}\Big)^{2}.(11)

It is easy to see that the RIPO loss is a shifted version of the loss used by Distilled-DPO (Fisch et al., 2024), which, of course, was derived from a different perspective. Other RDPO variant can be derived by replacing the KL divergence in (8) with other ff-divergences such as χ2\chi^{2}.

We conclude this section by noticing that RDPO does not make any statistical assumption about the rating gap information. However, it requires access to the rating gaps Δ_r^(x,a+,a−)\Delta\_{\hat{r}}(x,a^{+},a^{-}) for all (x,a+,a−)∈D(x,a^{+},a^{-})\in\mathcal{D} (not necessarily their actual ratings). In the next section, we propose ML-RDPO to bypass this requirement at the cost of assuming that Δ_r^(x,a+,a−)\Delta\_{\hat{r}}(x,a^{+},a^{-}) is a Gaussian random variable.

3.2 Maximum-Likelihood-based RDPO (ML-RDPO)

Section titled “3.2 Maximum-Likelihood-based RDPO (ML-RDPO)”

To derive ML-RDPO, we consider a linear combination of the log likelihood objectives rather than a linear combination of the two reward models. To this end, for any reward model rr, let Prat,rank_rP^{\mathrm{rat,rank}}\_{r} be the joint probability distribution of the ranking and rating information. The idea behind the ML-RDPO algorithm is to output the policy π_out∝π_ref(a∣x)exp⁡(r~(x,a)/β)\pi\_{\mathrm{out}}\propto\pi\_{\mathrm{ref}}(a|x)\exp\left({\tilde{r}(x,a)/\beta}\right) in which r~\tilde{r} is an approximation of r⋆r^{\star} computed by maximizing the joint log-likelihood:

r~=argmax_r∈R  log⁡Prat,rank_r(D),\tilde{r}=\mathop{\rm argmax}\_{r\in\mathcal{R}}\;\log P^{\mathrm{rat,rank}}\_{r}(\mathcal{D}),(12)

where R\mathcal{R} is parameterized by the policy weights as R={r ∣ ∃ θ s.t. βΔ_θ=Δ_r}\mathcal{R}=\left\{{r~|~\exists~\theta~\text{s.t.}~\beta\Delta\_{\theta}=\Delta\_{r}}\right\}. The equality in the definition of R\mathcal{R} holds elementwise. In order to obtain π_out\pi\_{\mathrm{out}} without computing r~\tilde{r}, we assume conditional independence and Gaussian distributed rating gaps, to simplify the joint log-likelihood as shown in Lemma 3.1.

Let us assume that the rating gaps Δi_r^∣x_i,a_i,a′_i\Delta^{i}\_{\hat{r}}|x\_{i},a\_{i},a^{\prime}\_{i} are normally distributed with variance V\mathbb{V}, and z_iz\_{i}, i.e. the preference bits, and Δi_r^\Delta^{i}\_{\hat{r}} are conditionally independent given x_i,a_i,a′_ix\_{i},a\_{i},a^{\prime}\_{i}. Then, it holds that

log⁡Prat,rank_r(D)=∑N_i=1log⁡σ(Δi_r)−(2V)−1(Δi_r^−Δi_r)2,\log P^{\mathrm{rat,rank}}\_{r}(\mathcal{D})=\sum^{N}\_{i=1}\log\sigma(\Delta^{i}\_{r})-(2\mathbb{V})^{-1}\left({\Delta^{i}\_{\hat{r}}-\Delta^{i}\_{r}}\right)^{2},

where Δi_r:=r(x_i,a+_i)−r(x_i,a−_i)\Delta^{i}\_{r}:=r(x\_{i},a^{+}\_{i})-r(x\_{i},a^{-}\_{i}).

Now, given the definition of the induced reward class R\mathcal{R}, we can perform the change of variable from rr to βlog⁡(π_θ/π_ref)\beta\log(\pi\_{\theta}/\pi\_{\mathrm{ref}}) in the optimization problem (12) to obtain

L_ML−RDPO(θ):=∑N_i=1−log⁡σ(βΔi_θ)⏟_Ranking term+(Δi_r^−βΔi_θ)22V⏟_Rating term.\mathcal{L}\_{\mathrm{ML-RDPO}}(\theta):=\sum^{N}\_{i=1}\underbrace{-\log\sigma(\beta\Delta^{i}\_{\theta})}\_{\text{Ranking term}}+\underbrace{\frac{\left({\Delta^{i}\_{\hat{r}}-\beta\Delta^{i}\_{\theta}}\right)^{2}}{2\mathbb{V}}}\_{\text{Rating term}}.(13)

Then, ML-RDPO outputs the policy with parameters that minimize L_ML−RDPO\mathcal{L}\_{\mathrm{ML-RDPO}}. Note that L_ML−RDPO\mathcal{L}\_{\mathrm{ML-RDPO}} is the sum of two terms, one that only depends on the ranking information and one that is solely computed from ratings. This allows to easily apply ML-RDPO even when the ranking and rating information are not provided for the same prompt-response tuples (unlike the algorithms derived in Section 3.1). With a careful look at the ML-RDPO loss in (13), we notice that the ranking and rating terms coincide with the DPO loss and the Distilled-DPO loss weighted by V−1\mathbb{V}^{-1}, respectively. Thus, the more confidence we have in the rating information, the smaller the value of V\mathbb{V} should be. At an intuitive level, V\mathbb{V} in ML-RDPO acts similarly to β_1\beta\_{1} in RDPO.

Tuning hyperparameters β_1\beta\_{1} and V\mathbb{V}. As discussed above, the value of β_1\beta\_{1} and V\mathbb{V} depend on the accuracy of the rating information, which might be unknown. However, we managed to tune them rather easily in our experiments. We ablated 55 different values of each of these hyperparameters on one model, namely Zephyr-7B, and used the best choice for the rest of the models of similar size (Llama-3.1-8B and Mistral-7B). We will have a detailed discussion of the hyperparameters selection in Section F.4.

Our main theoretical contribution is to prove that augmenting the DPO dataset with rating gaps Δ_r^(x_i,a+_i,a−_i)\Delta\_{\hat{r}}(x\_{i},a^{+}\_{i},a^{-}\_{i}) allows us to achieve better statistical guarantees. However, the benefit depends heavily on the quality of the rating estimates r^\hat{r}. In order to formalize this concept, we need the following assumption about the dataset generation.

(i.i.d. dataset generation) Each pair of candidate actions is sampled i.i.d. from the policy π_data\pi\_{\mathrm{data}}, i.e., a_i,a′_i∼π_data(⋅∣x_i)a\_{i},a^{\prime}\_{i}\sim\pi\_{\mathrm{data}}(\cdot|x\_{i}).

At this point, we introduce the approximation error Err(r^)\mathrm{Err}(\hat{r}), defined as

$$\mathrm{Err}(\hat{r}):=\mathbb{E}_{!!!!!\begin{subarray}{c}x\sim\nu_{0}\ a,a^{\prime}\sim\pi_{\mathrm{data}}(\cdotX)\end{subarray}}\big[\big(\Delta_{r^{\star}}(x,a,a^{\prime})-\Delta_{\hat{r}}(x,a,a^{\prime})\big)^{2}\big].$$

Intuitively, Err(r^)\mathrm{Err}(\hat{r}) quantifies the rating estimate quality, i.e. how much the reward differences Δ_r⋆\Delta\_{r^{\star}} and Δ_r^\Delta\_{\hat{r}} induced by rewards r⋆r^{\star} and r^\hat{r} are close to each other under the support of the reference policy π_ref\pi\_{\mathrm{ref}}. Note that requiring small Err(r^)\mathrm{Err}(\hat{r}) is much weaker than requiring r^(x,a)\hat{r}(x,a) to be close to r⋆(x,a)r^{\star}(x,a) for all x,a∈X×Ax,a\in\mathcal{X}\times\mathcal{A}. In practice, it is reasonable to assume that Err(r^)\mathrm{Err}(\hat{r}) is small for datasets like ultrafeedback_binarized66 6 https://huggingface.co/datasets/HuggingFaceH4/ultrafeedback_binarized in which r^\hat{r} is obtained by querying a (rather) reliable evaluator, such as Chat GPT-4 (Cui et al., 2023). We will make use of Err(r^)\mathrm{Err}(\hat{r}) to characterize the statistical rate attained by RDPO in Section 4.1. Before delving into the proofs, let us state an important assumption that we leverage in all our technical results.

Let 0≤R_min⁡≤r⋆(x,a)≤R_max⁡0\leq R\_{\min}\leq r^{\star}(x,a)\leq R\_{\max} for all x,a∈X×Ax,a\in\mathcal{X}\times\mathcal{A}, and π⋆_β\pi^{\star}\_{\beta} be defined as in (3) for any π_ref\pi\_{\mathrm{ref}} and reward r:X×A→[R_min⁡,R_max⁡]r:\mathcal{X}\times\mathcal{A}\rightarrow[R\_{\min},R\_{\max}]. Then, we assume that we have access to a policy class Π\Pi such that π⋆_β∈Π\pi^{\star}\_{\beta}\in\Pi.

This assumption indicates that the policy class is expressive enough to realize the closed-form solution of (1) corresponding to any bounded reward function. Note that this assumption is standard in our setting—it is even needed for deriving the DPO loss from the RLHF problem in (1).

After stating our main assumptions, we are now ready to present our theoretical results starting from RDPO. In order to report our bounds more clearly, let us define Err_DPO(N,δ):=cR2_max⁡e4R_max⁡log⁡(∣Π∣/δ)N\mathrm{Err\_{DPO}}(N,\delta):=\frac{cR^{2}\_{\max}e^{4R\_{\max}}\log(\left|{\Pi}\right|/\delta)}{N} for some c>0c>0. The definition comes from the fact that DPO finds a policy π_DPO\pi\_{\mathrm{DPO}} enjoying the following guarantees with probability at least 1−δ1-\delta (see e.g., Huang et al. 2024, Theorem 3.1),

J_β(π⋆;r⋆)−J_β(π_out;r⋆)≤O(Cmax⁡⋅Err_DPO(N,δ)),J\_{\beta}(\pi^{\star};r^{\star})-J\_{\beta}(\pi\_{\mathrm{out}};r^{\star})\leq\mathcal{O}\left({\sqrt{C^{\max}\cdot\mathrm{Err\_{DPO}}(N,\delta)}}\right),(14)

where for some π\pi, we define the concentrability coefficient as Cπ=∑_x∈Xν_0(x)∑_a∈Aπ(a∣x)∣π(a∣x)π_data(a∣x)∣C^{\pi}=\sum\_{x\in\mathcal{X}}\nu\_{0}(x)\sum\_{a\in\mathcal{A}}\pi(a|x)\left|{\frac{\pi(a|x)}{\pi\_{\mathrm{data}}(a|x)}}\right|. Moreover, for the optimal policy π⋆\pi^{\star}, we use the notation C⋆:=Cπ⋆C^{\star}:=C^{\pi^{\star}}, and denote the maximum concentrability by Cmax⁡:=max⁡_π∈ΠCπC^{\max}:=\max\_{\pi\in\Pi}C^{\pi}. We now state our main result for RDPO. For technical reasons, we consider minimizing the RDPO loss in (10) over the constrained policy class Π′⊂Π\Pi^{\prime}\subset\Pi such that π∈Π′\pi\in\Pi^{\prime} implies that βΔ_log⁡π/π_ref−ββ_1Δ_r^\beta\Delta\_{\log\pi/\pi\_{\mathrm{ref}}}-\frac{\beta}{\beta\_{1}}\Delta\_{\hat{r}} is in the interval [−R_max⁡,R_max⁡][-R\_{\max},R\_{\max}].

For any β∈(0,∞)\beta\in(0,\infty) , let π_out\pi\_{\mathrm{out}} be the policy with parameters minimizing L_RDPO\mathcal{L}\_{\mathrm{RDPO}} over the policy class Π′\Pi^{\prime} with hyperparameter β_1=β⋅\nicefracErr(r^)Err_DPO(N,δ)\beta\_{1}=\beta\cdot\nicefrac{{\mathrm{Err}(\hat{r})}}{{\mathrm{Err\_{DPO}}(N,\delta)}} Then, it holds that with probability at least 1−δ1-\delta, the suboptimality gap,i.e. J_ββ_1β+β_1(π⋆;r⋆)−J_ββ_1β+β_1(π_out;r⋆)J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi^{\star};r^{\star})-J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi\_{\mathrm{out}};r^{\star}), is upper-bounded by

O(Cmax⁡⋅min⁡{Err_DPO(N,δ),Err(r^)}).\mathcal{O}\left({\sqrt{C^{\max}\cdot\min\left\{{\mathrm{Err\_{DPO}}(N,\delta),\mathrm{Err}(\hat{r})}\right\}}}\right).(15)

The proof can be found in Section C.2. Moreover Theorem C.2 in Section C.3 shows a stronger theoretical bound, where Cmax⁡C^{\max} is replaced by the smaller quantity C⋆C^{\star} that can be achieved via an additional χ2\chi^{2} regularization and the assumption that π_data\pi\_{\mathrm{data}} coincides with π_ref\pi\_{\mathrm{ref}}. However, we noticed that the χ2\chi^{2} regularization can make the algorithm numerically unstable in practice. As a final comment, we notice that the restriction over Π′\Pi^{\prime} conveys additional stability to the algorithm and has a positive practical effect (see Section F.5).

We now discuss the important theoretical properties that the rate in (15) features.

When the ratings r^\hat{r} are accurate, it is expected that Err(r^)≤Err_DPO(N,δ)\mathrm{Err}(\hat{r})\leq\mathrm{Err\_{DPO}}(N,\delta). Then, the bound in Theorem 4.3 predicts a rate of order O(Cmax⁡⋅Err(r^))\mathcal{O}\left({\sqrt{C^{\max}\cdot\mathrm{Err}(\hat{r})}}\right), which is faster than the DPO rate in (14).

Even if the ratings r^\hat{r} are inaccurate, i.e., Err(r^)≥Err_DPO(N,δ)\mathrm{Err}(\hat{r})\geq\mathrm{Err\_{DPO}}(N,\delta), the guarantees for RDPO do not collapse. Indeed, Theorem 4.3 predicts a rate equal to O(Cmax⁡⋅Err_DPO(N,δ))\mathcal{O}\left({\sqrt{C^{\max}\cdot\mathrm{Err\_{DPO}}(N,\delta)}}\right), which is the same bound achieved by DPO-like algorithms.

Principled choice of β\beta and β_1\beta\_{1} in practice.

Section titled “Principled choice of β\betaβ and β_1\beta\_{1}β_1 in practice.”

Theorem 4.3 suggests to set the rating trust 1/β_11/\beta\_{1} to the inverse of the regularization parameter (i.e., 1/β1/\beta) times the errors ratio \nicefracErr_DPO(N,δ)Err(r^)\nicefrac{{\mathrm{Err\_{DPO}}(N,\delta)}}{{\mathrm{Err}(\hat{r})}}. This finding gives us the following practical guideline:

We now prove our theoretical results for ML-RDPO. Similar to the derivation of ML-RDPO, we assume that z_iz\_{i} and Δi_r^\Delta^{i}\_{\hat{r}} are conditionally independent given x_i,a_i,a′_ix\_{i},a\_{i},a^{\prime}\_{i}, and rating gaps are Gaussian Δi_r^∼N(Δi_r⋆,V)\Delta^{i}\_{\hat{r}}\sim\mathcal{N}(\Delta^{i}\_{r^{\star}},\mathbb{V}) for all i∈[N]i\in[N]. For ML-RDPO, the theoretical analysis also requires restricting the optimization domain to the parameter spaces that induce a policy class Π~⊂Π\tilde{\Pi}\subset\Pi with the property that βΔ_log⁡π/π_ref∈[−R_max⁡,R_max⁡]\beta\Delta\_{\log\pi/\pi\_{\mathrm{ref}}}\in[-R\_{\max},R\_{\max}] for all π∈Π~\pi\in\tilde{\Pi}.

Let π_out\pi\_{\mathrm{out}} be the policy with parameters minimizing L_ML−RDPO\mathcal{L}\_{\mathrm{ML-RDPO}} over the policy class Π~\tilde{\Pi}. Then for any value of β∈(0,∞)\beta\in(0,\infty), with probability at least 1−δ1-\delta, the suboptimality J_β(π⋆;r⋆)−J_β(π_out;r⋆)J\_{\beta}(\pi^{\star};r^{\star})-J\_{\beta}(\pi\_{\mathrm{out}};r^{\star}) is upper-bounded by

$$\tilde{\mathcal{O}}\left({\sqrt{\frac{C^{\max}\min\left{{e^{R_{\max}}R^{2}_{\max},R_{\max}^{2}+\mathbb{V}}\right}\log(\left{\Pi}\right

The proof can be found in Section C.4. Moreover, as we show in Theorem C.5 in Section C.5, with an additional χ2\chi^{2} divergence term, we can obtain a tighter bound where Cmax⁡C^{\max} is replaced with a smaller quantity C⋆C^{\star}. We now highlight some interesting features of the ML-RDPO bound in Theorem 4.4.

As for RDPO, ML-RDPO enjoys both the acceleration and robustness properties. Regarding acceleration, it can be seen that when the variance V\mathbb{V} is low, i.e., V≤O(eR_max⁡R2_max⁡)\mathbb{V}\leq\mathcal{O}\left({e^{R\_{\max}}R^{2}\_{\max}}\right), Theorem 4.4 shows a better rate for ML-RDPO than the one for DPO given by (14). In particular, when the variance is small, we have the following exponential improvement:

In alignment using only ranking, the eR_max⁡e^{R\_{\max}} dependence can be moved to lower order terms Chen et al. (2025), requiring online generation of new responses and it is conjectured to be unavoidable in the offline setting Das et al. (2024).

We note that the proof technique in Theorem 4.4 can be used to prove a new bound for Distilled-DPO (Fisch et al., 2024) of order O(Cmax⁡(V+R_max⁡2)log⁡(∣Π∣/δ)/N)\mathcal{O}\left({\sqrt{C^{\max}(\mathbb{V}+R\_{\max}^{2})\log(\left|{\Pi}\right|/\delta)/N}}\right). This allows us to conclude that ML-RDPO with appropriately tuned β\beta and V\mathbb{V} is no worse than the best between DPO and ML-RDPO.

As we previously mentioned, L_ML−RDPO\mathcal{L}\_{\mathrm{ML-RDPO}} is written as the sum of a rating term and a ranking term. This fact makes ML-RDPO easily generalizable to the setting where the rating feedback is observed only for certain responses in the dataset. On the contrary, RDPO cannot be directly applied in this setting because L_RDPO\mathcal{L}\_{\mathrm{RDPO}} does not decompose into rating and ranking terms. We elaborate on this in Section B.2 and show the efficiency of ML-RDPO with partial rating information in practice in Figure 4. Of course, a downside of ML-RDPO is the Gaussian assumption on the rating, which is avoided by RDPO.

Before empirically evaluating our proposed algorithms, we provide a brief overview of the related work. Some of the algorithms we discuss in this section will serve as baselines in our experiments. A more comprehensive literature review is provided in Appendix A.

Among the algorithms that only work with ranking information, we use DPO (Rafailov et al., 2023), which leverages the BT model, and IPO (Azar et al., 2024), which is applied to general preference models, as baselines. Moreover, we compare with SIMPO (Meng et al., 2024), which modifies DPO by removing the regularization towards π_ref\pi\_{\mathrm{ref}} and dividing the log ratios by the length of the responses in the dataset. Among the ratings-only alignment algorithms, we compare with Distilled DPO (DDPO) (Fisch et al., 2024), which uses the squared-loss to learn a policy whose difference of log ratios is close to the difference of observed ratings. Interestingly, DDPO is quite similar to our RIPO algorithm, albeit they derived it from different perspectives.

We also consider recently proposed algorithms that utilize both rating and ranking information. We use as a baseline RPO (Adler et al., 2024a), which minimizes KL(Bern(σ(Δi_θ)),Bern(σ(Δi_r^)))\mathbb{KL}(\mathrm{Bern}(\sigma(\Delta^{i}\_{\theta})),\mathrm{Bern}(\sigma(\Delta^{i}\_{\hat{r}}))). Unfortunately, RPO does not enjoy the performance guarantees attained by our RDPO and ML-RDPO algorithms, and more importantly, it is difficult to tune due to the non-smoothness of its loss function. We also compare with another rating-augmented alignment algorithm dubbed MAPPO (Lan et al., 2025) that minimizes the DPO loss up to the fact that the β\beta for the rejeced response is multiplied by the rating gap.

(a)

In this section, we empirically evaluate our proposed algorithms, RDPO, RIPO, and ML-RDPO, and demonstrate their solid performance in comparison to a number of DPO-style methods across a wide range of LLMs and evaluation benchmarks. The experiments verify our theoretical findings, especially in terms of robustness and faster convergence rate (acceleration).

Here we aim at verifying the favorable convergence properties of our algorithms shown in Theorems 4.3 and 4.4. We consider having access to high-quality rating information, r^\hat{r}, in the ultrafeedback_binarized dataset, and compare our methods to a diverse set of baselines: DPO, IPO, and SIMPO (only use ranking information); DDPO (Fisch et al., 2024) (only uses rating information); and finally RPO (Adler et al., 2024a) and MAPPO (Lan et al., 2025) (use both sources of information).

For most algorithms, we set the DPO hyperparameter as β=0.1\beta=0.1 and learning rate to 10−610^{-6}. For RDPO and ML-RDPO, we tune β_1\beta\_{1} and V\mathbb{V} in Zephyr-7B, as shown in Table 1 in Appendix F.4, and keep their best values, β_1=1/10\beta\_{1}=1/10 and V=1/100\mathbb{V}=1/100, for the experiments with the other two models: Llama-3.1-8B and Mistral-7B. To obtain good results with DDPO, we reduced the learning rate to 10−710^{-7}, while for IPO we used length normalization, larger β\beta, i.e., β=0.8\beta=0.8, and a smaller learning rate 10−710^{-7}.

In Figure 2, we start the fine-tuning from each of the specified base models (Llama, Mistral, Zephyr), and then evaluate the fine-tuned checkpoints in terms of their win-rates against GPT-4, judged by Claude-Sonnet-3.5 v2, over AlpacaEval and ArenaHard benchmarks. RDPO performs consistently well, being the best performing method in 33 out of the 66 experiments, and the second or third best in the others. ML-RDPO is less consistent, but it is the best performing method for Mistral-7B and Zephyr-7B in AlpacaEval. RPO is the best for Llama-3.1-8B in AlpacaEval, but the performance is sub-optimal in the other cases. The other methods that are only based on either rating or ranking information are less efficient in all experiments.

Rating information is harder to collect and can be noisier than its ranking counterpart. Therefore, we evaluate the robustness of RDPO by corrupting the rating information in two different forms. In the first experiment, we swap the score of the chosen and discarded responses for a certain portion (0%0\%, 10%10\%, 30%30\%) of the training data. As can be seen in , when we use a small value β_1=1/40\beta\_{1}=1/40 (high trust in rating information), the performance of RDPO worsens quickly as the number of swaps is increased. On the other hand, a larger β_1=1/10\beta\_{1}=1/10 makes the performance of RDPO robust and (almost) unaffected by this corruption. We can draw a similar conclusion from our second experiment shown in , where we add zero-mean Gaussian noise with increasing variance to the rating information (UltraFeedback scores). Overall, these experiments confirm our theoretical observation that no matter how “bad” the rating information is, i.e., for any value of Err(r^)\mathrm{Err}(\hat{r}), there exists a choice of β_1\beta\_{1} such that RDPO is guaranteed to perform at least as well as DPO.

(a)

Given that collecting rating information is more complicated than ranking (preference) data, it is reasonable to expect that in a practical scenario, some data points come only with ranking labels and without the rating gap information.

(a)

We set up an experiment in Figure 4 to show the capability of ML-RDPO in handling training data with partially scored labels. In particular, we show that even when only 50%50\% of the training data contains rating information, ML-RDPO is preferable to DPO. Recall that, unlike RDPO, ML-RDPO does not need to have access to the rating gap for all the data-points in its training set. We provide the derivation of the ML-RDPO algorithm where some of the rating information is missing in Section B.2, and the theoretical guarantees for this setting in Appendix D.

We report additional experiments in Appendix F. In particular, in Section F.1, we report the pairwise win rates between any pair of considered algorithms at 7/8B models. This serves as additional verification of the good performance of RDPO and ML-RDPO. In Section F.2, we repeat the corruption experiments on other choices of π_ref\pi\_{\mathrm{ref}}, which confirms the trend observed in , especially using Mistral-7B as π_ref\pi\_{\mathrm{ref}}. In Section F.3, we show that the gains from rating information are even more visible at smaller scales, using the SmolLM2 models (Allal et al., 2025) of sizes 135M, 360M, and 1.7B, as π_ref\pi\_{\mathrm{ref}}. In particular, RDPO achieves win rates over 90%90\% in all these cases. Finally, in Section F.5, we show that minimizing a modified RDPO loss, which encourages the restriction to the smaller policy class Π′\Pi^{\prime} needed for the proof of Theorem 4.3, leads to improved results for Llama-3.1-8B and Mistral-7B as π_ref\pi\_{\mathrm{ref}}. In particular, we add a piecewise linear penalty to encourage the implicit reward difference, βΔi_θ−βΔi_r^/β_1\beta\Delta^{i}\_{\theta}-\beta\Delta^{i}\_{\hat{r}}/\beta\_{1}, to lie in the interval [−R_max⁡,R_max⁡][-R\_{\max},R\_{\max}].

We studied how DPO-style algorithms can efficiently leverage additional information in the form of rating gap, which informs the learner how much the preferred response is better than the rejected one. We presented three algorithms, RDPO, RIPO, and ML-RDPO, that we derived using two different principled approaches. Our theoretical and empirical results show the better performance of our algorithms compared to methods that only use ranking information, when the rating information is accurate. We also showed that our algorithms are robust to noise in the rating information, and can still perform well in this situation if their relevant hyper-parameters, β_1\beta\_{1} and V\mathbb{V}, are tuned properly.

A quick look at the losses of our proposed algorithms, we notice that they only leverage the rating gap, Δi_r^\Delta^{i}\_{\hat{r}}, and not the individual ratings r^(x_i,a+_i)\hat{r}(x\_{i},a^{+}\_{i}) and r^(x_i,a−_i)\hat{r}(x\_{i},a^{-}\_{i}). This is positive because these algorithms can work with a weaker form of feedback (rating gap vs. individual rating), but as a consequence, they may not be able to use all the available information when the individual ratings are available. We leave developing principled algorithms, possibly inspired by our methods, that can make full use of the individual ratings as an interesting open question for future work.

  • Adler et al. (2024a) B. Adler, N. Agarwal, A. Aithal, D. H. Anh, P. Bhattacharya, A. Brundyn, J. Casper, B. Catanzaro, S. Clay, J. Cohen, et al. Nemotron-4 340b technical report. arXiv preprint arXiv:2406.11704. Cited by: Appendix A, §F.3, §1, §5, §6.
  • Adler et al. (2024b) B. Adler, N. Agarwal, A. Aithal, D. H. Anh, P. Bhattacharya, A. Brundyn, J. Casper, B. Catanzaro, S. Clay, J. Cohen, et al. Nemotron-4 340B technical report. arXiv preprint arXiv:2406.11704. Cited by: §1.
  • Allal et al. (2025) L. B. Allal, A. Lozhkov, E. Bakouch, G. M. Blázquez, G. Penedo, L. Tunstall, A. Marafioti, H. Kydlíček, A. P. Lajarín, V. Srivastav, J. Lochner, C. Fahlgren, X. Nguyen, C. Fourrier, B. Burtenshaw, H. Larcher, H. Zhao, C. Zakka, M. Morlon, C. Raffel, L. von Werra, and T. Wolf SmolLM2: when smol goes big – data-centric training of a small language model. External Links: 2502.02737, Link Cited by: §6.
  • Azar et al. (2024) M. G. Azar, Z. D. Guo, B. Piot, R. Munos, M. Rowland, M. Valko, and D. Calandriello A general theoretical paradigm to understand learning from human preferences. In International Conference on Artificial Intelligence and Statistics, pp. 4447–4455. Cited by: §1, §2, §3.1, §5.
  • Azar et al. (2017) M. G. Azar, I. Osband, and R. Munos Minimax regret bounds for reinforcement learning. In International conference on machine learning, pp. 263–272. Cited by: Appendix A.
  • Bradley and Terry (1952) R. A. Bradley and M. E. Terry Rank analysis of incomplete block designs: the method of paired comparisons. Biometrika 39 (3/4), pp. 324–345. Cited by: §2.
  • Cai et al. (2023) T. Cai, X. Song, J. Jiang, F. Teng, J. Gu, and G. Zhang Ulma: unified language model alignment with human demonstration and point-wise preference. arXiv preprint arXiv:2312.02554. Cited by: Appendix A.
  • Cen et al. (2024) S. Cen, J. Mei, K. Goshvadi, H. Dai, T. Yang, S. Yang, D. Schuurmans, Y. Chi, and B. Dai Value-incentivized preference optimization: a unified approach to online and offline rlhf. arXiv preprint arXiv:2405.19320. Cited by: Appendix A.
  • Chang et al. (2024) J. D. Chang, W. Zhan, O. Oertell, K. Brantley, D. Misra, J. D. Lee, and W. Sun Dataset reset policy optimization for rlhf. arXiv preprint arXiv:2404.08495. Cited by: Appendix A.
  • Chen et al. (2024) H. Chen, G. He, L. Yuan, G. Cui, H. Su, and J. Zhu Noise contrastive alignment of language models with explicit rewards. Advances in Neural Information Processing Systems 37, pp. 117784–117812. Cited by: Appendix A.
  • Chen et al. (2025) M. Chen, Y. Chen, W. Sun, and X. Zhang Avoiding O(eR_max⁡)\mathcal{O}(e^{R\_{\max}}) scaling in rlhf through preference-based exploration. arXiv preprint arXiv:2502.00666. Cited by: §4.2.
  • Christiano et al. (2017) P. F. Christiano, J. Leike, T. Brown, M. Martic, S. Legg, and D. Amodei Deep reinforcement learning from human preferences. Advances in neural information processing systems 30. Cited by: §1.
  • Clavier et al. (2024) P. Clavier, L. Shi, E. Le Pennec, E. Mazumdar, A. Wierman, and M. Geist Near-optimal distributionally robust reinforcement learning with general LpL\\_p norms. Advances in Neural Information Processing Systems 37, pp. 1750–1810. Cited by: Appendix A.
  • Cui et al. (2023) G. Cui, L. Yuan, N. Ding, G. Yao, W. Zhu, Y. Ni, G. Xie, Z. Liu, and M. Sun UltraFeedback: boosting language models with high-quality feedback. External Links: 2310.01377 Cited by: §4.
  • Das et al. (2024) N. Das, S. Chakraborty, A. Pacchiano, and S. R. Chowdhury Active preference optimization for sample efficient rlhf. arXiv preprint arXiv:2402.10500. Cited by: §4.2.
  • D’Oosterlinck et al. (2024) K. D’Oosterlinck, W. Xu, C. Develder, T. Demeester, A. Singh, C. Potts, D. Kiela, and S. Mehri Anchored preference optimization and contrastive revisions: addressing underspecification in alignment. arXiv preprint arXiv:2408.06266. Cited by: §1.
  • Fisch et al. (2024) A. Fisch, J. Eisenstein, V. Zayats, A. Agarwal, A. Beirami, C. Nagpal, P. Shaw, and J. Berant Robust preference optimization through reward model distillation. arXiv preprint arXiv:2405.19316. Cited by: Appendix A, §1, §1, §3.1, §4.2, §5, §6.
  • Foster and Rakhlin (2023) D. J. Foster and A. Rakhlin Foundations of reinforcement learning and interactive decision making. arXiv preprint arXiv:2312.16730. Cited by: §C.2, Appendix E.
  • Gao et al. (2024a) Z. Gao, J. Chang, W. Zhan, O. Oertell, G. Swamy, K. Brantley, T. Joachims, D. Bagnell, J. D. Lee, and W. Sun Rebel: reinforcement learning via regressing relative rewards. Advances in Neural Information Processing Systems 37, pp. 52354–52400. Cited by: Appendix A.
  • Gao et al. (2024b) Z. Gao, W. Zhan, J. D. Chang, G. Swamy, K. Brantley, J. D. Lee, and W. Sun Regressing the relative future: efficient policy optimization for multi-turn rlhf. arXiv preprint arXiv:2410.04612. Cited by: Appendix A.
  • Gupta et al. (2024a) T. Gupta, R. Madhavan, X. Zhang, C. Bansal, and S. Rajmohan Multi-preference optimization: generalizing dpo via set-level contrasts. arXiv preprint arXiv:2412.04628. Cited by: Appendix A.
  • Gupta et al. (2024b) T. Gupta, R. Madhavan, X. Zhang, C. Bansal, and S. Rajmohan REFA: reference free alignment for multi-preference optimization. arXiv preprint arXiv:2412.16378. Cited by: Appendix A.
  • Gupta et al. (2025) T. Gupta, R. Madhavan, X. Zhang, C. Bansal, and S. Rajmohan AMPO: active multi preference optimization for self-play preference selection. In Forty-second International Conference on Machine Learning, Cited by: Appendix A.
  • Huang et al. (2024) A. Huang, W. Zhan, T. Xie, J. D. Lee, W. Sun, A. Krishnamurthy, and D. J. Foster Correcting the mythos of kl-regularization: direct alignment without overoptimization via chi-squared preference optimization. arXiv preprint arXiv:2407.13399. Cited by: Appendix A, §B.1, Lemma E.3, Appendix E, §4.1.
  • Iyengar (2005) G. N. Iyengar Robust dynamic programming. Mathematics of Operations Research 30 (2), pp. 257–280. Cited by: Appendix A.
  • Kumar et al. (2025) N. Kumar, A. Gupta, M. M. Elfatihi, G. Ramponi, K. Y. Levy, and S. Mannor Dual formulation for non-rectangular lp robust markov decision processes. arXiv preprint arXiv:2502.09432. Cited by: Appendix A.
  • Lan et al. (2025) G. Lan, S. Zhang, T. Wang, Y. Zhang, D. Zhang, X. Wei, X. Pan, H. Zhang, D. Han, and C. G. Brinton MaPPO: maximum a posteriori preference optimization with prior knowledge. arXiv preprint arXiv:2507.21183. Cited by: Appendix A, §1, §5, §6.
  • Li et al. (2023a) M. Li, D. Kuhn, and T. Sutter Policy gradient algorithms for robust mdps with non-rectangular uncertainty sets. arXiv preprint arXiv:2305.19004. Cited by: Appendix A.
  • Li et al. (2024) T. Li, W. Chiang, E. Frick, L. Dunlap, T. Wu, B. Zhu, J. E. Gonzalez, and I. Stoica From crowdsourced data to high-quality benchmarks: arena-hard and benchbuilder pipeline. arXiv preprint arXiv:2406.11939. Cited by: §1.
  • Li et al. (2023b) X. Li, T. Zhang, Y. Dubois, R. Taori, I. Gulrajani, C. Guestrin, P. Liang, and T. B. Hashimoto AlpacaEval: an automatic evaluator of instruction-following models. GitHub. Note: https://github.com/tatsu-lab/alpaca_eval Cited by: §1.
  • Li et al. (2023c) Z. Li, Z. Yang, and M. Wang Reinforcement learning with human feedback: learning dynamic choices via pessimism. arXiv preprint arXiv:2305.18438. Cited by: Appendix A.
  • Liu et al. (2024) Z. Liu, M. Lu, S. Zhang, B. Liu, H. Guo, Y. Yang, J. Blanchet, and Z. Wang Provably mitigating overoptimization in rlhf: your sft loss is implicitly an adversarial regularizer. arXiv preprint arXiv:2405.16436. Cited by: Appendix A.
  • Luce (2012) R. D. Luce Individual choice behavior: a theoretical analysis. Courier Corporation. Cited by: footnote 4.
  • Meng et al. (2024) Y. Meng, M. Xia, and D. Chen Simpo: simple preference optimization with a reference-free reward. Advances in Neural Information Processing Systems 37, pp. 124198–124235. Cited by: Appendix A, Appendix A, §1, §5.
  • Pal et al. (2024) A. Pal, D. Karkhanis, S. Dooley, M. Roberts, S. Naidu, and C. White Smaug: fixing failure modes of preference optimisation with DPO-positive. arXiv preprint arXiv:2402.13228. Cited by: §1.
  • Pang et al. (2024) R. Y. Pang, W. Yuan, H. He, K. Cho, S. Sukhbaatar, and J. Weston Iterative reasoning preference optimization. Advances in Neural Information Processing Systems 37, pp. 116617–116637. Cited by: Appendix A.
  • Plackett (1975) R. L. Plackett Maximum-likelihood inverse reinforcement learning with finite-time guarantees. Journal of the Royal Statistical Society Series C (Applied Statistics) 24 (2), pp. 193–202. Cited by: footnote 4.
  • Rafailov et al. (2023) R. Rafailov, A. Sharma, E. Mitchell, C. D. Manning, S. Ermon, and C. Finn Direct preference optimization: your language model is secretly a reward model. Advances in Neural Information Processing Systems 36, pp. 53728–53741. Cited by: §1, §2, §5.
  • Razin et al. (2025) N. Razin, S. Malladi, A. Bhaskar, D. Chen, S. Arora, and B. Hanin Unintentional unalignment: likelihood displacement in direct preference optimization. In International Conference on Learning Representations, Cited by: §1.
  • Shen et al. (2024) Y. Shen, X. Wang, Y. Niu, Y. Zhou, L. Tang, L. Zhang, F. Chen, and L. Wen AIPO: improving training objective for iterative preference optimization. arXiv preprint arXiv:2409.08845. Cited by: §1.
  • Song et al. (2024) Y. Song, J. A. Bagnell, and A. Singh Hybrid reinforcement learning from offline observation alone. arXiv preprint arXiv:2406.07253. Cited by: Appendix A.
  • Sun et al. (2025) S. Sun, Y. Zhang, A. Bukharin, D. Mosallanezhad, J. Zeng, S. Singhal, G. Shen, A. Renduchintala, T. Konuk, Y. Dong, et al. Reward-aware preference optimization: a unified mathematical framework for model alignment. arXiv preprint arXiv:2502.00203. Cited by: Appendix A.
  • Touvron et al. (2023) H. Touvron, L. Martin, K. Stone, P. Albert, A. Almahairi, Y. Babaei, N. Bashlykov, S. Batra, P. Bhargava, S. Bhosale, et al. Llama 2: open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288. Cited by: Appendix A.
  • Viano et al. (2022) L. Viano, Y. Huang, P. Kamalaruban, C. Innes, S. Ramamoorthy, and A. Weller Robust learning from observation with model misspecification. arXiv preprint arXiv:2202.06003. Cited by: Appendix A.
  • Viano et al. (2021) L. Viano, Y. Huang, P. Kamalaruban, A. Weller, and V. Cevher Robust inverse reinforcement learning under transition dynamics mismatch. Advances in Neural Information Processing Systems 34, pp. 25917–25931. Cited by: Appendix A.
  • Wang et al. (2023) C. Wang, Y. Jiang, C. Yang, H. Liu, and Y. Chen Beyond reverse kl: generalizing direct preference optimization with diverse divergence constraints. arXiv preprint arXiv:2309.16240. Cited by: §B.1.
  • Wiesemann et al. (2013) W. Wiesemann, D. Kuhn, and B. Rustem Robust markov decision processes. Mathematics of Operations Research 38 (1), pp. 153–183. Cited by: Appendix A.
  • Wu et al. (2024) Y. Wu, Z. Sun, H. Yuan, K. Ji, Y. Yang, and Q. Gu Self-play preference optimization for language model alignment, 2024b. arXiv preprint arXiv:2405.00675. Cited by: §1.
  • Xiao et al. (2024) T. Xiao, Y. Yuan, H. Zhu, M. Li, and V. G. Honavar Cal-DPO: calibrated direct preference optimization for language model alignment. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, Cited by: §1.
  • Xu et al. (2024a) J. Xu, Z. Li, W. Chen, Q. Wang, X. Gao, Q. Cai, and Z. Ling On-device language models: a comprehensive review. arXiv preprint arXiv:2409.00088. Cited by: §F.3.
  • Xu et al. (2024b) S. Xu, W. Fu, J. Gao, W. Ye, W. Liu, Z. Mei, G. Wang, C. Yu, and Y. Wu Is DPO superior to PPO for LLM alignment? a comprehensive study. arXiv preprint arXiv:2404.10719. Cited by: §1.
  • Zhan et al. (2023) W. Zhan, M. Uehara, N. Kallus, J. D. Lee, and W. Sun Provable offline preference-based reinforcement learning. arXiv preprint arXiv:2305.14816. Cited by: Appendix A.
  • Zhang et al. (2024) S. Zhang, Z. Liu, B. Liu, Y. Zhang, Y. Yang, Y. Liu, L. Chen, T. Sun, and Z. Wang Reward-augmented data enhances direct preference alignment of llms. arXiv preprint arXiv:2410.08067. Cited by: Appendix A.
  • Zhu et al. (2023) B. Zhu, M. Jordan, and J. Jiao Principled reinforcement learning with human feedback from pairwise or k-wise comparisons. In International Conference on Machine Learning, pp. 43037–43067. Cited by: Appendix A, §1.
  • Zouitine et al. (2024) A. Zouitine, M. Geist, and E. Rachelson Solving robust mdps as a sequence of static rl problems. arXiv preprint arXiv:2410.06212. Cited by: Appendix A.
Section titled “Appendix A Extended Related Works discussion”

This section outlines important related works that have been omitted from the main text due to space limitations.

The use of rating gaps has received little attention at the current stage, mainly because of the concern that the data collection becomes more complicated and inevitably noisier. However, there are some works that go against this belief and have shown practical benefit in using rating information. For example, Adler et al. [2024a] introduced RPO and used it for the post training of a large (340B) language model after an initial post-training phase that was carried out from preferences only via DPO. In their case, the ratings allowed to use a large dataset with 300K examples with a rather permissive quality filtering on the chosen response. Their conclusion is therefore that bad quality chosen ( over even worse ones ) responses do not negatively affect the performance since they are accompanied by a low rate. Albeit RPO is effective in practice, as confirmed by our implementation, it does not enjoy the performance guarantees attained by RDPO and ML-RDPO, and it is difficult to tune due to the non-smoothness of its loss function.

RPO has also been generalized in Sun et al. [2025] to show that it can be seen as a general framework capturing various existing algorithms. Remaining on the algorithmic side, ratings information has been leveraged in deriving MAPPO Lan et al. [2025], which modifies the DPO objective using the rating gap to modify the regularization parameter β\beta in front of the log ratio of the loser response. As another example, Chen et al. [2024] provides a reward-based generalization of DPO dubbed NCA (Noisy Contrastive Alignment), which ensures that the probability of the winning response does not decrease, while this can (and in fact it does, very often) happen in DPO. However, it is questionable if such behavior is always desirable. For example, our intuition is that this should not happen if the rating of the winner’s response is low. Moreover, notice that the same effect can be achieved by using an SFT term within an Online DPO scheme Pang et al. [2024]. In this work, the authors assume rating feedback in order to assign the roles of winner and loser responses in the preference datasets generated iteratively by Online DPO without the need to resort to an LLM as a judge. Finally, rating information has been used within a data augmentation technique Zhang et al. [2024] to double the size of the preference dataset available for DPO training.

Moreover, access to ratings has been used in the context of alignment from multi preferences, i.e. when multiple preferred and dispreferred responses are available in Gupta et al. [2024a], Gupta et al. [2025] which introduced MPO and W-MPO. In passing, we notice that when only one preferred response and one rejected one is available MPO and W-MPO reduce to DPO. Interestingly, if the definition of ΔW_abs\Delta W\_{\mathrm{abs}} is replaced with ΔW(y)=S(y)−S_mean(x)\Delta W(y)=S(y)-S\_{\mathrm{mean}}(x) and only two responses are available then W-MPO reduces to our Ratings DPO. In a similar vein, REFA Gupta et al. [2024b] generalizes SIMPO Meng et al. [2024] to the case of multiple preferred and discared responses. Gupta et al. [2024b] also introduced a version of REFA, dubbed W-REFA, which allows the use of rating gaps.

Several methods have focused on datasets containing only the rating gap information and developed methods to compute the soft optimal policy despite the computational hardness of the partition function. Examples are Distilled DPO Fisch et al. [2024] that studied in offline setting, the squared loss minimization suggested in Gao et al. [2024a], Gao et al. [2024b] in the context of online RLHF for single or multi-turn, respectively. A similar approach is derived in Cai et al. [2023].

Other variants of DPO with additional information

Section titled “Other variants of DPO with additional information”

Song et al. [2024] studied which kind of coverage conditions are necessary for DPO, IPO and in general purely offline alignment methods. Moreover, they relax the notion of coverage needed, resorting to online interaction with the environment but without invoking the preference oracle. This allows to conclude that even without collecting new preferences, online access to the environment is beneficial for DPO. Similarly, Chang et al. [2024] studied preference optimization from the RLHF perspective when new trajectories ( from any desired initial prompt) can be collected.

Furthermore, Liu et al. [2024] tackled the likelihood displacement problem and mitigated the issue by adding to the algorithm an imitation learning component that increases the likelihood of generating the responses observed in the dataset. Cen et al. [2024] introduced a similar regularization mechanism by changing the maximum likelihood estimation problem for the reward function. In particular, they look for the reward that maximizes the likelihood of the observed preferences and jointly makes the cumulative reward achievable by the best policy as high as possible.

Our work establishes some theoretical guarantees under single policy concentrability only. It is therefore related to the line of literature started by Zhan et al. [2023] that studied the problem of offline alignment from a statistical learning viewpoint. The approaches in Zhan et al. [2023], Zhu et al. [2023] achieve indeed a single policy concentrability guarantee style. However, their algorithm is not implementable because it involves estimating confidence sets for the reward function and the transition dynamics in the multi-turn setting. Moreover, once the confidence sets are computed, they require solving a robust MDP problem Iyengar [2005], Wiesemann et al. [2013] using the confidence sets as uncertainty sets. Although some efficient policy gradient methods Li et al. [2023a], Kumar et al. [2025], Viano et al. [2021], Viano et al. [2022] and value-based methods Zouitine et al. [2024], Clavier et al. [2024] have been developed, this approach is considered not scalable for LLMs. Alternatively, Li et al. [2023c] implements pessimism, implementing pessimistic value iteration via elementwise bonuses similar to what is done in the optimistic setting with UCBVI Azar et al. [2017]. While more elegant theoretically, this approach does not solve the scalability issue. A more practical pessimistic approach is obtained in Huang et al. [2024] via χ2\chi^{2} regularization, which also serves as a source of inspiration for our analysis.

Learning from preferences imposing a margin

Section titled “Learning from preferences imposing a margin”

Our method is also related to all variants of DPO that imposes that the implicit reward of the chosen completion is higher that the discarded completion one by at least a fixed margin. Examples are IPO that imposes the margin to be exactly 1/21/2 via the squared loss, in the training of Llama2 Touvron et al. [2023] they use three possible discrete values for the margin in the log sigmoid loss. Notice that the log sigmoid does not penalize the overestimation of the margin so it encourages the implicit reward difference to be at least as high as the margin but not to match the exact value. SimPO Meng et al. [2024] uses a fixed margin as in IPO but uses the log sigmoid loss instead of squares and neglects the effect of the reference policy in the definition of the implicit rewards. RDPO presented in this document can be seen as a generalization of the above approaches using a margin which is prompt completions dependent and takes values in a continuous set.

Appendix B Generalizations of RDPO and ML-RDPO

Section titled “Appendix B Generalizations of RDPO and ML-RDPO”

In this appendix, we present two important extensions on RDPO and ML-RDPO. First, we present a generalization that allows to change the KL regularizer to any ff-divergence. In particular, using as regularizer the sum of KL and χ2\chi^{2} divergence allows to prove statistical guarantees under single policy concentrability. Secondly, we show that we can handle disjoint datasets of rating and ranking. That is, we can apply our algorithm where the data are organized in two dataset: a classic ranking dataset D_rank={x_i,a+_i,a−_i}N_rank_i=1\mathcal{D}\_{\mathrm{rank}}=\left\{{x\_{i},a^{+}\_{i},a^{-}\_{i}}\right\}^{N\_{\mathrm{rank}}}\_{i=1} and a rating only dataset D_rat={x′_i,a~_i,aˉ_i,r^(x′_i,a~_i)−r^(x′_i,aˉ_i)}N_rat_i=1\mathcal{D}\_{\mathrm{rat}}=\left\{{x^{\prime}\_{i},\tilde{a}\_{i},\bar{a}\_{i},\hat{r}(x^{\prime}\_{i},\tilde{a}\_{i})-\hat{r}(x^{\prime}\_{i},\bar{a}\_{i})}\right\}^{N\_{\mathrm{rat}}}\_{i=1}. We show that in this setting RDPO requires the intermediate step of estimating the unobserved ratings. That is, the rating gaps over the ranking dataset which are {r^(x_i,a+_i)−r^(x_i,a−_i)}\left\{{\hat{r}(x\_{i},a^{+}\_{i})-\hat{r}(x\_{i},a^{-}\_{i})}\right\}. Surprisingly, ML-RDPO avoids such step completely making it a more attractive alternative to handle this setting. We elaborate on this in Section B.2.

B.1 Different choices for the regularizer in Eq. 1

Section titled “B.1 Different choices for the regularizer in Eq. 1”

A natural generalization of RDPO can be derived replacing the KL regularization in Eq. 8 with other possible statistical divergences. An important case, is considering regularization given by the sum of KL and χ2\chi^{2} divergence which gives the following RLHF-like problem

argmax_π∈Π⟨π,r^_BT(x,a)β+r^(x,a)β_1⟩−D_KL(π,π_ref)−D_χ2(π,π_ref)\mathop{\rm argmax}\_{\pi\in\Pi}\left\langle{\pi},{\frac{\hat{r}\_{BT}(x,a)}{\beta}+\frac{\hat{r}(x,a)}{\beta\_{1}}}\right\rangle-D\_{\mathrm{KL}}(\pi,\pi\_{\mathrm{ref}})-D\_{\chi^{2}}(\pi,\pi\_{\mathrm{ref}})(16)

where r^_BT∈argmax_r∈R_Π∑N_i=1log⁡σ(r(x_i,a_i+)−r(x_i,a_i−))\hat{r}\_{BT}\in\mathop{\rm argmax}\_{r\in\mathcal{R}\_{\Pi}}\sum^{N}\_{i=1}\log\sigma(r(x\_{i},a\_{i}^{+})-r(x\_{i},a\_{i}^{-})) is the Bradley-Terry reward estimator and the divergences (averaged w.r.t. the prompt distribution ν_0\nu\_{0}), i.e. D_KL(π,π_ref)D\_{\mathrm{KL}}(\pi,\pi\_{\mathrm{ref}}), D_χ2(π,π_ref)D\_{\chi^{2}}(\pi,\pi\_{\mathrm{ref}}), are defined as follows

$$D_{\mathrm{KL}}(\pi,\pi^{\prime})=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi(ax)\log\frac{\pi(a

and of the χ2\chi^{2}-squared divergence defined as

$$D_{\chi^{2}}(\pi,\pi^{\prime})=\frac{1}{2}\left({\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi(ax)\frac{\pi(a

It is easy to see that since 2x−1≥log⁡(x)2x-1\geq\log(x) holds for any x>0x>0, it also holds that for a fixed policy pair π,π′\pi,\pi^{\prime}, we have that D_χ2(π,π)≥D_KL(π,π′)D\_{\chi^{2}}(\pi,\pi)\geq D\_{\mathrm{KL}}(\pi,\pi^{\prime}). However, the KL term is still important to ensure that Eq. 16 admits the following closed form solution

$$\pi_{\mathrm{out}}(ax)\propto\pi_{\mathrm{ref}}(a

where we used ϕ_KL+χ2(x):=log⁡(x)+x\phi\_{\mathrm{KL}+\chi^{2}}(x):=\log(x)+x. The next Lemma shows that, when the reward class is parametrized by the policy parameters, the computation of π_out\pi\_{\mathrm{out}} can be carried out without an explicit estimation of r^_BT\hat{r}\_{BT}.

Algorithm 1 RDPO with arbitrary regularizer

1:  Input: Datasets D={(x_i,a_i,a′_i,z_i,Δi_r^)}\mathcal{D}=\left\{{(x\_{i},a\_{i},a^{\prime}\_{i},z\_{i},\Delta^{i}\_{\hat{r}})}\right\}, β′\beta^{\prime}, α\alpha, Policy class Π′\Pi^{\prime}, convex increasing function ϕ:R→R\phi:\mathbb{R}\rightarrow\mathbb{R}.

2:  Set β=β′1−α\beta=\frac{\beta^{\prime}}{1-\alpha}, β_1=β′α\beta\_{1}=\frac{\beta^{\prime}}{\alpha}.

3:  Let Δ_ϕπ/π_ref(x,a,b):=ϕ(π(a∣x)π_ref(a∣x))−ϕ(π(b∣x)π_ref(b∣x))\Delta\_{\phi\pi/\pi\_{\mathrm{ref}}}(x,a,b):=\phi\left({\frac{\pi(a|x)}{\pi\_{\mathrm{ref}}(a|x)}}\right)-\phi\left({\frac{\pi(b|x)}{\pi\_{\mathrm{ref}}(b|x)}}\right)

4:  Return: π_out∈argmin_π∈Π′∑N_i=1−log⁡σ(βΔ_ϕπ/π_ref(x_i,a_i,a′_i)−ββ_1Δi_r^)\pi\_{\mathrm{out}}\in\mathop{\rm argmin}\_{\pi\in\Pi^{\prime}}\sum^{N}\_{i=1}-\log\sigma\bigg(\beta\Delta\_{\phi\pi/\pi\_{\mathrm{ref}}}(x\_{i},a\_{i},a^{\prime}\_{i})-\frac{\beta}{\beta\_{1}}\Delta^{i}\_{\hat{r}}\bigg).

Generalization of RDPO. Let us consider an increasing invertible function ϕ:R+→R\phi:\mathbb{R}^{+}\rightarrow\mathbb{R} and, given an arbitrary policy class Π\Pi, let us define the reward class R_Π\mathcal{R}\_{\Pi} defined as

$$\mathcal{R}_{\Pi}=\left{{r:\text{s.t.}\exists\pi\in\Pi,\zeta:\mathcal{X}\rightarrow\mathbb{R}~~~~r(x,a)=\beta\phi\left({\frac{\pi(ax)}{\pi_{\mathrm{ref}}(ax)}}\right)-\frac{\beta}{\beta_{1}}\hat{r}(x,a)+\beta\zeta(x)}\right},$$

and the Bradley-Terry reward estimate r^_BT\hat{r}\_{BT} computed as

r^_BT=argmax_r∈R_Π∑N_i=1log⁡σ(r(x_i,a+_i)−r(x_i,a−_i)).\hat{r}\_{BT}=\mathop{\rm argmax}\_{r\in\mathcal{R}\_{\Pi}}\sum^{N}\_{i=1}\log\sigma(r(x\_{i},a^{+}\_{i})-r(x\_{i},a^{-}\_{i})).

Moreover, let us consider π_out\pi\_{\mathrm{out}} defined as

$$\pi_{\mathrm{out}}(ax)\propto\pi_{\mathrm{ref}}(a

Then, π_out\pi\_{\mathrm{out}} is in the solution set of the following optimization problem, which corresponds to a generalization of L_RDPO\mathcal{L}\_{RDPO}. In formulas, we have

π_out∈argmin_π∈Π∑N_i=1−log⁡σ(βΔi_ϕπ/π_ref−ββ_1Δi_r^),\pi\_{\mathrm{out}}\in\mathop{\rm argmin}\_{\pi\in\Pi}\sum^{N}\_{i=1}-\log\sigma\left({\beta\Delta^{i}\_{\phi\pi/\pi\_{\mathrm{ref}}}-\frac{\beta}{\beta\_{1}}\Delta^{i}\_{\hat{r}}}\right),(18)

where Δ_ϕπ/π_refi=Δ_ϕπ/π_ref(x_i,a_i,a′_i)=ϕ(π(a_i∣x_i)π_ref(a_i∣x_i))−ϕ(π(a′_i∣x_i)π_ref(a′_i∣x_i))\Delta\_{\phi\pi/\pi\_{\mathrm{ref}}}^{i}=\Delta\_{\phi\pi/\pi\_{\mathrm{ref}}}(x\_{i},a\_{i},a^{\prime}\_{i})=\phi\left({\frac{\pi(a\_{i}|x\_{i})}{\pi\_{\mathrm{ref}}(a\_{i}|x\_{i})}}\right)-\phi\left({\frac{\pi(a^{\prime}\_{i}|x\_{i})}{\pi\_{\mathrm{ref}}(a^{\prime}\_{i}|x\_{i})}}\right).

For ϕ(x)=log⁡(x)\phi(x)=\log(x), we recover the original DPO loss. For ϕ(x)=ϕ_KL+χ2(x):=x+log⁡(x)\phi(x)=\phi\_{\mathrm{KL}+\chi^{2}}(x):=x+\log(x) we obtain an RDPO version with an additional χ2\chi^{2} regularization term, which has been shown useful in Huang et al. [2024] to recover better theoretical results. Moreover, this generalization allows for rating gaps informed versions of ff-DPO Wang et al. [2023].

Let us consider the log likelihood maximization of the ranking under the Bradley-Terry model ( see Eq. 2) and let us choose as reward class R\mathcal{R} the following class

$$\mathcal{R}_{\Pi}=\left{{r:\text{s.t.}\exists\pi\in\Pi,\zeta:\mathcal{X}\rightarrow\mathbb{R}~~~~r(x,a)=\beta\phi\left({\frac{\pi(ax)}{\pi_{\mathrm{ref}}(a

We can perform a change of variable to obtain the following equality,

min⁡_r∈R_Π∑N_i=1−log⁡σ(r(x_i,a+_i)−r(x_i,a−_i))\displaystyle\min\_{r\in\mathcal{R}\_{\Pi}}\sum^{N}\_{i=1}-\log\sigma\left({r(x\_{i},a^{+}\_{i})-r(x\_{i},a^{-}\_{i})}\right)
------------
$\displaystyle=\min_{\pi\in\Pi}-\sum^{N}_{i=1}\log\sigma\bigg(\beta\phi\left({\frac{\pi(a^{+}_{i}x_{i})}{\pi_{\mathrm{ref}}(a^{+}_{i}
------------
−βζ(x)+βζ(x))\displaystyle\quad\quad\quad\quad\quad\quad-\beta\zeta(x)+\beta\zeta(x)\bigg)
------------
$\displaystyle=\min_{\pi\in\Pi}\sum^{N}_{i=1}-\log\sigma\left({\beta\phi\left({\frac{\pi(a^{+}_{i}x_{i})}{\pi_{\mathrm{ref}}(a^{+}_{i}
------------
=min⁡_π∈Π∑N_i=1−log⁡σ(βΔi_ϕπ/π_ref−ββ_1Δi_r^),\displaystyle=\min\_{\pi\in\Pi}\sum^{N}\_{i=1}-\log\sigma\left({\beta\Delta^{i}\_{\phi\pi/\pi\_{\mathrm{ref}}}-\frac{\beta}{\beta\_{1}}\Delta^{i}\_{\hat{r}}}\right),

which is the loss we report in Algorithm 1. ∎

Moreover, we have the following generalization of ML-RDPO.

Using the reward class R_Π\mathcal{R}\_{\Pi} for a general ϕ\phi given in Equation 17 as constraint for the following optimization problem r~=argmax_r∈R_Πlog⁡Prat,rank_r(D)\tilde{r}=\mathop{\rm argmax}\_{r\in\mathcal{R}\_{\Pi}}\log P^{\mathrm{rat,rank}}\_{r}(\mathcal{D}) and using the conditional independence assumption and Gaussianity of the ratings gap as in the ML-RDPO derivation, as done in the proof of Lemma 3.1, we arrive at the following minimization problem to compute the output policy,

π_out∈argmin_π∈Π∑N_i=1−log⁡σ(Δi_ϕπ/π_ref)+(2V)−1(Δi_r^−Δi_ϕπ/π_ref)2.\displaystyle\pi\_{\mathrm{out}}\in\mathop{\rm argmin}\_{\pi\in\Pi}\sum^{N}\_{i=1}-\log\sigma(\Delta^{i}\_{\phi\pi/\pi\_{\mathrm{ref}}})+(2\mathbb{V})^{-1}\left({\Delta^{i}\_{\hat{r}}-\Delta^{i}\_{\phi\pi/\pi\_{\mathrm{ref}}}}\right)^{2}.(19)

Again, the only difference is that Δi_ϕπ/π_ref\Delta^{i}\_{\phi\pi/\pi\_{\mathrm{ref}}} replaces the log gaps Δi_log⁡π/π_ref\Delta^{i}\_{\log\pi/\pi\_{\mathrm{ref}}}.

B.2 Extension to heterogeneous datasets and missing ratings

Section titled “B.2 Extension to heterogeneous datasets and missing ratings”

In this section, we explain how RDPO and ML-RDPO can be extended to the case where the rating and ranking datasets are only partly overlapping or even disjoint. As previously mentioned, we denote the ranking dataset as D_rank={x_i,a+_i,a−_i}N_rank_i=1\mathcal{D}\_{\mathrm{rank}}=\left\{{x\_{i},a^{+}\_{i},a^{-}\_{i}}\right\}^{N\_{\mathrm{rank}}}\_{i=1} and the rating only dataset D_rat={x′_i,a~_i,aˉ_i,r^(x′_i,a~_i)−r^(x′_i,aˉ_i)}N_rat_i=1\mathcal{D}\_{\mathrm{rat}}=\left\{{x^{\prime}\_{i},\tilde{a}\_{i},\bar{a}\_{i},\hat{r}(x^{\prime}\_{i},\tilde{a}\_{i})-\hat{r}(x^{\prime}\_{i},\bar{a}\_{i})}\right\}^{N\_{\mathrm{rat}}}\_{i=1}. An important special case is represented by the setting where the ranking is available for all data pairs in the data set, but the rating is present only on a portion of it. Such a situation is quite likely to happen since rating gaps are more costly to obtain.

In order to apply RDPO to this setting we need to maintain a rating estimator r^_rat\hat{r}\_{\mathrm{rat}} computed via least square regression using the available observations {r^(x′_i,a~_i)−r^(x′_i,aˉ_i)}N_rat_i=1\left\{{\hat{r}(x^{\prime}\_{i},\tilde{a}\_{i})-\hat{r}(x^{\prime}\_{i},\bar{a}\_{i})}\right\}^{N\_{\mathrm{rat}}}\_{i=1} as regression targets. In particular, as a first step, we compute,

r^_rat=argmin_r∈R∑N_rat_i=1(r(x′_i,a~_i)−r(x′_i,aˉ_i)−r^(x′_i,a~_i)+r^(x′_i,aˉ_i))2\hat{r}\_{\mathrm{rat}}=\mathop{\rm argmin}\_{r\in\mathcal{R}}\sum^{N\_{\mathrm{rat}}}\_{i=1}(r(x^{\prime}\_{i},\tilde{a}\_{i})-r(x^{\prime}\_{i},\bar{a}\_{i})-\hat{r}(x^{\prime}\_{i},\tilde{a}\_{i})+\hat{r}(x^{\prime}\_{i},\bar{a}\_{i}))^{2}

At this point, we can use RDPO to evaluate the reward model on the ranking dataset. This gives Algorithm 2.

Algorithm 2 RDPO for heterogeneous data

1:  Inputs:

  • •

    ϕ(x)=γx+log⁡(x)\phi(x)=\gamma x+\log(x), β\beta, α\alpha.

  • •

    Policy class Π′\Pi^{\prime} such that π∈Π′\pi\in\Pi^{\prime} implies ∣βΔ_ϕπ/π_ref−β/β_1⋅Δ_r^_rat∣≤R_max⁡−R_min⁡\left|{\beta\Delta\_{\phi\pi/\pi\_{\mathrm{ref}}}-\beta/\beta\_{1}\cdot\Delta\_{\hat{r}\_{\mathrm{rat}}}}\right|\leq R\_{\max}-R\_{\min},

  • •

    Datasets:

    • –

      D_rank={x_i,a+_i,a−_i}N_rank_i=1\mathcal{D}\_{\mathrm{rank}}=\left\{{x\_{i},a^{+}\_{i},a^{-}\_{i}}\right\}^{N\_{\mathrm{rank}}}\_{i=1}

    • –

      D_rat={x′_i,a~_i,aˉ_i,r^(x′_i,a~_i)−r^(x′_i,aˉ_i)}N_rat_i=1\mathcal{D}\_{\mathrm{rat}}=\left\{{x^{\prime}\_{i},\tilde{a}\_{i},\bar{a}\_{i},\hat{r}(x^{\prime}\_{i},\tilde{a}\_{i})-\hat{r}(x^{\prime}\_{i},\bar{a}\_{i})}\right\}^{N\_{\mathrm{rat}}}\_{i=1}

2:  Set β′=β(1−α)\beta^{\prime}=\beta(1-\alpha) and β_1=β′α\beta\_{1}=\frac{\beta^{\prime}}{\alpha}.

3:  Let us denote

  • •

    Δ_ϕπ/π_ref(x,a,b)=βϕ(π(a∣x)π_ref(a∣x))−βϕ(π(b∣x)π_ref(b∣x))\Delta\_{\phi\pi/\pi\_{\mathrm{ref}}}(x,a,b)=\beta\phi\left({\frac{\pi(a|x)}{\pi\_{\mathrm{ref}}(a|x)}}\right)-\beta\phi\left({\frac{\pi(b|x)}{\pi\_{\mathrm{ref}}(b|x)}}\right)

  • •

    Δi_ϕπ/π_ref=Δ_ϕπ/π_ref(x_i,a+_i,a−_i)\Delta^{i}\_{\phi\pi/\pi\_{\mathrm{ref}}}=\Delta\_{\phi\pi/\pi\_{\mathrm{ref}}}(x\_{i},a^{+}\_{i},a^{-}\_{i})

4:  Compute the reward estimator based on ratings

r^_rat=argmin_r∈R∑N_rat_i=1(r(x′_i,a~_i)−r(x′_i,aˉ_i)−r^(x′_i,a~_i)+r^(x′_i,aˉ_i))2\hat{r}\_{\mathrm{rat}}=\mathop{\rm argmin}\_{r\in\mathcal{R}}\sum^{N\_{\mathrm{rat}}}\_{i=1}(r(x^{\prime}\_{i},\tilde{a}\_{i})-r(x^{\prime}\_{i},\bar{a}\_{i})-\hat{r}(x^{\prime}\_{i},\tilde{a}\_{i})+\hat{r}(x^{\prime}\_{i},\bar{a}\_{i}))^{2}

5:  Set Δi_r^_rat=r^_rat(x_i,a+_i)−r^_rat(x_i,a−_i)\Delta^{i}\_{\hat{r}\_{\mathrm{rat}}}=\hat{r}\_{\mathrm{rat}}(x\_{i},a^{+}\_{i})-\hat{r}\_{\mathrm{rat}}(x\_{i},a^{-}\_{i}) for all i∈[N_rank]i\in[N\_{\mathrm{rank}}]

6:  Return: π_out\pi\_{\mathrm{out}} such that π_out∈argmax_π∈Π′∑N_rank_i=1log⁡σ(βΔi_ϕπ/π_ref−ββ_1Δi_r^_rat)\pi\_{\mathrm{out}}\in\mathop{\rm argmax}\_{\pi\in\Pi^{\prime}}\sum^{N\_{\mathrm{rank}}}\_{i=1}\log\sigma\bigg(\beta\Delta^{i}\_{\phi\pi/\pi\_{\mathrm{ref}}}-\frac{\beta}{\beta\_{1}}\Delta^{i}\_{\hat{r}\_{\mathrm{rat}}}\bigg).

ML-RDPO is particularly convenient in the heterogeneous case because it avoids the least square regression problem for computing r^_rat\hat{r}\_{\mathrm{rat}}. For this derivation, we assume that the datasets D_rank\mathcal{D}\_{\mathrm{rank}} and D_rat\mathcal{D}\_{\mathrm{rat}} are independent. Therefore Prat,rank_r(D_rat,D_rank)=Prat_r(D_rat)Prank_r(D_rank)P^{\mathrm{rat,rank}}\_{r}(\mathcal{D}\_{\mathrm{rat}},\mathcal{D}\_{\mathrm{rank}})=P^{\mathrm{rat}}\_{r}(\mathcal{D}\_{\mathrm{rat}})P^{\mathrm{rank}}\_{r}(\mathcal{D}\_{\mathrm{rank}}). Under this condition, we can rewrite the joint maximum likelihood problem as follows for any reward class R\mathcal{R}

r~\displaystyle\tilde{r}=argmax_r∈Rlog⁡(Prank_r(D_rank)Prat_r(D_rat))\displaystyle=\mathop{\rm argmax}\_{r\in\mathcal{R}}\log\left({P^{\mathrm{rank}}\_{r}(\mathcal{D}\_{\mathrm{rank}})P^{\mathrm{rat}}\_{r}(\mathcal{D}\_{\mathrm{rat}})}\right)
------------
=argmax_r∈Rlog⁡(Prank_r({x_i,a_i+,a_i−}N_rank_i=1)Prat_r({x′_i,a~_i,aˉ_i,Δi_r^}N_rat_i=1))\displaystyle=\mathop{\rm argmax}\_{r\in\mathcal{R}}\log\left({P^{\mathrm{rank}}\_{r}\left({\left\{{x\_{i},a\_{i}^{+},a\_{i}^{-}}\right\}^{N\_{\mathrm{rank}}}\_{i=1}}\right)P^{\mathrm{rat}}\_{r}\left({\left\{{x^{\prime}\_{i},\tilde{a}\_{i},\bar{a}\_{i},\Delta^{i}\_{\hat{r}}}\right\}^{N\_{\mathrm{rat}}}\_{i=1}}\right)}\right)
------------
$\displaystyle=\mathop{\rm argmax}_{r\in\mathcal{R}}\sum^{N_{\mathrm{rank}}}_{i=1}\log P^{\mathrm{rank}}_{r}\left({z_{i}x_{i},a_{i},a^{\prime}_{i}}\right)+\sum^{N_{\mathrm{rat}}}_{i=1}\log P^{\mathrm{rat}}_{r}\left({\Delta^{i}_{\hat{r}}

Now, plugging the Bradley-Terry model with reward r∈Rr\in\mathcal{R} as probability law Prank_rP^{\mathrm{rank}}\_{r} and the Gaussian density of variance V\mathbb{V} and mean Δi_r:=r(x_i′,a~_i)−r(x_i′,aˉ_i)\Delta^{i}\_{r}:=r(x\_{i}^{\prime},\tilde{a}\_{i})-r(x\_{i}^{\prime},\bar{a}\_{i}) for Prat_rP^{\mathrm{rat}}\_{r}, we obtain the following loss

argmin_r∈R∑N_rank_i=1−log⁡σ(r(x_i,a_i+)−r(x_i,a_i−))+∑N_rat_i=1(Δi_r^−r(x′_i,a~_i)+r(x′_i,aˉ_i))2.\mathop{\rm argmin}\_{r\in\mathcal{R}}\sum^{N\_{\mathrm{rank}}}\_{i=1}-\log\sigma(r(x\_{i},a\_{i}^{+})-r(x\_{i},a\_{i}^{-}))+\sum^{N\_{\mathrm{rat}}}\_{i=1}\left({\Delta^{i}\_{\hat{r}}-r(x^{\prime}\_{i},\tilde{a}\_{i})+r(x^{\prime}\_{i},\bar{a}\_{i})}\right)^{2}.

Then, choosing the reward class

$$\mathcal{R}=\left{{r~~\exists\pi\in\tilde{\Pi}\text{s.t.}~~r(x,a)=\beta\phi(\pi(a

we can perform the change of variable from rr to βϕ(π/π_ref)\beta\phi(\pi/\pi\_{\mathrm{ref}})

argmin_π∈Π~∑N_rank_i=1−log⁡σ(Δ_ϕπ/π_ref(x_i,a_i+,a_i−))+∑N_rat_i=1(Δi_r^−Δ_ϕπ/π_ref(x′_i,a~_i,aˉ_i))2\mathop{\rm argmin}\_{\pi\in\tilde{\Pi}}\sum^{N\_{\mathrm{rank}}}\_{i=1}-\log\sigma(\Delta\_{\phi\pi/\pi\_{\mathrm{ref}}}(x\_{i},a\_{i}^{+},a\_{i}^{-}))+\sum^{N\_{\mathrm{rat}}}\_{i=1}\left({\Delta^{i}\_{\hat{r}}-\Delta\_{\phi\pi/\pi\_{\mathrm{ref}}}(x^{\prime}\_{i},\tilde{a}\_{i},\bar{a}\_{i})}\right)^{2}(20)

which is the ML-RDPO loss but with the sums taken on different set of data.

This section contains the technical proofs of all the results included in the main text.

The key idea of the proof is to use the conditional independence and Gaussian assumption to rewrite the joint likelihood in a simpler, computationally attractive fashion.

r~\displaystyle\tilde{r}=argmax_r∈R∑N_i=1log⁡P(x_i,a_i,a′_i,Δi_r^,z_i)\displaystyle=\mathop{\rm argmax}\_{r\in\mathcal{R}}\sum^{N}\_{i=1}\log\mathbb{P}(x\_{i},a\_{i},a^{\prime}\_{i},\Delta^{i}\_{\hat{r}},z\_{i})
------------
$\displaystyle=\mathop{\rm argmax}_{r\in\mathcal{R}}\sum^{N}_{i=1}\log P^{\mathrm{rat,rank}}_{r}(\Delta^{i}_{\hat{r}},z_{i}x_{i},a_{i},a^{\prime}_{i})\mathbb{P}(x_{i},a_{i},a^{\prime}_{i})$
------------
$\displaystyle=\mathop{\rm argmax}_{r\in\mathcal{R}}\sum^{N}_{i=1}\log P^{\mathrm{rat,rank}}_{r}(\Delta^{i}_{\hat{r}},z_{i}x_{i},a_{i},a^{\prime}_{i})~~~~~\text{(Using conditional independence)}$
------------
$\displaystyle=\mathop{\rm argmax}_{r\in\mathcal{R}}\sum^{N}_{i=1}\log P^{\mathrm{rank}}_{r}\left({z_{i}x_{i},a_{i},a^{\prime}_{i}}\right)+\sum^{N}_{i=1}\log P^{\mathrm{rat}}_{r}\left({\Delta^{i}_{\hat{r}}

At this point, we model Prat_r(Δi_r^∣x_i,a_i,a′_i)P^{\mathrm{rat}}\_{r}(\Delta^{i}\_{\hat{r}}|x\_{i},a\_{i},a^{\prime}\_{i}) as a gaussian random variable of variance V\mathbb{V} and mean r(x_i,a_i)−r(x_i,a′_i)r(x\_{i},a\_{i})-r(x\_{i},a^{\prime}\_{i}), That is, we set Prat_r(Δi_r^∣x,a_i,a′_i)=12πVexp⁡(−(Δi_r^−Δi_r)22V)P^{\mathrm{rat}}\_{r}(\Delta^{i}\_{\hat{r}}|x,a\_{i},a^{\prime}\_{i})=\frac{1}{\sqrt{2\pi\mathbb{V}}}\exp\left({-\frac{(\Delta^{i}\_{\hat{r}}-\Delta^{i}\_{r})^{2}}{2\mathbb{V}}}\right). Then, using the assumption that Prank_rP^{\mathrm{rank}}\_{r} follows the Bradley-Terry model. All in all, we arrive at the following maximization problem

r~=argmax_r∈R∑N_i=1log⁡σ(r(x_i,a+_i)−r(x_i,a−_i))−∑N_i=1(r(x_i,a_i)−r(x_i,a′_i)−Δi_r^)22V.\tilde{r}=\mathop{\rm argmax}\_{r\in\mathcal{R}}\sum^{N}\_{i=1}\log\sigma(r(x\_{i},a^{+}\_{i})-r(x\_{i},a^{-}\_{i}))-\frac{\sum^{N}\_{i=1}\left({r(x\_{i},a\_{i})-r(x\_{i},a^{\prime}\_{i})-\Delta^{i}\_{\hat{r}}}\right)^{2}}{2\mathbb{V}}.

Moreover, noticing that no matter if a_i=a+_ia\_{i}=a^{+}\_{i} or a′_i=a+_ia^{\prime}\_{i}=a^{+}\_{i} the squared loss term does not change by symmetric around 00, we obtain that

r~=argmax_r∈R∑N_i=1log⁡σ(r(x_i,a+_i)−r(x_i,a−_i))−∑N_i=1(r(x_i,a+_i)−r(x_i,a−_i)−Δi_r^)22V.\tilde{r}=\mathop{\rm argmax}\_{r\in\mathcal{R}}\sum^{N}\_{i=1}\log\sigma(r(x\_{i},a^{+}\_{i})-r(x\_{i},a^{-}\_{i}))-\frac{\sum^{N}\_{i=1}\left({r(x\_{i},a^{+}\_{i})-r(x\_{i},a^{-}\_{i})-\Delta^{i}\_{\hat{r}}}\right)^{2}}{2\mathbb{V}}.

Replacing the definition Δi_r=r(x_i,a+_i)−r(x_i,a−_i)\Delta^{i}\_{r}=r(x\_{i},a^{+}\_{i})-r(x\_{i},a^{-}\_{i}) concludes the proof. ∎

Here, we prove our main result concerning RDPO. See 4.3

Let us introduce the notation α=(1+Err(r^)/Err_DPO(N,δ))−1\alpha=\left({1+\mathrm{Err}(\hat{r})/\mathrm{Err\_{DPO}}(N,\delta)}\right)^{-1}. Notice that under this notation, we have that the choice for β_1\beta\_{1} can be rewritten as β_1=1−ααβ\beta\_{1}=\frac{1-\alpha}{\alpha}\beta. Moreover, let us define β′=(1−α)β\beta^{\prime}=(1-\alpha)\beta and the implicit reward

$$r_{\mathrm{out}}(x,a)=\frac{\beta^{\prime}}{1-\alpha}\log\left({\frac{\pi_{\mathrm{out}}(ax)}{\pi_{\mathrm{ref}}(a

Then, by Lemma E.2, we have that π_out\pi\_{\mathrm{out}} is the solution of the following RLHF like problem

π_out=argmax_π∈Π⟨π,(1−α)r_out+αr^⟩−β′D_KL(π,π_ref)\displaystyle\pi\_{\mathrm{out}}=\mathop{\rm argmax}\_{\pi\in\Pi}\left\langle{\pi},{(1-\alpha)r\_{\mathrm{out}}+\alpha\hat{r}}\right\rangle-\beta^{\prime}D\_{\mathrm{KL}}(\pi,\pi\_{\mathrm{ref}})(21)

Then, let us define rˉ=(1−α)r_out+αr^\bar{r}=(1-\alpha)r\_{\mathrm{out}}+\alpha\hat{r} . Then, by the fact that π_out\pi\_{\mathrm{out}} is a maximizer of the problem in (21), we obtain that

⟨π⋆,rˉ⟩−β′D_KL(π⋆,π_ref)≤⟨π_out,rˉ⟩−β′D_KL(π_out,π_ref)\left\langle{\pi^{\star}},{\bar{r}}\right\rangle-\beta^{\prime}D\_{\mathrm{KL}}(\pi^{\star},\pi\_{\mathrm{ref}})\leq\left\langle{\pi\_{\mathrm{out}}},{\bar{r}}\right\rangle-\beta^{\prime}D\_{\mathrm{KL}}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})

Therefore, we notice that

⟨π⋆−π_out,r⋆⟩\displaystyle\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{r^{\star}}\right\rangle=⟨π⋆−π_out,rˉ⟩+⟨π⋆−π_out,r⋆−rˉ⟩\displaystyle=\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{\bar{r}}\right\rangle+\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{r^{\star}-\bar{r}}\right\rangle
------------
≤β′D_KL(π⋆,π_ref)−β′D_KL(π_out,π_ref)+⟨π⋆−π_out,r⋆−rˉ⟩.\displaystyle\leq\beta^{\prime}D\_{\mathrm{KL}}(\pi^{\star},\pi\_{\mathrm{ref}})-\beta^{\prime}D\_{\mathrm{KL}}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})+\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{r^{\star}-\bar{r}}\right\rangle.

Rearranging implies that

J_β′(π⋆;r⋆)\displaystyle J\_{\beta^{\prime}}(\pi^{\star};r^{\star})−J_β′(π_out;r⋆)≤⟨π⋆−π_out,r⋆−rˉ⟩\displaystyle-J\_{\beta^{\prime}}(\pi\_{\mathrm{out}};r^{\star})\leq\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{r^{\star}-\bar{r}}\right\rangle
------------
$\displaystyle=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\sum_{b\in\mathcal{A}}(\pi^{\star}(ax)-\pi_{\mathrm{out}}(a

Then, notice that for any policy π\pi we can perform the following change of measure where f(x,a)f(x,a) stands for ∑_b∈Aπ_data(b∣x)(r⋆(x,a)−rˉ(x,a)−r⋆(x,b)+rˉ(x,b))\sum\_{b\in\mathcal{A}}\pi\_{\mathrm{data}}(b|x)\left({r^{\star}(x,a)-\bar{r}(x,a)-r^{\star}(x,b)+\bar{r}(x,b)}\right)

$\displaystyle\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi(ax)f(x,a)$$\displaystyle=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\frac{\pi(a
------------
$\displaystyle\leq\sqrt{\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\frac{\pi^{2}(ax)}{\pi_{\mathrm{data}}(a
------------
≤CπErr(rˉ)\displaystyle\leq\sqrt{C^{\pi}\mathrm{Err}(\bar{r})}
------------
≤Cmax⁡Err(rˉ),\displaystyle\leq\sqrt{C^{\max}\mathrm{Err}(\bar{r})},

where we recall that

$$\mathrm{Err}(\bar{r}):=\mathbb{E}_{!!!!!\begin{subarray}{c}x\sim\nu_{0}\ a,a^{\prime}\sim\pi_{\mathrm{data}}(\cdotX)\end{subarray}}\big[\big(\Delta_{r^{\star}}(x,a,a^{\prime})-\Delta_{\bar{r}}(x,a,a^{\prime})\big)^{2}\big].$$

Therefore, we can upper bound ⟨π⋆−π_out,r⋆−rˉ⟩≤2Cmax⁡Err(rˉ)\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{r^{\star}-\bar{r}}\right\rangle\leq 2\sqrt{C^{\max}\mathrm{Err}(\bar{r})} and therefore,

J_β′(π⋆;r⋆)−J_β′(π_out;r⋆)≤2Cmax⁡Err(rˉ)J\_{\beta^{\prime}}(\pi^{\star};r^{\star})-J\_{\beta^{\prime}}(\pi\_{\mathrm{out}};r^{\star})\leq 2\sqrt{C^{\max}\mathrm{Err}(\bar{r})}

At this point, invoking the auxiliary error decomposition proven in Lemma C.1, we have that

Err(rˉ)≤2Err_DPO(N,δ)Err(r^)Err_DPO(N,δ)+Err(r^).\mathrm{Err}(\bar{r})\leq\frac{2\mathrm{Err\_{DPO}}(N,\delta)\mathrm{Err}(\hat{r})}{\mathrm{Err\_{DPO}}(N,\delta)+\mathrm{Err}(\hat{r})}.

The proof is then concluded noticing that

β′=(1−α)β=β_1β+β_1β\beta^{\prime}=(1-\alpha)\beta=\frac{\beta\_{1}}{\beta+\beta\_{1}}\beta

where we use that the definition of α\alpha implies that 1−α=β_1β+β_11-\alpha=\frac{\beta\_{1}}{\beta+\beta\_{1}}. All in all this implies that for any policy π\pi, it holds that J_β′(π;r⋆)=J_ββ_1β+β_1(π;r⋆)J\_{\beta^{\prime}}(\pi;r^{\star})=J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi;r^{\star}). ∎

The next step towards the proof of Theorem 4.3 is to decompose the generalization error of the mixed reward rˉ\bar{r} into a contribution depending only on the ratings gap-based estimator and a second contribution depending only on the estimator learned via ranking.

Error Decomposition Let the policy class Π′\Pi^{\prime} and the errors Err_DPO(N,δ)\mathrm{Err\_{DPO}}(N,\delta) and Err(r^)\mathrm{Err}(\hat{r}) be defined as in Theorem 4.3, then choosing α=(1+Err(r^)/Err_DPO(N,δ))−1\alpha=\left({1+\mathrm{Err}(\hat{r})/\mathrm{Err\_{DPO}}(N,\delta)}\right)^{-1} it holds that

Err(rˉ)≤2(Err_DPO−1(N,δ)+Err−1(r^))−1≤2min⁡{Err_DPO(N,δ),Err(r^)}\mathrm{Err}(\bar{r})\leq 2\left({\mathrm{Err\_{DPO}}^{-1}(N,\delta)+\mathrm{Err}^{-1}(\hat{r})}\right)^{-1}\leq 2\min\left\{{\mathrm{Err\_{DPO}}(N,\delta),\mathrm{Err}(\hat{r})}\right\}

Let us start replacing the definition of rˉ\bar{r} in the definition of Err(rˉ)\mathrm{Err}(\bar{r}). We obtain,

Err(rˉ)\displaystyle\mathrm{Err}(\bar{r})$\displaystyle=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b
------------
$\displaystyle=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b

where ϕ(x)\phi(x) is defined as in Algorithm 1, i.e. ϕ(x)=log⁡(x)\phi(x)=\log(x) when no χ2\chi^{2} regularization is used and ϕ(x)=log⁡(x)+x\phi(x)=\log(x)+x otherwise. At this point, we use the following decompositions

Δ_(1−α)r_out+αr^(x,a,b)\displaystyle\Delta\_{(1-\alpha)r\_{\mathrm{out}}+\alpha\hat{r}}(x,a,b)=(1−α)(r_out(x,a)−r_out(x,b))+α(r^(x,a)−r^(x,b))\displaystyle=(1-\alpha)(r\_{\mathrm{out}}(x,a)-r\_{\mathrm{out}}(x,b))+\alpha(\hat{r}(x,a)-\hat{r}(x,b))
------------
=(1−α)Δ_r_out(x,a,b)+αΔ_r^(x,a,b)\displaystyle=(1-\alpha)\Delta\_{r\_{\mathrm{out}}}(x,a,b)+\alpha\Delta\_{\hat{r}}(x,a,b)

Equipped of this fact and rewriting Δ_r⋆(x,a,b)=(1−α)Δ_r⋆(x,a,b)+αΔ_r⋆(x,a,b)\Delta\_{r^{\star}}(x,a,b)=(1-\alpha)\Delta\_{r^{\star}}(x,a,b)+\alpha\Delta\_{r^{\star}}(x,a,b), we have,

Err(rˉ)\displaystyle\mathrm{Err}(\bar{r})$\displaystyle=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b
------------
=+α(Δ_r⋆(x,a,b)−Δ_r^(x,a,b)))2\displaystyle\phantom{=}+\alpha(\Delta\_{r^{\star}}(x,a,b)-\Delta\_{\hat{r}}(x,a,b))\bigg)^{2}
------------
$\displaystyle\leq 2(1-\alpha)^{2}\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b
------------
$\displaystyle\phantom{=}+2\alpha^{2}\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b

where the inequality follows from Young’s inequality. The second term is by definition equal to Err(r^)\mathrm{Err}(\hat{r}). For the first term, we notice that we can rewrite the optimization problem in (2) as a log likelihood maximization problem over reward variables

r_out=argmax_r∈R_Π′∑N_i=1log⁡σ(r(x_i,a_i+)−r(x_i,a_i−))r\_{\mathrm{out}}=\mathop{\rm argmax}\_{r\in\mathcal{R}\_{\Pi^{\prime}}}\sum^{N}\_{i=1}\log\sigma\left({r(x\_{i},a\_{i}^{+})-r(x\_{i},a\_{i}^{-})}\right)

for the reward class R_Π′={r∣∃π∈Π′   such that   r(x,a)=11−α(β′ϕ(π(a∣x)π_ref(a∣x))−αr^(x,a))}\mathcal{R}\_{\Pi^{\prime}}=\left\{{r|\exists\pi\in\Pi^{\prime}~~~\text{such that}~~~r(x,a)=\frac{1}{1-\alpha}\left({\beta^{\prime}\phi\left({\frac{\pi(a|x)}{\pi\_{\mathrm{ref}}(a|x)}}\right)-\alpha\hat{r}(x,a)}\right)}\right\}. Here, the reward class depends on r^\hat{r}, which could be dependent on the dataset D\mathcal{D}. This invalidates the classic MLE results (see e.g. Foster and Rakhlin [2023, Proposition 1]) if the dataset of rankings is correlated with the dataset of ratings. Notice that this is indeed the case if ratings and rankings come from the same source as for example in ultrafeedback-binarized dataset. However, we know that r^∈R\hat{r}\in\mathcal{R} by definition. Therefore, let us handle dependent data with a covering number. In particular, let us fix r~∈R\tilde{r}\in\mathcal{R} such that the policy induced reward class R_r~\mathcal{R}\_{\tilde{r}} defined as

$$\mathcal{R}_{\tilde{r}}=\left{{r\exists\pi\in\Pi^{\prime}_{\tilde{r}}~~~\text{such that}~~~r(x,a)=\frac{1}{1-\alpha}\left({\beta^{\prime}\phi\left({\frac{\pi(ax)}{\pi_{\mathrm{ref}}(a

with Π′_r~\Pi^{\prime}\_{\tilde{r}} being the analog of Π′\Pi^{\prime} where the fixed reward r~\tilde{r} replaces r^\hat{r}. That is,

$\displaystyle\Pi^{\prime}_{\tilde{r}}=\bigg{\pi\in\Pi:\text{s.t.}\forall x,a,b\left{\beta^{\prime}\Delta_{\phi\pi/\pi_{\mathrm{ref}}}(x,a,b)-\alpha\Delta_{\tilde{r}}(x,a,b)}\right

where Δ_r~(x,a,b)=r~(x,a)−r~(x,b)\Delta\_{\tilde{r}}(x,a,b)=\tilde{r}(x,a)-\tilde{r}(x,b). Clearly, R_r~\mathcal{R}\_{\tilde{r}} is independent of D\mathcal{D} since r~\tilde{r} is independent of D\mathcal{D} 77 7 in fact, it is a fixed quantity, not a random variable.. Next, we show that this reward class realizes the true reward r⋆r^{\star} up to a state-dependent shift ζ:X→R\zeta:\mathcal{X}\rightarrow\mathbb{R}. To this end let us define the policy π_r~\pi\_{\tilde{r}} as follows

$$\pi_{\tilde{r}}(ax)=\pi_{\mathrm{ref}}(a

where ζ(x)\zeta(x) is chosen to ensure that ∑_a∈Aπ_r~(a∣x)=1\sum\_{a\in\mathcal{A}}\pi\_{\tilde{r}}(a|x)=1 for all x∈Xx\in\mathcal{X}. Now we show that π_r~∈Π′_r~\pi\_{\tilde{r}}\in\Pi^{\prime}\_{\tilde{r}}. Rearranging, we have that,

$$\beta^{\prime}\phi\left({\frac{\pi_{\tilde{r}}(ax)}{\pi_{\mathrm{ref}}(a

Therefore, taking the difference between the log policy ratios evaluated at two different actions a,ba,b for a fixed prompt xx, we have that

$$\beta^{\prime}\phi\left({\frac{\pi_{\tilde{r}}(ax)}{\pi_{\mathrm{ref}}(a

It follows that

(1−α)(R_min⁡−R_max⁡)+α(r~(x,a)−r~(x,b))\displaystyle(1-\alpha)(R\_{\min}-R\_{\max})+\alpha(\tilde{r}(x,a)-\tilde{r}(x,b))$\displaystyle\leq\beta^{\prime}\phi\left({\frac{\pi_{\tilde{r}}(ax)}{\pi_{\mathrm{ref}}(a
------------
≤(1−α)(R_max⁡−R_min⁡)+α(r~(x,a)−r~(x,b)).\displaystyle\leq(1-\alpha)(R\_{\max}-R\_{\min})+\alpha(\tilde{r}(x,a)-\tilde{r}(x,b)).

Let us consider a reward class R\mathcal{R} such that there exists a reward function rˉ⋆∈R\bar{r}^{\star}\in\mathcal{R} such thar Δ_rˉ⋆=Δ_r⋆\Delta\_{\bar{r}^{\star}}=\Delta\_{r^{\star}}. Moreover, we consider that the class R\mathcal{R} is coincise in the sense that there are no two reward functions r_1,r_2∈Rr\_{1},r\_{2}\in\mathcal{R} such that Δ_r_1=Δ_r_2\Delta\_{r\_{1}}=\Delta\_{r\_{2}}. This ensures that the cardinality of the reward class is upper bounded by the cardinality of the policy Π\Pi as long as it satisfies Assumption 4.2. Moreover, notice that for any r~∈R\tilde{r}\in\mathcal{R}, we have that π_r~∈Π′_r~\pi\_{\tilde{r}}\in\Pi^{\prime}\_{\tilde{r}}. At this point, notice that for π(a∣x)=π_r~(a∣x)\pi(a|x)=\pi\_{\tilde{r}}(a|x) in (22), we have that the true reward plus a state (prompt) dependent shift belongs to the induced reward class. In formulas, we have that there exists ζ:X→R\zeta:\mathcal{X}\rightarrow\mathbb{R} such that r_ζ∈R_r~r\_{\zeta}\in\mathcal{R}\_{\tilde{r}} where we defined r_ζ(x,a)=r⋆(x,a)+ζ(x)/(1−α)r\_{\zeta}(x,a)=r^{\star}(x,a)+\zeta(x)/(1-\alpha) for all x,ax,a. We can conclude that the true reward function is realizable (up to a state dependent shift) for all possible values of r~\tilde{r}. Introducing the probability model, P_r(a is preferred to b∣x,a,b)=σ(r(x,a)−r(x,b))P\_{r}(a~\text{is preferred to}~b|x,a,b)=\sigma(r(x,a)-r(x,b)), we can consider that

$$r_{\mathrm{out}}=\mathop{\rm argmax}_{r\in\mathcal{R}_{\tilde{r}}}\sum^{N_{\mathrm{rank}}}_{i=1}\log P_{r}(a_{i}^{+}~\text{is preferred to}~a_{i}^{-}x_{i},a_{i}^{-},a_{i}^{+}).$$

Notice that since r_ζ∈R_r~r\_{\zeta}\in\mathcal{R}\_{\tilde{r}} we have that

$\displaystyle P_{r_{\zeta}}(a~\text{is preferred to}~bx,a,b)$=σ(r⋆(x,a)+ζ(x)/(1−α)−r⋆(x,b)−ζ(x)/(1−α))\displaystyle=\sigma\left({r^{\star}(x,a)+\zeta(x)/(1-\alpha)-r^{\star}(x,b)-\zeta(x)/(1-\alpha)}\right)
------------
=σ(r⋆(x,a)−r⋆(x,b))\displaystyle=\sigma\left({r^{\star}(x,a)-r^{\star}(x,b)}\right)
------------
$\displaystyle=P_{r^{\star}}(a~\text{is preferred to}~bx,a,b)$

Therefore, the true preference generator P_r⋆P\_{r^{\star}} is realized by the preference models class induced by the reward class R_r~\mathcal{R}\_{\tilde{r}} even if we do not necessarily have that r⋆∈R_r~r^{\star}\in\mathcal{R}\_{\tilde{r}}. This fact should not surprise the reader since the Bradley-Terry model is invariant to shifts depending on the state only.

Moreover, the definition of Π′\Pi^{\prime} guarantees that

$$\pi\in\Pi^{\prime}\implies\left{\beta^{\prime}\Delta_{\phi\pi/\pi_{\mathrm{ref}}}(x,a,b)-\alpha\Delta_{\hat{r}}(x,a,b)}\right

Therefore, since π_out∈Π′\pi\_{\mathrm{out}}\in\Pi^{\prime}, the above fact implies that Δ_r_out∈[−R_max⁡,R_max⁡]\Delta\_{r\_{\mathrm{out}}}\in[-R\_{\max},R\_{\max}]. At this point, thanks to Lemma E.3, a covering number over the class R\mathcal{R} and with Lemma E.4 invoked with failure probability δ/∣R∣\delta/\left|{\mathcal{R}}\right|, we obtain that with probability at least 1−δ1-\delta it holds that

(1−α)2\displaystyle(1-\alpha)^{2}$\displaystyle\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b
------------
$\displaystyle=(1-\alpha)^{2}\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b
------------
$\displaystyle\leq 32R^{2}_{\max}(1-\alpha)^{2}e^{4R_{\max}}\frac{\log(\left{\Pi^{\prime}}\right
------------
$\displaystyle\leq 32R^{2}_{\max}(1-\alpha)^{2}e^{4R_{\max}}\frac{\log(\left{\Pi}\right
------------
$\displaystyle=\mathcal{O}\left({R^{2}_{\max}(1-\alpha)^{2}e^{4R_{\max}}\frac{\log(\left{\Pi}\right

where the last inequality uses that Π′⊂Π\Pi^{\prime}\subset\Pi and that by the assumption about the expressivity of the policy class (i.e. Assumption 4.2) and by the fact that we considered the class R\mathcal{R} to be coincise, we have that ∣R∣=∣Π∣\left|{\mathcal{R}}\right|=\left|{\Pi}\right|. Furthermore, the last equality holds by definition of Err_DPO(N,δ)\mathrm{Err\_{DPO}}(N,\delta) and by the fact that Π′⊂Π\Pi^{\prime}\subset\Pi. Putting all together, we have that

Err(rˉ)\displaystyle\mathrm{Err}(\bar{r})≤2((1−α)2Err_DPO(N,δ)+α2Err(r^))\displaystyle\leq 2\bigg((1-\alpha)^{2}\mathrm{Err\_{DPO}}(N,\delta)+\alpha^{2}\mathrm{Err}(\hat{r})\bigg)
------------
=2Err_DPO(N,δ)Err(r^)Err_DPO(N,δ)+Err(r^)\displaystyle=\frac{2\mathrm{Err\_{DPO}}(N,\delta)\mathrm{Err}(\hat{r})}{\mathrm{Err\_{DPO}}(N,\delta)+\mathrm{Err}(\hat{r})}

where the first equality follows from the choice of α\alpha. Finally, using the relation (1/a+1/b)−1≤min⁡(a,b)(1/\mathfrak{a}+1/\mathfrak{b})^{-1}\leq\min(\mathfrak{a},\mathfrak{b}) that holds between any two positive scalars a,b∈R+\mathfrak{a},\mathfrak{b}\in\mathbb{R}^{+}, we that

(Err_DPO−1(N,δ)+Err−1(r^))−1≤min⁡{Err_DPO(N,δ),Err(r^)}\left({\mathrm{Err\_{DPO}}^{-1}(N,\delta)+{\mathrm{Err}^{-1}(\hat{r})}}\right)^{-1}\leq\min\left\{{\mathrm{Err\_{DPO}}(N,\delta),\mathrm{Err}(\hat{r})}\right\}(23)

and therefore

Err(rˉ)≤2min⁡{Err_DPO(N,δ),Err(r^)}.\displaystyle\mathrm{Err}(\bar{r})\leq 2\min\left\{{\mathrm{Err\_{DPO}}(N,\delta),\mathrm{Err}(\hat{r})}\right\}.

∎

C.3 RDPO with χ2\chi^{2} regularization: single policy concentrability guarantees

Section titled “C.3 RDPO with χ2\chi^{2}χ2 regularization: single policy concentrability guarantees”

Next, we prove guarantees for the more general form in Algorithm 1 based on single policy concentrability. We will make use of the following quantities

$$C^{\pi}=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi(ax)\frac{\pi(a

and of the following relation:

12(Cπ−1)=D_χ2(π,π_ref)≥D_KL(π,π_ref)\frac{1}{2}(C^{\pi}-1)=D\_{\chi^{2}}(\pi,\pi\_{\mathrm{ref}})\geq D\_{\mathrm{KL}}(\pi,\pi\_{\mathrm{ref}})

for all policies π∈Π_all\pi\in\Pi\_{\mathrm{all}}. Therefore, we also have that

12(C⋆−1)=D_χ2(π⋆,π_ref)≥D_KL(π⋆,π_ref).\frac{1}{2}(C^{\star}-1)=D\_{\chi^{2}}(\pi^{\star},\pi\_{\mathrm{ref}})\geq D\_{\mathrm{KL}}(\pi^{\star},\pi\_{\mathrm{ref}}).

Moreover, a crucial quantity for the analysis is the on policy estimation error for the implicit reward estimation error rˉ(x,a)=β′ϕ(π_out(a∣x)π_data(a∣x))\bar{r}(x,a)=\beta^{\prime}\phi\left({\frac{\pi\_{\mathrm{out}}(a|x)}{\pi\_{\mathrm{data}}(a|x)}}\right) defined as

$$\mathrm{Err}_{\pi_{\mathrm{ref}}}(\bar{r})=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi_{\mathrm{ref}}(ax)\pi_{\mathrm{ref}}(b

where we recall that Δ_ϕπ/π_ref(x,a,a′):=ϕ(π(a∣x)π_ref(a∣x))−ϕ(π(a′∣x)π_ref(a′∣x))\Delta\_{\phi\pi/\pi\_{\mathrm{ref}}}(x,a,a^{\prime}):=\phi\left({\frac{\pi(a|x)}{\pi\_{\mathrm{ref}}(a|x)}}\right)-\phi\left({\frac{\pi(a^{\prime}|x)}{\pi\_{\mathrm{ref}}(a^{\prime}|x)}}\right). Moreover, we highlighted the fact that for this result we need π_data=π_ref\pi\_{\mathrm{data}}=\pi\_{\mathrm{ref}} by explicitely adding π_ref\pi\_{\mathrm{ref}} in the subscript of the reward estimation error defined above.

Let us consider the setting where π_data=π_ref\pi\_{\mathrm{data}}=\pi\_{\mathrm{ref}}, i.e. the dataset of responses is collected with the initial model. Moreover, for any β∈(0,∞)\beta\in(0,\infty) let π_out\pi\_{\mathrm{out}} be the output of Algorithm 1, ran with ϕ(x)=γx+log⁡(x)\phi(x)=\gamma x+\log(x) for γ=Err_max⁡β2(1−α)2C⋆\gamma=\sqrt{\frac{\mathrm{Err}\_{\max}}{\beta^{2}(1-\alpha)^{2}C^{\star}}} where

Err_max⁡=2min⁡{Err_DPO(N,δ),Err_π_ref(r^)}\mathrm{Err}\_{\max}=2\min\left\{{\mathrm{Err\_{DPO}}(N,\delta),\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\hat{r})}\right\}

and

α=(1+Err_π_ref(r^)/Err_DPO(N,δ))−1\alpha=\left({1+\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\hat{r})/\mathrm{Err\_{DPO}}(N,\delta)}\right)^{-1}

Then, it holds that

J_ββ_1β+β_1(π⋆;r⋆)−J_ββ_1β+β_1(π_out;r⋆)≤O(C⋆min⁡(Err_DPO(N,δ),Err_π_ref(r^))),w.p.1−δ.J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi^{\star};r^{\star})-J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi\_{\mathrm{out}};r^{\star})\leq\mathcal{O}\left({\sqrt{C^{\star}\min\left({\mathrm{Err\_{DPO}}(N,\delta),\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\hat{r})}\right)}}\right),\quad\text{w.p.}\quad 1-\delta.

In order to prove the statements, we consider the function ϕ(x)=γx+log⁡(x)\phi(x)=\gamma x+\log(x). The proof of Theorem C.2 is divided in the next two lemmas: Lemma C.3 converts the suboptimality of the extracted policy π_out\pi\_{\mathrm{out}} into the excess risk of the reward estimator corresponding to π_out\pi\_{\mathrm{out}}, i.e. r_outr\_{\mathrm{out}}

Then, Lemma C.1 ( invoked recalling that π_data=π_ref\pi\_{\mathrm{data}}=\pi\_{\mathrm{ref}} in this setting) bounds Err_π_ref(rˉ)\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r}) in high probability. Once these core facts are proven, the final result follows by plugging in the upper bound from Lemma C.1 into Lemma C.3.

Under the setting of Theorem C.2, it holds that

J_ββ_1β+β_1(π⋆;r⋆)−J_ββ_1β+β_1(π_out;r⋆)≤O(Err_max⁡C⋆).J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi^{\star};r^{\star})-J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi\_{\mathrm{out}};r^{\star})\leq\mathcal{O}\left({\sqrt{\mathrm{Err}\_{\max}C^{\star}}}\right).

When comparing Theorems 4.3 and C.2, an important remark is that the KL regularization is strictly suboptimal compared to χ2\chi^{2} regularization in the worst case, since we have that Cmax⁡>C⋆C^{\max}>C^{\star} unless we are in the spurious case of Π′={π_ref}\Pi^{\prime}=\left\{{\pi\_{\mathrm{ref}}}\right\}. However, when the policy class Π′\Pi^{\prime} does not allow large deviations from π_ref\pi\_{\mathrm{ref}} the difference between D_χ2D\_{\chi^{2}} and D_KLD\_{\mathrm{KL}} is well controlled as shown in the Figure 5. Therefore, even with γ=0\gamma=0 we expect good results in practice if the algorithm output remains close to π_ref\pi\_{\mathrm{ref}}.

Figure 5 : Comparison between D KL D_{\mathrm{KL}} and D χ 2 D_{\chi^{2}} and their differences for Bernoulli random variables.

Next, we state the proof of Lemma C.3.

of Lemma C.3 Let us consider the notation

$$r_{\mathrm{out}}(x,a)=\frac{\beta^{\prime}}{1-\alpha}\phi\left({\frac{\pi_{\mathrm{out}}(ax)}{\pi_{\mathrm{ref}}(a

Rearranging the above definition, we obtain the following elementwise equality

(1−α)r_out+αr^=β′ϕ(π_outπ_ref)(1-\alpha)r\_{\mathrm{out}}+\alpha\hat{r}=\beta^{\prime}\phi\left({\frac{\pi\_{\mathrm{out}}}{\pi\_{\mathrm{ref}}}}\right)

By Lemma E.2, we have that π_out\pi\_{\mathrm{out}} is the solution of the following RLHF like problem

π_out=argmax_π∈Π⟨π,(1−α)r_out+αr^⟩−β′γD_χ2(π,π_ref)−β′D_KL(π,π_ref)\displaystyle\pi\_{\mathrm{out}}=\mathop{\rm argmax}\_{\pi\in\Pi}\left\langle{\pi},{(1-\alpha)r\_{\mathrm{out}}+\alpha\hat{r}}\right\rangle-\beta^{\prime}\gamma D\_{\chi^{2}}(\pi,\pi\_{\mathrm{ref}})-\beta^{\prime}D\_{\mathrm{KL}}(\pi,\pi\_{\mathrm{ref}})(24)

At this point, let rˉ=(1−α)r_out+αr^\bar{r}=(1-\alpha)r\_{\mathrm{out}}+\alpha\hat{r} and D_F(π,π_ref):=γD_χ2(π,π_ref)+D_KL(π,π_ref)D\_{F}(\pi,\pi\_{\mathrm{ref}}):=\gamma D\_{\chi^{2}}(\pi,\pi\_{\mathrm{ref}})+D\_{\mathrm{KL}}(\pi,\pi\_{\mathrm{ref}}). It holds that

⟨π⋆,rˉ⟩−β′D_F(π⋆,π_ref)≤⟨π_out,rˉ⟩−β′D_F(π_out,π_ref)\left\langle{\pi^{\star}},{\bar{r}}\right\rangle-\beta^{\prime}D\_{F}(\pi^{\star},\pi\_{\mathrm{ref}})\leq\left\langle{\pi\_{\mathrm{out}}},{\bar{r}}\right\rangle-\beta^{\prime}D\_{F}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})

We can now use the above fact to bound the suboptimality against the optimal policy π⋆\pi^{\star}

⟨π⋆,r⋆⟩\displaystyle\left\langle{\pi^{\star}},{r^{\star}}\right\rangle−⟨π_out,r⋆⟩=\displaystyle-\left\langle{\pi\_{\mathrm{out}}},{r^{\star}}\right\rangle=
------------
≤⟨π⋆,r⋆⟩−⟨π⋆,rˉ⟩+β′D_F(π⋆,π_ref)+⟨π_out,rˉ⟩−β′D_F(π_out,π_ref)−⟨π_out,r⋆⟩\displaystyle\leq\left\langle{\pi^{\star}},{r^{\star}}\right\rangle-\left\langle{\pi^{\star}},{\bar{r}}\right\rangle+\beta^{\prime}D\_{F}(\pi^{\star},\pi\_{\mathrm{ref}})+\left\langle{\pi\_{\mathrm{out}}},{\bar{r}}\right\rangle-\beta^{\prime}D\_{F}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})-\left\langle{\pi\_{\mathrm{out}}},{r^{\star}}\right\rangle
------------
=⟨π⋆,r⋆⟩−⟨π⋆,rˉ⟩+β′γ2C⋆+β′D_KL(π⋆,π_ref)\displaystyle=\left\langle{\pi^{\star}},{r^{\star}}\right\rangle-\left\langle{\pi^{\star}},{\bar{r}}\right\rangle+\frac{\beta^{\prime}\gamma}{2}C^{\star}+\beta^{\prime}D\_{\mathrm{KL}}(\pi^{\star},\pi\_{\mathrm{ref}})
------------
=+⟨π_out,rˉ⟩−β′γ2Cπ_out−β′D_KL(π_out,π_ref)−⟨π_out,r⋆⟩.\displaystyle\phantom{=}+\left\langle{\pi\_{\mathrm{out}}},{\bar{r}}\right\rangle-\frac{\beta^{\prime}\gamma}{2}C^{\pi\_{\mathrm{out}}}-\beta^{\prime}D\_{\mathrm{KL}}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})-\left\langle{\pi\_{\mathrm{out}}},{r^{\star}}\right\rangle.

In the final equality, we used the following equivalencies

D_F(π⋆,π_ref)−D_F(π_out,π_ref)\displaystyle D\_{F}(\pi^{\star},\pi\_{\mathrm{ref}})-D\_{F}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})=γD_χ2(π⋆,π_ref)+D_KL(π⋆,π_ref)−γD_χ2(π_out,π_ref)\displaystyle=\gamma D\_{\chi^{2}}(\pi^{\star},\pi\_{\mathrm{ref}})+D\_{\mathrm{KL}}(\pi^{\star},\pi\_{\mathrm{ref}})-\gamma D\_{\chi^{2}}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})
------------
=−D_KL(π_out,π_ref)\displaystyle\phantom{=}-D\_{\mathrm{KL}}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})
------------
=γ(C⋆2−1)+D_KL(π⋆,π_ref)−γ(Cπ_out2−1)\displaystyle=\gamma\left({\frac{C^{\star}}{2}-1}\right)+D\_{\mathrm{KL}}(\pi^{\star},\pi\_{\mathrm{ref}})-\gamma\left({\frac{C^{\pi\_{\mathrm{out}}}}{2}-1}\right)
------------
=−D_KL(π,π_ref)\displaystyle\phantom{=}-D\_{\mathrm{KL}}(\pi,\pi\_{\mathrm{ref}})
------------
=γC⋆2+D_KL(π⋆,π_ref)−γCπ_out2−D_KL(π_out,π_ref)\displaystyle=\gamma\frac{C^{\star}}{2}+D\_{\mathrm{KL}}(\pi^{\star},\pi\_{\mathrm{ref}})-\gamma\frac{C^{\pi\_{\mathrm{out}}}}{2}-D\_{\mathrm{KL}}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})

At this point, we bound the reward estimation error under π⋆\pi^{\star} as follows

⟨π⋆,r⋆−rˉ⟩\displaystyle\left\langle{\pi^{\star}},{r^{\star}-\bar{r}}\right\rangle$\displaystyle=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi^{\star}(ax)(r^{\star}(x,a)-\bar{r}(x,a))$
------------
$\displaystyle=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi^{\star}(ax)\pi_{\mathrm{ref}}(b
------------
$\displaystyle\phantom{=}-\underbrace{\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{b\in\mathcal{A}}\pi_{\mathrm{ref}}(bx)(\bar{r}(x,b)-r(x,b))}_{=\mathrm{Shift}}$

At this point, we can perform the following change of measure trick. For notation compactness, let f(x,a)=∑_b∈Aπ_ref(b∣x)(r⋆(x,a)−r⋆(x,b)−rˉ(x,a)+rˉ(x,b))f(x,a)=\sum\_{b\in\mathcal{A}}\pi\_{\mathrm{ref}}(b|x)(r^{\star}(x,a)-r^{\star}(x,b)-\bar{r}(x,a)+\bar{r}(x,b)) and let π\pi be an arbitrary policy

$\displaystyle\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi(ax)f(x,a)$$\displaystyle=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\frac{\pi(a
------------
$\displaystyle\leq\sqrt{\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\frac{\pi^{2}(ax)}{\pi_{\mathrm{ref}}(a
------------
≤CπErr_π_ref(rˉ),\displaystyle\leq\sqrt{C^{\pi}}\sqrt{\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r})},

where the last inequality holds because, thanks to Jensen’s inequality, we have that

$\displaystyle\sum_{a\in\mathcal{A}}\pi_{\mathrm{ref}}(ax)f^{2}(x,a)$$\displaystyle\leq\sum_{a\in\mathcal{A}}\sum_{b\in\mathcal{A}}\pi_{\mathrm{ref}}(b
------------
=Err_π_ref(rˉ).\displaystyle=\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r}).

Endowed with this result, we continue by upper bounding (26) as follows

⟨π⋆,r⋆−rˉ⟩\displaystyle\left\langle{\pi^{\star}},{r^{\star}-\bar{r}}\right\rangle$\displaystyle\leq\sqrt{C^{\star}\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi_{\mathrm{ref}}(ax)\pi_{\mathrm{ref}}(b
------------
=+Shift\displaystyle\phantom{=}+\mathrm{Shift}
------------
≤C⋆Err_π_ref(rˉ)+Shift\displaystyle\leq\sqrt{C^{\star}\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r})}+\mathrm{Shift}
------------
≤β′γC⋆2+Err_π_ref(rˉ)2β′γ+Shift\displaystyle\leq\frac{\beta^{\prime}\gamma C^{\star}}{2}+\frac{\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r})}{2\beta^{\prime}\gamma}+\mathrm{Shift}

where in the last line we recognized the generalization error Err_π_ref(rˉ)\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r}) for the hypothesis rˉ\bar{r} on the response distribution generated by π_ref\pi\_{\mathrm{ref}}. In the above derivation, we added and subtracted the term r⋆(s,b)r^{\star}(s,b) because the Bradley-Terry preference distribution is invariant under a constant additional shift of the reward function; therefore, we can only aim at learning the difference between the reward assigned to two distinct actions after seeing the same prompt. We can not learn the individual values r⋆(s,a)r^{\star}(s,a) and r⋆(s,b)r^{\star}(s,b).

Following the same steps, we can also bound the expected reward difference under π_out\pi\_{\mathrm{out}}.

⟨π_out,rˉ−r⋆⟩\displaystyle\left\langle{\pi\_{\mathrm{out}}},{\bar{r}-r^{\star}}\right\rangle≤Cπ_outErr_π_ref(rˉ)−Shift\displaystyle\leq\sqrt{C^{\pi\_{\mathrm{out}}}\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r})}-\mathrm{Shift}
------------
≤β′γCπ_out2+Err_π_ref(rˉ)2β′γ−Shift.\displaystyle\leq\frac{\beta^{\prime}\gamma C^{\pi\_{\mathrm{out}}}}{2}+\frac{\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r})}{2\beta^{\prime}\gamma}-\mathrm{Shift}.

At this point, plugging into (25), we obtain

⟨π⋆,r⋆⟩−⟨π_out,r⋆⟩\displaystyle\left\langle{\pi^{\star}},{r^{\star}}\right\rangle-\left\langle{\pi\_{\mathrm{out}}},{r^{\star}}\right\rangle≤⟨π⋆,r−rˉ⟩+β′γ2C⋆+β′D_KL(π⋆,π_ref)+⟨π_out,rˉ−r⟩\displaystyle\leq\left\langle{\pi^{\star}},{r-\bar{r}}\right\rangle+\frac{\beta^{\prime}\gamma}{2}C^{\star}+\beta^{\prime}D\_{\mathrm{KL}}(\pi^{\star},\pi\_{\mathrm{ref}})+\left\langle{\pi\_{\mathrm{out}}},{\bar{r}-r}\right\rangle
------------
=−β′γ2Cπ_out−β′D_KL(π_out,π_ref)\displaystyle\phantom{=}-\frac{\beta^{\prime}\gamma}{2}C^{\pi\_{\mathrm{out}}}-\beta^{\prime}D\_{\mathrm{KL}}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})
------------
≤β′γC⋆2+Err_π_ref(rˉ)2β′γ\displaystyle\leq\frac{\beta^{\prime}\gamma C^{\star}}{2}+\frac{\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r})}{2\beta^{\prime}\gamma}
------------
=+β′γC⋆2+β′D_KL(π⋆,π_ref)\displaystyle\phantom{=}+\frac{\beta^{\prime}\gamma C^{\star}}{2}+\beta^{\prime}D\_{\mathrm{KL}}(\pi^{\star},\pi\_{\mathrm{ref}})
------------
=+β′γCπ_out2+Err_π_ref(rˉ)2β′γ\displaystyle\phantom{=}+\frac{\beta^{\prime}\gamma C^{\pi\_{\mathrm{out}}}}{2}+\frac{\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r})}{2\beta^{\prime}\gamma}
------------
=−β′γ2Cπ_out−β′D_KL(π_out,π_ref)\displaystyle\phantom{=}-\frac{\beta^{\prime}\gamma}{2}C^{\pi\_{\mathrm{out}}}-\beta^{\prime}D\_{\mathrm{KL}}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})

Therefore, bringing the term β′D_KL(π⋆,π_ref)−β′D_KL(π_out,π_ref)\beta^{\prime}D\_{\mathrm{KL}}(\pi^{\star},\pi\_{\mathrm{ref}})-\beta^{\prime}D\_{\mathrm{KL}}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}}) on the left hand side and noticing on the right hand side that β′γCπ_out2−β′γCπ_out2=0\frac{\beta^{\prime}\gamma C^{\pi\_{\mathrm{out}}}}{2}-\frac{\beta^{\prime}\gamma C^{\pi\_{\mathrm{out}}}}{2}=0, we obtain that

J_β′(π⋆;r⋆)−J_β′(π_out;r⋆)≤β′γC⋆+Err_π_ref(rˉ)β′γ\displaystyle J\_{\beta^{\prime}}(\pi^{\star};r^{\star})-J\_{\beta^{\prime}}(\pi\_{\mathrm{out}};r^{\star})\leq\beta^{\prime}\gamma C^{\star}+\frac{\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r})}{\beta^{\prime}\gamma}

Therefore, if γ=Err_max⁡(β′)2C⋆\gamma=\sqrt{\frac{\mathrm{Err}\_{\max}}{(\beta^{\prime})^{2}C^{\star}}} for any Err_max⁡\mathrm{Err}\_{\max} such that Err_max⁡≥Err_π_ref(rˉ)\mathrm{Err}\_{\max}\geq\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\bar{r}), we have that

J_β′(π⋆;r⋆)−J_β′(π_out;r⋆)≤O(C⋆Err_max⁡).J\_{\beta^{\prime}}(\pi^{\star};r^{\star})-J\_{\beta^{\prime}}(\pi\_{\mathrm{out}};r^{\star})\leq\mathcal{O}\left({\sqrt{C^{\star}\mathrm{Err}\_{\max}}}\right).

∎

We restate here the main guarantees for ML-RDPO which we will prove in the following. See 4.4

Let

$$r_{\mathrm{out}}(x,a)=\beta\log(\pi_{\mathrm{out}}(ax)/\pi_{\mathrm{ref}}(a

for some unknown state dependent function ζ\zeta and π_out∈argmin_π∈Π~L_ML−RDPO\pi\_{\mathrm{out}}\in\mathop{\rm argmin}\_{\pi\in\tilde{\Pi}}\mathcal{L}\_{\mathrm{ML-RDPO}}. Then, by Lemma E.2 invoked for γ=0\gamma=0 it holds that

π_out∈argmax_π∈Π⟨r_out,π⟩−βD_KL(π,π_ref)\pi\_{\mathrm{out}}\in\mathop{\rm argmax}\_{\pi\in\Pi}\left\langle{r\_{\mathrm{out}}},{\pi}\right\rangle-\beta D\_{\mathrm{KL}}(\pi,\pi\_{\mathrm{ref}})

Therefore, we have that

⟨π⋆−π_out,r⋆⟩\displaystyle\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{r^{\star}}\right\rangle=⟨π⋆−π_out,r_out⟩+⟨π⋆−π_out,r⋆−r_out⟩\displaystyle=\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{r\_{\mathrm{out}}}\right\rangle+\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{r^{\star}-r\_{\mathrm{out}}}\right\rangle
------------
≤βD_KL(π⋆,π_ref)−βD_KL(π_out,π_ref)+⟨π⋆−π_out,r⋆−r_out⟩\displaystyle\leq\beta D\_{\mathrm{KL}}(\pi^{\star},\pi\_{\mathrm{ref}})-\beta D\_{\mathrm{KL}}(\pi\_{\mathrm{out}},\pi\_{\mathrm{ref}})+\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{r^{\star}-r\_{\mathrm{out}}}\right\rangle

Then, rearranging the above inequality we have that

J_β(π⋆;r⋆)−J_β(π_out;r⋆)≤⟨π⋆−π_out,r⋆−r_out⟩J\_{\beta}(\pi^{\star};r^{\star})-J\_{\beta}(\pi\_{\mathrm{out}};r^{\star})\leq\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{r^{\star}-r\_{\mathrm{out}}}\right\rangle

Then, prooceding as in Theorem 4.3, we have that

⟨π⋆−π_out,r⋆−r_out⟩≤Cmax⁡Err(r_out),\left\langle{\pi^{\star}-\pi\_{\mathrm{out}}},{r^{\star}-r\_{\mathrm{out}}}\right\rangle\leq\sqrt{C^{\max}\mathrm{Err}(r\_{\mathrm{out}})},

where

$$\mathrm{Err}(r_{\mathrm{out}}):=\mathbb{E}_{!!!!!\begin{subarray}{c}x\sim\nu_{0}\ a,a^{\prime}\sim\pi_{\mathrm{data}}(\cdotX)\end{subarray}}\big[\big(\Delta_{r^{\star}}(x,a,a^{\prime})-\Delta_{r_{\mathrm{out}}}(x,a,a^{\prime})\big)^{2}\big].$$

Then, since π_out\pi\_{\mathrm{out}} minimizes L_ML−RDPO\mathcal{L}\_{\mathrm{ML-RDPO}} and by the definition of r_outr\_{\mathrm{out}}, we can notice that r_outr\_{\mathrm{out}} coincides with r~\tilde{r}, i.e.

r_out=r~,r\_{\mathrm{out}}=\tilde{r},

where we recall that r~\tilde{r} is the maximum likelihood estimator estimator for the reward function used in the derivation of ML-RDPO (see Lemma 3.1). That is,

r~=argmax_r∈R_Π~log⁡Prat,rank_r(D_rat,D_rank).\tilde{r}=\mathop{\rm argmax}\_{r\in\mathcal{R}\_{\tilde{\Pi}}}\log P^{\mathrm{rat,rank}}\_{r}(\mathcal{D}\_{\mathrm{rat}},\mathcal{D}\_{\mathrm{rank}}).

Moreover, notice that r_out∈[−R_max⁡,R_max⁡]r\_{\mathrm{out}}\in[-R\_{\max},R\_{\max}] since π_out∈Π~\pi\_{\mathrm{out}}\in\tilde{\Pi}. Then, the proof is concluded invoking Lemma C.4 which establishes a high probability concentration result for the reward estimate, i.e.

Err(r_out)≤min⁡{2(R_max⁡−R_min⁡)2+4V,16e4R_max⁡R2_max⁡}2log⁡(Π~/δ)N,\mathrm{Err}(r\_{\mathrm{out}})\leq\min\left\{{2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V},16e^{4R\_{\max}}R^{2}\_{\max}}\right\}\frac{2\log(\tilde{\Pi}/\delta)}{N},

and noticing that Π~⊂Π\tilde{\Pi}\subset\Pi. ∎

Let r_out=argmax_r∈R_Π~log⁡Prat,rank_r(D_rat,D_rank)r\_{\mathrm{out}}=\mathop{\rm argmax}\_{r\in\mathcal{R}\_{\tilde{\Pi}}}\log P^{\mathrm{rat,rank}}\_{r}(\mathcal{D}\_{\mathrm{rat}},\mathcal{D}\_{\mathrm{rank}}), then it holds that with probability at least 1−δ1-\delta

Err(r_out)≤min⁡{2(R_max⁡−R_min⁡)2+4V,16e4R_max⁡R2_max⁡}2log⁡(Π~/δ)N.\mathrm{Err}(r\_{\mathrm{out}})\leq\min\left\{{2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V},16e^{4R\_{\max}}R^{2}\_{\max}}\right\}\frac{2\log(\tilde{\Pi}/\delta)}{N}.

By the general bound for the conditional MLE risk Lemma E.4, we have that for the above MLE problem, we have that it holds that with probability 1−δ1-\delta

$\displaystyle\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a,b\in\mathcal{A}\times\mathcal{A}}\pi_{\mathrm{data}}(ax)$$\displaystyle\pi_{\mathrm{data}}(b
------------
$\displaystyle\leq\frac{2\log(\left{\Pi^{\prime}}\right

where NN is the dataset size and Z\mathcal{Z} is the set of all possible joint feedbacks (i.e. all possible rating and ranking pairs) , that is Z={0,1}×R\mathcal{Z}=\left\{{0,1}\right\}\times\mathbb{R}. Under the conditional independence assumption, we have that by the data processing inequality for any α∈[0,1]\alpha\in[0,1]

(1−α)\displaystyle(1-\alpha)$\displaystyle\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a,b\in\mathcal{A}\times\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b
------------
$\displaystyle+\alpha\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a,b\in\mathcal{A}\times\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b
------------
$\displaystyle\leq\frac{2\log(\left{\tilde{\Pi}}\right

By Lemma E.3, it holds that

$$\sum_{z\in\left{{0,1}\right}}\left({\sqrt{P^{\mathrm{rank}}_{r_{\mathrm{out}}}(zx,a,b)}-\sqrt{P^{\mathrm{rank}}_{r^{\star}}(z

Finally, since Prat_rP^{\mathrm{rat}}\_{r} is Gaussian for any r∈Rr\in\mathcal{R} with same variance V\mathbb{V}, we have that

∫∞_−∞\displaystyle\int^{\infty}\_{-\infty}$\displaystyle\left({\sqrt{P^{\mathrm{rat}}_{r_{\mathrm{out}}}(zx,a,b)}-\sqrt{P^{\mathrm{rat}}_{r^{\star}}(z
------------
=2−2exp⁡(−(r_out(x,a)−r_out(x,b)−r⋆(x,a)−r⋆(x,b))28V)\displaystyle=2-2\exp\left({\frac{-(r\_{\mathrm{out}}(x,a)-r\_{\mathrm{out}}(x,b)-r^{\star}(x,a)-r^{\star}(x,b))^{2}}{8\mathbb{V}}}\right)
------------
≥(r_out(x,a)−r_out(x,b)−r⋆(x,a)−r⋆(x,b))24V((r_out(x,a)−r_out(x,b)−r⋆(x,a)−r⋆(x,b))2/(8V)+1)\displaystyle\geq\frac{(r\_{\mathrm{out}}(x,a)-r\_{\mathrm{out}}(x,b)-r^{\star}(x,a)-r^{\star}(x,b))^{2}}{4\mathbb{V}((r\_{\mathrm{out}}(x,a)-r\_{\mathrm{out}}(x,b)-r^{\star}(x,a)-r^{\star}(x,b))^{2}/(8\mathbb{V})+1)}
------------
≥(r_out(x,a)−r_out(x,b)−r⋆(x,a)−r⋆(x,b))24V((R_max⁡−R_min⁡)2/(2V)+1)\displaystyle\geq\frac{(r\_{\mathrm{out}}(x,a)-r\_{\mathrm{out}}(x,b)-r^{\star}(x,a)-r^{\star}(x,b))^{2}}{4\mathbb{V}((R\_{\max}-R\_{\min})^{2}/(2\mathbb{V})+1)}
------------
≥(r_out(x,a)−r_out(x,b)−r⋆(x,a)−r⋆(x,b))22(R_max⁡−R_min⁡)2+4V,\displaystyle\geq\frac{(r\_{\mathrm{out}}(x,a)-r\_{\mathrm{out}}(x,b)-r^{\star}(x,a)-r^{\star}(x,b))^{2}}{2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V}},

where the first equality holds because of the closed form solution for the squared Hellinger distance between Gaussian distributions with the same variance and different means 88 8 https://en.wikipedia.org/wiki/Hellinger_distance and the first inequality holds because 1−exp⁡(−x)≥\nicefracxx+11-\exp(-x)\geq\nicefrac{{x}}{{x+1}} for all x≥0x\geq 0. All in all, recalling that we denote

$$\mathrm{Err}(r_{\mathrm{out}}):=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a,b\in\mathcal{A}\times\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b

Then, we get that

(1−α16e4R_max⁡R2_max⁡+α2(R_max⁡−R_min⁡)2+4V)Err(r_out)≤2log⁡(Π~/δ)N\left({\frac{1-\alpha}{16e^{4R\_{\max}}R^{2}\_{\max}}+\frac{\alpha}{2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V}}}\right)\mathrm{Err}(r\_{\mathrm{out}})\leq\frac{2\log(\tilde{\Pi}/\delta)}{N}

Therefore, we conclude that with probability 1−δ1-\delta,

Err(r_out)≤(16e4R_max⁡R2_max⁡(2(R_max⁡−R_min⁡)2+4V)(2(R_max⁡−R_min⁡)2+4V)(1−α)+16e4R_max⁡R2_max⁡α)2log⁡(Π~/δ)N.\mathrm{Err}(r\_{\mathrm{out}})\leq\left({\frac{16e^{4R\_{\max}}R^{2}\_{\max}(2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V})}{(2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V})(1-\alpha)+16e^{4R\_{\max}}R^{2}\_{\max}\alpha}}\right)\frac{2\log(\tilde{\Pi}/\delta)}{N}.

At this point, choosing α=\mathds1{2(R_max⁡−R_min⁡)2+4V≤16e4R_max⁡R2_max⁡}\alpha=\mathds{1}\left\{{2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V}\leq 16e^{4R\_{\max}}R^{2}\_{\max}}\right\}, we have that

Err(r_out)\displaystyle\mathrm{Err}(r\_{\mathrm{out}})≤(16e4R_max⁡R2_max⁡(2(R_max⁡−R_min⁡)2+4V)max⁡{2(R_max⁡−R_min⁡)2+4V,16e4R_max⁡R2_max⁡})2log⁡(Π~/δ)N\displaystyle\leq\left({\frac{16e^{4R\_{\max}}R^{2}\_{\max}(2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V})}{\max\left\{{2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V},16e^{4R\_{\max}}R^{2}\_{\max}}\right\}}}\right)\frac{2\log(\tilde{\Pi}/\delta)}{N}
------------
=min⁡{2(R_max⁡−R_min⁡)2+4V,16e4R_max⁡R2_max⁡}2log⁡(Π~/δ)N.\displaystyle=\min\left\{{2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V},16e^{4R\_{\max}}R^{2}\_{\max}}\right\}\frac{2\log(\tilde{\Pi}/\delta)}{N}.

Plugging back into Eq. 27 concludes the proof. ∎

C.5 ML-RDPO with χ2\chi^{2} regularization

Section titled “C.5 ML-RDPO with χ2\chi^{2}χ2 regularization”

In this section, we prove the guarantees for ML-RDPO run with an aditional χ2\chi^{2} regularization term which allows to attain single policy concentrability guarantees under the setting π_data=π_ref\pi\_{\mathrm{data}}=\pi\_{\mathrm{ref}}.

Let us assume that π_ref=π_data\pi\_{\mathrm{ref}}=\pi\_{\mathrm{data}} and that we have conditional independence between z_iz\_{i} and Δi_r^\Delta^{i}\_{\hat{r}} given x_i,a_i,a′_ix\_{i},a\_{i},a^{\prime}\_{i}, and rating gaps are Gaussian Δi_r^∼N(Δi_r,V)\Delta^{i}\_{\hat{r}}\sim\mathcal{N}(\Delta^{i}\_{r},\mathbb{V}), for all i∈[N]i\in[N]. Under these condition, let π_out\pi\_{\mathrm{out}} as the minimizer of Equation 19 constrained over a policy class Π~\tilde{\Pi} such that π∈Π~\pi\in\tilde{\Pi} implies that Δ_ϕπ/π_ref∈[−R_max⁡,R_max⁡]\Delta\_{\phi\pi/\pi\_{\mathrm{ref}}}\in[-R\_{\max},R\_{\max}]. Moreover, let us set ϕ(x)=γx+log⁡(x)\phi(x)=\gamma x+\log(x) for γ=Err_max⁡β2C⋆\gamma=\sqrt{\frac{\mathrm{Err}\_{\max}}{\beta^{2}C^{\star}}} where

Err_max⁡:=min⁡{2(R_max⁡−R_min⁡)2+4V,16e4R_max⁡R2_max⁡}2log⁡(Π~/δ)N.\mathrm{Err}\_{\max}:=\min\left\{{2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V},16e^{4R\_{\max}}R^{2}\_{\max}}\right\}\frac{2\log(\tilde{\Pi}/\delta)}{N}.

Then, we obtain that with probability 1−δ1-\delta for any β∈(0,∞)\beta\in(0,\infty),

$$J_{\beta}(\pi^{\star};r^{\star})-J_{\beta}(\pi_{\mathrm{out}};r^{\star})\leq\tilde{\mathcal{O}}\left({\sqrt{\frac{C^{\star}\min\left{{e^{R_{\max}}R^{2}_{\max},R_{\max}^{2}+\mathbb{V}}\right}\log(\left{\Pi}\right

Using the same steps followed in Lemma C.3 changing the reward estimator from r^\hat{r} to r_out=βϕ(π_outπ_ref)r\_{\mathrm{out}}=\beta\phi\left({\frac{\pi\_{\mathrm{out}}}{\pi\_{\mathrm{ref}}}}\right) and using the assumption that π_ref=π_data\pi\_{\mathrm{ref}}=\pi\_{\mathrm{data}}, we can prove that

⟨π⋆,r⋆⟩−⟨π_out,r⋆⟩≤O(Err⋅C⋆).\left\langle{\pi^{\star}},{r^{\star}}\right\rangle-\left\langle{\pi\_{\mathrm{out}}},{r^{\star}}\right\rangle\leq\mathcal{O}\left({\sqrt{\mathrm{Err}\cdot C^{\star}}}\right).(27)

for any Err≥Err_π_ref(r_out)\mathrm{Err}\geq\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(r\_{\mathrm{out}}). At this point, it remains to prove that Err_max⁡\mathrm{Err}\_{\max}, defined in the theorem statement, is indeed a high probability upper bound on Err_π_ref(r_out)\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(r\_{\mathrm{out}}). To this end, let us introduce the reward class R_Π~\mathcal{R}\_{\tilde{\Pi}} as follows

$$\mathcal{R}_{\tilde{\Pi}}=\left{{r~~r=\beta\phi\left({\frac{\pi}{\pi_{\mathrm{ref}}}}\right)~~~\text{s.t.}~~~\pi\in\tilde{\Pi}}\right}.$$

Then, by definition of Π~\tilde{\Pi}, we have that for any r∈R_Π~r\in\mathcal{R}\_{\tilde{\Pi}} it holds that Δ_r∈[−R_max⁡,R_max⁡]\Delta\_{r}\in[-R\_{\max},R\_{\max}]. Moreover, the definitions of r_outr\_{\mathrm{out}} and π_out\pi\_{\mathrm{out}} implies that r_outr\_{\mathrm{out}} coincides with the ML-RDPO maximum likelihood estimator denoted as r~\tilde{r}. That is,

r_out=r~=argmax_r∈R_Π~log⁡Prat,rank_r(D_rat,D_rank).r\_{\mathrm{out}}=\tilde{r}=\mathop{\rm argmax}\_{r\in\mathcal{R}\_{\tilde{\Pi}}}\log P^{\mathrm{rat,rank}}\_{r}(\mathcal{D}\_{\mathrm{rat}},\mathcal{D}\_{\mathrm{rank}}).

Therefore, the proof is then concluded invoking again Lemma C.4 which ensures that Err_π_ref(r_out)\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(r\_{\mathrm{out}}) is upper bounded in high probability by Err_max⁡\mathrm{Err}\_{\max} . ∎

Appendix D Convergence guarantees for the heterogeneous case

Section titled “Appendix D Convergence guarantees for the heterogeneous case”

In this section, we report the convergence guarantees for the case where we observe either completely disjoint or only partly overlapping rating and ranking datasets. The variants of ML-RDPO and RDPO that apply to this setting are derived in Section B.2.

We start by stating the convergence guarantees for RDPO in the heterogeneous setting. The following theorem treats the standard RDPO algorithm and the generalized version with extra χ2\chi^{2} regularization in a unified manner.

Let us assume that π_ref=π_data\pi\_{\mathrm{ref}}=\pi\_{\mathrm{data}}, and run Algorithm 2 for ϕ(x)=γx+log⁡(x)\phi(x)=\gamma x+\log(x) with γ=Err_max⁡β2(1−α)2C⋆\gamma=\sqrt{\frac{\mathrm{Err}\_{\max}}{\beta^{2}(1-\alpha)^{2}}C^{\star}} with Err_max⁡=2Err_DPO(N,δ)Errmax⁡_π_ref(r^_rat)Err_DPO(N,δ)+Errmax⁡_π_ref(r^_rat)\mathrm{Err}\_{\max}=\frac{2\mathrm{Err\_{DPO}}(N,\delta)\mathrm{Err}^{\max}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}})}{\mathrm{Err\_{DPO}}(N,\delta)+\mathrm{Err}^{\max}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}})}, α=(1+Errmax⁡_π_ref(r^_rat)/Err_DPO(N,δ))−1\alpha=\left({1+\mathrm{Err}^{\max}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}})/\mathrm{Err\_{DPO}}(N,\delta)}\right)^{-1} and β_1=1−ααβ\beta\_{1}=\frac{1-\alpha}{\alpha}\beta. If the ratings gap {Δi_r^_rat}N_rat_i=1\left\{{\Delta^{i}\_{\hat{r}\_{\mathrm{rat}}}}\right\}^{N\_{\mathrm{rat}}}\_{i=1} are unbiased and V\mathbb{V} subgaussian, it holds that with probability at least 1−δ1-\delta

$$\mathrm{Err}_{\pi_{\mathrm{ref}}}(\hat{r}_{\mathrm{rat}})\leq\mathrm{Err}^{\max}_{\pi_{\mathrm{ref}}}(\hat{r}_{\mathrm{rat}}):=\frac{c(R_{\max}+\sqrt{\mathbb{V}\log(2N_{\mathrm{rat}}/\delta)})^{2}\log(\left{\mathcal{R}}\right

for some c≥0c\geq 0 and that the suboptimality of the policy output by Algorithm 2 is upper bounded, with probability at least 1−δ1-\delta, as follows

J_ββ_1β+β_1(π⋆;r⋆)−J_ββ_1β+β_1(π_out;r⋆)\displaystyle J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi^{\star};r^{\star})-J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi\_{\mathrm{out}};r^{\star})≤O(C⋆Err_DPO(N,δ)Errmax⁡_π_ref(r^_rat)Err_DPO(N,δ)+Errmax⁡_π_ref(r^_rat))\displaystyle\leq\mathcal{O}\left({\sqrt{C^{\star}\frac{\mathrm{Err\_{DPO}}(N,\delta)\mathrm{Err}^{\max}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}})}{\mathrm{Err\_{DPO}}(N,\delta)+\mathrm{Err}^{\max}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}})}}}\right)
------------
$\displaystyle\leq\mathcal{O}\left({\sqrt{\frac{R^{2}_{\max}e^{4R_{\max}}(R_{\max}+\sqrt{\mathbb{V}\log(2N_{\mathrm{rat}}/\delta)})^{2}\log\left({\left{\mathcal{R}}\right

Moreover, even if π_data≠π_ref\pi\_{\mathrm{data}}\neq\pi\_{\mathrm{ref}}, running Algorithm 2 with γ=0\gamma=0 and all other hyperparameters unchanged ensures that with probability at least 1−δ1-\delta

J_ββ_1β+β_1(π⋆;r⋆)−J_ββ_1β+β_1(π_out;r⋆)\displaystyle J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi^{\star};r^{\star})-J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi\_{\mathrm{out}};r^{\star})$\displaystyle\leq\mathcal{O}\left({\sqrt{\frac{R^{2}_{\max}e^{4R_{\max}}(R_{\max}+\sqrt{\mathbb{V}\log(2N_{\mathrm{rat}}/\delta)})^{2}\log\left({\left{\mathcal{R}}\right

Next, we provide the proofs of both statements in a unified manner.

of Theorem D.1 Let us start by proving the suboptimality bound assuming that Err_π_ref(r^_rat)≤Errmax⁡_π_ref(r^_rat)\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}})\leq\mathrm{Err}^{\max}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}}). We will later show that this fact indeed holds with high probability.

First notice that in the heterogeneous case Δi_r^\Delta^{i}\_{\hat{r}} is replaced by Δi_r^_rat\Delta^{i}\_{\hat{r}\_{\mathrm{rat}}}. Therefore, assuming π_ref=π_data\pi\_{\mathrm{ref}}=\pi\_{\mathrm{data}}, and using Theorem C.2 for ϕ(x)=γx+log⁡(x)\phi(x)=\gamma x+\log(x) with γ=Err_max⁡β2(1−α)2C⋆\gamma=\sqrt{\frac{\mathrm{Err}\_{\max}}{\beta^{2}(1-\alpha)^{2}}C^{\star}} where α=(1+Errmax⁡_π_ref(r^_rat)/Err_DPO(N,δ))−1\alpha=\left({1+\mathrm{Err}^{\max}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}})/\mathrm{Err\_{DPO}}(N,\delta)}\right)^{-1}, we have that with probability at least 1−δ1-\delta,

J_ββ_1β+β_1(π⋆;r⋆)−J_ββ_1β+β_1(π_out;r⋆)\displaystyle J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi^{\star};r^{\star})-J\_{\frac{\beta\beta\_{1}}{\beta+\beta\_{1}}}(\pi\_{\mathrm{out}};r^{\star})≤O(C⋆(Err_DPO−1(N,δ)+(Errmax⁡_π_ref(r^_rat))−1)−1)\displaystyle\leq\mathcal{O}\left({\sqrt{C^{\star}\left({\mathrm{Err\_{DPO}}^{-1}(N,\delta)+{(\mathrm{Err}^{\max}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}}))^{-1}}}\right)^{-1}}}\right)
------------
=O(C⋆Err_DPO(N,δ)Errmax⁡_π_ref(r^_rat)Err_DPO(N,δ)+Errmax⁡_π_ref(r^_rat)).\displaystyle=\mathcal{O}\left({\sqrt{C^{\star}\frac{\mathrm{Err\_{DPO}}(N,\delta)\mathrm{Err}^{\max}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}})}{\mathrm{Err\_{DPO}}(N,\delta)+\mathrm{Err}^{\max}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}})}}}\right).

Then replacing, the expression for Err_DPO(N,δ)\mathrm{Err\_{DPO}}(N,\delta), we obtain

$$J_{\frac{\beta\beta_{1}}{\beta+\beta_{1}}}(\pi^{\star};r^{\star})-J_{\frac{\beta\beta_{1}}{\beta+\beta_{1}}}(\pi_{\mathrm{out}};r^{\star})\leq\mathcal{O}\left({\sqrt{C^{\star}\frac{\frac{32R^{2}_{\max}e^{4R_{\max}}\log(\left{\Pi}\right

Then, it remains to show that Err_π_ref(r^_rat)≤Errmax⁡_π_ref(r^_rat)\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}})\leq\mathrm{Err}^{\max}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}}) with high probability. To achieve this goal, we invoke a standard result concerning the generalization error of the empirical risk minimization for the square loss with subgaussian noise ( see Lemma E.5) to obtain that with probability at least 1−2δ1-2\delta

Err_π_ref(r^_rat)\displaystyle\mathrm{Err}\_{\pi\_{\mathrm{ref}}}(\hat{r}\_{\mathrm{rat}})$\displaystyle=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi_{\mathrm{ref}}(ax)\pi_{\mathrm{ref}}(b
------------
$\displaystyle\leq\frac{c(R_{\max}-R_{\min}+\sqrt{\mathbb{V}\log(2N_{\mathrm{rat}}/\delta)})^{2}\log(\left{\mathcal{R}}\right
------------
$\displaystyle\leq\frac{c(R_{\max}+\sqrt{\mathbb{V}\log(2N_{\mathrm{rat}}/\delta)})^{2}\log(\left{\mathcal{R}}\right

for some c∈Rc\in\mathbb{R}. Now, plugging in this bound and rearranging yields the conclusions for the statement with for γ=Err_max⁡β2(1−α)2C⋆\gamma=\sqrt{\frac{\mathrm{Err}\_{\max}}{\beta^{2}(1-\alpha)^{2}}C^{\star}}. The proof for γ=0\gamma=0 is analogous invoking up to the difference of invoking Theorem 4.3 instead of Theorem C.2. ∎

D.2 Convergence guarantees for ML-RDPO in the heterogeneous case

Section titled “D.2 Convergence guarantees for ML-RDPO in the heterogeneous case”

For the guarantees of ML-RDPO, let us consider that the datasets D_rat\mathcal{D}\_{\mathrm{rat}} and D_rank\mathcal{D}\_{\mathrm{rank}} are generated as follows. First, NN state action pairs are collected offline from π_data\pi\_{\mathrm{data}}. For each of these pairs, we observe a rating with probability p_rat,obsp\_{\mathrm{rat,obs}} and a ranking with probability p_rank,obsp\_{\mathrm{rank,obs}}. If a ranking is observed, the state action pair is added to D_rank\mathcal{D}\_{\mathrm{rank}}. Similarly, if a rating is observed, the state action pair is appended to D_rat\mathcal{D}\_{\mathrm{rat}}. Therefore, state action pairs might appear in both datasets or only in one of the two.

For any β∈(0,∞)\beta\in(0,\infty). Let us assume that π_data=π_ref\pi\_{\mathrm{data}}=\pi\_{\mathrm{ref}} and consider π_out\pi\_{\mathrm{out}} computed as in Eq. 20 with γ=Err_max⁡β2C⋆\gamma=\sqrt{\frac{\mathrm{Err}\_{\max}}{\beta^{2}C^{\star}}}, where the maximum error is defined as

$$\mathrm{Err}_{\max}=\min\left{{\frac{(2(R_{\max}-R_{\min})^{2}+4\mathbb{V})}{\mathbb{E}[N_{\mathrm{rat}}]},\frac{16e^{4R_{\max}}R^{2}_{\max}}{\mathbb{E}[N_{\mathrm{rank}}]}}\right}2\log(\left{\Pi}\right

Then, it holds that with probability 1−δ1-\delta,

J_β(π⋆;r⋆)−J_β(π_out;r⋆)\displaystyle J\_{\beta}(\pi^{\star};r^{\star})-J\_{\beta}(\pi\_{\mathrm{out}};r^{\star})$\displaystyle\leq\mathcal{O}\left({\sqrt{C^{\star}\min\left{{\frac{(2(R_{\max}-R_{\min})^{2}+4\mathbb{V})}{p_{\mathrm{obs,rat}}},\frac{16e^{4R_{\max}}R^{2}_{\max}}{p_{\mathrm{obs,rank}}}}\right}\frac{2\log(\left{\Pi}\right
------------
=O(C⋆Err_max⁡).\displaystyle=\mathcal{O}\left({\sqrt{C^{\star}\mathrm{Err}\_{\max}}}\right).

Moreover, if γ=0\gamma=0, even if π_data≠π_ref\pi\_{\mathrm{data}}\neq\pi\_{\mathrm{ref}} we have that with probability at least 1−δ1-\delta it holds that

J_β(π⋆;r⋆)−J_β(π_out;r⋆)≤O(Cmax⁡Err_max⁡).J\_{\beta}(\pi^{\star};r^{\star})-J\_{\beta}(\pi\_{\mathrm{out}};r^{\star})\leq\mathcal{O}\left({\sqrt{C^{\max}\mathrm{Err}\_{\max}}}\right).

The proof differes from the homogeneous case presented in Theorem C.5 only because we need to bound the error of the implicit reward estimator, i.e. Err(r_out)\mathrm{Err}(r\_{\mathrm{out}}) differently as presented next.

For any r∈R_Π~r\in\mathcal{R}\_{\tilde{\Pi}}, let us define the ratings and ranking probability law to take into account the possibility of not observing a rating or a ranking, respectively. In particular, let us denote by ∅\emptyset the event where the rating or the ranking is not observed. Then, we define

$$\tilde{P}^{\mathrm{rat}}_{r}(zx,a,b)=\begin{cases}P^{\mathrm{rat}}_{r}(z

and

$$\tilde{P}^{\mathrm{rank}}_{r}(zx,a,b)=\begin{cases}P^{\mathrm{rank}}_{r}(z

ML-RDPO can therefore be seen as the algorithm seeking implicitly the maximizer of the following loglikelihood problem

r_out\displaystyle r\_{\mathrm{out}}=argmax_r∈R_Π~log⁡P~rat,rank_r(D_rat,D_rank)\displaystyle=\mathop{\rm argmax}\_{r\in\mathcal{R}\_{\tilde{\Pi}}}\log\tilde{P}^{\mathrm{rat,rank}}\_{r}(\mathcal{D}\_{\mathrm{rat}},\mathcal{D}\_{\mathrm{rank}})
------------
$\displaystyle=\mathop{\rm argmax}_{r\in\mathcal{R}_{\tilde{\Pi}}}\sum^{N}_{i=1}\log(\tilde{P}^{\mathrm{rat}}_{r}(\Delta^{i}_{\hat{r}}x^{\prime}_{i},\tilde{a}_{i},\bar{a}_{i})\tilde{P}^{\mathrm{rank}}_{r}(z_{i}

where Δi_r^\Delta^{i}\_{\hat{r}}’s and z_iz\_{i}’s are possibly equal to ∅\emptyset. Therefore, let us consider the squared Hellinger divergence

$$D^{2}_{H}(p,q)=\int_{z\in\mathcal{Z}}\left({\sqrt{p(zx,a,b)}-\sqrt{q(z

via the general bound for the conditional MLE risk, we have that with probability 1−δ1-\delta,

∑_x∈Xν_0(x)\displaystyle\sum\_{x\in\mathcal{X}}\nu\_{0}(x)$\displaystyle\sum_{a,b\in\mathcal{A}\times\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b
------------
$\displaystyle\leq\frac{2\log(\left{\Pi}\right

where we also upper bounded the size of the hypothesis class using the fact that Π~⊂Π\tilde{\Pi}\subset\Pi. At this point, due to the data processing inequality for the squared Hellinger divergence, we have that for all x,a,b∈X×A×Ax,a,b\in\mathcal{X}\times\mathcal{A}\times\mathcal{A} it holds that

$$D_{H}^{2}(\tilde{P}^{\mathrm{rat,rank}}_{r_{\mathrm{out}}}(\cdotx,a,b),\tilde{P}^{\mathrm{rat,rank}}_{r^{\star}}(\cdot

and

$$D_{H}^{2}(\tilde{P}^{\mathrm{rat,rank}}_{r_{\mathrm{out}}}(\cdotx,a,b),\tilde{P}^{\mathrm{rat,rank}}_{r^{\star}}(\cdot

Therefore, for any α∈[0,1]\alpha\in[0,1] we have that

$$(1-\alpha)D_{H}^{2}(\tilde{P}^{\mathrm{rank}}_{r_{\mathrm{out}}}(\cdotx,a,b),\tilde{P}^{\mathrm{rank}}_{r^{\star}}(\cdot

At this point, let us connect the squared Hellinger divergence D_H2(P~rat_r_out(⋅∣x,a,b),P~rat_r⋆(⋅∣x,a,b))D\_{H}^{2}(\tilde{P}^{\mathrm{rat}}\_{r\_{\mathrm{out}}}(\cdot|x,a,b),\tilde{P}^{\mathrm{rat}}\_{r^{\star}}(\cdot|x,a,b)) with D_H2(Prat_r_out(⋅∣x,a,b),Prat_r⋆(⋅∣x,a,b)).D\_{H}^{2}(P^{\mathrm{rat}}\_{r\_{\mathrm{out}}}(\cdot|x,a,b),P^{\mathrm{rat}}\_{r^{\star}}(\cdot|x,a,b)).

$\displaystyle D_{H}^{2}(\tilde{P}^{\mathrm{rat}}_{r_{\mathrm{out}}}(\cdotx,a,b),$$\displaystyle\tilde{P}^{\mathrm{rat}}_{r^{\star}}(\cdot
------------
$\displaystyle\phantom{=}+\left({\sqrt{\tilde{P}^{\mathrm{rat}}_{r_{\mathrm{out}}}(\emptysetx,a,b)}-\sqrt{\tilde{P}^{\mathrm{rat}}_{r^{\star}}(\emptyset
------------
$\displaystyle=\int_{z\in\mathcal{Z}\setminus\left{{\emptyset}\right}}\left({\sqrt{\tilde{P}^{\mathrm{rat}}_{r_{\mathrm{out}}}(zx,a,b)}-\sqrt{\tilde{P}^{\mathrm{rat}}_{r^{\star}}(z
------------
$\displaystyle=\int_{z\in\mathcal{Z}\setminus\left{{\emptyset}\right}}\left({\sqrt{p_{\mathrm{obs,rat}}P^{\mathrm{rat}}_{r_{\mathrm{out}}}(zx,a,b)}-\sqrt{p_{\mathrm{obs,rat}}P^{\mathrm{rat}}_{r^{\star}}(z
------------
$\displaystyle=p_{\mathrm{obs,rat}}\int_{z\in\mathcal{Z}\setminus\left{{\emptyset}\right}}\left({\sqrt{P^{\mathrm{rat}}_{r_{\mathrm{out}}}(zx,a,b)}-\sqrt{P^{\mathrm{rat}}_{r^{\star}}(z
------------
$\displaystyle=p_{\mathrm{obs,rat}}D_{H}^{2}(P^{\mathrm{rat}}_{r_{\mathrm{out}}}(\cdotx,a,b),P^{\mathrm{rat}}_{r^{\star}}(\cdot

Analogously, one can get

$$D_{H}^{2}(\tilde{P}^{\mathrm{rank}}_{r_{\mathrm{out}}}(\cdotx,a,b),\tilde{P}^{\mathrm{rank}}_{r^{\star}}(\cdot

At this point, with the same steps followed for the proof of Theorem 4.4, we can get

$$D_{H}^{2}(P^{\mathrm{rank}}_{r_{\mathrm{out}}}(\cdotx,a,b),P^{\mathrm{rank}}_{r^{\star}}(\cdot

and

$$D_{H}^{2}(P^{\mathrm{rat}}_{r_{\mathrm{out}}}(\cdotx,a,b),P^{\mathrm{rat}}_{r^{\star}}(\cdot

All in all, we get,

(1−α)\displaystyle(1-\alpha)$\displaystyle D_{H}^{2}(\tilde{P}^{\mathrm{rank}}_{r_{\mathrm{out}}}(\cdotx,a,b),\tilde{P}^{\mathrm{rank}}_{r^{\star}}(\cdot
------------
≥(1−α)p_obs,rank(r_out(x,a)−r_out(x,b)−r⋆(x,a)−r⋆(x,b))216e4R_max⁡R2_max⁡\displaystyle\geq(1-\alpha)\frac{p\_{\mathrm{obs,rank}}(r\_{\mathrm{out}}(x,a)-r\_{\mathrm{out}}(x,b)-r^{\star}(x,a)-r^{\star}(x,b))^{2}}{16e^{4R\_{\max}}R^{2}\_{\max}}
------------
=+αp_obs,rat(r_out(x,a)−r_out(x,b)−r⋆(x,a)−r⋆(x,b))22(R_max⁡−R_min⁡)2+4V.\displaystyle\phantom{=}+\alpha\frac{p\_{\mathrm{obs,rat}}(r\_{\mathrm{out}}(x,a)-r\_{\mathrm{out}}(x,b)-r^{\star}(x,a)-r^{\star}(x,b))^{2}}{2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V}}.

Therefore,

$$\left({\frac{(1-\alpha)p_{\mathrm{obs,rank}}}{16e^{4R_{\max}}R^{2}_{\max}}+\frac{\alpha p_{\mathrm{obs,rat}}}{2(R_{\max}-R_{\min})^{2}+4\mathbb{V}}}\right)\mathrm{Err}_{\pi_{\mathrm{ref}}}(r_{\mathrm{out}})\leq\frac{2\log(\left{\Pi}\right

which leads to the following bound with probability 1−δ1-\delta,

$$\mathrm{Err}_{\pi_{\mathrm{ref}}}(r_{\mathrm{out}})\leq\left({\frac{16e^{4R_{\max}}R^{2}_{\max}(2(R_{\max}-R_{\min})^{2}+4\mathbb{V})/p_{\mathrm{obs,rank}}p_{\mathrm{obs,rat}}}{\nicefrac{{(2(R_{\max}-R_{\min})^{2}+4\mathbb{V})}}{{p_{\mathrm{obs,rat}}}}(1-\alpha)+\nicefrac{{16e^{4R_{\max}}R^{2}_{\max}}}{{p_{\mathrm{obs,rank}}}}\alpha}}\right)\frac{2\log(\left{\Pi}\right

Therefore, for α=\mathds1{\nicefrac16e4R_max⁡R2_max⁡p_obs,rank≥\nicefrac(2(R_max⁡−R_min⁡)2+4V)p_obs,rat}\alpha=\mathds{1}\left\{{\nicefrac{{16e^{4R\_{\max}}R^{2}\_{\max}}}{{p\_{\mathrm{obs,rank}}}}\geq\nicefrac{{(2(R\_{\max}-R\_{\min})^{2}+4\mathbb{V})}}{{p\_{\mathrm{obs,rat}}}}}\right\}, we obtain that with probability at least 1−δ1-\delta

$$\mathrm{Err}_{\pi_{\mathrm{ref}}}(r_{\mathrm{out}})\leq\mathrm{Err}_{\max}:=\min\left{{\frac{(2(R_{\max}-R_{\min})^{2}+4\mathbb{V})}{p_{\mathrm{obs,rat}}},\frac{16e^{4R_{\max}}R^{2}_{\max}}{p_{\mathrm{obs,rank}}}}\right}\frac{2\log(\left{\Pi}\right

which allows to conclude the proof. The equality in the theorem statement holds because p_obs,ratN=E[N_rat]p\_{\mathrm{obs,rat}}N=\mathbb{E}[N\_{\mathrm{rat}}] and p_obs,rankN=E[N_rank]p\_{\mathrm{obs,rank}}N=\mathbb{E}[N\_{\mathrm{rank}}].

The proof for the case γ=0\gamma=0, follows from the fact that

J_β(π⋆;r⋆)−J_β(π_out;r⋆)≤Cmax⁡Err(r_out)J\_{\beta}(\pi^{\star};r^{\star})-J\_{\beta}(\pi\_{\mathrm{out}};r^{\star})\leq\sqrt{C^{\max}\mathrm{Err}(r\_{\mathrm{out}})}

established in the proof of Theorem 4.4 and the bound Err(r_out)≤Err_max⁡\mathrm{Err}(r\_{\mathrm{out}})\leq\mathrm{Err}\_{\max} which holds with probability at least 1−δ1-\delta as shown above. ∎

This section contains technical results that are used in proving the guarantees for RDPO and ML-RDPO. We start with an important duality result between RLHF and DPO. Before delving in the proof, let us state Assumption 4.2 in the following equivalent form.

Let us consider any reward r:X×A→[R_min⁡,R_max⁡]r:\mathcal{X}\times\mathcal{A}\rightarrow[R\_{\min},R\_{\max}]. Then, we assume that Π\Pi is such that for any γ∈[0,∞)\gamma\in[0,\infty), it holds that

argmax_π∈Π\displaystyle\mathop{\rm argmax}\_{\pi\in\Pi}⟨π,r⟩−βγD_χ2(π,π_ref)−βD_KL(π,π_ref)\displaystyle\left\langle{\pi},{r}\right\rangle-\beta\gamma D\_{\chi^{2}}(\pi,\pi\_{\mathrm{ref}})-\beta D\_{\mathrm{KL}}(\pi,\pi\_{\mathrm{ref}})
------------
=argmax_π∈Π_all⟨π,r⟩−βγD_χ2(π,π_ref)−βD_KL(π,π_ref)\displaystyle=\mathop{\rm argmax}\_{\pi\in\Pi\_{\mathrm{all}}}\left\langle{\pi},{r}\right\rangle-\beta\gamma D\_{\chi^{2}}(\pi,\pi\_{\mathrm{ref}})-\beta D\_{\mathrm{KL}}(\pi,\pi\_{\mathrm{ref}})

The assumption says that the policy class Π\Pi should be expressive enough to realize the solution of all RLHF problems associated with all possible bounded reward functions. The next lemma leverages the rewriting of Assumption 4.2 to show that any policy π\pi is the maximizer of the regularized RL problem having as reward the function βϕ(π/π_ref)\beta\phi(\pi/\pi\_{\mathrm{ref}}).

Let Assumption E.1 hold. For any policy π∈Π\pi\in\Pi, let us consider the reward function r_π(x,a)=βϕ(π(a∣x)π_ref(a∣x))r\_{\pi}(x,a)=\beta\phi\left({\frac{\pi(a|x)}{\pi\_{\mathrm{ref}}(a|x)}}\right) where ϕ(x)=γx+log⁡(x)\phi(x)=\gamma x+\log(x). Then, it holds true that

π∈argmax_p∈Π⟨p,r_π⟩−βγD_χ2(p,π_ref)−βD_KL(p,π_ref).\pi\in\mathop{\rm argmax}\_{p\in\Pi}\left\langle{p},{r\_{\pi}}\right\rangle-\beta\gamma D\_{\chi^{2}}(p,\pi\_{\mathrm{ref}})-\beta D\_{\mathrm{KL}}(p,\pi\_{\mathrm{ref}}).

By Assumption E.1, we have that π\pi is the solution when the domain is enlarged from Π\Pi to Π_all\Pi\_{\mathrm{all}}, that is

π∈argmax_p∈Π_all⟨p,r_π⟩−βγD_χ2(p,π_ref)−βD_KL(p,π_ref)\pi\in\mathop{\rm argmax}\_{p\in\Pi\_{\mathrm{all}}}\left\langle{p},{r\_{\pi}}\right\rangle-\beta\gamma D\_{\chi^{2}}(p,\pi\_{\mathrm{ref}})-\beta D\_{\mathrm{KL}}(p,\pi\_{\mathrm{ref}})

At this point, noticing that γD_χ2(π,π′)+D_KL(π,π′)\gamma D\_{\chi^{2}}(\pi,\pi^{\prime})+D\_{\mathrm{KL}}(\pi,\pi^{\prime}) can be interpreted as ff-divergence generated by f(x)=γx22+xlog⁡(x)f(x)=\gamma\frac{x^{2}}{2}+x\log(x). Notice that f′(x)=γx+log⁡(x)+1f^{\prime}(x)=\gamma x+\log(x)+1 and therefore since 0∉dom(f′)0\notin\mathrm{dom}(f^{\prime}). Therefore, the conditions of Huang et al. [2024, Lemma F.2] are satisfied and we can invoke their result to conclude the proof. ∎

Next, we present two results that bound the generalization error for the estimator learned via ranking information. The first result upper bounds the absolute value error of r_outr\_{\mathrm{out}} in terms of the Hellinger divergences between the Bradley-Terry model with ground truth reward rr and the one with reward r_outr\_{\mathrm{out}}.

(adapted from Huang et al. [2024, Lemma F.5]) Recall that r⋆(x,a)−r⋆(x,b)∈[R_min⁡−R_max⁡,R_max⁡−R_min⁡]r^{\star}(x,a)-r^{\star}(x,b)\in[R\_{\min}-R\_{\max},R\_{\max}-R\_{\min}] and r_out(x,a)−r_out(x,b)∈[R_min⁡−R_max⁡,R_max⁡−R_min⁡]r\_{\mathrm{out}}(x,a)-r\_{\mathrm{out}}(x,b)\in[R\_{\min}-R\_{\max},R\_{\max}-R\_{\min}] , then we define

$$P_{r}(\mathds{1}\left{{a~\text{is preferred to~}b}\right}x,a,b)=\sigma(r(x,a)-r(x,b))$$

for any r∈R_Π′r\in\mathcal{R}\_{\Pi^{\prime}}. Then, it holds that

$\displaystyler^{\star}(x,a)-r^{\star}(x,b)$$\displaystyle-r_{\mathrm{out}}(x,a)+r_{\mathrm{out}}(x,b)
------------
$\displaystyle\leq 4e^{2R_{\max}}R_{\max}\sqrt{\sum_{z\in\left{{0,1}\right}}(\sqrt{P_{r^{\star}}(zx,a,b)}-\sqrt{P_{r_{\mathrm{out}}}(z

Second, we invoke a classic result on the generalization error of the maximum likelihood estimator to bound the Hellinger divergence.

(Conditional MLE Risk) For any policy class Π\Pi, let us consider the following policy-induced reward class

$$\mathcal{R}_{\Pi}=\bigg{r~~\exists\pi\in\Pi\text{s.t.}~~r(x,a)=\beta\phi\left({\frac{\pi(a

Moreover, consider the conditional density P_r:X×A×A→[0,1]P\_{r}:\mathcal{X}\times\mathcal{A}\times\mathcal{A}\rightarrow\left[{0,1}\right], the dataset D_rank={x_i,a+_i,a−_i}\mathcal{D}\_{\mathrm{rank}}=\left\{{x\_{i},a^{+}\_{i},a^{-}\_{i}}\right\} with ∣D_rank∣=N_rank\left|{\mathcal{D}\_{\mathrm{rank}}}\right|=N\_{\mathrm{rank}} and the estimator

$$r_{\mathrm{out}}=\mathop{\rm argmax}_{r\in\mathcal{R}_{\Pi}}\sum^{N_{\mathrm{rank}}}_{i=1}\log P_{r}(a_{i}^{+}~\text{is preferred to}~a_{i}^{-}x_{i},a_{i}^{-},a_{i}^{+}).$$

Then, it holds that with probability 1−δ1-\delta

∑_x∈Xν_0(x)\displaystyle\sum\_{x\in\mathcal{X}}\nu\_{0}(x)$\displaystyle\sum_{a,b\in\mathcal{A}\times\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b
------------
$\displaystyle\leq\frac{2\log(\left{\Pi}\right

Finally, we provide the bound for the least square estimate using as targets the observed rating gaps, which we assume to be unbiased and Gaussian distributed.

(Concentration for the rating reward) Let us consider the generalization error for the rating reward estimator

$$\mathrm{Err}(\hat{r}_{\mathrm{rat}})=\sum_{x\in\mathcal{X}}\nu_{0}(x)\sum_{a\in\mathcal{A}}\pi_{\mathrm{data}}(ax)\pi_{\mathrm{data}}(b

where

r^_rat=argmin_r∈R∑N_rat_i=1(r(x′_i,aˉ_i)−r(x′_i,a~_i)−Δi_r^)2,\hat{r}\_{\mathrm{rat}}=\mathop{\rm argmin}\_{r\in\mathcal{R}}\sum^{N\_{\mathrm{rat}}}\_{i=1}(r(x^{\prime}\_{i},\bar{a}\_{i})-r(x^{\prime}\_{i},\tilde{a}\_{i})-\Delta^{i}\_{\hat{r}})^{2},

and Δi_r^∣x′_i,aˉ_i,a~_i\Delta^{i}\_{\hat{r}}|x^{\prime}\_{i},\bar{a}\_{i},\tilde{a}\_{i} is a V\mathbb{V}-sub Gaussian random variable with mean r⋆(x′_i,aˉ_i)−r⋆(x′_i,a~_i)r^{\star}(x^{\prime}\_{i},\bar{a}\_{i})-r^{\star}(x^{\prime}\_{i},\tilde{a}\_{i}). Then we have that with probability at least 1−2δ1-2\delta,

$$\mathrm{Err}(\hat{r}_{\mathrm{rat}})\leq\mathcal{O}\left({\frac{(R_{\max}-R_{\min}+\sqrt{\mathbb{V}\log(2N_{\mathrm{rat}}/\delta)})^{2}\log(\frac{\left{\mathcal{R}}\right

By the definition of a subgaussian random variable, we have that

$$\mathbb{P}\left({\left{\Delta^{i}_{\hat{r}}-r^{\star}(x^{\prime}_{i},\bar{a}_{i})+r^{\star}(x^{\prime}_{i},\tilde{a}_{i})}\right

for any scalar t∈Rt\in\mathbb{R}. Therefore, for t=Vlog⁡(2N_rat/δ)t=\sqrt{\mathbb{V}\log\left({2N\_{\mathrm{rat}}/\delta}\right)}, and a union bound we have that

$$\mathbb{P}\left({\left{\Delta^{i}_{\hat{r}}-r^{\star}(x^{\prime}_{i},\bar{a}_{i})+r^{\star}(x^{\prime}_{i},\tilde{a}_{i})}\right
$$\implies\mathbb{P}\left({\left{\Delta^{i}_{\hat{r}}}\right

Therefore, with probability 1−δ1-\delta the regression targets {Δi_r^}N_rat_i=1\left\{{\Delta^{i}\_{\hat{r}}}\right\}^{N\_{\mathrm{rat}}}\_{i=1} are in the interval [−R_max⁡+R_min⁡−Vlog⁡(2N_rat/δ),R_max⁡−R_min⁡+Vlog⁡(2N_rat/δ)][-R\_{\max}+R\_{\min}-\sqrt{\mathbb{V}\log\left({2N\_{\mathrm{rat}}/\delta}\right)},R\_{\max}-R\_{\min}+\sqrt{\mathbb{V}\log\left({2N\_{\mathrm{rat}}/\delta}\right)}]. Invoking Foster and Rakhlin [2023][Chapter 1, Exercise 1 ], we have that under the event for E_bounded={Δi_r^∈[−B,B],B=R_max⁡−R_min⁡+Vlog⁡(2N_rat/δ)}\mathcal{E}\_{\mathrm{bounded}}=\left\{{\Delta^{i}\_{\hat{r}}\in[-B,B],B=R\_{\max}-R\_{\min}+\sqrt{\mathbb{V}\log\left({2N\_{\mathrm{rat}}/\delta}\right)}}\right\}, it holds that

$$\mathbb{P}\left({\mathrm{Err}(\hat{r}_{\mathrm{rat}})\leq\mathcal{O}\left({\frac{B^{2}\log(\frac{\left{\mathcal{R}}\right

Finally, to remove the conditioning E_bounded\mathcal{E}\_{\mathrm{bounded}}, by the law of total probability we have that

P\displaystyle\mathbb{P}$\displaystyle\left({\mathrm{Err}(\hat{r}_{\mathrm{rat}})\geq\mathcal{O}\left({\frac{B^{2}\log(\frac{\left{\mathcal{R}}\right
------------
$\displaystyle=\mathbb{P}\left({\mathrm{Err}(\hat{r}_{\mathrm{rat}})\geq\mathcal{O}\left({\frac{B^{2}\log(\frac{\left{\mathcal{R}}\right
------------
$\displaystyle\phantom{=}+\mathbb{P}\left({\mathrm{Err}(\hat{r}_{\mathrm{rat}})\geq\mathcal{O}\left({\frac{B^{2}\log(\frac{\left{\mathcal{R}}\right
------------
$\displaystyle\leq\mathbb{P}\left({\mathrm{Err}(\hat{r}_{\mathrm{rat}})\geq\mathcal{O}\left({\frac{B^{2}\log(\frac{\left{\mathcal{R}}\right
------------
≤2δ.\displaystyle\leq 2\delta.

∎

In this section, we provide a clarification concerning how we compute the error bars in our plots and some additional experiments.

The error bars reported in all plots showing the win rate against GPT-4 are measured as standard deviations over the evaluations sets: i.e. AlpacaEval and ArenaHard treating each prompt as an independent sample. This is the standard estimation of the win rate uncertainty in the AlpacaEval and ArenaHard libraries. Differently in Figure 1 we compute the standard deviation of the win rate across the different choices of π_ref\pi\_{\mathrm{ref}}.

Next, we show in Section F.1 the win rates between each model pairs trained starting from a base model with 7 or 8 B parameters . Then, we report additional experiments with perturbed rating information in Section F.2. Experiments on the smaller models SmolLM2-135M99 9 https://huggingface.co/HuggingFaceTB/SmolLM2-135M, SmoLM2-360M 1010 10 https://huggingface.co/HuggingFaceTB/SmolLM2-360M and SmolLM2-1.7B 1111 11 https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B are presented in Section F.3. Finally, we present in Section F.4 the ablations we performed on Zephyr-7B to choose the values of β_1\beta\_{1} and V\mathbb{V} which we used also for the experiments on Llama-3.1-8B and Mistral-7B. We conclude in Section F.5 showing the practical benefit of restricting the policy class to Π′\Pi^{\prime} as done for the proof of Theorem 4.3.

(a)

(a)

(a)

(a)

We see that RDPO achieves a high win rate against any other alignment methods for all three choices for π_ref\pi\_{\mathrm{ref}}. ML-RDPO generally achieves an even higher win rate for Zephyr and Mistral while it underperforms slightly in Llama. IPO and RPO are strong baselines for the experiment with Llama as a base model. The attentive reader might notice that the antidiagonal elements do not sum to one. This is because we run two independent judgments for each pair of models.

F.2 Additional experiments with noisy rating information

Section titled “F.2 Additional experiments with noisy rating information”

(a)

In Figure 7 we report the win rate against GPT-4 as judged by Claude-Sonnet-3.5v2 for the base models Zephyr-7B and Mistral-7B. The experiment aims at monitoring the win rate as a function of the variance of the Gaussian noise injected in the ultrafeedback rating.

As we found using Llama-8B as base model ( see ), both choices for β_1\beta\_{1}, i.e. β_1=1/10\beta\_{1}=1/10 and β_1=1/40\beta\_{1}=1/40, perform similarly at low variance level while β_1=1/10\beta\_{1}=1/10 performs better when high variance values are considered. This behaviour is consistent with the theoretical prediction that a higher β_1\beta\_{1} should be considered when the rating information is inaccurate.

We experiment with the SmolLM2 family as an initial test; however, small language models can be important in some situations, such as on-device applications Xu et al. [2024a]. Therefore, we include the results in the following. In particular, we report the results of the relative win rates between any pair of considered alignment methods.

(a)

(a)

(a)

(a)

We observe that for SmolLM2 models, it is possible to achieve larger win rates, and in this case, the benefit of rating is even more evident than at 7B/8B scale. At 135M, the best methods are RPO Adler et al. [2024a] and our RIPO, while RDPO is the third best performing in this setting. These three algorithms are comparable at 360M scale, while RDPO outperforms all the other methods neatly at 1.7B scale.

ML-RDPO does not perform as well in this setting, but it is always improving over both DPO and Distilled DPO as predicted by Theorem 4.4.

In these tables, we compare the “best” epochs for each algorithm. Best epoch here means the epoch that achieved the highest win rate against π_ref\pi\_{\mathrm{ref}}, which is reported in Figure 9.

Moreover, we highlight that we re-tuned the baselines in this setting because we observed that, for any alignment algorithms, the hyperparameters working the best at 7/8B scale can be very different from the best ones at smaller scale.

(a)

F.4 Ablation for β_1\beta\_{1} and V\mathbb{V}

Section titled “F.4 Ablation for β_1\beta\_{1}β_1 and V\mathbb{V}V”

For deciding the hyperparameters to use in the experiments shown in the main text, we run ML-RDPO with 55 possible choices for V\mathbb{V} and RDPO with 55 possible choices for β_1\beta\_{1} using Zephyr-7B as base model. We select the configuration with the best-performing win rate against π_ref\pi\_{\mathrm{ref}} for the other experiments. The best hyperparameters found in this way are β_1=1/10\beta\_{1}=1/10 for RDPO and V=1/100\mathbb{V}=1/100 for ML-RDPO. We report the win rates achieved by the configuration we tried in Table 1

Table 1: Zephyr-7B, Ablation for win rate against π_ref\pi\_{\mathrm{ref}} on Alpaca Eval

Modelwin rateStandard Error
ML-RDPO V=1\mathbb{V}=12.430.539
ML-RDPO V=1/10\mathbb{V}=1/1017.681.398
ML-RDPO V=1/50\mathbb{V}=1/5019.071.384
ML-RDPO V=1/100\mathbb{V}=1/10023.451.494
ML-RDPO V=1/200\mathbb{V}=1/20019.591.399
RDPO β_1=1\beta\_{1}=111.681.133
RDPO β_1=1/10\beta\_{1}=1/1023.381.491
RDPO β_1=1/40\beta\_{1}=1/4017.831.352
RDPO β_1=1/100\beta\_{1}=1/10016.041.295
RDPO β_1=1/125\beta\_{1}=1/12515.171.266
Zephyr-7B-SFT-full15.111.262

For both algorithms, we used otherwise standard DPO choices, that is β=0.1\beta=0.1 and learning rate 1e−61e-6.

Surprisingly, the best hyperparameters for the SmolLM2 family are different. In particular, in Figure 10 we show that for the setting π_ref=SmolLM2-1.7B\pi\_{\mathrm{ref}}=\texttt{SmolLM2-1.7B} the best value for β_1\beta\_{1} is 0.0050.005, which is much smaller than the values found at 7B/8B level. Recall that a smaller β_1\beta\_{1} translates to higher trust for the ratings. Interestingly, it seems that these experiments suggest that the model size plays a role in choosing the right level of trust. This fact is not captured by our current theory, which neglects the optimization aspects of the problem. We believe it is an interesting open question to develop a deeper understanding of this phenomenon, either empirically or theoretically.

Figure 10 : Win rate vs base model SmolLM2-1.7B in Alpaca-Eval for different values of β 1 \beta_{1} used in Algorithm 1

In this section, we investigate a practical implementation of RDPO which embodies some penalty to ensure that the output policy is in the restricted class Π′\Pi^{\prime} which we recall being the subset of Π\Pi such that π∈Π′\pi\in\Pi^{\prime} implies that ∣βΔ_log⁡π/π_ref−ββ_1Δ_r^∣≤Δ_max⁡\left|{\beta\Delta\_{\log\pi/\pi\_{\mathrm{ref}}}-\frac{\beta}{\beta\_{1}}\Delta\_{\hat{r}}}\right|\leq\Delta\_{\max} where Δ_max⁡:=R_max⁡−R_min⁡\Delta\_{\max}:=R\_{\max}-R\_{\min}. To this end, we consider the following minimization problem

argmin_π∈Π\displaystyle\mathop{\rm argmin}\_{\pi\in\Pi}∑N_i=1−log⁡σ(βΔi_log⁡π/π_ref−ββ_1Δi_r^)+\displaystyle\sum^{N}\_{i=1}-\log\sigma\left({\beta\Delta^{i}\_{\log\pi/\pi\_{\mathrm{ref}}}-\frac{\beta}{\beta\_{1}}\Delta^{i}\_{\hat{r}}}\right)+
------------
+λ_1(Δi_log⁡π/π_ref−Δi_r^β_1−Δ_max⁡)\mathds1{Δi_log⁡π/π_ref−Δi_r^β_1≥Δ_max⁡}\displaystyle+\lambda\_{1}\left({\Delta^{i}\_{\log\pi/\pi\_{\mathrm{ref}}}-\frac{\Delta^{i}\_{\hat{r}}}{\beta\_{1}}-\Delta\_{\max}}\right)\mathds{1}\left\{{\Delta^{i}\_{\log\pi/\pi\_{\mathrm{ref}}}-\frac{\Delta^{i}\_{\hat{r}}}{\beta\_{1}}\geq\Delta\_{\max}}\right\}
------------
+λ_2(−Δi_log⁡π/π_ref+Δi_r^β_1−Δ_max⁡)\mathds1{Δi_log⁡π/π_ref−Δi_r^β_1≤−Δ_max⁡}\displaystyle+\lambda\_{2}\left({-\Delta^{i}\_{\log\pi/\pi\_{\mathrm{ref}}}+\frac{\Delta^{i}\_{\hat{r}}}{\beta\_{1}}-\Delta\_{\max}}\right)\mathds{1}\left\{{\Delta^{i}\_{\log\pi/\pi\_{\mathrm{ref}}}-\frac{\Delta^{i}\_{\hat{r}}}{\beta\_{1}}\leq-\Delta\_{\max}}\right\}

where λ_1,λ_2∈R+\lambda\_{1},\lambda\_{2}\in\mathbb{R}^{+} are penalties hyperparameters. The larger λ_1,λ_2\lambda\_{1},\lambda\_{2} are, the smallest the constraint violation of π_out\pi\_{\mathrm{out}} is.

As shown in Figure 11, we observe an improvement for Llama and Mistral as base model while the performance without penalty is better for π_ref\pi\_{\mathrm{ref}} chosen to be Zephyr-7B. However, in all cases the difference between RDPO with or without penalties is not remarkable, therefore, while the restriction to Π′\Pi^{\prime} is needed for the theoretical result in Theorem 4.3, we consider it as optional in practice. In particular, it might be avoided when handling a simpler objective is desirable.

(a)