Skip to content
ImagineWorld

Displacement-Resistant Extensions of DPO with Nonconvex $f$-Divergences

node_idnode-paper_arxiv-2602.06788_displacement-resistant-extensions-of-dpo-with-nonconvex-f-divergences
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2602.06788
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 builds displacement-resistant extensions of DPO using nonconvex f-divergences, so preference optimization stops shifting probability mass off the reference behavior in unintended ways — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleDisplacement-Resistant Extensions of DPO with Nonconvex $f$-Divergences
paper_authorsIdan Pipano, Shoham Sabach, Kavosh Asadi, Mohammad Ghavamzadeh
arxiv_id2602.06788
arxiv_urlhttps://arxiv.org/abs/2602.06788
arxiv_categories{"primary":"cs.LG","secondary":[]}
arxiv_v1
arxiv_submitted_at2026-02-06
arxiv_updated_at2026-02-06
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

Displacement-Resistant Extensions of DPO with Nonconvex ff-Divergences

Section titled “Displacement-Resistant Extensions of DPO with Nonconvex fff-Divergences”

Authors: Idan Pipano, Shoham Sabach, Kavosh Asadi, Mohammad Ghavamzadeh

arxiv: 2602.06788

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


DPO and related algorithms align language models by directly optimizing the RLHF objective: find a policy that maximizes the Bradley-Terry reward while staying close to a reference policy through a KL divergence penalty. Previous work showed that this approach could be further generalized: the original problem remains tractable even if the KL divergence is replaced by a family of ff-divergence with a convex generating function ff. Our first contribution is to show that convexity of ff is not essential. Instead, we identify a more general condition, referred to as DPO-inducing, that precisely characterizes when the RLHF problem remains tractable. Our next contribution is to establish a second condition on ff that is necessary to prevent probability displacement, a known empirical phenomenon in which the probabilities of the winner and the loser responses approach zero. We refer to any ff that satisfies this condition as displacement-resistant. We finally focus on a specific DPO-inducing and displacement-resistant ff, leading to our novel SquaredPO loss. Compared to DPO, this new loss offers stronger theoretical guarantees while performing competitively in practice.

Language models (LMs) have emerged as a promising path towards achieving AGI. As they become increasingly integrated into real-world applications, it is important to ensure that LMs behave in accordance with human preferences. A major step towards enabling LM alignment was the reinforcement learning from human feedback (RLHF) framework (Christiano et al., 2017). In this context, the alignment problem is formulated as maximizing a learned Bradley-Terry (BT) reward signal while ensuring that the final LM does not deviate too much from a reference policy. This is a guardrail achieved by penalizing deviations through a KL-divergence penalty. A breakthrough was due to Rafailov et al. (2024) who showed that the RLHF problem could be solved directly in a single step by leveraging the fact that (I) the problem has a closed-form solution, and (II) plugging the closed-form solution into the BT model removes intractable quantities, leading to simple optimization.

More recent work showed that the so-called DPO approach of  Rafailov et al. (2024) can be generalized. In particular, Wang et al. (2024) showed that it is possible to maintain tractable optimization while moving from the KL divergence to a family of ff-divergences. This use of ff-divergences, not to be confused with minimizing the ff-divergence between the learned model and a desired model (Go et al., 2023; Han et al., 2024), is the focus of our work. More precisely, Wang et al. (2024) showed that if ff is convex, differentiable, and f′f^{\prime} is invertible with 0∉dom(f′)0\notin dom(f^{\prime}), then the new optimization problem remains directly solvable, akin to solving the original RLHF problem using DPO.

Our first contribution is to show that the RLHF problem remains tractable for even a broader class of functions than those discovered by Wang et al. (2024). In particular, we show that surprisingly one can relax the convexity assumption and that even for some non-convex functions ff, one can get ff-divergences that maintain tractability. In fact, we discover the full characterization of functions ff for which the original RLHF problem remains tractable. Referred to as DPO-inducing, the new condition is less restrictive than the class of functions discussed by prior work.

The richness of the class of DPO-inducing functions gives us significant flexibility, but also raises a natural question: which specific choice of DPO-inducing ff is best equipped to improve alignment? To answer this question, we note that an empirical pitfall of DPO and related algorithms is probability displacement, a phenomenon in which both winner and loser probabilities approach zero during optimization (Fisch et al., 2025). Our second contribution is to show that within the class of DPO-inducing functions, there exists a subset of functions that provably hedge against probability displacement. We refer to such functions as displacement-resistant.

We finally focus on a novel loss, called SquaredPO, which arises by using a nonconvex ff-divergence that is both DPO-inducing and displacement-resistant. We show that optimizing this novel loss results in comparative empirical performance while enjoying robustness to over-optimization and empirically mitigating displacement. Together, our results suggest that DPO-inducing ff-divergences can be used effectively for preference optimization, and that displacement-resistant ff-divergences, in particular, are best suited for aligning LMs.

A key step in training Language Models (LMs) is to align them with human preferences. In this task, we leverage a preference dataset D\mathcal{D}, often consisting of triplets (x,y_w,y_l)\left(x,y\_{w},y\_{l}\right). Here, xx is a prompt, and y_w,y_ly\_{w},y\_{l} are two responses, where a human, or a strong LLM, has annotated y_wy\_{w} to be a better response for the prompt xx than y_ly\_{l}. The response y_wy\_{w} is referred to as the chosen or winner response, and y_ly\_{l} as the rejected or loser response.

The original technique to solve this task was to perform a two-stage optimization (Christiano et al., 2017). Namely, we first train a parameterized reward model r_ϕr\_{\phi} by minimizing the negative-log-likelihood loss:

min⁡_ϕE_(x,y_w,y_l)∼D[−log⁡σ(r_ϕ(x,y_w)−r_ϕ(x,y_l))]  ,\min\_{\phi}\mathbb{E}\_{\left(x,y\_{w},y\_{l}\right)\sim\mathcal{D}}\left[-\log\sigma\left(r\_{\phi}\left(x,y\_{w}\right)-r\_{\phi}\left(x,y\_{l}\right)\right)\right]\;,(1)

under the assumption that our preferences follow the Bradley-Terry (BT) (Bradley and Terry, 1952) model, i.e., that there exists a reward function rr such that the probability of y_wy\_{w} being preferred over y_ly\_{l} given a prompt xx is σ(r(x,y_w)−r(x,y_l))\sigma\left(r\left(x,y\_{w}\right)-r\left(x,y\_{l}\right)\right), where σ(t)=1/(1+e−t)\sigma\left(t\right)=1/\left(1+e^{-t}\right) is the sigmoid function. Here and throughout, log⁡(⋅)\log(\cdot) denotes the natural logarithm (base ee). The learned reward model r_ϕr\_{\phi} is then used by the PPO algorithm to optimize the following objective:

max⁡_θE_x[E_y∼π_θ(⋅∣x)[r_ϕ(x,y)]−βKL[π_θ(⋅∣x)∥π_ref(⋅∣x)]]  .\max\_{\theta}\mathbb{E}\_{x}\left[\mathbb{E}\_{y\sim\pi\_{\theta}\left(\cdot\mid x\right)}\left[r\_{\phi}\left(x,y\right)\right]-\beta\text{KL}\left[\pi\_{\theta}\left(\cdot\mid x\right)\parallel\pi\_{\text{ref}}\left(\cdot\mid x\right)\right]\right]\;.(2)

Here, higher values of β>0\beta>0 provide more incentive for the final policy to remain close to π_ref\pi\_{\text{ref}}, where π_ref\pi\_{\text{ref}}, called the reference policy, is the checkpoint from which optimization is initialized (often the SFT checkpoint).

Noting that Problem (2) admits a closed-form solution, Rafailov et al. (2023) derived a one-stage algorithm, called DPO, as an alternative for the two-stage RLHF optimization described above. Note that the closed-form solution of (2) is given by π_θ(y∣x)=π_ref(y∣x)exp⁡(r_ϕ(x,y)/β)/Z(x)\pi\_{\theta}\left(y\mid x\right)=\pi\_{\text{ref}}\left(y\mid x\right)\exp\left(r\_{\phi}\left(x,y\right)/\beta\right)/Z\left(x\right), where the so-called partition function Z(x)Z\left(x\right) does not depend on yy. This closed-form solution can be rewritten as:

r_ϕ(x,y)=βlog⁡π_θ(y∣x)π_ref(y∣x)+βlog⁡Z(x)  .r\_{\phi}\left(x,y\right)=\beta\log\frac{\pi\_{\theta}\left(y\mid x\right)}{\pi\_{\text{ref}}\left(y\mid x\right)}+\beta\log Z\left(x\right)\;.(3)

Substituting this into (1) leads to the single-stage loss:

min⁡_θ{L_DPO(θ)≔E_(x,y_w,y_l)∼D[−log⁡σ(βlog⁡π_θ(y_w∣x)π_ref(y_w∣x)−βlog⁡π_θ(y_l∣x)π_ref(y_l∣x))]}  ,\min\_{\theta}\left\{\mathcal{L}\_{\text{DPO}}\left(\theta\right)\coloneqq\mathbb{E}\_{\left(x,y\_{w},y\_{l}\right)\sim\mathcal{D}}\left[-\log\sigma\left(\beta\log\frac{\pi\_{\theta}\left(y\_{w}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{w}\mid x\right)}-\beta\log\frac{\pi\_{\theta}\left(y\_{l}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{l}\mid x\right)}\right)\right]\right\}\;,(4)

which can be minimized directly.

While simple and effective, DPO exhibits a counterintuitive empirical phenomenon. This so-called probability displacement phenomenon refers to the tendency of DPO to take the probability of both the preferred and the dispreferred responses to zero (Pang et al., 2024; Xiao et al., 2024; Shen et al., 2024; Nvidia et al., 2024; Wu et al., 2025; Pal et al., 2024; Rafailov et al., 2024; Fisch et al., 2025; D’Oosterlinck et al., 2025; Asadi et al., 2025; Razin et al., 2025). While the research on this topic is active and ongoing, the theoretical understanding remains partial. Our goal is to advance this understanding by identifying the precise requirements that ensure both tractability and stability of DPO optimization.

Note that the RLHF objective (2) employs the KL divergence to measure the discrepancy between the learned policy and the reference policy. However, this discrepancy could be measured using a more general notion of distance, such as with the family of ff-divergences (Wang et al., 2024; Huang et al., 2025) defined next (Csiszár, 1972).

Let f:R_+→Rf:\mathbb{R}\_{+}\to\mathbb{R} be a function11 1 We note that traditionally ff-divergences are defined for convex functions ff. However, as we shall see in § 3.1, in the context of direct preference optimization with ff-divergence, convexity is not necessary. such that f(1)=0f\left(1\right)=0. For two probability distributions p,q∈Δ_n\mathbf{p},\mathbf{q}\in\Delta\_{n}, the ff-divergence between p\mathbf{p} and q\mathbf{q} is defined as

D_f(p∥q)=∑_i=1nq_if(p_i/q_i).D\_{f}\left(\mathbf{p}\parallel\mathbf{q}\right)=\sum\_{i=1}^{n}q\_{i}f\left(p\_{i}/q\_{i}\right).

KL-divergence is an instantiation of ff-divergence with f_KL(t)=tlog⁡tf\_{\text{KL}}\left(t\right)=t\log t. This naturally allows choosing various ff-s to obtain various alternatives instead of the KL divergence in the RLHF problem. Therefore, we now focus on the following more general RLHF problem:

max⁡_π_θE_x∼D[E_y∼π_θ(⋅∣x)[r_ϕ(x,y)]−βD_f[π_θ(⋅∣x)∥π_ref(⋅∣x)]]  .\max\_{\pi\_{\theta}}\mathbb{E}\_{x\sim\mathcal{D}}\left[\mathbb{E}\_{y\sim\pi\_{\theta}\left(\cdot\mid x\right)}\left[r\_{\phi}\left(x,y\right)\right]-\beta D\_{f}\left[\pi\_{\theta}\left(\cdot\mid x\right)\parallel\pi\_{\text{ref}}\left(\cdot\mid x\right)\right]\right]\;.(5)

However, recall that our desire is to keep the original RLHF problem tractable and easy to optimize, and so the choice of ff needs to be made with this consideration in mind. Interestingly, Wang et al. (2024) show that for any convex ff with invertible f′f^{\prime} that satisfies 0∉dom(f′)0\notin\text{dom}\left(f^{\prime}\right), substituting the optimal solution of the generalized RLHF problem (5) into the original BT model (1) yields the following DPO-like loss, referred to as ff-DPO:

min⁡_θ{L_f-DPO(θ)≔E_(x,y_w,y_l)∼D[−log⁡σ(βf′(π_θ(y_w∣x)π_ref(y_w∣x))−βf′(π_θ(y_l∣x)π_ref(y_l∣x)))]}  .\min\_{\theta}\left\{\mathcal{L}\_{f\text{-DPO}}\left(\theta\right)\coloneqq\mathbb{E}\_{\left(x,y\_{w},y\_{l}\right)\sim\mathcal{D}}\left[-\log\sigma\left(\beta f^{\prime}\left(\frac{\pi\_{\theta}\left(y\_{w}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{w}\mid x\right)}\right)-\beta f^{\prime}\left(\frac{\pi\_{\theta}\left(y\_{l}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{l}\mid x\right)}\right)\right)\right]\right\}\;.(6)

In the next section, we show that convexity is not necessary, meaning that there exist non-convex ff for which the problem remains tractable.

We now provide a characterization that fully specifies the class of functions ff for which the RLHF optimization problem is tractable. To this end, we introduce the following definition:

We say a function f:R_+→Rf:\mathbb{R}\_{+}\to\mathbb{R} is DPO-inducing if substituting any optimal solution of (5) into the BT model (1) yields the ff-DPO loss (6).

Our aim is then to characterize which functions ff are DPO-inducing and which are not. The complete characterization is provided in Theorem 1 in the Appendix. As the Theorem 1 is rather technically involved, in Corollary 1 we add a slight assumption (existence of the limit lim⁡_t→0+f′(t)\lim\_{t\to 0^{+}}f^{\prime}\left(t\right)) under which the characterization becomes simpler and straightforward to check.

[Proof in Appendix E.2] Let f:R_+→Rf:\mathbb{R}\_{+}\to\mathbb{R} be a continuous function in R_+\mathbb{R}\_{+}, which is continuously differentiable in R_++\mathbb{R}\_{++}22 2 We denote R_+=[0,∞)\mathbb{R}\_{+}=[0,\infty) and R_++=(0,∞)\mathbb{R}\_{++}=(0,\infty).. Assume that lim⁡_t→0+f′(t)\lim\_{t\to 0^{+}}f^{\prime}\left(t\right) exists (possibly ±∞\pm\infty). Then, ff is DPO-inducing if and only if lim⁡_t→0+f′(t)=−∞\lim\_{t\to 0^{+}}f^{\prime}\left(t\right)=-\infty.

See Figure 1, where functions inside and outside the DPO-inducing region are examples of functions that do and do not satisfy the condition in Corollary 1, respectively. An interesting point about the proof of Theorem 1 is that it uses the equivalence of the DPO-inducing property to a property we call interior-inducing (see Definition 3 in the Appendix). In short, ff is interior-inducing if optimal solutions to (5) assign non-zero probability to all responses.

The importance of this result is two-fold. First, it reveals a broader family of functions ff that can be used in ff-DPO, not just convex functions as discussed by Wang et al. (2024). Second, the result shows that failure to satisfy lim⁡_t→0+f′(t)=−∞\lim\_{t\to 0^{+}}f^{\prime}\left(t\right)=-\infty means that the optimization problem will become intractable.

Having characterized the class of DPO-inducing functions, i.e., the functions ff that can be used in ff-DPO, we now show that some functions in this class are theoretically less favorable. To this end, given a preference dataset D\mathcal{D} and a prompt xx from the dataset, we denote by S_xS\_{x} the set of responses yy that appeared in the preference dataset as a response for xx (either as a winner or as a loser). Consider the following optimization problem

\max\_{\pi\_{\theta}}\mathbb{E}\_{x\sim\mathcal{D}}\left[\mathbb{E}\_{y\sim\pi\_{\theta}\left(\cdot\mid x\right)}\left[r\_{\phi}\left(x,y\right)\right]-\beta\sum\_{y{\color[rgb]{1,0,0}\in S\_{x}}}\pi\_{\text{ref}}\left(y\mid x\right)f\left(\frac{\pi\_{\theta}\left(y\mid x\right)}{\pi\_{\text{ref}}\left(y\mid x\right)}\right)\right]\;,(7)

which differs from the modified RLHF objective (5) only by the summation in the ff-divergence term being only over S_xS\_{x} instead of over the entire response space. Note that Problem (7) might admit optimal solutions that are very different than those of Problem (5) (see Appendix D.2).

We begin with Lemma 1, which is interesting in its own right and, as we will see in Lemma 2, also plays a key role in understanding the likelihood displacement phenomenon.

Let f:R_+→Rf:\mathbb{R}\_{+}\to\mathbb{R} be a DPO-inducing function. Then, substituting any optimal solution to (7) into the BT model (1) yields the same ff-DPO loss (6) as obtained from substituting any optimal solution to (5) into the BT model.

Lemma 1 reveals a counterintuitive and concerning property of ff-DPO: while it solves the two RLHF losses (5) and (1), it is also true that it solves the two losses (7) and (1). One way to see why this result is concerning is that Problem (7) is conceptually problematic, as its regularization term acts only over in-sample responses y∈S_xy\in S\_{x}, while intuitively we want to regularize π_θ\pi\_{\theta} to remain close to π_ref\pi\_{\text{ref}} over the entire response space. To gain additional insight, in Appendix D.2 we find the set of optimal solutions to this problem in the special case where ff is convex. Another aspect, which holds regardless of the convexity of ff, is that based on the value of arg min⁡_t∈R_+f(t)\argmin\_{t\in\mathbb{R}\_{+}}f\left(t\right), the optimal solutions to (7) could have undesirable properties, as Lemma 2 shows.

Let ff be a DPO-inducing function with a unique global minimum at c∈(0,1]c\in(0,1]. Suppose r_ϕ(x,y)≤max⁡_y′∉S_xr_ϕ(x,y′)r\_{\phi}\left(x,y\right)\leq\max\_{y^{\prime}\notin S\_{x}}r\_{\phi}\left(x,y^{\prime}\right) for all y∈S_xy\in S\_{x}. Then, any optimal solution to (7) satisfies

π_θ(y∣x)≤c⋅π_ref(y∣x),\pi\_{\theta}\left(y\mid x\right)\leq c\cdot\pi\_{\text{ref}}\left(y\mid x\right),(8)

for any prompt xx and in-sample response y∈S_xy\in S\_{x}.

Lemma 2 shows that under mild assumptions33 3 To see why the assumption in Lemma 2 is mild, notice that it is equivalent to requiring the existence of a response y′∉S_xy^{\prime}\notin S\_{x} with higher reward than yy. As S_xS\_{x} typically consists of only two responses, its complement covers almost the entire response space, making the condition very likely to hold., if we use any ff for which arg min⁡_t∈R_+f(t)<1\argmin\_{t\in\mathbb{R}\_{+}}f(t)<1, optimal solutions to (7) suffer from likelihood displacement. As a special case, consider f_KL(t)=tlog⁡tf\_{\text{KL}}\left(t\right)=t\log t, which is the generating function for the KL divergence and hence corresponds to the original loss of DPO. Since arg min⁡_t∈R_+f_KL(t)=e−1\argmin\_{t\in\mathbb{R}\_{+}}f\_{\text{KL}}\left(t\right)=e^{-1}, we get a probability decrease in the in-sample responses by a factor of at least e−1e^{-1}. Although a similar result was shown in previous work (Asadi et al., 2025), it was only for DPO, whereas here we prove this for general ff. The importance of generalizing this statement to a general ff is that from Lemma 2 arises a theoretically grounded way to mitigate the likelihood displacement issue - choosing an ff for the ff-divergence that satisfies arg min⁡_t∈R_+f(t)≥1\argmin\_{t\in\mathbb{R}\_{+}}f(t)\geq 1. We refer to any ff that satisfies this property as a displacement-resistant function.

To summarize this section, our theory imposes two desiderata for the function ff of the ff-divergence that nicely translate to easy-to-check mathematical properties: it should be DPO-inducing, i.e., lim⁡_t→0+f′(t)=−∞\lim\_{t\to 0^{+}}f^{\prime}\left(t\right)=-\infty, and it should be displacement-resistant, i.e., arg min⁡_t∈R_+f(t)≥1\argmin\_{t\in\mathbb{R}\_{+}}f(t)\geq 1. In the next section, we propose one specific ff that satisfies our two desiderata, discuss the resulting loss, and report empirical evaluations.

Figure 1: A Venn diagram illustrating a taxonomy of some generating functions f f . The diagram includes classical examples of f f -s used in f f -divergences, as well as the functions f ⁡ ( t ) = 1 2 ​ ( log ⁡ t ) 2 f(t)=\tfrac{1}{2}(\log t)^{2} and f ⁡ ( t ) = 1 2 ​ t ​ ( log ⁡ t ) 2 f(t)=\tfrac{1}{2}t(\log t)^{2} , which correspond to a Monte Carlo approximation of KL proposed by Schulman (2020) . DPO-inducing refers to Definition 2 and displacement-resistant refers to the condition 1 ≤ arg ​ min t ∈ ℝ + ⁡ f ​ ( t ) 1\leq\argmin_{t\in\mathbb{R}_{+}}f\left(t\right) proposed in § 3.2 to mitigate likelihood displacement. The gray area is the intersection of these two sets of functions.

Notice that as long as ff satisfies our two properties, there seems to be no reason to require ff to be convex. In fact, recall that a main reason to require ff to be convex in ff-divergences is that together with Jensen’s inequality and the assumption f(1)=0f(1)=0, it guarantees that the divergence is non-negative. However, our result in Lemma 1 undermines this logic, as in Problem (7) the summation in the ‘divergence’ term is over a strict subset of the response space. As a result, Jensen’s inequality does not apply, hence convexity of ff no longer guarantees the non-negativity of this term.

Our proposed method is the instantiation of the ff-DPO loss (6) obtained by choosing f_\textscSquaredPO(t)≔(log⁡t)2/2f\_{\textsc{SquaredPO}}\left(t\right)\coloneqq(\log t)^{2}/2. We refer to the resulting algorithm as SquaredPO. The function f_SquaredPOf\_{\text{{SquaredPO}}} is one possibility for a function that satisfies the two properties suggested in §3, as demonstrated in Figure 1. This particular function is both DPO-inducing and displacement-resistant thus making it a natural choice for preference optimization. Note that we deliberately chose a non-convex ff, in order to explore the broader (compared to prior work) class of functions that Corollary 1 enables. We note that non-convex losses have proven effective in the past for preference alignment, e.g., LLM-proposed losses presented in Lu et al. (2024). However, we are the first to explore ff-DPO (6) with non-convex functions ff.

The explicit formula for the SquaredPO loss, obtained by substituting f_SquaredPO′(t)=(log⁡t)/tf\_{\text{{SquaredPO}}}^{\prime}\left(t\right)=(\log t)/t in (6), is given by

L_SquaredPO≔E_(x,y_w,y_l)∼D[−log⁡σ(β_θ(y_w,x)log⁡(π_θ(y_w∣x)π_ref(y_w∣x))−β_θ(y_l,x)log⁡(π_θ(y_l∣x)π_ref(y_l∣x)))]  ,\mathcal{L}\_{\text{SquaredPO}}\coloneqq\mathbb{E}\_{\left(x,y\_{w},y\_{l}\right)\sim\mathcal{D}}\left[-\log\sigma\left(\beta\_{\theta}\left(y\_{w},x\right)\log\left(\tfrac{\pi\_{\theta}\left(y\_{w}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{w}\mid x\right)}\right)-\beta\_{\theta}\left(y\_{l},x\right)\log\left(\tfrac{\pi\_{\theta}\left(y\_{l}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{l}\mid x\right)}\right)\right)\right]\;,(9)

where β_θ(y,x)≔β/π_θ(y∣x)π_ref(y∣x)\beta\_{\theta}\left(y,x\right)\coloneqq\beta/\tfrac{\pi\_{\theta}\left(y\mid x\right)}{\pi\_{\text{ref}}\left(y\mid x\right)}, and β>0\beta>0 is as usual the regularization hyperparameter. Compared to the original DPO loss (4), the SquaredPO loss can be viewed as “DPO with adaptive β\beta-s”. There is a connection between our approach and some of the recent approaches (Meng et al., 2024; Wu et al., 2024; Lee et al., 2025) in that we both use adaptive β\beta-s, but here the adaptive β\beta-s are derived from theory and first principles rather than introduced heuristically. The adaptive β\beta-s in SquaredPO can act as a safeguard against severe likelihood displacement; when π_θ(y_w∣x)\pi\_{\theta}\left(y\_{w}\mid x\right) decreases, as is often observed in practice, β_θ(y_w,x)\beta\_{\theta}\left(y\_{w},x\right) increases. An increase in the effective regularization coefficient intuitively means stronger regularization, thereby counteracting the decrease in probability.

In this section, we validate our theoretical findings regarding the ability of SquaredPO to mitigate likelihood displacement, demonstrate that it is robust to over-optimization compared to DPO, and that it performs competitively on standard benchmarks.

Our reference model π_ref\pi\_{\text{ref}}, i.e., the model from which we initialize preference optimization, is Meta-Llama-3-8B-Instruct (AI@Meta, 2024). The preference dataset we use to align π_ref\pi\_{\text{ref}} is TL;DR (Völske et al., 2017). We use a version of this dataset provided by von Werra et al. (2020) that is preprocessed for preference optimization. The dataset consists of Reddit posts from various topics, each paired with a preferred and a dispreferred summary.

We compare SquaredPO with DPO on three axes. First, we want to empirically probe our theoretical findings that SquaredPO is more resistant to likelihood displacement than DPO. This is done by computing the chosen log-ratios, log⁡(π_θ(y_w∣x)/π_ref(y_w∣x))\log\left(\pi\_{\theta}\left(y\_{w}\mid x\right)/\pi\_{\text{ref}}\left(y\_{w}\mid x\right)\right), for all training samples (x,y_w,y_l)∈D(x,y\_{w},y\_{l})\in\mathcal{D}, in different checkpoints throughout training. Second, we measure the performance of each method on the dataset’s validation split, reporting win rates as judged by GPT-4. Lastly, to assess SquaredPO’s ability to generalize to out-of-distribution tasks, we compare its performance against DPO on standard evaluation benchmarks.

The evaluation benchmarks we considered are AlpacaEval 2 (Li et al., 2023; Dubois et al., 2025) and MT-Bench (Zheng et al., 2023). AlpacaEval 2 contains 805805 single-turn prompts, where GPT-4 judges44 4 We use OpenAI’s gpt-4o instead of the default judge gpt-4-1106-preview for reduced API costs. Dubois et al. (2025) show that the induced rankings are very robust to the choice of the judge. compute both win rate (fraction of cases a model beats a strong baseline) and a length-controlled win rate that corrects for verbosity bias. MT-Bench consists of 8080 multi-turn questions across diverse categories, scored on a 1–10 scale by GPT-4.

We align Meta-Llama-3-8B-Instruct on the TL;DR dataset over four training epochs using LoRA (Hu et al., 2022). Full hyperparameter and implementation details are provided in Appendix B.

We sample a set of 512512 examples from the validation split of the dataset. Inspired by the experimental setting in Huang et al. (2025), for each epoch in {1,2,4}\left\{1,2,4\right\} we use the checkpoint obtained at the end of this epoch to generate responses to each of the 512512 samples. We then take two approaches to assess the performance of our method. First, in Figure 2 we use GPT-4 to compute the win rate of SquaredPO against DPO. Second, in Table 1 we use GPT-4 to compute win rates of each of the two methods against the reference model, i.e. the model before alignment. In Table 1, we include another baseline, namely χ\chiPO (Huang et al., 2025).

In both approaches, it is evident that SquaredPO is robust to over-optimization. In Table 1 we see that while DPO’s win rate against the reference model drops substantially below 50%50\% already in the second epoch, this is not the case for our loss. The gap in performance grows with the number of epochs. The table also shows that SquaredPO is more robust to over-optimization than χ\chiPO. In Figure 2 we see the same phenomenon from a different angle: when computing the win rate of SquaredPO against DPO, SquaredPO achieves statistically significant improvements over DPO in regimes prone to over-optimization (i.e., after two epochs or more).

One can see in Figure 2 and Table 1 that, albeit not in a statistically significant manner, DPO outperforms SquaredPO on the first epoch. In this context, it is worth emphasizing that the hyperparameters used for training were standard choices for DPO (e.g. β=0.01\beta=0.01), and we did not tune them for our loss. This suggests that with appropriate hyperparameter tuning, SquaredPO may potentially surpass DPO also in the first epoch.

Table 1: Win Rate on TL;DR’s validation set against the base model Meta-Llama-3-8B-Instruct when trained on TL;DR. These results demonstrate SquaredPO’s robustness to over-optimization compared to DPO and χ\chiPO.

EpochsSquaredPO winrate (%)χ\chiPO winrate (%)DPO winrate (%)
150.8 ± 0.751.2 ± 0.851.8 ± 1.0
250.6 ± 1.148.9 ± 1.145.0 ± 1.1
451.0 ± 0.748.3 ± 1.134.7 ± 1.3

Figure 2: Head-to-head win rate of SquaredPO against DPO on TL;DR’s validation split across training epochs when using t

Figure 2: Head-to-head win rate of SquaredPO against DPO on TL;DR’s validation split across training epochs when using these methods to finetune Meta-Llama-3-8B-Instruct on TL;DR for 4 4 epochs. Error bars over 10 10 seeds are reported.

In Table 2 we present benchmark results for the models obtained by training Meta-Llama-3-8B-Instruct for one epoch on TL;DR with SquaredPO, χ\chiPO or DPO. Each AlpacaEval number is averaged over 10 seeds with confidence intervals. The MT-Bench score is an average over eight categories; the per-category breakdown is shown in Figure 5. Additional implementation details can be found in Appendix B. The results in Table 2 show that SquaredPO is almost on par with DPO on these benchmarks, with DPO slightly outperforming (it is worth emphasizing that we did not tune hyperparameters for SquaredPO). SquaredPO is on par with χ\chiPO on AlpacaEval and is more performant than χ\chiPO on MT-Bench.

Table 2: Benchmark results for our SquaredPO and two baselines. For AlpacaEval 2, we report both raw win rate (WR) and length-controlled win rate (LC).

MethodAlpacaEval 2MT-Bench
LC (%)WR (%)Score (1-10)
SquaredPO29.2 ± 0.424.5 ± 0.37.924
χ\chiPO29.3 ± 0.624.3 ± 0.47.900
DPO29.6 ± 0.424.8 ± 0.47.925

Figure 3: Left: histograms of chosen log-ratios log ⁡ ( π θ ​ ( y w ∣ x ) / π ref ​ ( y w ∣ x ) ) \log\left(\pi_{\theta}

Figure 3: Left: histograms of chosen log-ratios log ⁡ ( π θ ​ ( y w ∣ x ) / π ref ​ ( y w ∣ x ) ) \log\left(\pi_{\theta}

Figure 3: Left: histograms of chosen log-ratios log ⁡ ( π θ ​ ( y w ∣ x ) / π ref ​ ( y w ∣ x ) ) \log\left(\pi_{\theta}(y_{w}\mid x)/\pi_{\text{ref}}(y_{w}\mid x)\right) for all chosen responses in the training set 𝒟 \mathcal{D} after one epoch of training. With SquaredPO , likelihood displacement is less severe; probabilities decrease less than under DPO. Right: the evolution of the mean and the median chosen log-ratio over epochs of training.

To gauge SquaredPO’s ability to mitigate likelihood displacement, i.e. the phenomenon where winner probabilities decrease during preference optimization, we begin with the histograms in Figure 3 (left), which visualize the distribution of the values {log⁡(π_θ(y_w∣x)/π_ref(y_w∣x))}_(x,y_w,y_l)∈D\left\{\log\left(\pi\_{\theta}\left(y\_{w}\mid x\right)/\pi\_{\text{ref}}\left(y\_{w}\mid x\right)\right)\right\}\_{(x,y\_{w},y\_{l})\in\mathcal{D}}, dubbed ‘chosen log-ratios’. This value is negative for winners that suffered from probability displacement. In Figure 3, π_θ\pi\_{\theta} is the model obtained after one training epoch. We see that SquaredPO is able to mitigate the likelihood displacement issue: while winner probabilities still decrease, the magnitude of the decrease is smaller. Notably, the most extreme decreases observed under DPO are absent in SquaredPO.

Beyond analyzing the snapshot after one epoch of training, we also examine how likelihood displacement evolves over the course of training. In Figure 6 in the appendix, we provide histograms for the chosen log-ratios of the models obtained from 1,2,31,2,3 and 44 epochs of alignment. These results indicate that the mitigation of extreme displacement by SquaredPO grows more pronounced with additional training. At an aggregate level, the right panel of Figure 3 presents the mean and median chosen log-ratios for each epoch, demonstrating that the decrease in DPO is by far more radical than in SquaredPO.

Lastly, we report an intriguing ‘monotonicity’ phenomenon we observe in the training dynamics of DPO: we find that in our experimental setting, nearly all (99.63%99.63\%) of the chosen responses whose probability decreased in the first epoch, continued decreasing monotonically in the three subsequent epochs. That is, for nearly all responses whose probability reduced from the reference checkpoint to the first epoch, the probability was also reduced from the first epoch to the second epoch and so on. While the literature contains many reports of the likelihood displacement phenomenon, we are, to the best of our knowledge, the first to report this monotonicity phenomenon, which is checked on a per-winner basis.

This phenomenon is substantially reduced under SquaredPO, as only 4.21%4.21\% of chosen responses that decreased in the first epoch continued to decrease monotonically thereafter. This empirical observation is in accordance with our mechanistic understanding of the SquaredPO loss (§4): when a winner y_wy\_{w} suffers from likelihood displacement, its effective regularization coefficient β_θ(y_w,x)\beta\_{\theta}(y\_{w},x) increases. This strengthens the regularization on that response and intuitively encourages its probability to return toward π_ref(y_w∣x)\pi\_{\text{ref}}(y\_{w}\mid x), thereby breaking the downward monotonicity. See Figure 7 in the appendix for the evolution of log-ratios across training for ten individual winners, and Table 3 for additional details on monotonicity in several experimental settings.

The likelihood displacement phenomenon has been documented and analyzed in a growing body of work (Pang et al., 2024; Xiao et al., 2024; Shen et al., 2024; Nvidia et al., 2024; Wu et al., 2025; Pal et al., 2024; Rafailov et al., 2024; Fisch et al., 2025; D’Oosterlinck et al., 2025; Asadi et al., 2025; Razin et al., 2025). The connection between likelihood displacement and performance is discussed, e.g., in (Razin et al., 2025).

The use of ff-divergences for direct preference optimization was recently introduced by Wang et al. (2024), who proposed the ff-DPO loss. Our theoretical results in §3.1 are a non-trivial generalization of theirs. Perhaps closest to our work is Huang et al. (2025), who also analyze an instantiation of ff-DPO with formal guarantees and robustness to over-optimization. While their focus is analyzing one specific instance in depth, we take a broader perspective and provide theoretical results that hold for general ff.

Li et al. (2025) investigate the role of ff-divergences within the RLVR framework, focusing on preserving solution diversity during online training. Other approaches, such as ff-PO (Han et al., 2024) and ff-DGP (Go et al., 2023), also use ff-divergences for alignment, but do so by minimizing the divergence to a target model, rather than by replacing the KL term in the RLHF objective as in our work.

There are several works that propose losses that are similar in flavor to ours, however they are introduced heuristically rather than arise from theory. Similar to SquaredPO, SimPO (Meng et al., 2024) can also be viewed as DPO with adaptive β\beta-s; however, in their case, the β\beta-s depend only on the responses’ length and are static throughout training. In β\beta-DPO (Wu et al., 2024) and ε\varepsilon-DPO (Lee et al., 2025), the β\beta-s, just as in our loss, depend both on the current model and on the specific prompt and response, however, they both, unlike us, introduce an additional hyperparameter.

Among the works that deal with likelihood displacement, our theoretical analysis most closely resembles that of Asadi et al. (2025). They, as well as others, e.g. (Pal et al., 2024; Wu et al., 2025), add an ad-hoc penalty term to the DPO loss to fight likelihood displacement, while we propose a one-term loss that arises from theory, and importantly does not add a hyperparameter, unlike the mentioned approaches that have the coefficient of the penalty term (typically λ\lambda) as an additional hyperparameter.

We characterized the set of DPO-inducing functions, i.e. functions ff that can be used in ff-DPO, showing that convexity of ff is not a necessity. We studied the effect of the choice of ff on likelihood displacement, which is the phenomenon where during preference optimization both the rejected and the chosen responses decrease in probability, finding that 1≤arg min⁡_t∈R_+f(t)1\leq\argmin\_{t\in\mathbb{R}\_{+}}f\left(t\right) is a necessary condition to mitigate the decrease. We believe that the two properties we propose, namely displacement-resistant and DPO-inducing, may provide a general design principle for future methods in direct preference optimization.

With these two properties in mind, we analyze an example of a function that satisfies both desiderata, resulting in a novel loss we call SquaredPO. We find that this novel loss is not only competitive with DPO on standard benchmarks, but also offers a substantially greater degree of robustness to over-optimization and a clear empirical mitigation of likelihood displacement. Alongside our empirical examination of SquaredPO and DPO, we report a monotonicity phenomenon of DPO that is related to, but different from, likelihood displacement. We show that SquaredPO manages to alleviate this behavior of DPO as well.

First, our experimental evaluation is restricted to a single dataset and model; although we provide additional displacement experiments with another model and another dataset in Appendix C.2. Second, the theoretical results regarding likelihood displacement focused on optimal solutions, abstracting away from optimizer behavior and training dynamics. Third, on the empirical side, we compared our method to DPO and χ\chiPO, while other DPO-style algorithms do exist. Another limitation is that all our experiments were conducted under LoRA finetuning. On the theoretical side, while our proposed method does mitigate displacement empirically, the displacement-resistance condition we introduce is formally proved to be necessary, though not established as sufficient. Identifying a sufficient condition is an important direction for future work. Finally, while our analysis applies to general choices of ff, our experiments instantiate only one such function. Exploring other functions ff that satisfy our desiderata is a promising avenue for future research.

  • AI@Meta (2024) AI@Meta Llama 3 model card. External Links: Link Cited by: §5.1.
  • Asadi et al. (2025) K. Asadi, J. Han, I. Pipano, X. Xu, D. Perrault-Joncas, S. Sabach, K. Bouyarmane, and M. Ghavamzadeh C2-dpo: constrained controlled direct preference optimization. External Links: 2502.17507, Link Cited by: §D.2, §2, §3.2, §6, §6.
  • Beck (2014) A. Beck Introduction to nonlinear optimization. edition, Society for Industrial and Applied Mathematics, Philadelphia, PA. External Links: Document, Link, https://epubs.siam.org/doi/pdf/10.1137/1.9781611973655 Cited by: Appendix F.
  • Beck (2017) A. Beck First-order methods in optimization. edition, Society for Industrial and Applied Mathematics, Philadelphia, PA. External Links: Document, Link, https://epubs.siam.org/doi/pdf/10.1137/1.9781611974997 Cited by: §D.1.
  • Bradley and Terry (1952) R. A. Bradley and M. E. Terry Rank analysis of incomplete block designs: i. the method of paired comparisons. Biometrika 39 (3/4), pp. 324–345. External Links: ISSN 00063444, 14643510, Link Cited by: §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. In Advances in Neural Information Processing Systems, I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (Eds.), Vol. 30, pp. . External Links: Link Cited by: §1, §2.
  • Corless et al. (1996) R. M. Corless, G. H. Gonnet, D. E. G. Hare, D. J. Jeffrey, and D. E. Knuth On the lambert w function. Adv. Comput. Math.. Cited by: Appendix A.
  • Csiszár (1972) I. Csiszár A class of measures of informativity of observation channels. Periodica Mathematica Hungarica 2 (1-4), pp. 191–213. Cited by: §3.
  • Cui et al. (2024) G. Cui, L. Yuan, N. Ding, G. Yao, B. He, W. Zhu, Y. Ni, G. Xie, R. Xie, Y. Lin, Z. Liu, and M. Sun ULTRAFEEDBACK: boosting language models with scaled ai feedback. In Proceedings of the 41st International Conference on Machine Learning, ICML’24. Cited by: §C.2.
  • Dubois et al. (2025) Y. Dubois, B. Galambosi, P. Liang, and T. B. Hashimoto Length-controlled alpacaeval: a simple way to debias automatic evaluators. External Links: 2404.04475, Link Cited by: §5.1, footnote 4.
  • D’Oosterlinck et al. (2025) 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. Transactions of the Association for Computational Linguistics 13, pp. 442–460. External Links: Link, Document Cited by: §2, §6.
  • Fisch et al. (2025) A. Fisch, J. Eisenstein, V. Zayats, A. Agarwal, A. Beirami, C. Nagpal, P. Shaw, and J. Berant Robust preference optimization through reward model distillation. External Links: 2405.19316, Link Cited by: §1, §2, §6.
  • Go et al. (2023) D. Go, T. Korbak, G. Kruszewski, J. Rozen, N. Ryu, and M. Dymetman Aligning language models with preferences through f-divergence minimization. External Links: 2302.08215, Link Cited by: §1, §6.
  • Han et al. (2024) J. Han, M. Jiang, Y. Song, and S. Ermon M. xu. f-po: generalizing preference optimization with f-divergence minimization. arXiv preprint arXiv:2410.21662. Cited by: §1, §6.
  • Hu et al. (2022) E. J. Hu, yelong shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen LoRA: low-rank adaptation of large language models. In International Conference on Learning Representations, External Links: Link Cited by: Appendix B, §5.2.
  • Huang et al. (2025) 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. In The Thirteenth International Conference on Learning Representations, ICLR 2025, Singapore, April 24-28, 2025, External Links: Link Cited by: Appendix A, §3, §5.2, §6, footnote 5.
  • Lee et al. (2025) S. Lee, J. Han, H. Song, S. J. Choi, H. Lee, and Y. Yu KL penalty control via perturbation for direct preference optimization. External Links: 2502.13177, Link Cited by: §4, §6.
  • Li et al. (2025) L. Li, J. Hao, J. K. Liu, Z. Zhou, Y. Miao, W. Pang, X. Tan, W. Chu, Z. Wang, S. Pan, C. Qu, and Y. Qi The choice of divergence: a neglected key to mitigating diversity collapse in reinforcement learning with verifiable reward. External Links: 2509.07430, Link Cited by: §6.
  • Li et al. (2023) 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: Appendix B, §5.1.
  • Loshchilov and Hutter (2019) I. Loshchilov and F. Hutter Decoupled weight decay regularization. In International Conference on Learning Representations, External Links: Link Cited by: Appendix B.
  • Lu et al. (2024) C. Lu, S. Holt, C. Fanconi, A. J. Chan, J. Foerster, M. van der Schaar, and R. T. Lange Discovering preference optimization algorithms with and for large language models. In Advances in Neural Information Processing Systems, A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang (Eds.), Vol. 37, pp. 86528–86573. External Links: Link Cited by: §4.
  • Meng et al. (2024) Y. Meng, M. Xia, and D. Chen SimPO: simple preference optimization with a reference-free reward. In Advances in Neural Information Processing Systems (NeurIPS), Cited by: Appendix B, §4, §6.
  • Nvidia et al. (2024) Nvidia, :, B. Adler, N. Agarwal, A. Aithal, D. H. Anh, P. Bhattacharya, A. Brundyn, J. Casper, B. Catanzaro, S. Clay, J. Cohen, S. Das, A. Dattagupta, O. Delalleau, L. Derczynski, Y. Dong, D. Egert, E. Evans, A. Ficek, D. Fridman, S. Ghosh, B. Ginsburg, I. Gitman, T. Grzegorzek, R. Hero, J. Huang, V. Jawa, J. Jennings, A. Jhunjhunwala, J. Kamalu, S. Khan, O. Kuchaiev, P. LeGresley, H. Li, J. Liu, Z. Liu, E. Long, A. S. Mahabaleshwarkar, S. Majumdar, J. Maki, M. Martinez, M. R. de Melo, I. Moshkov, D. Narayanan, S. Narenthiran, J. Navarro, P. Nguyen, O. Nitski, V. Noroozi, G. Nutheti, C. Parisien, J. Parmar, M. Patwary, K. Pawelec, W. Ping, S. Prabhumoye, R. Roy, T. Saar, V. R. N. Sabavat, S. Satheesh, J. P. Scowcroft, J. Sewall, P. Shamis, G. Shen, M. Shoeybi, D. Sizer, M. Smelyanskiy, F. Soares, M. N. Sreedhar, D. Su, S. Subramanian, S. Sun, S. Toshniwal, H. Wang, Z. Wang, J. You, J. Zeng, J. Zhang, J. Zhang, V. Zhang, Y. Zhang, and C. Zhu Nemotron-4 340b technical report. External Links: 2406.11704, Link Cited by: §2, §6.
  • 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. External Links: 2402.13228, Link Cited by: §2, §6, §6.
  • Pang et al. (2024) R. Y. Pang, W. Yuan, K. Cho, H. He, S. Sukhbaatar, and J. Weston Iterative reasoning preference optimization. External Links: 2404.19733, Link Cited by: §2, §6.
  • Rafailov et al. (2024) R. Rafailov, J. Hejna, R. Park, and C. Finn From rr to Q\*Q^{\*}: your language model is secretly a q-function. External Links: 2404.12358, Link Cited by: §1, §1, §2, §6.
  • 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. In Advances in Neural Information Processing Systems, A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine (Eds.), Vol. 36, pp. 53728–53741. External Links: Link Cited by: §2.
  • 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: §2, §6.
  • Schulman (2020) J. Schulman Approximating kl divergence. Note: http://joschu.net/blog/kl-approx.htmlAccessed: 2025-09-16 Cited by: Figure 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. External Links: 2409.08845, Link Cited by: §2, §6.
  • Völske et al. (2017) M. Völske, M. Potthast, S. Syed, and B. Stein TL;DR: mining Reddit to learn automatic summarization. In Proceedings of the Workshop on New Frontiers in Summarization, L. Wang, J. C. K. Cheung, G. Carenini, and F. Liu (Eds.), Copenhagen, Denmark, pp. 59–63. External Links: Link, Document Cited by: §5.1.
  • von Werra et al. (2020) L. von Werra, Y. Belkada, L. Tunstall, E. Beeching, T. Thrush, N. Lambert, S. Huang, K. Rasul, and Q. Gallouédec TRL: transformer reinforcement learning. GitHub. Note: https://github.com/huggingface/trl Cited by: Appendix B, §5.1.
  • Wang et al. (2024) C. Wang, Y. Jiang, C. Yang, H. Liu, and Y. Chen Beyond reverse KL: generalizing direct preference optimization with diverse divergence constraints. In The Twelfth International Conference on Learning Representations, ICLR 2024, Vienna, Austria, May 7-11, 2024, External Links: Link Cited by: §1, §1, §3.1, §3, §3, §6.
  • Wu et al. (2024) J. Wu, Y. Xie, Z. Yang, J. Wu, J. Gao, B. Ding, X. Wang, and X. He β\beta-DPO: direct preference optimization with dynamic β\beta. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, External Links: Link Cited by: §4, §6.
  • Wu et al. (2025) Y. Wu, Z. Sun, H. Yuan, K. Ji, Y. Yang, and Q. Gu Self-play preference optimization for language model alignment. In The Thirteenth International Conference on Learning Representations, External Links: Link Cited by: §2, §6, §6.
  • 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 (NeurIPS), Cited by: §2, §6.
  • Yang et al. (2024) A. Yang, B. Yang, B. Hui, B. Zheng, B. Yu, C. Zhou, C. Li, C. Li, D. Liu, F. Huang, G. Dong, H. Wei, H. Lin, J. Tang, J. Wang, J. Yang, J. Tu, J. Zhang, J. Ma, J. Xu, J. Zhou, J. Bai, J. He, J. Lin, K. Dang, K. Lu, K. Chen, K. Yang, M. Li, M. Xue, N. Ni, P. Zhang, P. Wang, R. Peng, R. Men, R. Gao, R. Lin, S. Wang, S. Bai, S. Tan, T. Zhu, T. Li, T. Liu, W. Ge, X. Deng, X. Zhou, X. Ren, X. Zhang, X. Wei, X. Ren, Y. Fan, Y. Yao, Y. Zhang, Y. Wan, Y. Chu, Y. Liu, Z. Cui, Z. Zhang, and Z. Fan Qwen2 technical report. arXiv preprint arXiv:2407.10671. Cited by: §C.2.
  • Zheng et al. (2023) L. Zheng, W. Chiang, Y. Sheng, S. Zhuang, Z. Wu, Y. Zhuang, Z. Lin, Z. Li, D. Li, E. P. Xing, H. Zhang, J. E. Gonzalez, and I. Stoica Judging llm-as-a-judge with mt-bench and chatbot arena. In Proceedings of the 37th International Conference on Neural Information Processing Systems, NIPS ’23, Red Hook, NY, USA. Cited by: §5.1.
Section titled “Appendix A Comparison to Related Preference-Optimization Methods”

In this appendix, we discuss in greater depth the connection between our results and several related methods mentioned in the related work.

The χ\chiPO loss suggested by Huang et al. (2025) is an instantiation of ff-DPO with f(t)=12(t−1)2+tlog⁡tf\left(t\right)=\frac{1}{2}\left(t-1\right)^{2}+t\log t55 5 In general, the χ2\chi^{2} divergence is an ff-divergence with f(t)=12(t−1)2f\left(t\right)=\frac{1}{2}\left(t-1\right)^{2}, however this function is not DPO-inducing and hence Huang et al. (2025) had to add the KL-like term tlog⁡tt\log t.. This function attains a global minimum at W(1)≈0.56714W(1)\approx 0.56714, where WW is the Lambert WW function (Corless et al., 1996). Recall that our theory in § 3.2 suggests that whenever the ff used in ff-DPO attains a global minimum at c∈(0,1]c\in(0,1], then, under mild conditions, the probabilities of all in-sample responses are expected to decrease by at least cc (Lemma 2). This suggests that if for two DPO-inducing functions f_1f\_{1} and f_2f\_{2} we have arg min⁡f_1<arg min⁡f_2≤1\argmin f\_{1}<\argmin f\_{2}\leq 1, then ff-DPO with f_1f\_{1} is more prone to likelihood displacement than ff-DPO with f_2f\_{2}. Therefore, when comparing χ\chiPO with vanilla DPO, and recalling that the ff used by vanilla DPO, f(t)=tlog⁡tf(t)=t\log t, attains a global minimum at e−1=0.36788e^{-1}=0.36788, we can expect χ\chiPO to be less prone to probability displacement than vanilla DPO (since e−1<W(1)e^{-1}<W(1)). This is in line with the findings of Huang et al. (2025), who analyze a setting in which DPO suffers from likelihood displacement while χ\chiPO does not (Remark B.1 therein). Regarding our method SquaredPO, which is ff-DPO with the function f(t)=12(log⁡t)2f(t)=\tfrac{1}{2}(\log t)^{2} that attains a minimum at c=1c=1, our theory suggests that it is less prone to likelihood displacement than both vanilla DPO and χ\chiPO. See Figure 4 for an illustration of the three generating functions ff mentioned in this paragraph.

Figure 4: The f f -divergence generators used by DPO ( t ​ log ⁡ t t\log t ), χ \chi PO ( 1 2 ​ ( t − 1 ) 2 + t ​ log ⁡

Figure 4: The f f -divergence generators used by DPO ( t ​ log ⁡ t t\log t ), χ \chi PO ( 1 2 ​ ( t − 1 ) 2 + t ​ log ⁡ t ) \big(\tfrac{1}{2}(t-1)^{2}+t\log t\big) , and SquaredPO ( 1 2 ​ ( log ⁡ t ) 2 ) \big(\tfrac{1}{2}(\log t)^{2}\big) . The location of the global minimum of each function determines its susceptibility to likelihood displacement, with SquaredPO (minimum at t = 1 t=1 ) being the most resistant to displacement.

Appendix B Hyperparameters and Implementation Details

Section titled “Appendix B Hyperparameters and Implementation Details”

Our implementation of the training pipeline is based on the DPO trainer from the TRL repository (von Werra et al., 2020). For all losses, we use a learning rate of 5e−75e{-7}, β=0.01\beta=0.01 (standard choices for DPO in this setting, e.g. (Meng et al., 2024)), a batch size of 64, a max sequence length of 2048, a linear learning rate scheduler, and the optimizer is AdamW (Loshchilov and Hutter, 2019). We use LoRA (Hu et al., 2022) with rank r=16r=16, scaling factor α=32\alpha=32, and dropout rate 0.050.05. Training was performed in bf16 precision on 4×\timesNVIDIA A100-SXM4-40GB GPUs. While we focus on LoRA fine-tuning for computational reasons, we expect the same empirical trends to hold under full fine-tuning.

Recall that to calculate the SquaredPO loss for a sample (x,y_w,y_l)(x,y\_{w},y\_{l}), we need to calculate β_θ(y,x)≔β/π_θ(y∣x)π_ref(y∣x)\beta\_{\theta}\left(y,x\right)\coloneqq\beta/\tfrac{\pi\_{\theta}\left(y\mid x\right)}{\pi\_{\text{ref}}\left(y\mid x\right)} for any y∈S_xy\in S\_{x}, that is, for y_wy\_{w} and y_ly\_{l}. In the TRL repository, and in general, one works with log-probabilities rather than with raw probabilities. We calculate β_θ(y,x)\beta\_{\theta}\left(y,x\right) by βexp⁡(min⁡{log⁡π_ref(y∣x)−log⁡π_θ(y∣x),50})\beta\exp\left(\min\left\{\log\pi\_{\text{ref}}\left(y\mid x\right)-\log\pi\_{\theta}\left(y\mid x\right),50\right\}\right). Apart from the clipping, this is equivalent to the original expression. The threshold for clipping, 5050, is safe enough to prevent numerical issues and does not substantially change the learning curves based on some preliminary experiments we performed. We found it necessary to clip from above to prevent β_θ(y,x)\beta\_{\theta}\left(y,x\right) from diverging to infinity in floating-point representation, whereas clipping from below was not necessary because β_θ(y,x)\beta\_{\theta}\left(y,x\right) approaching zero is less problematic.

To calculate win rates for the validation split, and to calculate win rates and length-controlled win rates for AlpacaEval 2, we use the alpaca_eval repository (Li et al., 2023). To calculate the MT-Bench results, we use the FastChat repository. In all settings, we generate responses to prompts by sampling with a temperature of 0.70.7.

Figure 5 presents a radar chart that breaks down the MT-Bench results from Table 2 into MT-Bench’s eight categories. SquaredPO shows slight gains over DPO in coding tasks, performs worse on STEM tasks, and is otherwise largely on par.

Figure 5: Category-level MT-Bench results for the models obtained from training Meta-Llama-3-8B-Instruct for one epoch o

Figure 5: Category-level MT-Bench results for the models obtained from training Meta-Llama-3-8B-Instruct for one epoch on TL;DR using SquaredPO , χ \chi PO or DPO. For each of the eight MT-Bench categories, the reported value is the average score (across prompts in that category) assigned by an LLM-as-a-judge (gpt-4o). Scores are on a 0–10 scale, where higher is better.

C.2 Additional Results on Likelihood Displacement

Section titled “C.2 Additional Results on Likelihood Displacement”

In Figure 6 we present histograms of the distribution of the log-ratios log⁡(π_θ(y_w∣x)/π_ref(y_w∣x))\log(\pi\_{\theta}(y\_{w}\mid x)/\pi\_{\text{ref}}(y\_{w}\mid x)) for all the 92.9K chosen responses y_wy\_{w} in the training split of TL;DR when using this dataset to perform preference optimization on Meta-Llama-3-8B-Instruct. The smaller the term log⁡(π_θ(y_w∣x)/π_ref(y_w∣x))\log(\pi\_{\theta}(y\_{w}\mid x)/\pi\_{\text{ref}}(y\_{w}\mid x)) is, the more severe the likelihood displacement this winner witnessed. Notice how with DPO, already after one epoch a significant portion of the winners suffered from severe likelihood displacement, while SquaredPO manages to control the extent to which probabilities get reduced. As training progresses, under DPO we see the distribution shifting to more negative values, while SquaredPO remains relatively stable.

(a) After 1 epoch

(a) After 1 epoch

(a) After 1 epoch

(a) After 1 epoch

(a) After 1 epoch

In Table 3 we provide additional results regarding the monotonicity phenomenon reported in §5.2. For example, when using the TL;DR dataset to finetune Meta-Llama-3-8B-Instruct with DPO, 99.99% of the winners whose probability decreased after the first epoch continued decreasing in the second, compared to only 10.91% under SquaredPO.

To diversify our experimental setting in the context of likelihood displacement across models and datasets, we additionally train Qwen2-0.5B-Instruct (Yang et al., 2024) on the UltraFeedback dataset (Cui et al., 2024) for four epochs. The empirical monotonicity analysis for this case is reported in Table 3. In this setting, 35.57% of winners who decreased under DPO in the first epoch continued to decrease monotonically until the fourth epoch, whereas under SquaredPO this proportion is merely 1.64%. Importantly, the trend that SquaredPO manages to break the downward monotonicity of winner probabilities compared to DPO holds consistently across all experimental settings. A mechanistic explanation of this trend is provided in the last paragraph of §5.2.

Table 3: Among the winners whose probability decreased after the first epoch, we report the percentage that continued decreasing in later epochs. Results are shown for DPO and SquaredPO in two settings: Llama + TL;DR and Qwen + UltraFeedback.

Llama + TL;DRQwen + UltraFeedback
ConditionDPO (%)SquaredPO (%)DPO (%)SquaredPO (%)
Decrease from 1 →\to 299.9910.9193.7225.56
Monotone decrease 1 →\to 399.749.3839.996.24
Monotone decrease 1 →\to 499.634.2135.571.64

To further illustrate the trend in Table 3, we track the log-ratio trajectories of ten randomly selected winners from the TL;DR training set across the four training epochs of Meta-Llama-3-8B-Instruct under both DPO and SquaredPO, using the same winners for each method. We visualize this in Figure 7. Notice that under DPO, all ten winners display a monotonic decrease in probability, while for SquaredPO this is not the case. Moreover, notice the different scales in the yy-axes; under SquaredPO, the decrease is of smaller magnitude.

(a) DPO

(a) DPO

(a) DPO

Appendix D Theoretical Results Omitted from the Paper

Section titled “Appendix D Theoretical Results Omitted from the Paper”

We start by defining the notion of an interior-inducing function, briefly mentioned in §3.1.

We say a function f:R_+→Rf:\mathbb{R}\_{+}\to\mathbb{R} is interior-inducing if for any reward model r_ϕr\_{\phi}, any reference policy π_ref\pi\_{\text{ref}}, and any regularization coefficient β>0\beta>0, every optimal solution π_θ\pi\_{\theta} to the generalized RLHF problem (5) assigns strictly positive probability to all continuations, i.e., π_θ(y∣x)>0\pi\_{\theta}\left(y\mid x\right)>0 for all x,yx,y.

The condition in Definition 3 is equivalent to requiring that, for each prompt xx, π_θ(⋅∣x)\pi\_{\theta}\left(\cdot\mid x\right) is in the relative interior (Beck, 2017) of the simplex, which motivates our terminology. Next, we establish that this definition is equivalent to the definition of a DPO-inducing function.

Let f:R_+→Rf:\mathbb{R}\_{+}\to\mathbb{R} be a continuous function in R_+\mathbb{R}\_{+}, which is continuously differentiable in R_++\mathbb{R}\_{++}. Then, ff is DPO-inducing if and only if it is interior-inducing.

Assume first that ff is not interior-inducing. Then, there exist r_ϕ,π_refr\_{\phi},\pi\_{\text{ref}}, and β\beta such that an optimal solution to (5) satisfies π_θ(y_w∣x)=0\pi\_{\theta}\left(y\_{w}\mid x\right)=0 for some (x,y_w,y_l)∈D(x,y\_{w},y\_{l})\in\mathcal{D}. Now, recall that for ff to be DPO-inducing, substituting optimal solutions to (5) into the BT model (1) should yield the ff-DPO loss. However, to perform this substitution, one needs to express the rewards difference r_ϕ(x,y_w)−r_ϕ(x,y_l)r\_{\phi}\left(x,y\_{w}\right)-r\_{\phi}\left(x,y\_{l}\right) in terms of the optimal π_θ(y_w∣x)\pi\_{\theta}\left(y\_{w}\mid x\right), π_θ(y_l∣x)\pi\_{\theta}\left(y\_{l}\mid x\right). Since we have π_θ(y_w∣x)=0\pi\_{\theta}\left(y\_{w}\mid x\right)=0, this is impossible.

Assume that ff is interior-inducing. We need to show that ff is DPO-inducing, i.e., that substituting any optimal solution of problem (5) into the BT model (1) yields the ff-DPO loss (6). Let π_θ\pi\_{\theta} be an optimal solution to (5). Since ff is interior-inducing, by definition π_θ(y_w∣x)>0\pi\_{\theta}\left(y\_{w}\mid x\right)>0 and π_θ(y_l∣x)>0\pi\_{\theta}\left(y\_{l}\mid x\right)>0 for any (x,y_w,y_l)∈D(x,y\_{w},y\_{l})\in\mathcal{D}. Now, we define

g(π_θ):=E_y∼π_θ(⋅∣x)[r_ϕ(x,y)]−βD_f[π_θ(⋅∣x)∥π_ref(⋅∣x)]  ,g(\pi\_{\theta}):=\mathbb{E}\_{y\sim\pi\_{\theta}\left(\cdot\mid x\right)}\left[r\_{\phi}\left(x,y\right)\right]-\beta D\_{f}\left[\pi\_{\theta}\left(\cdot\mid x\right)\parallel\pi\_{\text{ref}}\left(\cdot\mid x\right)\right]\;,

which is the objective function of problem (5). Using a technical result (see Lemma 4 below) implies

∂g(π_θ)∂π_θ(y_w∣x)=∂g(π_θ)∂π_θ(y_l∣x)  ,\frac{\partial g(\pi\_{\theta})}{\partial\pi\_{\theta}\left(y\_{w}\mid x\right)}=\frac{\partial g(\pi\_{\theta})}{\partial\pi\_{\theta}\left(y\_{l}\mid x\right)}\;,

which reads as follows

r_ϕ(x,y_w)−βf′(π_θ(y_w∣x)π_ref(y_w∣x))=r_ϕ(x,y_l)−βf′(π_θ(y_l∣x)π_ref(y_l∣x))  .r\_{\phi}\left(x,y\_{w}\right)-\beta f^{\prime}\left(\frac{\pi\_{\theta}\left(y\_{w}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{w}\mid x\right)}\right)=r\_{\phi}\left(x,y\_{l}\right)-\beta f^{\prime}\left(\frac{\pi\_{\theta}\left(y\_{l}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{l}\mid x\right)}\right)\;.

Rearranging the equation gives

r_ϕ(x,y_w)−r_ϕ(x,y_l)=βf′(π_θ(y_w∣x)π_ref(y_w∣x))−βf′(π_θ(y_l∣x)π_ref(y_l∣x))  ,r\_{\phi}\left(x,y\_{w}\right)-r\_{\phi}\left(x,y\_{l}\right)=\beta f^{\prime}\left(\frac{\pi\_{\theta}\left(y\_{w}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{w}\mid x\right)}\right)-\beta f^{\prime}\left(\frac{\pi\_{\theta}\left(y\_{l}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{l}\mid x\right)}\right)\;,

and substituting this difference into the BT model (1) yields the ff-DPO loss (6), as required. ∎

We next state Theorem 1, which provides a full characterization of DPO-inducing functions.

Let f:R_+→Rf:\mathbb{R}\_{+}\to\mathbb{R} be a continuous function in R_+\mathbb{R}\_{+}, which is continuously differentiable in R_++\mathbb{R}\_{++}.

  1. i

    If f(0)=∞f\left(0\right)=\infty, then ff is DPO-inducing.

  2. ii

    Suppose f(0)<∞f\left(0\right)<\infty. Then, ff is DPO-inducing if and only if the ratio f(t)−f(0)t\frac{f\left(t\right)-f\left(0\right)}{t} is not bounded from below in any right neighborhood of 00 (i.e., ∀a>0,∀M∈R,∃t∈(0,a)\forall a>0,\forall M\in\mathbb{R},\exists t\in\left(0,a\right) such that f(t)−f(0)t<M\frac{f\left(t\right)-f\left(0\right)}{t}<M).

The proof for Theorem 1 can be found in Appendix E.1. Recall that in Corollary 1 we add an assumption under which the condition of the characterization becomes easier to check.

In this appendix, we provide and briefly discuss the optimal solution(s) to Problem 7 under the additional assumption that ff is convex, differentiable, and f′f^{\prime} is invertible. We do not prove it here, but rather rephrase it in simpler notations and prove it in Lemma 5.

First, notice that Problem 7 is separable over different xx-s and hence we can provide the optimal solution π_θ\pi\_{\theta} separately for each x∈Dx\in\mathcal{D}. So let x∈Dx\in\mathcal{D}. Denote r^_x≔max⁡_y∉S_xr_ϕ(x,y)\hat{r}\_{x}\coloneqq\max\_{y\notin S\_{x}}r\_{\phi}(x,y). If the condition

∑_y∈S_xπ_ref(y∣x)f′−1(r_ϕ(x,y)−r^_xβ)<1\sum\_{y\in S\_{x}}\pi\_{\text{ref}}\left(y\mid x\right)f^{\prime-1}\left(\frac{r\_{\phi}\left(x,y\right)-\hat{r}\_{x}}{\beta}\right)<1(10)

holds, then the set of optimal solutions π_θ(⋅∣x)\pi\_{\theta}\left(\cdot\mid x\right) is the set of π_θ(⋅∣x)\pi\_{\theta}\left(\cdot\mid x\right) that satisfy

{π_θ(y∣x)=π_ref(y∣x)f′−1(r_ϕ(x,y)−r^_xβ),∀y∈S_x,π_θ(y∣x)=0,∀y∉S_x, r_ϕ(x,y)<r^_x∑_y∉S_xr_ϕ(x,y)=r^_xπ_θ(y∣x)=1−∑_y∈S_xπ_ref(y∣x)f′−1(r_ϕ(x,y)−r^_xβ).\displaystyle\begin{cases}\pi\_{\theta}\left(y\mid x\right)=\pi\_{\text{ref}}\left(y\mid x\right)f^{\prime-1}\left(\frac{r\_{\phi}\left(x,y\right)-\hat{r}\_{x}}{\beta}\right),&\forall y\in S\_{x},\\[5.0pt] \pi\_{\theta}\left(y\mid x\right)=0,&\forall y\notin S\_{x},\,r\_{\phi}\left(x,y\right)<\hat{r}\_{x}\\[5.0pt] \sum\limits\_{\begin{subarray}{c}y\notin S\_{x}\\ r\_{\phi}\left(x,y\right)=\hat{r}\_{x}\end{subarray}}\pi\_{\theta}\left(y\mid x\right)=1-\sum\limits\_{y\in S\_{x}}\pi\_{\text{ref}}\left(y\mid x\right)f^{\prime-1}\left(\frac{r\_{\phi}\left(x,y\right)-\hat{r}\_{x}}{\beta}\right).&\end{cases}(11)

Otherwise, the unique optimal solution is:

{π_θ(y∣x)=π_ref(y∣x)f′−1(r_ϕ(x,y)+μβ),∀y∈S_x,π_θ(y∣x)=0,∀y∉S_x.\displaystyle\begin{cases}\pi\_{\theta}\left(y\mid x\right)=\pi\_{\text{ref}}\left(y\mid x\right)f^{\prime-1}\left(\frac{r\_{\phi}\left(x,y\right)+\mu}{\beta}\right),&\forall y\in S\_{x},\\[5.0pt] \pi\_{\theta}\left(y\mid x\right)=0,&\forall y\notin S\_{x}.\end{cases}(12)

where μ\mu is a solution to ∑_y∈S_xπ_ref(y∣x)f′−1(r_ϕ(x,y)+μβ)=1\sum\_{y\in S\_{x}}\pi\_{\text{ref}}\left(y\mid x\right)f^{\prime-1}\left(\frac{r\_{\phi}\left(x,y\right)+\mu}{\beta}\right)=1.

This wraps up the characterization of the optimal set of the weird optimization problem (7). Notice that in both cases, the optimal solutions can assign zero probability to out-of-sample responses. This demonstrates that Problem (7) does not guardrail out-of-sample responses to stay close in probability to π_ref\pi\_{\text{ref}}. We rephrase and prove this characterization with more convenient notations in Lemma 5. We note that this result appears in Asadi et al. (2025) for the special case f_KL(t)=tlog⁡tf\_{\text{KL}}\left(t\right)=t\log t.

For simplicity of the proof, we define

max⁡_p∈Δng(p):={rTp−βD_f(p∥q)}.\max\_{\mathbf{p}\in\Delta^{n}}g\left(\mathbf{p}\right):=\left\{\mathbf{r}^{T}\mathbf{p}-\beta D\_{f}\left(\mathbf{p}\parallel\mathbf{q}\right)\right\}.(13)

We first prove the first item. Assume that f(0)=∞f\left(0\right)=\infty, and we will show that any optimal solution p\mathbf{p} must be in Δn_++={p∈Δn∣p>0}\Delta^{n}\_{++}=\left\{\mathbf{p}\in\Delta^{n}\mid\mathbf{p}>0\right\}. Indeed, any vector p\mathbf{p}, for which p_i=0p\_{i}=0 for some i∈[n]i\in[n], we have that g(p)=−∞g(\mathbf{p})=-\infty. This obviously implies that such vectors p\mathbf{p} cannot be maximizers of gg. Therefore, we get that any optimal solution lies in Δn_++\Delta^{n}\_{++}.

We now prove the second item. Assume that f(0)<∞f\left(0\right)<\infty.

⟹\Longrightarrow: We assume on the way of contradiction that the ratio t−1[f(t)−f(0)]t^{-1}[f\left(t\right)-f\left(0\right)] is bounded from below. We will prove that ff is not interior-inducing by constructing an instance of the problem (13) with specific r\mathbf{r} and q\mathbf{q} such that p\*=e_1\mathbf{p}^{\*}=\mathbf{e\_{1}} is an optimal solution.

To this end, since the ratio t−1[f(t)−f(0)]t^{-1}[f\left(t\right)-f\left(0\right)] is bounded from below, there exist M∈RM\in\mathbb{R} and a>0a>0 such that for all t∈(0,a)t\in\left(0,a\right) we have t−1[f(t)−f(0)]≥Mt^{-1}[f\left(t\right)-f\left(0\right)]\geq M. Since t−1[f(t)−f(0)]t^{-1}[f\left(t\right)-f\left(0\right)] is continuous in [a,n]\left[a,n\right], by the Extreme Value Theorem there exists K_1K\_{1} such that t−1[f(t)−f(0)]≥K_1t^{-1}[f\left(t\right)-f\left(0\right)]\geq K\_{1} for all t∈[a,n]t\in\left[a,n\right]. Denoting m=min⁡{K_1,M}m=\min\left\{K\_{1},M\right\}, we get t−1[f(t)−f(0)]≥mt^{-1}[f\left(t\right)-f\left(0\right)]\geq m for all t∈(0,n]t\in\left(0,n\right]. Moreover, let D=max⁡_t∈[1,2n]f′(t)D=\max\_{t\in\left[1,2n\right]}f^{\prime}\left(t\right), which is finite by the assumption that ff is continuously differentiable in R_++\mathbb{R}\_{++} and by the Extreme Value Theorem.

Now, we are ready to define r\mathbf{r} and q\mathbf{q}. We consider problem (13) with q_i=1/nq\_{i}=1/n for all i∈[n]i\in\left[n\right], r_1=max⁡{βD−βm+1,1}r\_{1}=\max\left\{\beta D-\beta m+1,1\right\}, and r_i=0r\_{i}=0 for all i≥2i\geq 2. We will show that p\*=e_1\mathbf{p}^{\*}=\mathbf{e\_{1}} is an optimal solution. To this end, since the problem obviously must have a maximizer, it is enough to show that no p\mathbf{p} with p_i<1p\_{i}<1 can be an optimal solution.

We take p∈Δ_n\mathbf{p}\in\Delta\_{n} with p_1<1p\_{1}<1 such that p_i>0p\_{i}>0 for some i∈[n]i\in\left[n\right]. Let p′=p+p_i(e_1−e_i)\mathbf{p}^{\prime}=\mathbf{p}+p\_{i}\left(\mathbf{e\_{1}}-\mathbf{e\_{i}}\right), that is, the probability vector obtained by moving all the mass from ii to 11.

Then, from the definition of p′\mathbf{p}^{\prime}, we get

g(p′)−g(p)\displaystyle g\left(\mathbf{p^{\prime}}\right)-g\left(\mathbf{p}\right)=r_1(p_1+p_i)−β∑_ℓ=1n1nf(np′_ℓ)−r_1p_1+β∑_ℓ=1n1nf(np_ℓ)\displaystyle=r\_{1}\left(p\_{1}+p\_{i}\right)-\beta\sum\_{\ell=1}^{n}\frac{1}{n}f\left(np^{\prime}\_{\ell}\right)-r\_{1}p\_{1}+\beta\sum\_{\ell=1}^{n}\frac{1}{n}f\left(np\_{\ell}\right)
------------
=r_1p_i−βnf(n(p_1+p_i))−βnf(0)+βnf(np_1)+βnf(np_i)\displaystyle=r\_{1}p\_{i}-\frac{\beta}{n}f\left(n\left(p\_{1}+p\_{i}\right)\right)-\frac{\beta}{n}f\left(0\right)+\frac{\beta}{n}f\left(np\_{1}\right)+\frac{\beta}{n}f\left(np\_{i}\right)
------------
=r_1p_i+βn(f(np_i)−f(0))−βn(f(np_1+np_i)−f(np_1))  .\displaystyle=r\_{1}p\_{i}+\frac{\beta}{n}\left(f\left(np\_{i}\right)-f\left(0\right)\right)-\frac{\beta}{n}\left(f\left(np\_{1}+np\_{i}\right)-f\left(np\_{1}\right)\right)\;.

Dividing by p_i>0p\_{i}>0 we get

g(p′)−g(p)p_i\displaystyle\frac{g\left(\mathbf{p^{\prime}}\right)-g\left(\mathbf{p}\right)}{p\_{i}}=r_1+βf(np_i)−f(0)np_i−βf(np_1+np_i)−f(np_1)np_i\displaystyle=r\_{1}+\beta\frac{f\left(np\_{i}\right)-f\left(0\right)}{np\_{i}}-\beta\frac{f\left(np\_{1}+np\_{i}\right)-f\left(np\_{1}\right)}{np\_{i}}
------------
≥r_1+βm−βf(np_1+np_i)−f(np_1)np_i  ,\displaystyle\geq r\_{1}+\beta m-\beta\frac{f\left(np\_{1}+np\_{i}\right)-f\left(np\_{1}\right)}{np\_{i}}\;,

where the inequality is because np_i∈(0,n]np\_{i}\in\left(0,n\right].

Now, to bound the last term, first we notice that if p_1<1/np\_{1}<1/n, then p\mathbf{p} is not optimal. Indeed, in this case there is necessarily j≠1j\neq 1 such that p_j>1/np\_{j}>1/n. Therefore, by considering the value of gg on the vector where p_jp\_{j} and p_1p\_{1} switches, we get higher value than g(p)g(\mathbf{p}) since r_1≥1>0=r_jr\_{1}\geq 1>0=r\_{j}.

Therefore, we can assume p_1≥1/np\_{1}\geq 1/n. Moreover, by Lagrange’s mean value theorem, there exists a c∈(np_1,np_1+np_i)c\in\left(np\_{1},np\_{1}+np\_{i}\right) such that

f(np_1+np_i)−f(np_1)np_i=f′(c)≤max⁡_t∈[1,2n]f′(t)=D\frac{f\left(np\_{1}+np\_{i}\right)-f\left(np\_{1}\right)}{np\_{i}}=f^{\prime}\left(c\right)\leq\max\_{t\in\left[1,2n\right]}f^{\prime}\left(t\right)=D

where the inequality follows from the fact that c∈[1,2n]c\in\left[1,2n\right]. Indeed, since p_1≥1/np\_{1}\geq 1/n, we have 1≤np_11\leq np\_{1}. Also, np_1+np_i≤nnp\_{1}+np\_{i}\leq n since p_1+p_i≤1p\_{1}+p\_{i}\leq 1. Therefore, c∈[1,n]c\in\left[1,n\right].

Using this in (14), we get

g(p′)−g(p)p_i≥r_1+βm−βD≥βD−βm+1+βm−βD=1>0  ,\frac{g\left(\mathbf{p^{\prime}}\right)-g\left(\mathbf{p}\right)}{p\_{i}}\geq r\_{1}+\beta m-\beta D\geq\beta D-\beta m+1+\beta m-\beta D=1>0\;,

where the second inequality follows from the fact that r_1≥βD−βm+1r\_{1}\geq\beta D-\beta m+1. Therefore,

g(p′)−g(p)>0  ,g\left(\mathbf{p^{\prime}}\right)-g\left(\mathbf{p}\right)>0\;,(15)

which shows that p\mathbf{p} is not optimal, as required.

⟸\Longleftarrow: Assume that f(0)<∞f\left(0\right)<\infty and that the ratio t−1[f(t)−f(0)]t^{-1}[f\left(t\right)-f\left(0\right)] is not bounded from below, and we will prove that ff is interior-inducing.

Let r∈Rn,q∈Δn_++\mathbf{r}\in\mathbb{R}^{n},\mathbf{q}\in\Delta^{n}\_{++}, and β>0\beta>0. We need to show that any optimal solution to

max⁡_p∈Δng(p):={rTp−βD_f(p∥q)}\max\_{\mathbf{p}\in\Delta^{n}}g\left(\mathbf{p}\right):=\left\{\mathbf{r}^{T}\mathbf{p}-\beta D\_{f}\left(\mathbf{p}\parallel\mathbf{q}\right)\right\}

satisfies p∈Δ_++n\mathbf{p}\in\Delta\_{++}^{n}. We assume in contradiction that p_i=0p\_{i}=0 for some i∈[n]i\in\left[n\right] and we will prove that p\mathbf{p} is not an optimal solution.

Let j∈[n]j\in\left[n\right] be such that p_j>0p\_{j}>0, and define pε=p+ε(e_i−e_j)\mathbf{p^{\varepsilon}}=\mathbf{p}+\varepsilon\left(\mathbf{e\_{i}}-\mathbf{e\_{j}}\right). Notice that for every ε<p_j\varepsilon<p\_{j}, we indeed have pε∈Δn\mathbf{p^{\varepsilon}}\in\Delta^{n}. Then, for all ε<p_j\varepsilon<p\_{j}, we have

g(pε)−g(p)\displaystyle g\left(\mathbf{p^{\varepsilon}}\right)-g\left(\mathbf{p}\right)=rT(pε−p)−β∑_ℓ=1nq_ℓf(pε_ℓq_ℓ)+β∑_ℓ=1nq_ℓf(p_ℓq_ℓ)\displaystyle=\mathbf{r}^{T}\left(\mathbf{p^{\varepsilon}}-\mathbf{p}\right)-\beta\sum\_{\ell=1}^{n}q\_{\ell}f\left(\frac{p^{\varepsilon}\_{\ell}}{q\_{\ell}}\right)+\beta\sum\_{\ell=1}^{n}q\_{\ell}f\left(\frac{p\_{\ell}}{q\_{\ell}}\right)
------------
=εrT(e_i−e_j)−β(q_if(pε_iq_i)+q_jf(pε_jq_j))+β(q_if(p_iq_i)+q_jf(p_jq_j))\displaystyle=\varepsilon\mathbf{r}^{T}\left(\mathbf{e\_{i}}-\mathbf{e\_{j}}\right)-\beta\left(q\_{i}f\left(\frac{p^{\varepsilon}\_{i}}{q\_{i}}\right)+q\_{j}f\left(\frac{p^{\varepsilon}\_{j}}{q\_{j}}\right)\right)+\beta\left(q\_{i}f\left(\frac{p\_{i}}{q\_{i}}\right)+q\_{j}f\left(\frac{p\_{j}}{q\_{j}}\right)\right)
------------
=ε(r_i−r_j)−βq_i(f(εq_i)−f(0))+βq_j(f(p_jq_j)−f(p_j−εq_j))  .\displaystyle=\varepsilon\left(r\_{i}-r\_{j}\right)-\beta q\_{i}\left(f\left(\frac{\varepsilon}{q\_{i}}\right)-f\left(0\right)\right)+\beta q\_{j}\left(f\left(\frac{p\_{j}}{q\_{j}}\right)-f\left(\frac{p\_{j}-\varepsilon}{q\_{j}}\right)\right)\;.

We now wish to find ε\varepsilon such that g(pε)−g(p)>0g\left(\mathbf{p^{\varepsilon}}\right)-g\left(\mathbf{p}\right)>0, which will prove that p\mathbf{p} is not an optimal solution. Note that

lim⁡_ε→0+q_j(f(p_jq_j)−f(p_j−εq_j))ε=lim⁡_ε→0+f(p_jq_j−εq_j)−f(p_jq_j)−εq_j=f′(p_jq_j)∈R  ,\lim\_{\varepsilon\to 0^{+}}\frac{q\_{j}\left(f\left(\frac{p\_{j}}{q\_{j}}\right)-f\left(\frac{p\_{j}-\varepsilon}{q\_{j}}\right)\right)}{\varepsilon}=\lim\_{\varepsilon\to 0^{+}}\frac{f\left(\frac{p\_{j}}{q\_{j}}-\frac{\varepsilon}{q\_{j}}\right)-f\left(\frac{p\_{j}}{q\_{j}}\right)}{-\frac{\varepsilon}{q\_{j}}}=f^{\prime}\left(\frac{p\_{j}}{q\_{j}}\right)\in\mathbb{R}\;,

since ff is differentiable at R_++\mathbb{R}\_{++}. Therefore, by the definition of the limit, there exists εˉ>0\bar{\varepsilon}>0 such that for all ε∈(0,εˉ)\varepsilon\in\left(0,\bar{\varepsilon}\right),

$$\left\frac{q_{j}\left(f\left(\frac{p_{j}}{q_{j}}\right)-f\left(\frac{p_{j}-\varepsilon}{q_{j}}\right)\right)}{\varepsilon}-f^{\prime}\left(\frac{p_{j}}{q_{j}}\right)\right

which means that

q_j(f(p_jq_j)−f(p_j−εq_j))ε>f′(p_jq_j)−1  .\frac{q\_{j}\left(f\left(\frac{p\_{j}}{q\_{j}}\right)-f\left(\frac{p\_{j}-\varepsilon}{q\_{j}}\right)\right)}{\varepsilon}>f^{\prime}\left(\frac{p\_{j}}{q\_{j}}\right)-1\;.(17)

Considering the ratio condition with M=f′(p_jq_j)+1β(r_j−r_i)−2M=f^{\prime}\left(\frac{p\_{j}}{q\_{j}}\right)+\frac{1}{\beta}\left(r\_{j}-r\_{i}\right)-2 and a=min⁡{εˉ,p_j}/q_ia=\min\left\{\bar{\varepsilon},p\_{j}\right\}/q\_{i}, we get that there exists t∈(0,a)t\in\left(0,a\right) such that f(t)−f(0)t<M\frac{f\left(t\right)-f\left(0\right)}{t}<M. Defining ε_0=tq_i\varepsilon\_{0}=tq\_{i}, we then get ε_0∈(0,εˉ)\varepsilon\_{0}\in\left(0,\bar{\varepsilon}\right) and ε_0∈(0,p_j)\varepsilon\_{0}\in\left(0,p\_{j}\right). Thus,

f(ε_0q_i)−f(0)ε_0q_i=f(t)−f(0)t<M  .\frac{f\left(\frac{\varepsilon\_{0}}{q\_{i}}\right)-f\left(0\right)}{\frac{\varepsilon\_{0}}{q\_{i}}}=\frac{f\left(t\right)-f\left(0\right)}{t}<M\;.(18)

Therefore, by combining from (16), (17), and (18) we get

g(pε_0)−g(p)>ε_0(r_i−r_j)−βMε_0+βε_0(f′(p_jq_j)−1)=βε_0>0  ,g\left(\mathbf{p}^{\varepsilon\_{0}}\right)-g\left(\mathbf{p}\right)>\varepsilon\_{0}\left(r\_{i}-r\_{j}\right)-\beta M\varepsilon\_{0}+\beta\varepsilon\_{0}\left(f^{\prime}\left(\frac{p\_{j}}{q\_{j}}\right)-1\right)=\beta\varepsilon\_{0}>0\;,

where the last equality follows from the definition of MM. This shows that g(pε_0)>g(p)g\left(\mathbf{p}^{\varepsilon\_{0}}\right)>g\left(\mathbf{p}\right), which contradicts the optimality of p\mathbf{p}. ∎

Since lim⁡_t→0+f′(t)\lim\_{t\to 0^{+}}f^{\prime}\left(t\right) exists and f′f^{\prime} is continuous, there is LL such that

lim⁡_t→0+f(t)−f(0)t=f′(0)=lim⁡_t→0+f′(t)=L.\lim\_{t\to 0^{+}}\frac{f\left(t\right)-f\left(0\right)}{t}=f^{\prime}\left(0\right)=\lim\_{t\to 0^{+}}f^{\prime}\left(t\right)=L.(19)

Therefore, L=−∞L=-\infty if and only if the ratio t−1[f(t)−f(0)]t^{-1}[f\left(t\right)-f\left(0\right)] is not bounded from below. This concludes the result as an immediate consequence of Theorem 1. ∎

Since ff is DPO-inducing, it satisfies the conditions in Theorem 1. Therefore, a straight-forward generalization of our proof of Theorem 1 can show that any optimal solution π_θ\pi\_{\theta} to Problem (7) satisfies π_θ(y∣x)>0\pi\_{\theta}\left(y\mid x\right)>0 for any y∈S_xy\in S\_{x}. Therefore, for any (x,y_w,y_l)∈D(x,y\_{w},y\_{l})\in\mathcal{D} we have π_θ(y_w∣x)>0\pi\_{\theta}\left(y\_{w}\mid x\right)>0 and π_θ(y_l∣x)>0\pi\_{\theta}\left(y\_{l}\mid x\right)>0. This implies, by Technical Lemma 4, the following equality of derivatives:

∂g(π_θ)∂π_θ(y_w∣x)=∂g(π_θ)∂π_θ(y_l∣x)  ,\frac{\partial g(\pi\_{\theta})}{\partial\pi\_{\theta}\left(y\_{w}\mid x\right)}=\frac{\partial g(\pi\_{\theta})}{\partial\pi\_{\theta}\left(y\_{l}\mid x\right)}\;,(20)

where we denote by g(π_θ)g\left(\pi\_{\theta}\right) the objective function of (7). By calculation, this gives us

r_ϕ(x,y_w)−r_ϕ(x,y_l)=βf′(π_θ(y_w∣x)π_ref(y_w∣x))−βf′(π_θ(y_l∣x)π_ref(y_l∣x))  ,r\_{\phi}\left(x,y\_{w}\right)-r\_{\phi}\left(x,y\_{l}\right)=\beta f^{\prime}\left(\frac{\pi\_{\theta}\left(y\_{w}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{w}\mid x\right)}\right)-\beta f^{\prime}\left(\frac{\pi\_{\theta}\left(y\_{l}\mid x\right)}{\pi\_{\text{ref}}\left(y\_{l}\mid x\right)}\right)\;,(21)

which when substituted into the BT model (1) yields the ff-DPO loss (6), as required. ∎

Suppose in contradiction that there exists an optimal solution π_θ\pi\_{\theta} to Problem (7) such that for some xx and for some y∈S_xy\in S\_{x}, π_θ(y∣x)>c⋅π_ref(y∣x)\pi\_{\theta}\left(y\mid x\right)>c\cdot\pi\_{\text{ref}}\left(y\mid x\right). Denote by y^∈arg max⁡_y′∉S_xr_ϕ(x,y′)\hat{y}\in\argmax\_{y^{\prime}\notin S\_{x}}r\_{\phi}\left(x,y^{\prime}\right) an out-of-sample response for xx with a maximal reward. We define

π′_θ(z∣x)={c⋅π_ref(y∣x),z=y,π_θ(y^∣x)+π_θ(y∣x)−π′_θ(y∣x),z=y^π_θ(z∣x),z∉{y,y^}.\displaystyle\pi^{\prime}\_{\theta}\left(z\mid x\right)=\begin{cases}c\cdot\pi\_{\text{ref}}\left(y\mid x\right),&z=y,\\[5.0pt] \pi\_{\theta}\left(\hat{y}\mid x\right)+\pi\_{\theta}\left(y\mid x\right)-\pi^{\prime}\_{\theta}\left(y\mid x\right),&z=\hat{y}\\[5.0pt] \pi\_{\theta}\left(z\mid x\right),&z\notin\{y,\hat{y}\}.\end{cases}

Since c∈(0,1]c\in(0,1], we immediately obtain that π′_θ(⋅∣x)\pi^{\prime}\_{\theta}\left(\cdot\mid x\right) is indeed a valid probability distribution. From (7) and using the definition of π′_θ(z∣x)\pi^{\prime}\_{\theta}\left(z\mid x\right), we have

g(π′_θ)−g(π_θ)\displaystyle g\left(\pi^{\prime}\_{\theta}\right)-g\left(\pi\_{\theta}\right)=π′_θ(y^∣x)r_ϕ(x,y^)+π′_θ(y∣x)r_ϕ(x,y)−βπ_ref(y∣x)f(π′_θ(y∣x)π_ref(y∣x))\displaystyle=\pi^{\prime}\_{\theta}\left(\hat{y}\mid x\right)r\_{\phi}\left(x,\hat{y}\right)+\pi^{\prime}\_{\theta}\left(y\mid x\right)r\_{\phi}\left(x,y\right)-\beta\pi\_{\text{ref}}\left({y}\mid x\right)f\left(\frac{\pi^{\prime}\_{\theta}\left(y\mid x\right)}{\pi\_{\text{ref}}\left(y\mid x\right)}\right)
------------
−(π_θ(y^∣x)r_ϕ(x,y^)+π_θ(y∣x)r_ϕ(x,y)−βπ_ref(y∣x)f(π_θ(y∣x)π_ref(y∣x)))\displaystyle-\left(\pi\_{\theta}\left(\hat{y}\mid x\right)r\_{\phi}\left(x,\hat{y}\right)+\pi\_{\theta}\left(y\mid x\right)r\_{\phi}\left(x,y\right)-\beta\pi\_{\text{ref}}\left({y}\mid x\right)f\left(\frac{\pi\_{\theta}\left(y\mid x\right)}{\pi\_{\text{ref}}\left(y\mid x\right)}\right)\right)
------------
=r_ϕ(x,y^)(π_θ(y∣x)−π′_θ(y∣x))−r_ϕ(x,y)(π_θ(y∣x)−π′_θ(y∣x))\displaystyle=r\_{\phi}\left(x,\hat{y}\right)\left(\pi\_{\theta}\left(y\mid x\right)-\pi^{\prime}\_{\theta}\left(y\mid x\right)\right)-r\_{\phi}\left(x,{y}\right)\left(\pi\_{\theta}\left(y\mid x\right)-\pi^{\prime}\_{\theta}\left(y\mid x\right)\right)
------------
−βπ_ref(y∣x)f(c)+βπ_ref(y∣x)f(π_θ(y∣x)π_ref(y∣x)).\displaystyle-\beta\pi\_{\text{ref}}\left(y\mid x\right)f\left(c\right)+\beta\pi\_{\text{ref}}\left(y\mid x\right)f\left(\frac{\pi\_{\theta}\left(y\mid x\right)}{\pi\_{\text{ref}}\left(y\mid x\right)}\right).

Now, since cc is the unique global minimum of ff, we have f(c)<f(π_θ(y∣x)π_ref(y∣x))f\left(c\right)<f\left(\frac{\pi\_{\theta}\left(y\mid x\right)}{\pi\_{\text{ref}}\left(y\mid x\right)}\right), and by our assumption π_ref>0\pi\_{\text{ref}}>0, which implies that

g(π′_θ)−g(π_θ)>r_ϕ(x,y^)(π_θ(y∣x)−π′_θ(y∣x))−r_ϕ(x,y)(π_θ(y∣x)−π′_θ(y∣x))  .g\left(\pi^{\prime}\_{\theta}\right)-g\left(\pi\_{\theta}\right)>r\_{\phi}\left(x,\hat{y}\right)\left(\pi\_{\theta}\left(y\mid x\right)-\pi^{\prime}\_{\theta}\left(y\mid x\right)\right)-r\_{\phi}\left(x,{y}\right)\left(\pi\_{\theta}\left(y\mid x\right)-\pi^{\prime}\_{\theta}\left(y\mid x\right)\right)\;.

Now, recalling that r_ϕ(x,y^)=max⁡_y′∉S_xr_ϕ(x,y′)≥r_ϕ(x,y)r\_{\phi}\left(x,\hat{y}\right)=\max\_{y^{\prime}\notin S\_{x}}r\_{\phi}\left(x,y^{\prime}\right)\geq r\_{\phi}\left(x,y\right) by the assumption of the Lemma and that π_θ(y∣x)>π′_θ(y∣x)\pi\_{\theta}\left(y\mid x\right)>\pi^{\prime}\_{\theta}\left(y\mid x\right) by construction of π′_θ\pi^{\prime}\_{\theta}, we get that g(π′_θ)−g(π_θ)>0g\left(\pi^{\prime}\_{\theta}\right)-g\left(\pi\_{\theta}\right)>0 in contradiction to the optimality of π_θ\pi\_{\theta}. ∎

Appendix F Technical Lemmas and Their Proofs

Section titled “Appendix F Technical Lemmas and Their Proofs”

We denote and define the n−1n-1 dimensional simplex by Δn={p∈R_+n∣∑_i=1np_i=1}\Delta^{n}=\left\{\mathbf{p}\in\mathbb{R}\_{+}^{n}\mid\sum\_{i=1}^{n}p\_{i}=1\right\}.

Let g:Δn→Rg:\Delta^{n}\to\mathbb{R} be a function and let p\*\mathbf{p^{\*}} be an optimal solution of the problem

max⁡_p∈Δng(p)  .\max\_{\mathbf{p}\in\Delta^{n}}g\left(\mathbf{p}\right)\;.(22)

Suppose that gg is differentiable at p\*\mathbf{p^{\*}}. Then, for any i,j∈[n]i,j\in\left[n\right] for which p\*_i,p\*_j>0p^{\*}\_{i},p^{\*}\_{j}>0, we have ∂g(p\*)∂p_i=∂g(p\*)∂p_j\frac{\partial g\left(\mathbf{p^{\*}}\right)}{\partial p\_{i}}=\frac{\partial g\left(\mathbf{p^{\*}}\right)}{\partial p\_{j}}.

Suppose in contradiction ∂g(p\*)∂p_i<∂g(p\*)∂p_j\frac{\partial g\left(\mathbf{p^{\*}}\right)}{\partial p\_{i}}<\frac{\partial g\left(\mathbf{p^{\*}}\right)}{\partial p\_{j}}. Let v=e_j−e_i\mathbf{v}=\mathbf{e}\_{j}-\mathbf{e}\_{i}, where e_i\mathbf{e}\_{i} and e_j\mathbf{e}\_{j} are the ii-th and jj-th standard basis vectors in Rn\mathbb{R}^{n}. Then, we have

vT∇g(p\*)=∂g(p\*)∂p_j−∂g(p\*)∂p_i>0  .\mathbf{v}^{T}\nabla g\left(\mathbf{p^{\*}}\right)=\frac{\partial g\left(\mathbf{p^{\*}}\right)}{\partial p\_{j}}-\frac{\partial g\left(\mathbf{p^{\*}}\right)}{\partial p\_{i}}>0\;.

Since gg is differentiable at p\*\mathbf{p^{\*}}, using the definition of the directional derivative of gg along the vector v\mathbf{v} (see Section 1.5.1 in Beck (2014)), we get that

0<vT∇g(p\*)=lim⁡_h→0g(p\*+hv)−g(p\*)h  .0<\mathbf{v}^{T}\nabla g\left(\mathbf{p^{\*}}\right)=\lim\_{h\to 0}\frac{g\left(\mathbf{p^{\*}}+h\mathbf{v}\right)-g\left(\mathbf{p^{\*}}\right)}{h}\;.

Therefore, for a small enough h>0h>0, we have

g(p\*+hv)>g(p\*)  .g\left(\mathbf{p^{\*}}+h\mathbf{v}\right)>g\left(\mathbf{p^{\*}}\right)\;.

Furthermore, since p\*_i,p\*_j>0p^{\*}\_{i},p^{\*}\_{j}>0, there exsits a small enough h>0h>0 such that p\*+hv∈Δn\mathbf{p^{\*}}+h\mathbf{v}\in\Delta^{n}. These two facts contradict the optimality of p\*\mathbf{p^{\*}}. Since similar arguments will derive a contradiction in the case where ∂g(p\*)∂p_i>∂g(p\*)∂p_j\frac{\partial g\left(\mathbf{p^{\*}}\right)}{\partial p\_{i}}>\frac{\partial g\left(\mathbf{p^{\*}}\right)}{\partial p\_{j}}, we obtain the desired result. ∎

Let f:R_+→Rf:\mathbb{R}\_{+}\to\mathbb{R} be a convex DPO-inducing function, which is differentiable and f′f^{\prime} is invertible. Let SS be a strict subset of [n]≔{1,…,n}\left[n\right]\coloneqq\left\{1,\ldots,n\right\}. For given r∈Rn\mathbf{r}\in\mathbb{R}^{n}, q∈Δn\mathbf{q}\in\Delta^{n}, β>0\beta>0, we consider the following problem:

max⁡_p∈Δn{∑_i=1np_ir_i−β∑_i∈Sq_if(p_i/q_i)}.\max\_{\mathbf{p}\in\Delta^{n}}\left\{\sum\_{i=1}^{n}p\_{i}r\_{i}-\beta\sum\_{i\in S}q\_{i}f\left(p\_{i}/q\_{i}\right)\right\}.(23)

Denote r^=max⁡_i∉Sr_i\hat{r}=\max\_{i\notin S}r\_{i} and z_i=q_if′−1((r_i−r^)/β)z\_{i}=q\_{i}f^{\prime-1}\left((r\_{i}-\hat{r})/\beta\right) for any i∈Si\in S. If ∑_i∈Sz_i<1\sum\_{i\in S}z\_{i}<1, then the set of optimal solutions to (23) can be described as all vectors pp satisfying

{p_i=z_i,∀i∈S,p_i=0,∀i∉S, r_i<r^∑_i∉Sr_i=r^p_i=1−∑_i∈Sz_i.\displaystyle\begin{cases}p\_{i}=z\_{i},&\forall i\in S,\\[5.0pt] p\_{i}=0,&\forall i\notin S,\,r\_{i}<\hat{r}\\[5.0pt] \sum\limits\_{\begin{subarray}{c}i\notin S\\ r\_{i}=\hat{r}\end{subarray}}p\_{i}=1-\sum\_{i\in S}z\_{i}.&\end{cases}(24)

Otherwise, the unique optimal solution to (23) is:

{p_i=q_if′−1(r_i+μβ),∀i∈S,p_i=0,∀i∉S.\displaystyle\begin{cases}p\_{i}=q\_{i}f^{\prime-1}\left(\frac{r\_{i}+\mu}{\beta}\right),&\forall i\in S,\\[5.0pt] p\_{i}=0,&\forall i\notin S.\end{cases}(25)

where μ\mu is a solution to ∑_i∈Sq_if′−1((r_i+μ)/β)=1\sum\_{i\in S}q\_{i}f^{\prime-1}\left((r\_{i}+\mu)/\beta\right)=1.

Since the problem is convex (since ff is convex) and Slater’s condition holds, the set of optimal solutions coincides with the set of KKT points. The Lagrangian in this case is given by

L(p,λ,μ)=⟨r,p⟩−β∑_i∈Sq_if(p_iq_i)+⟨λ,p⟩+μ(∑_i=1np_i−1)  ,L\left(\mathbf{p},\boldsymbol{\lambda},\mu\right)=\langle\mathbf{r},\mathbf{p}\rangle-\beta\sum\_{i\in S}q\_{i}f\left(\frac{p\_{i}}{q\_{i}}\right)+\langle\boldsymbol{\lambda},\mathbf{p}\rangle+\mu\left(\sum\_{i=1}^{n}p\_{i}-1\right)\;,(26)

where λ∈Rn_+\boldsymbol{\lambda}\in\mathbb{R}^{n}\_{+} and μ∈R\mu\in\mathbb{R}. The KKT conditions are

{∂L∂p_i=r_i−βf′(p_iq_i)+λ_i+μ=0,∀i∈S,∂L∂p_i=r_i+λ_i+μ=0,∀i∉S,p_i≥0,∑_i=1np_i=1,(feasibility),λ_i≥0,∀i∈[n],(multipliers),λ_ip_i=0,∀i∈[n],(complementary slackness).\displaystyle\begin{cases}\frac{\partial L}{\partial p\_{i}}=r\_{i}-\beta f^{\prime}\left(\frac{p\_{i}}{q\_{i}}\right)+\lambda\_{i}+\mu=0,&\forall i\in S,\\[5.0pt] \frac{\partial L}{\partial p\_{i}}=r\_{i}+\lambda\_{i}+\mu=0,&\forall i\notin S,\\[5.0pt] p\_{i}\geq 0,\quad\sum\_{i=1}^{n}p\_{i}=1,&\text{(feasibility)},\\[5.0pt] \lambda\_{i}\geq 0,&\forall i\in\left[n\right],\quad\text{(multipliers)},\\[5.0pt] \lambda\_{i}p\_{i}=0,&\forall i\in\left[n\right],\quad\text{(complementary slackness)}.\end{cases}

Since we assume that ff is DPO-inducing, by Lemma 3 we get that it is also interior-inducing, and therefore any solution p\mathbf{p} to (23) satisfies p_i>0p\_{i}>0 for all i∈Si\in S. Therefore λ_i=0\lambda\_{i}=0 for all i∈Si\in S, and the KKT conditions can be equivalently written as:

{p_i=q_if′−1(r_i+μβ),∀i∈S.r_i+λ_i+μ=0,∀i∉S,p∈Δn,(feasibility),λ_i≥0,∀i∉S,(multipliers),λ_ip_i=0,∀i∉S,(complementary slackness).\displaystyle\begin{cases}p\_{i}=q\_{i}f^{\prime-1}\left(\frac{r\_{i}+\mu}{\beta}\right),&\forall i\in S.\\[5.0pt] r\_{i}+\lambda\_{i}+\mu=0,&\forall i\notin S,\\[5.0pt] \mathbf{p}\in\Delta^{n},&\text{(feasibility)},\\[5.0pt] \lambda\_{i}\geq 0,&\forall i\notin S,\quad\text{(multipliers)},\\[5.0pt] \lambda\_{i}p\_{i}=0,&\forall i\notin S,\quad\text{(complementary slackness)}.\end{cases}

We now split the proof into the two cases as mentioned in the lemma. Recall that r^=max⁡_i∉Sr_i\hat{r}=\max\_{i\notin S}r\_{i} and z_i=q_if′−1((r_i−r^)/β)z\_{i}=q\_{i}f^{\prime-1}\left((r\_{i}-\hat{r})/\beta\right).

  • •

    Assume that ∑_i∈Sz_i<1\sum\_{i\in S}z\_{i}<1. First, the points described in (24) are all KKT points with μ=−r^\mu=-\hat{r} and

    {λ_i=0,∀i∉S, r_i=r^,λ_i=r^−r_i,∀i∉S, r_i<r^.\displaystyle\begin{cases}\lambda\_{i}=0,&\forall i\notin S,\,r\_{i}=\hat{r},\\[5.0pt] \lambda\_{i}=\hat{r}-r\_{i},&\forall i\notin S,\,r\_{i}<\hat{r}.\end{cases}

    It remains to show that no other KKT points exist. To this end, let p\mathbf{p} be any KKT point. We will prove that p\mathbf{p} coincides with one of the solutions in (24). By feasibility, it suffices to establish that p_i=z_ip\_{i}=z\_{i} for all i∈Si\in S and p_i=0p\_{i}=0 for all i∉Si\notin S such that r_i<r^r\_{i}<\hat{r}.

    For any i∉Si\notin S, we have that r_i+λ_i+μ=0r\_{i}+\lambda\_{i}+\mu=0. Since λ_i≥0\lambda\_{i}\geq 0, we have that μ≤−r_i\mu\leq-r\_{i} for all i∉Si\notin S and therefore also μ≤−r^\mu\leq-\hat{r}. If p_i=0p\_{i}=0 for all i∉Si\notin S, since ∑_i∈Sz_i<1\sum\_{i\in S}z\_{i}<1, we obtain a contradiction since

    1=∑_i∈Sp_i=∑_i∈Sq_if′−1(r_i+μβ)≤∑_i∈Sq_if′−1(r_i−r^β)=∑_i∈Sz_i<1,1=\sum\_{i\in S}p\_{i}=\sum\_{i\in S}q\_{i}f^{\prime-1}\left(\frac{r\_{i}+\mu}{\beta}\right)\leq\sum\_{i\in S}q\_{i}f^{\prime-1}\left(\frac{r\_{i}-\hat{r}}{\beta}\right)=\sum\_{i\in S}z\_{i}<1,

    where the first inequality is because f′−1f^{\prime-1} is increasing (by convexity of ff) and since μ≤−r^\mu\leq-\hat{r}.

    Hence some p_i>0p\_{i}>0 for i∉Si\notin S. Complementary slackness implies λ_i=0\lambda\_{i}=0 and thus r_i=−μr\_{i}=-\mu. Moreover, r_i=r_j+λ_jr\_{i}=r\_{j}+\lambda\_{j} for all j∉Sj\notin S, since r_j+λ_j=−μr\_{j}+\lambda\_{j}=-\mu. Since λ_j≥0\lambda\_{j}\geq 0, we have that r_i≥r_jr\_{i}\geq r\_{j} for all j∉Sj\notin S, which means that r_i=r^r\_{i}=\hat{r}. Hence μ=−r^\mu=-\hat{r}, which means that p_i=z_ip\_{i}=z\_{i} as desired.

  • •

    Assume that ∑_i∈Sz_i≥1\sum\_{i\in S}z\_{i}\geq 1. In this case, we prove that the unique KKT point is the point given in (25). Note that by feasibility it is enough to show that p_i=0p\_{i}=0 for all i∉Si\notin S.

    Suppose, in contradiction, that p_ℓ>0p\_{\ell}>0 for some ℓ∉S\ell\notin S. Then, λ_ℓ=0\lambda\_{\ell}=0 and hence μ=−r_ℓ\mu=-r\_{\ell}. Moreover,

    1≥p_ℓ+∑_i∈Sq_if′−1(r_i−r_ℓβ)≥p_ℓ+∑_i∈Sq_if′−1(r_i−r^β)≥p_ℓ+1>1  ,1\geq p\_{\ell}+\sum\_{i\in S}q\_{i}f^{\prime-1}\left(\frac{r\_{i}-r\_{\ell}}{\beta}\right)\geq p\_{\ell}+\sum\_{i\in S}q\_{i}f^{\prime-1}\left(\frac{r\_{i}-\hat{r}}{\beta}\right)\geq p\_{\ell}+1>1\;,(27)

    where the first inequality is by feasibility of p\mathbf{p}, the second inequality is since f′−1f^{\prime-1} is increasing (by convexity of ff) and r_ℓ≤r^r\_{\ell}\leq\hat{r}, and the penultimate inequality is a rearrangement of the assumption of Case II (recall that z_i=q_if′−1((r_i−r^)/β)z\_{i}=q\_{i}f^{\prime-1}\left((r\_{i}-\hat{r})/\beta\right)).

∎