Skip to content
ImagineWorld

Autoregressive Direct Preference Optimization

node_idnode-paper_arxiv-2602.09533_autoregressive-direct-preference-optimization
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2602.09533
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 reformulates direct preference optimization autoregressively, aligning the preference objective with the token-by-token generation process it is meant to shape — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleAutoregressive Direct Preference Optimization
paper_authorsMasanari Oi, Mahiro Ukai, Masahiro Kaneko, Naoaki Okazaki, Nakamasa Inoue
arxiv_id2602.09533
arxiv_urlhttps://arxiv.org/abs/2602.09533
arxiv_categories{"primary":"cs.AI","secondary":[]}
arxiv_v2
arxiv_submitted_at2026-02-10
arxiv_updated_at2026-06-10
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

Autoregressive Direct Preference Optimization

Section titled “Autoregressive Direct Preference Optimization”

Authors: Masanari Oi, Mahiro Ukai, Masahiro Kaneko, Naoaki Okazaki, Nakamasa Inoue

arxiv: 2602.09533

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


Direct preference optimization (DPO) has emerged as a promising approach for aligning large language models (LLMs) with human preferences. However, the widespread reliance on the response-level Bradley-Terry (BT) model may limit its full potential, as the reference and learnable models are assumed to be autoregressive only after deriving the objective function. Motivated by this limitation, we revisit the theoretical foundations of DPO and propose a novel formulation that explicitly introduces the autoregressive assumption prior to applying the BT model. By reformulating and extending DPO, we derive a novel variant, termed Autoregressive DPO (ADPO), that explicitly integrates autoregressive modeling into the preference optimization framework. Without violating the theoretical foundations, the derived loss takes an elegant form: it shifts the summation operation in the DPO objective outside the log-sigmoid function. Furthermore, through theoretical analysis of ADPO, we show that there exist two length measures to be considered when designing DPO-based algorithms: the token length μ\mu and the feedback length μ′\mu^{\prime}. To the best of our knowledge, we are the first to explicitly distinguish these two measures and analyze their implications for preference optimization in LLMs. Project page: https://stjohn2007.github.io/ADPO_project/

Machine Learning, ICML, Reinforcement Learning, Large Language Models, Direct Preference Optimization

Table 1: DPO versus ADPO. By defining reward-based energy functions over the prefix closure Y\*\mathcal{Y}^{\*} of the output space Y\mathcal{Y}, we introduce the prefix-wise Bradley-Terry model. The derived loss shifts the summation operation outside the log-sigmoid function.

MethodEnergy domainModelingLoss
DPOOutput space Y\mathcal{Y}Bradley-Terry$-\log\sigma\Bigl(\beta\sum_{i}\log\frac{\pi_{\theta}(y^{w}_{i}
ADPO (Ours)Prefix closure Y\*\mathcal{Y}^{\*}Prefix-wise Bradley-Terry$-\sum_{i}\log\sigma\Bigl(\beta\log\frac{\pi_{\theta}(y^{w}_{i}

Reinforcement learning from human feedback (RLHF) has emerged as a powerful paradigm for aligning large language models (LLMs) with human preferences (Christiano et al., 2017; Stiennon et al., 2020; Ouyang et al., 2022). As an alternative to traditional RLHF, Direct Preference Optimization (DPO) (Rafailov et al., 2023) analytically derives the optimal solution to the reward maximization objective, enabling efficient and scalable training. This serves as a foundation for state-of-the-art LLMs, supporting diverse tasks ranging from conversational interactions to complex mathematical reasoning (Zhang et al., 2024b; Pang et al., 2024; Jiao et al., 2025; Liao et al., 2025; Lu et al., 2025; Shao et al., 2025).

Recent studies have introduced numerous variants of DPO primarily aimed at improving performance of LLMs (Pang et al., 2024; Zhao et al., 2024; Xiao et al., 2024; Meng et al., 2024; Zhang et al., 2024b; Chen et al., 2024; Wu et al., 2024b; Gupta et al., 2025; Lai et al., 2025; Li et al., 2025b; Wu et al., 2025; Son et al., 2025; Hu et al., 2025; Chen et al., 2025; Liang et al., 2025; Yoon et al., 2025). However, most of them, including those proposing token-level objective functions (Zeng et al., 2024; Zhu et al., 2025; Lin et al., 2025), fundamentally rely on the Bradley-Terry (BT) model (Bradley and Terry, 1952), which stipulates the human preference distribution at the level of complete responses. In this modeling, there is an underlying assumption arising from RLHF that the reward function r(x,y)r(x,y) is defined over complete responses y∈Yy\in\mathcal{Y}, each paired with an input x∈Xx\in\mathcal{X}.

This assumption is regarded as nearly essential because reward models typically learn to evaluate each input-output pair (x,y)(x,y). For LLM training, even though models produce autoregressive distributions π(y_i∣y_<i,x)\pi(y\_{i}|y\_{<i},x), learning reward models at a finer granularity (e.g., at the token level) is challenging, as it is unrealistic to ask users to evaluate pairs (x,y_i)(x,y\_{i}) conditioned on incomplete responses y_<iy\_{<i}. However, since DPO does not require explicit reward models, there is an opportunity to introduce a more structured implicit reward function that better aligns with autoregressive modeling.

In this paper, we investigate how the autoregressive assumption can be explicitly incorporated into DPO when applying the BT model. Specifically, we revisit the theoretical foundations of DPO and introduce a novel autoregressive variant, which we call Autoregressive DPO (ADPO). The core idea behind ADPO lies in the introduction of an implicit reward function r\*(x,y_≤i)r^{\*}(x,y\_{\leq i}) defined over the prefix closure Y\*\mathcal{Y}^{\*}, a set of incomplete responses. ADPO is then naturally derived through (1) reward-based prefix energies defined with an autoregressive reference model, (2) their corresponding Boltzmann distributions, and (3) the prefix-wise BT model. The resulting loss function has an elegant form: the summation operation in the DPO loss is shifted outside the log-sigmoid function, as summarized in Table 1. To the best of our knowledge, we are the first to formulate and analyze such an autoregressive extension. It is also worth noting that ADPO does not violate the theoretical foundations of DPO, as the difference naturally arises from the definition of the energy functions. In summary, our contributions are:

    We introduce ADPO, a novel DPO variant derived by extending the domain of energy from the output space Y\mathcal{Y} to its prefix closure Y\*\mathcal{Y}^{\*}. This enables the incorporation of the autoregressive assumption into DPO when applying the BT model, providing a theoretically consistent way to facilitate finer-granularity training.

    We prove under mild assumptions that any reward function can be reparameterized by an autoregressive model (Theorem 1). Furthermore, through theoretical analysis, we identify two sequence length measures on Y\mathcal{Y} that are critical for designing DPO-based algorithms: the token length measure μ\mu and the feedback length measure μ′\mu^{\prime}. DPO corresponds to the special case of ADPO with μ′(y)=1 (∀y)\mu^{\prime}(y)=1~(\forall y) (Corollary 1), while setting μ′≡μ\mu^{\prime}\equiv\mu yields a token-level variant. In general, choosing these two measures independently enables training at arbitrary granularity.

RLHF frames alignment as optimizing a reward based on pairwise human preferences (Christiano et al., 2017; Stiennon et al., 2020; Ouyang et al., 2022; Xiong et al., 2024; Ye et al., 2024; Zhu et al., 2023). Online alignment methods maximize expected return under on-policy rollouts by employing Kullback–Leibler (KL) regularization techniques, such as trust-region constraints or explicit penalties relative to a reference policy (Schulman et al., 2015; Schulman et al., 2017; Ouyang et al., 2022). For LLM training, PPO-based methods have explored improved trade-offs between return and divergence (Wu et al., 2023; Zhang et al., 2024a; Wu et al., 2024a; Dai et al., 2024; Zhang et al., 2025), leading to extended approaches such as GRPO (Shao et al., 2024). For efficient training, DPO (Rafailov et al., 2023) has emerged as a primary choice because it significantly reduces computational overhead by eliminating the need for an explicit reward model. Within these methods, foundational probabilistic models for pairwise choice, such as the Bradley-Terry and Plackett-Luce models (Bradley and Terry, 1952; Plackett, 1975), remain standard for preference modeling and are typically applied at the level of complete responses.

Several recent studies have proposed granularity-aware methods to better align with autoregressive generation. For example, SimPO employs a length-normalized loss function (Meng et al., 2024), TDPO imposes forward-KL constraints at each token position (Zeng et al., 2024), TGDPO introduces token-level reward guidance (Zhu et al., 2025), and cDPO (Lin et al., 2025) identifies critical tokens to apply token-level weights. Despite these advances, existing methods often fundamentally rely on the vanilla BT model at the level of complete responses. In contrast, our formulation integrates the autoregressive assumption into DPO when applying the BT model.

Beyond these granularity-oriented approaches, Rafailov et al. (2024) provides a complementary analysis showing that standard DPO can be interpreted at the token level through a soft-Q-learning lens. While this analysis effectively explains the implicit token-level structure of the original response-level BT formulation, it does not modify the BT model itself. In contrast, our formulation incorporates the autoregressive assumption before applying the BT model by extending the energy domain to the prefix closure Y\*Y^{\*}, yielding a prefix-wise BT model and a distinct objective.

DPO (Rafailov et al., 2023) is a preference optimization algorithm that directly optimizes models using human preferences without relying on an explicit reward model. To simplify the derivation and interpretation of its objective function, we reformulate DPO using two Boltzmann distributions. We begin by defining the two reward-based energy functions, which we refer to as the DPO energies.

Given a reward function r(x,y)r(x,y) and a reference model π_ref(y∣x)\pi\_{\mathrm{ref}}(y|x), we define the two DPO energies, namely the likelihood energy E_1E\_{1} and the posterior energy E_2E\_{2}:

E_1(x,y)\displaystyle E\_{1}(x,y)=−r(x,y),\displaystyle=-r(x,y),(1)
---------------
E_2(x,y)\displaystyle E\_{2}(x,y)$\displaystyle=-\frac{1}{\beta}r(x,y)-\log\pi_{\mathrm{ref}}(yx),$

where x∈Xx\in\mathcal{X} is an input from the input space X\mathcal{X}, y∈Yy\in\mathcal{Y} is the model’s output (response) in the output space Y\mathcal{Y}, and β∈R_+\beta\in\mathbb{R}\_{+} is a hyperparameter.

These energy functions derive the two corresponding Boltzmann distributions:

$\displaystyle p_{1}(y^{w}\succ y^{l}x)$=exp⁡(−E_1(x,yw))∑_y∈Yexp⁡(−E_1(x,y)),\displaystyle=\frac{\exp(-E\_{1}(x,y^{w}))}{\sum\_{y\in Y}\exp(-E\_{1}(x,y))},
---------------
$\displaystyle p_{2}(yx)$=exp⁡(−E_2(x,y))∑_y∈Yexp⁡(−E_2(x,y)),\displaystyle=\frac{\exp(-E\_{2}(x,y))}{\sum\_{y\in\mathcal{Y}}\exp(-E\_{2}(x,y))},

where p_1p\_{1} is normalized over a set of preferred and dispreferred responses Y={yw,yl}⊂YY=\{y^{w},y^{l}\}\subset\mathcal{Y} following the BT model (Bradley and Terry, 1952), whereas p_2p\_{2} is normalized over the entire output space Y\mathcal{Y}. It is straightforward to see that p_2p\_{2} maximizes the KL-constrained reward function (Peters and Schaal, 2007; Peng et al., 2019; Korbak et al., 2022; Go et al., 2023; Rafailov et al., 2023). Then, DPO minimizes the negative log-likelihood loss L\mathcal{L} with respect to p_1p\_{1}:

$\displaystyle\mathcal{L}_{\text{DPO}}\hskip-1.9pt=\hskip-1.9pt-\mathbb{E}_{(x,Y)\sim\mathcal{D}}\bigl[\log p_{1}(y^{w}!\succ!y^{l}x)\bigr]\hskip-1.9pt$
------------
$\displaystyle=\hskip-1.9pt-\mathbb{E}_{(x,Y)\sim\mathcal{D}}\hskip-3.0pt\left[\log\sigma\hskip-1.0pt\left(\beta\log\frac{p_{2}(y^{w}x)}{\pi_{\mathrm{ref}}(y^{w}

where σ\sigma is the sigmoid function and D\mathcal{D} is the preference dataset. During training, p_2p\_{2} is parameterized as p_2=π_θp\_{2}=\pi\_{\theta} with a parameter set θ\theta. This is the reparameterization trick of DPO.

In the recent paradigm of LLMs, models are typically assumed to be autoregressive, i.e., assuming that Y\mathcal{Y} is a space of sequence of arbitrary length, both reference and learnable models satisfy the chain rule: π(y∣x)=∏_i=1Tπ(y_i∣y_<i,x)\pi(y|x)=\prod\_{i=1}^{T}\pi(y\_{i}|y\_{<i},x), where T=μ(y)T=\mu(y) is the length of yy.11 1 μ:Y→N\mu:\mathcal{Y}\to\mathbb{N} is the token length measure that assigns to each y∈Yy\in\mathcal{Y} the number of tokens it contains. From this, we have

L_DPO=−E_(x,Y)∼D[\displaystyle\mathcal{L}\_{\text{DPO}}=-\mathbb{E}\_{(x,Y)\sim\mathcal{D}}\Biggl[$\displaystyle\log\sigma\Bigl(\sum_{i=1}^{T}\Bigl(\beta\log\frac{\pi_{\theta}(y^{w}_{i}y^{w}_{<i},x)}{\pi_{\mathrm{ref}}(y^{w}_{i}
------------
$\displaystyle-\beta\log\frac{\pi_{\theta}(y^{l}_{i}y^{l}_{<i},x)}{\pi_{\mathrm{ref}}(y^{l}_{i}

where right-padding is applied so that both sequences have the same length following practical implementation of DPO using mini-batch optimization algorithms.

4 Autoregressive Direct Preference Optimization

Section titled “4 Autoregressive Direct Preference Optimization”

From the derivation of DPO, we observe an important discrepancy: while the learnable model π_θ\pi\_{\theta} is autoregressive, the Boltzmann distribution p_2p\_{2} defined in Eq. (4) is not formulated as such. This motivates our research question: Can we define energy functions that yield p_2p\_{2} explicitly as an autoregressive distribution? Our ADPO formulation answers this question affirmatively.

The core idea behind ADPO lies in the introduction of the ADPO energies, which define energies and the corresponding implicit reward function over the prefix closure of the output space.

Let Y\*\mathcal{Y}^{\*} be the prefix closure of Y\mathcal{Y}, i.e.,

Y\*=⋃_y∈Y{y_≤i=(y_1,y_2,…,y_i):  0≤i≤T′},\displaystyle\mathcal{Y}^{\*}=\bigcup\_{y\in\mathcal{Y}}\left\{y\_{\leq i}=(y\_{1},y\_{2},\ldots,y\_{i}):\;0\leq i\leq T^{\prime}\right\},(7)

where T′=μ′(y)T^{\prime}=\mu^{\prime}(y) is the length of yy.22 2 We will discuss later that this length measure can be independent of the token length measure μ\mu, but one can assume μ′=μ\mu^{\prime}=\mu for readability. Given a prefix-wise reward function r\*:X×Y\*→Rr^{\*}:\mathcal{X}\times\mathcal{Y}^{\*}\to\mathbb{R} and an autoregressive reference model π_ref(y∣x)\pi\_{\mathrm{ref}}(y|x), we define the two ADPO energies, namely the prefix likelihood energy E_1\*E\_{1}^{\*} and the prefix posterior energy E_2\*E\_{2}^{\*}, as

E_1\*(x,y_≤i)\displaystyle E\_{1}^{\*}(x,y\_{\leq i})=−r\*(x,y_≤i),\displaystyle=-r^{\*}(x,y\_{\leq i}),(8)
---------------
E_2\*(x,y_≤i)\displaystyle E\_{2}^{\*}(x,y\_{\leq i})$\displaystyle=-\frac{1}{\beta}r^{*}(x,y_{\leq i})-\log\pi_{\mathrm{ref}}(y_{i}y_{<i},x).$

There are two main differences compared to Definition 1. First, the reward function is defined over X×Y\*\mathcal{X}\times\mathcal{Y}^{\*} instead of X×Y\mathcal{X}\times\mathcal{Y}. With this, we define the prefix-wise BT model by taking the product of BT-based preference distributions:

p_1(yw≻yl∣x)\displaystyle p\_{1}(y^{w}\succ y^{l}\mid x)=∏_i=1T′exp⁡ ⁣(−E_1\*(x,yw_≤i))∑_y_≤i∈Y_iexp⁡ ⁣(−E_1\*(x,y_≤i)),\displaystyle=\prod\_{i=1}^{T^{\prime}}\frac{\exp\!\left(-E\_{1}^{\*}(x,y^{w}\_{\leq i})\right)}{\sum\_{y\_{\leq i}\in Y\_{i}}\exp\!\left(-E\_{1}^{\*}(x,y\_{\leq i})\right)},(10)

where Y_i={yw_≤i,yl_≤i}⊂Y\*Y\_{i}=\{y^{w}\_{\leq i},y^{l}\_{\leq i}\}\subset\mathcal{Y}^{\*} is the set of preferred and dispreferred prefixes up to length ii.

Second, the reference model is assumed to be autoregressive in Eq. (9). With this assumption, the second distribution p_2p\_{2} also becomes autoregressive prior to reparameterization:

$\displaystyle p_{2}(yx)$=∏_i=1T′p_2(y_i∣y_<i,x),\displaystyle=\prod\_{i=1}^{T^{\prime}}p\_{2}(y\_{i}\mid y\_{<i},x),
---------------
p_2(y_i∣y_<i,x)\displaystyle p\_{2}(y\_{i}\mid y\_{<i},x)=exp⁡ ⁣(−E_2\*(x,y_≤i))∑_y_i∈Vexp⁡ ⁣(−E_2\*(x,y_≤i)),\displaystyle=\frac{\exp\!\left(-E\_{2}^{\*}(x,y\_{\leq i})\right)}{\sum\_{y\_{i}\in\mathcal{V}}\exp\!\left(-E\_{2}^{\*}(x,y\_{\leq i})\right)},(12)

where V={y∈Y:μ′(y)=1}\mathcal{V}=\{y\in\mathcal{Y}:\mu^{\prime}(y)=1\}. This alleviates the mismatch between p_2p\_{2} and the learnable autoregressive model π_θ\pi\_{\theta}.

Analogous to DPO, ADPO maximizes the log-probability of p_1(yw≻yl∣x)p\_{1}(y^{w}\succ y^{l}\mid x) during training. We define the loss function as

L_ADPO=−E_(x,Y)∼D[log⁡p_1(yw≻yl∣x)].\displaystyle\mathcal{L}\_{\text{ADPO}}=-\mathbb{E}\_{(x,Y)\sim\mathcal{D}}\Bigl[\log p\_{1}(y^{w}\succ y^{l}\mid x)\Bigr].(13)

Through reparameterization, the loss can be written as

L_ADPO=−E_(x,Y)∼D\displaystyle\mathcal{L}\_{\text{ADPO}}=-\mathbb{E}\_{(x,Y)\sim\mathcal{D}}[∑_i=1T′log⁡σ(βlog⁡π_θ(yw_i∣yw_<i,x)π_ref(yw_i∣yw_<i,x)\displaystyle\Biggl[\sum\_{i=1}^{T^{\prime}}\log\sigma\Bigl(\beta\log\frac{\pi\_{\theta}(y^{w}\_{i}\mid y^{w}\_{<i},x)}{\pi\_{\mathrm{ref}}(y^{w}\_{i}\mid y^{w}\_{<i},x)}
------------
−βlog⁡π_θ(yl_i∣yl_<i,x)π_ref(yl_i∣yl_<i,x))].\displaystyle-\beta\log\frac{\pi\_{\theta}(y^{l}\_{i}\mid y^{l}\_{<i},x)}{\pi\_{\mathrm{ref}}(y^{l}\_{i}\mid y^{l}\_{<i},x)}\Bigr)\Biggr].

A proof is provided in Appendix A. Notably, ADPO shifts the summation in the DPO loss (Eq. (6)) outside the log-sigmoid function. In terms of KL-constrained reward maximization, the optimal solution is preserved (Appendix B).

ADPO does not violate the theoretical foundations of DPO. Rather, the theory is generalized by bridging additive reward functions and autoregressive models. Ultimately, we prove that, under mild assumptions, any reward function can be reparameterized by an autoregressive model (Theorem 1). This better aligns the DPO theory with the paradigm of autoregressive LLMs.

We first show how prefix-wise reward functions can be reparameterized by autoregressive models.

Proposition 1 (Prefix-wise Reparameterization Completeness). Let [r\*][r^{\*}] denote the reward-shift equivalence class of a prefix-wise reward function r\*:X×Y\*→Rr^{\*}:\mathcal{X}\times\mathcal{Y}^{\*}\to\mathbb{R}, defined as

$\displaystyle[r^{*}]=\Bigl{r^{\prime};\Big;$∃f    ∀(x,y_≤i),\displaystyle\exists f\;\;\forall(x,y\_{\leq i}),
------------
r′(x,y_≤i)=r\*(x,y_≤i)+f(x,y_<i)}.\displaystyle r^{\prime}(x,y\_{\leq i})=r^{\*}(x,y\_{\leq i})+f(x,y\_{<i})\Bigr\}.

Given an autoregressive reference model π_ref(y_i∣y_<i,x)>0\pi\_{\mathrm{ref}}(y\_{i}\mid y\_{<i},x)>0 and a hyperparameter β>0\beta>0, for any prefix-wise reward function r\*r^{\*}, there exists a unique representative r\*_∘∈[r\*]r^{\*}\_{\circ}\in[r^{\*}] such that for all x∈Xx\in\mathcal{X} and prefixes y_≤i∈Y\*y\_{\leq i}\in\mathcal{Y}^{\*},

r\*_∘(x,y_≤i)≡βlog⁡π(y_i∣y_<i,x)π_ref(y_i∣y_<i,x),\displaystyle r^{\*}\_{\circ}(x,y\_{\leq i})\equiv\beta\log\frac{\pi(y\_{i}\mid y\_{<i},x)}{\pi\_{\mathrm{ref}}(y\_{i}\mid y\_{<i},x)},(16)

for some autoregressive model π\pi.

A proof is provided in Appendix C. To bridge vanilla reward functions r(x,y)r(x,y) and prefix-wise reward functions r\*(x,y_≤i)r^{\*}(x,y\_{\leq i}), we define the additive decomposition of rr. Lemma 1 immediately follows.

Definition 3 (Additive Decomposition). Let r:X×Y→Rr:\mathcal{X}\times\mathcal{Y}\to\mathbb{R} be a reward function. We say that a prefix-wise reward function r\*:X×Y\*→Rr^{\*}:\mathcal{X}\times\mathcal{Y}^{\*}\to\mathbb{R} is an additive decomposition of rr if and only if

r(x,y)=∑_i=1T′r\*(x,y_≤i)for any x∈X, y∈Y.\displaystyle r(x,y)=\sum\_{i=1}^{T^{\prime}}r^{\*}(x,y\_{\leq i})\quad\text{for any }x\in\mathcal{X},\,y\in\mathcal{Y}.(17)

Lemma 1. Every reward function has an additive decomposition.

Then, from Proposition 1 and Lemma 1, it follows that Theorem 1 holds.

Theorem 1. All reward classes consistent with the prefix-wise Bradley–Terry models can be represented with the reparameterization

r(x,y)=βlog⁡π(y∣x)π_ref(y∣x)\displaystyle r(x,y)=\beta\log\frac{\pi(y\mid x)}{\pi\_{\mathrm{ref}}(y\mid x)}(18)

for some autoregressive model π(y∣x)\pi(y\mid x) and a given autoregressive reference model π_ref(y∣x)\pi\_{\mathrm{ref}}(y\mid x) such that π(y_i∣y_<i,x)>0\pi(y\_{i}\mid y\_{<i},x)>0.

For any reward function rr, an additive decomposition r\*r^{\*} exists by Lemma 1. By Proposition 1, there exists an autoregressive model π\pi such that

r(x,y)\displaystyle r(x,y)=∑_i=1T′r\*(x,y_≤i)≡∑_i=1T′r\*_∘(x,y_≤i)\displaystyle=\sum\_{i=1}^{T^{\prime}}r^{\*}(x,y\_{\leq i})\equiv\sum\_{i=1}^{T^{\prime}}r^{\*}\_{\circ}(x,y\_{\leq i})
------------
=∑_i=1T′βlog⁡π(y_i∣y_<i,x)π_ref(y_i∣y_<i,x)=βlog⁡π(y∣x)π_ref(y∣x),\displaystyle=\sum\_{i=1}^{T^{\prime}}\beta\log\frac{\pi(y\_{i}\mid y\_{<i},x)}{\pi\_{\mathrm{ref}}(y\_{i}\mid y\_{<i},x)}=\beta\log\frac{\pi(y\mid x)}{\pi\_{\mathrm{ref}}(y\mid x)},

where ≡\equiv denotes equality within the equivalence class. ∎

In contrast to the DPO theory (Rafailov et al., 2023), Theorem 1 explicitly demonstrates reparameterizability using an autoregressive model.

The following corollary further bridges DPO and ADPO, providing deeper insights into DPO.

Corollary 1. When the length μ′(y)\mu^{\prime}(y) is one for all y∈Yy\in\mathcal{Y}, ADPO reduces to DPO that relies on the traditional (non-prefixwise) Bradley–Terry model.

This result can be unintuitive. A straightforward interpretation of “μ′(y)=1\mu^{\prime}(y)=1 for all yy” is that the output space Y\mathcal{Y} is restricted to a single-token space, implying that ADPO coincides with DPO in this special case. While this interpretation is correct, it does not fully capture the true meaning of the corollary. Instead, we emphasize that the output space Y\mathcal{Y} remains a sequence space. Then, Corollary 1 implies that the original DPO formulation has an implicit length measure μ′:Y→N\mu^{\prime}:\mathcal{Y}\to\mathbb{N} that assigns a length of one, i.e., μ′(y)=1\mu^{\prime}(y)=1, to every sequence y∈Yy\in\mathcal{Y}.

This measure may have limited the exploration of research ideas for DPO-based formulations in prior work, as it predisposed most existing methods to place the summation operation inside the log-sigmoid function, as in Eq. (6). We further discuss its deeper roots.

Figure 1 : Static and adaptive families of ADPO. (a) Token and feedback length measures. Each subsequence z i z_{i} is d

Figure 1 : Static and adaptive families of ADPO. (a) Token and feedback length measures. Each subsequence z i z_{i} is defined by a strong composition ξ \xi . (b–d) Static families with a fixed window size k k . (e–g) Adaptive families with a fixed number of subsequences. (e) corresponds to DPO. Blue rectangles indicate regions where summation is applied inside the log-sigmoid function.

Although the implicit length measure μ′\mu^{\prime} may appear counterintuitive, it is natural to interpret it as arising from RLHF. Concretely, μ′\mu^{\prime} measures the length of sequences yy in an evaluation scenario by first mapping yy into a one-dimensional space using an evaluation metric ν:Y→R\nu:\mathcal{Y}\to\mathbb{R}, and then defining

μ′(y)=length(ν(y))=dim(R)=1.\displaystyle\mu^{\prime}(y)=\mathrm{length}(\nu(y))=\mathrm{dim}(\mathbb{R})=1.(20)

This interpretation is particularly natural when human feedback is performed on complete responses. Therefore, we refer to μ′\mu^{\prime} as the feedback length measure.

The discussion thus far suggests two algorithms. The first is DPO, corresponding to the case μ′≡1\mu^{\prime}\equiv 1, which evaluates the complete response as a whole; thus, we denote its granularity as “Full Response”. The second is token-level ADPO, corresponding to μ′=μ\mu^{\prime}=\mu, where μ\mu is the token length measure induced by LLMs. This evaluates each token individually, and its granularity is indicated as “Single Token”.

However, importantly, ADPO itself does not impose the constraint μ′=μ\mu^{\prime}=\mu. Although the two measures should be related in practice, they can be theoretically independent because their origins are independent: one arises from LLM tokenization and the other from the prefix closure. This leads to granularity families of ADPO, which we discuss in the next subsection.

ADPO allows intermediate granularity levels with 1≤μ′(y)≤μ(y)1\leq\mu^{\prime}(y)\leq\mu(y) in practice. Specifically, by decomposing each sequence yy into subsequences {z_i}_i=1T′\{z\_{i}\}\_{i=1}^{T^{\prime}} such that each prefix z_≤i=(z_1,z_2,…,z_i)z\_{\leq i}=(z\_{1},z\_{2},\ldots,z\_{i}) constitutes a unit eligible for implicit feedback, the ADPO loss can be formulated with two cumulative log-ratios S_θwS\_{\theta}^{w} and S_θlS\_{\theta}^{l}:

S_θw(i)\displaystyle S\_{\theta}^{w}(i)≜∑_j=1T_iwlog⁡π_θ(zw_i,j∣zw_<i,<j,x)π_ref(zw_i,j∣zw_<i,<j,x),\displaystyle\triangleq\sum\_{j=1}^{T\_{i}^{w}}\log\frac{\pi\_{\theta}(z^{w}\_{i,j}\mid z^{w}\_{<i,<j},x)}{\pi\_{\mathrm{ref}}(z^{w}\_{i,j}\mid z^{w}\_{<i,<j},x)},(21)
S_θl(i)\displaystyle S\_{\theta}^{l}(i)≜∑_j=1T_illog⁡π_θ(zl_i,j∣zl_<i,<j,x)π_ref(zl_i,j∣zl_<i,<j,x).\displaystyle\triangleq\sum\_{j=1}^{T\_{i}^{l}}\log\frac{\pi\_{\theta}(z^{l}\_{i,j}\mid z^{l}\_{<i,<j},x)}{\pi\_{\mathrm{ref}}(z^{l}\_{i,j}\mid z^{l}\_{<i,<j},x)}.(22)
---------------
L_ADPO\displaystyle\mathcal{L}\_{\text{ADPO}}=−E_(x,Y)∼D[∑_i=1T′log⁡σ(βS_θw(i)−βS_θl(i))].\displaystyle=-\mathbb{E}\_{(x,Y)\sim\mathcal{D}}\Biggl[\sum\_{i=1}^{T^{\prime}}\log\sigma\Bigl(\beta S\_{\theta}^{w}(i)-\beta S\_{\theta}^{l}(i)\Bigr)\Biggr].(23)

where z=(z_1,z_2,…,z_T′)z=(z\_{1},z\_{2},\ldots,z\_{T^{\prime}}) is a decomposition of yy, z_i=(z_i,1,z_i,2,…,z_i,T_i)z\_{i}=(z\_{i,1},z\_{i,2},\ldots,z\_{i,T\_{i}}) is a subsequence,33 3 Each prefix is denoted by z_<i,<j=(z_1,…,z_i−1,(z_i,1,…,z_i,j−1))z\_{<i,<j}=(z\_{1},\ldots,z\_{i-1},(z\_{i,1},\ldots,z\_{i,j-1})). T′T^{\prime} is the feedback length, and T_i=μ(z_i)T\_{i}=\mu(z\_{i}) is the token length of z_iz\_{i}.

More formally, the mapping from yy to zz is specified by a strong composition ξ\xi. Given a token sequence y=(y_1,…,y_T)∈Yy=(y\_{1},\ldots,y\_{T})\in\mathcal{Y}, each subsequence is defined as

z_i=(y_ξˉ(i),y_ξˉ(i)+1,…,y_ξˉ(i+1)−1),\displaystyle z\_{i}=\bigl(y\_{\bar{\xi}(i)},y\_{\bar{\xi}(i)+1},\ldots,y\_{\bar{\xi}(i+1)-1}\bigr),(24)

with

ξˉ(1)\displaystyle\bar{\xi}(1)=1,\displaystyle=1,(25)
---------------
ξˉ(i+1)\displaystyle\bar{\xi}(i+1)=ξˉ(i)+ξ(i),\displaystyle=\bar{\xi}(i)+\xi(i),(26)

where ξ∈C_T′(T)\xi\in\mathcal{C}\_{T^{\prime}}(T) and

$\displaystyle\mathcal{C}_{m}(n)=\Bigl{\xi:[m]\to\mathbb{N}_{+};\Big;\sum_{j=1}^{m}\xi(j)=n\Bigr}.$

is the set of strong compositions of n∈N_+n\in\mathbb{N}\_{+} into m∈N_+m\in\mathbb{N}\_{+} parts.44 4 [m]={1,2,…,m}[m]=\{1,2,\ldots,m\}. Each token is then given by z_i,j=y_ξˉ(i)+j−1z\_{i,j}=y\_{\bar{\xi}(i)+j-1}, as illustrated in Fig. 1(a). The choice of ξ\xi determines the learning behavior of ADPO. We define two practical families below.

This family fixes a window size k∈N_+k\in\mathbb{N}\_{+} and determines the feedback length based on the token length. Because preferred and dispreferred responses may have different lengths, we apply EOS padding to equalize them, obtaining y_padwy\_{\text{pad}}^{w} and y_padly\_{\text{pad}}^{l}. Each sequence is then decomposed into ⌈T/k⌉\lceil T/k\rceil subsequences, where T=μ(y_padw)=μ(y_padl)T=\mu(y\_{\text{pad}}^{w})=\mu(y\_{\text{pad}}^{l}). The strong composition is defined as

ξ_static(i)=min⁡(k, μ(y_padw)−k(i−1)).\displaystyle\xi\_{\text{static}}(i)=\min\bigl(k,\,\mu(y\_{\text{pad}}^{w})-k(i-1)\bigr).(28)

As shown in Fig. 1(b–d), k=1k=1 corresponds to token-level granularity, while larger kk yields coarser feedback.

This family decomposes each sequence into m∈N_+m\in\mathbb{N}\_{+} subsequences as uniformly as possible and fixes the feedback length as μ′(y)=m\mu^{\prime}(y)=m for all y∈Yy\in\mathcal{Y}. The strong composition is defined as

ξ_adaptive(i)=⌊i μ(y)m⌋−⌊(i−1) μ(y)m⌋.\displaystyle\xi\_{\text{adaptive}}(i)=\left\lfloor\frac{i\,\mu(y)}{m}\right\rfloor-\left\lfloor\frac{(i-1)\,\mu(y)}{m}\right\rfloor.(29)

When m=1m=1, this formulation reduces to DPO, as shown in Fig. 1(e). For m>1m>1, preferred and dispreferred responses are partitioned uniformly (Fig. 1(f,g)), naturally extending DPO to finer granularity.

Table 2: Experimental results on two mathematical reasoning benchmarks.

MethodLlama-3-8BGemma-3-12BQwen-3-8BDeepSeek-Math-7B
GSM8KMATHGSM8KMATHGSM8KMATHGSM8KMATH
DPO (Rafailov et al., 2023)64.3718.0077.0339.8086.9653.8067.7832.00
ADPO (Ours)68.0821.0078.3241.2088.1055.4069.9833.40
cDPO (Lin et al., 2025)67.9016.8077.1838.6090.9856.8072.9033.40
cADPO (Ours)68.7620.2078.8540.4091.7457.2073.5435.40

Table 3: Granularity families of ADPO. Best results within the static and adaptive families are underlined, and the overall best results are highlighted in bold.

Methodμ′(y)\mu^{\prime}(y)CompositionGranularityLlama-3-8BGemma-3-12BQwen-3-8BDS-Math-7B
GSMMATHGSMMATHGSMMATHGSMMATH
ADPOμ(y)/8\mu(y)/8ξ_static (k ⁣= ⁣8)\xi\_{\text{static}}~(k\!=\!8)Eight tokens64.9718.2076.8840.0087.7954.2068.3932.00
ADPOμ(y)/4\mu(y)/4ξ_static (k ⁣= ⁣4)\xi\_{\text{static}}~(k\!=\!4)Four tokens66.2617.4077.4140.8088.4854.2068.2332.00
ADPOμ(y)/2\mu(y)/2ξ_static (k ⁣= ⁣2)\xi\_{\text{static}}~(k\!=\!2)Two tokens66.5718.6077.6341.2088.2554.2070.0533.60
ADPOμ(y)\mu(y)ξ_static (k ⁣= ⁣1)\xi\_{\text{static}}~(k\!=\!1)Single token66.4118.0078.0939.8088.4854.4070.3634.80
DPO1ξ_adaptive(m ⁣= ⁣1)\xi\_{\text{adaptive}}(m\!=\!1)Full response64.3718.0077.0339.8086.9653.8067.7832.00
ADPO2ξ_adaptive(m ⁣= ⁣2)\xi\_{\text{adaptive}}(m\!=\!2)Half response64.2919.6076.8840.2087.9553.8068.6133.40
ADPO16ξ_adaptive(m ⁣= ⁣16)\xi\_{\text{adaptive}}(m\!=\!16)1/16 response64.5218.0077.1040.8087.2652.4068.8433.40
ADPO128ξ_adaptive(m ⁣= ⁣128)\xi\_{\text{adaptive}}(m\!=\!128)1/128 response66.7218.2077.6341.0089.1654.6069.8333.60
ADPO256ξ_adaptive(m ⁣= ⁣256)\xi\_{\text{adaptive}}(m\!=\!256)1/256 response68.0821.0078.3241.2088.1055.4069.9833.40
ADPO512ξ_adaptive(m ⁣= ⁣512)\xi\_{\text{adaptive}}(m\!=\!512)1/512 response67.3219.0077.9440.0088.0254.0070.3634.40

We use two representative math reasoning datasets: GSM8K (Cobbe et al., 2021) and MATH500 (Hendrycks et al., 2021). GSM8K is a dataset of grade school math word problems that requires multi-step reasoning to arrive at the correct numerical answer. MATH comprises challenging competition mathematics problems spanning various topics including algebra, geometry, probability, and number theory. All models are fine-tuned on the GSM8K training set. We report accuracy using the 8-shot evaluation protocol for GSM8K (Wei et al., 2022) and the 4-shot evaluation protocol for MATH500 (Lewkowycz et al., 2022).

We include two baselines: DPO (Rafailov et al., 2023) and cDPO (Lin et al., 2025). cDPO is one of the latest preference optimization methods, which leverages token-level contrastive estimation to identify and penalize critical tokens in incorrect reasoning trajectories.

We apply our approach to both DPO and cDPO, and refer to the resulting variants as ADPO and cADPO, respectively. ADPO uses the loss in Eq. (23) and cADPO extends it to utilize the critical tokens. Specifically, we define

S~_θl(i)≜∑_j=1T_ilsˉ_jlog⁡π_θ(zl_i,j∣zl_<i,<j,x)π_ref(zl_i,j∣zl_<i,<j,x),\displaystyle\tilde{S}\_{\theta}^{l}(i)\triangleq\sum\_{j=1}^{T\_{i}^{l}}\bar{s}\_{j}\log\frac{\pi\_{\theta}(z^{l}\_{i,j}\mid z^{l}\_{<i,<j},x)}{\pi\_{\mathrm{ref}}(z^{l}\_{i,j}\mid z^{l}\_{<i,<j},x)},(30)

where sˉ_j=1−s_j\bar{s}\_{j}=1-s\_{j} is a token-level weight computed from the reward score s_js\_{j} obtained via contrastive estimation (Lin et al., 2025). Using S_θw(i)S\_{\theta}^{w}(i) defined in Eq. (21) and the weighted log-ratio S~_θl(i)\tilde{S}\_{\theta}^{l}(i), the cADPO loss is given by

L_cADPO=−E_(x,Y)∼D[∑_i=1T′log⁡σ(βS_θw(i)−βS~_θl(i))].\displaystyle\mathcal{L}\_{\text{cADPO}}=-\mathbb{E}\_{(x,Y)\sim\mathcal{D}}\Biggl[\sum\_{i=1}^{T^{\prime}}\log\sigma\Bigl(\beta S\_{\theta}^{w}(i)-\beta\tilde{S}\_{\theta}^{l}(i)\Bigr)\Biggr].(31)

We use ADPO and cADPO in the adaptive family with m=256m=256 as our primary methods.

We conduct experiments with four diverse LLMs: Llama3-8B-Base (Llama Team, 2024), Qwen-3-8B-Base (Qwen Team, 2025), Gemma-3-12B-PT (Gemma Team, 2025) and DeepSeek-Math-7B (Shao et al., 2024).

Each model is trained with LoRA using the AdamW optimizer for 3 epochs. Since cDPO requires a larger learning rate, we set it to 2.0×10−52.0\times 10^{-5} for DPO and ADPO, and 4.0×10−54.0\times 10^{-5} for cDPO and cADPO.

Table 2 summarizes the experimental results. We observe that our approach consistently outperforms both the DPO and cDPO baselines across all four LLMs, achieving the best results with cADPO. The highest individual result was obtained by Qwen-3-8B using cADPO, reaching 91.74% on GSM8K. These results demonstrate the practical effectiveness of our approach.

To analyze how varying granularity affects ADPO performance, we systematically explore both static and adaptive families across a range of hyperparameter values in Table 3. For the static family, we observe that models with k≤4k\leq 4 consistently outperform DPO, indicating the benefit of finer granularity. With DeepSeek-Math-7B, the finest granularity (token-level, k ⁣= ⁣1k\!=\!1) achieves the best performance. However, there remains room for improvement, as the static family requires padding when computing the loss, which potentially constrains its performance.

For the adaptive family, which is equivalent to DPO when m=1m=1, we observe performance degradation across several LLMs when mm is small (e.g., m=2m=2). This may occur because dividing responses into a small number of segments can result in unnatural or arbitrary splits. This limitation is addressed by increasing the number of segments. Specifically, when m≥128m\geq 128, ADPO consistently outperforms DPO in all cases, again indicating the benefit of finer granularity.

When comparing the best-performing models from the static and adaptive families, the adaptive family tends to achieve superior performance. As the adaptive family naturally extends DPO without requiring padding, it effectively addresses the limitations associated with the static family. Overall, these findings validate our theoretical insight that defining the token-length measure and feedback-length measure through strong compositions is effective.

Figure 2 analyzes the training dynamics of ADPO compared to DPO. Specifically, it shows the evolution of log probabilities for preferred (chosen) and dispreferred (rejected) sequences across training steps for each LLM. We observe that ADPO effectively amplifies the distinction between preferred and dispreferred responses by consistently elevating the probabilities of preferred responses while suppressing those of dispreferred responses. This tendency becomes more pronounced as granularity increases; that is, as kk decreases and mm increases. These observations underscore the effectiveness of incorporating the autoregressive assumption into the BT model, enabling ADPO variants to more effectively guide models toward preferred outputs across training.

Figure 2 : Comparison of training dynamics between DPO and ADPO. The evolution of log probabilities for preferred sequen

Figure 2 : Comparison of training dynamics between DPO and ADPO. The evolution of log probabilities for preferred sequences (solid line) and dispreferred sequences (dashed line) during training is shown. Top row: static family with k = 1 , 2 k=1,2 . Bottom row: adaptive family with m = 16,256 m=16,256 .

Table 4: Experimental results on AlpacaEval 2, Arena-Hard, and MT-Bench. Following the official evaluation protocol of each benchmark, length-controlled win rate (LC), win rate (WR), and benchmark scores are reported.

Table 5: Granularity families (AlpacaEval 2, Llama3-8B).

To further validate the generalizability of our approach, we conduct experiments on conversation tasks. We follow the setting of SimPO (Meng et al., 2024). Specifically, we adopt three widely recognized benchmarks: AlpacaEval 2 (Dubois et al., 2024), Arena-Hard (Li et al., 2025a), and MT-Bench (Zheng et al., 2023). For the training data, we generate multiple candidate responses from the base model by prompting it with inputs from UltraFeedback (Cui et al., 2024), and construct chosen–rejected pairs based on PairRM annotations (Jiang et al., 2023). We fine-tune Llama-3-8B-Instruct on this dataset and compare SFT, DPO (Rafailov et al., 2023), SimPO, and ADPO. Note that cDPO cannot perform conversation tasks, as it requires explicit True/False labels for each response, which are not available in UltraFeedback. Table 5 summarizes the results. Consistently, ADPO achieves superior performance against DPO across all three benchmarks and performs comparably to or even better than SimPO, underscoring its enhanced capability in generating more preferred responses.

In Table 5, we also find that granularity exhibits a similar trend as in mathematical reasoning tasks: finer-grained ADPO variants consistently outperform coarser granularity configurations in both static and adaptive families. Collectively, these results demonstrate that ADPO not only improves mathematical reasoning but also effectively generalizes across diverse conversational tasks. Additional experimental results are in Appendix E.

We introduced ADPO, a novel approach for direct preference optimization that integrates the autoregressive assumption when applying the Bradley-Terry model. By forming the prefix closure of the output space, we naturally derived the objective function of ADPO that shifts the summation operation outside the log-sigmoid function. Moreover, we provided a theoretical analysis of ADPO, which yields deeper insights into the original DPO framework, identifying two distinct length measures. Our experimental evaluations extensively validated ADPO across five benchmarks.

Limitations and Future Research Directions.

Section titled “Limitations and Future Research Directions.”

While our study offered novel theoretical and practical perspectives on DPO, it still relies on the original KL-constrained reward maximization problem. Extending beyond this constraint, future research could investigate more general divergence metrics as alternatives to KL divergence, potentially offering greater flexibility and robustness. Moreover, our formulation of the prefix posterior energy in Eq. (9) is specifically motivated by the autoregressive assumption characteristic of LLMs. It would be valuable to explore alternative definitions of energy that are appropriate for other classes of generative models, particularly those that do not adhere strictly to autoregressive architectures. Such investigations could further expand the applicability and effectiveness of DPO-based optimization methods across diverse model types. Finally, ADPO introduces additional prefix-wise computations. Although we empirically observe that the resulting overhead is small (see Appendix E), developing more efficient implementations remains an interesting direction.

This paper presents work whose goal is to advance the field of Machine Learning. There are many potential societal consequences of our work, none which we feel must be specifically highlighted here.

This work was supported by JSPS KAKENHI Grant Numbers 25K03135 and 25H01137. These research results were obtained from the commissioned research (No.22501) by National Institute of Information and Communications Technology (NICT), Japan. This study was carried out using the TSUBAME4.0 supercomputer at Institute of Science Tokyo.

  • 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. Cited by: §1, §2, §3.
  • Chen et al. (2025) G. Chen, X. Li, M. Shieh, and L. Bing LongPO: Long Context Self-Evolution of Large Language Models through Short-to-Long Preference Optimization. In Proc. International Conference on Learning Representations (ICLR), Cited by: §1.
  • Chen et al. (2024) Y. Chen, J. Tan, A. Zhang, Z. Yang, L. Sheng, E. Zhang, X. Wang, and T. Chua On Softmax Direct Preference Optimization for Recommendation. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §1.
  • Christiano et al. (2017) P. F. Christiano, J. Leike, T. B. Brown, M. Martić, S. Legg, and D. Amodei Deep Reinforcement Learning from Human Preferences. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §1, §2.
  • Cobbe et al. (2021) K. Cobbe, V. Kosaraju, M. Bavarian, M. Chen, H. Jun, L. Kaiser, M. Plappert, J. Tworek, J. Hilton, R. Nakano, C. Hesse, and J. Schulman Training Verifiers to Solve Math Word Problems. arXiv preprint arXiv:2110.14168. Cited by: §6.1.
  • 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 Proc. International Conference on Machine Learning (ICML), Cited by: §6.2.
  • Dai et al. (2024) J. Dai, X. Pan, R. Sun, J. Ji, X. Xu, M. Liu, Y. Wang, and Y. Yang Safe RLHF: Safe Reinforcement Learning from Human Feedback. In Proc. International Conference on Learning Representations (ICLR), Cited by: §2.
  • Dubois et al. (2024) Y. Dubois, P. Liang, and T. B. Hashimoto Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluators. In Proc. Conference on Language Modeling (COLM), Cited by: §6.2.
  • Gemma Team (2025) Gemma Team Gemma 3 Technical Report. arXiv preprint arXiv:2503.19786. Cited by: §6.1.
  • Go et al. (2023) D. Go, T. Korbak, G. Kruszewski, J. Rozen, N. Ryu, and M. Dymetman Aligning Language Models with Preferences through ff-divergence Minimization. In Proc. International Conference on Machine Learning (ICML), Cited by: Appendix B, §3.
  • 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 Proc. International Conference on Machine Learning (ICML), Cited by: §1.
  • Hendrycks et al. (2021) D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt Measuring Mathematical Problem Solving With the MATH Dataset. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §6.1.
  • Hu et al. (2025) X. Hu, L. Kong, T. He, and D. Wipf Explicit Preference Optimization: No Need for an Implicit Reward Model. In Proc. International Conference on Machine Learning (ICML), Cited by: §1.
  • Jiang et al. (2023) D. Jiang, X. Ren, and B. Y. Lin LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusion. In Proc. Annual Meeting of the Association for Computational Linguistics (ACL), Cited by: §6.2.
  • Jiao et al. (2025) F. Jiao, G. Guo, X. Zhang, N. F. Chen, S. Joty, and F. Wei Preference Optimization for Reasoning with Pseudo Feedback. In Proc. International Conference on Learning Representations (ICLR), Cited by: §1.
  • Korbak et al. (2022) T. Korbak, H. Elsahar, G. Kruszewski, and M. Dymetman On Reinforcement Learning and Distribution Matching for Fine-Tuning Language Models with No Catastrophic Forgetting. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: Appendix B, §3.
  • Lai et al. (2025) X. Lai, Z. Tian, Y. Chen, S. Yang, X. Peng, and J. Jia Step-DPO: Step-wise Preference Optimization for Long-chain Reasoning of LLMs. In Proc. International Conference on Learning Representations (ICLR), Cited by: §1.
  • Lewkowycz et al. (2022) A. Lewkowycz, A. J. Andreassen, D. Dohan, E. Dyer, H. Michalewski, V. V. Ramasesh, A. Slone, C. Anil, I. Schlag, T. Gutman-Solo, Y. Wu, B. Neyshabur, G. Gur-Ari, and V. Misra Solving Quantitative Reasoning Problems with Language Models. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §6.1.
  • Li et al. (2025a) 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. In Proc. International Conference on Machine Learning (ICML), Cited by: §6.2.
  • Li et al. (2025b) Y. Li, X. Hu, X. Qu, L. Li, and Y. Cheng Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback. In Proc. International Conference on Machine Learning (ICML), Cited by: §1.
  • Liang et al. (2025) X. Liang, C. Chen, S. Qiu, J. Wang, Y. Wu, Z. Fu, H. Chen, F. Wu, and J. Ye ROPO: Robust Preference Optimization for Large Language Models. In Proc. International Conference on Machine Learning (ICML), Cited by: §1.
  • Liao et al. (2025) W. Liao, X. Chu, and Y. Wang TPO: Aligning LLMs with Multi-branch & Multi-step Preference Trees. In Proc. International Conference on Learning Representations (ICLR), Cited by: §1.
  • Lin et al. (2025) Z. Lin, T. Liang, J. Xu, Q. Liu, X. Wang, R. Luo, C. Shi, S. Li, Y. Yang, and Z. Tu Critical Tokens Matter: Token-Level Contrastive Estimation Enhances LLM’s Reasoning Capability. In Proc. International Conference on Machine Learning (ICML), Cited by: Appendix E, §1, §2, Table 2, §6.1, §6.1.
  • Llama Team (2024) Llama Team The Llama 3 Herd of Models. arXiv preprint arXiv:2407.21783. Cited by: §6.1.
  • Lu et al. (2025) Z. Lu, A. Zhou, K. Wang, H. Ren, W. Shi, Y. Yang, J. Pan, M. Zhan, and H. Li Step-Controlled DPO: Leveraging Stepwise Errors for Enhancing Mathematical Reasoning of Language Models. Transactions on Machine Learning Research. External Links: ISSN 2835-8856 Cited by: §1.
  • Meng et al. (2024) Y. Meng, M. Xia, and D. Chen SimPO: Simple Preference Optimization with a Reference-Free Reward. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §1, §2, §6.2, Table 5.
  • Ouyang et al. (2022) L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. L. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, J. Schulman, J. Hilton, F. Kelton, L. Miller, M. Simens, A. Askell, P. Welinder, P. Christiano, J. Leike, and R. Lowe Training Language Models to Follow Instructions with Human Feedback. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §1, §2.
  • Pang et al. (2024) R. Y. Pang, W. Yuan, H. He, K. Cho, S. Sukhbaatar, and J. Weston Iterative Reasoning Preference Optimization. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §1, §1.
  • Peng et al. (2019) X. B. Peng, A. Kumar, G. Zhang, and S. Levine Advantage-Weighted Regression: Simple and Scalable Off-Policy Reinforcement Learning. arXiv preprint 1910.00177. Cited by: Appendix B, §3.
  • Peters and Schaal (2007) J. Peters and S. Schaal Reinforcement Learning by Reward-weighted Regression for Operational Space Control. In Proc. International Conference on Machine Learning (ICML), Cited by: Appendix B, §3.
  • Plackett (1975) R. L. Plackett The Analysis of Permutations. Journal of the Royal Statistical Society: Series C (Applied Statistics) 24 (2), pp. 193–202. External Links: Document Cited by: §2.
  • Qwen Team (2025) Qwen Team Qwen3 Technical Report. arXiv preprint arXiv:2505.09388. Cited by: §6.1.
  • 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. In Proc. Conference on Language Modeling (COLM), Cited by: §2.
  • 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 Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: Appendix B, §1, §2, §3, §3, §5.1, Table 2, §6.1, §6.2, Table 5.
  • Schulman et al. (2015) J. Schulman, S. Levine, P. Moritz, M. Jordan, and P. Abbeel Trust Region Policy Optimization. In Proc. International Conference on Machine Learning (ICML), Cited by: §2.
  • Schulman et al. (2017) J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov Proximal policy optimization algorithms.. arXiv preprint arXiv:1707.06347. Cited by: §2.
  • Shao et al. (2025) R. Shao, B. Li, G. Liu, Y. Chen, X. Zhou, J. Wang, X. Cai, and P. Li Earlier Tokens Contribute More: Learning Direct Preference Optimization From Temporal Decay Perspective. In Proc. International Conference on Learning Representations (ICLR), Cited by: §1.
  • Shao et al. (2024) Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y. K. Li, Y. Wu, and D. Guo DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. arXiv preprint arXiv:2402.03300. Cited by: §2, §6.1.
  • Son et al. (2025) S. Son, W. Bankes, S. R. Chowdhury, B. Paige, and I. Bogunovic Right Now, Wrong Then: Non-Stationary Direct Preference Optimization under Preference Drift. In Proc. International Conference on Machine Learning (ICML), Cited by: §1.
  • Stiennon et al. (2020) N. Stiennon, L. Ouyang, J. Wu, D. M. Ziegler, R. Lowe, C. Voss, A. Radford, D. Amodei, and P. Christiano Learning to summarize from human feedback. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §1, §2.
  • Wei et al. (2022) J. Wei, X. Wang, D. Schuurmans, M. Bosma, B. Ichter, F. Xia, E. H. Chi, Q. V. Le, and D. Zhou Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §6.1.
  • Wu et al. (2024a) F. Wu, H. A. Inan, A. Backurs, V. Chandrasekaran, J. Kulkarni, and R. Sim Privately Aligning Language Models with Reinforcement Learning. In Proc. International Conference on Learning Representations (ICLR), Cited by: §2.
  • Wu et al. (2025) J. Wu, X. Wang, Z. Yang, J. Wu, J. Gao, B. Ding, X. Wang, and X. He AlphaDPO: Adaptive Reward Margin for Direct Preference Optimization. In Proc. International Conference on Machine Learning (ICML), Cited by: §1.
  • Wu et al. (2024b) 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 Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §1.
  • Wu et al. (2023) Z. Wu, Y. Hu, W. Shi, N. Dziri, A. Suhr, P. Ammanabrolu, N. A. Smith, M. Ostendorf, and H. Hajishirzi Fine-Grained Human Feedback Gives Better Rewards for Language Model Training. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §2.
  • 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 Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §1.
  • Xiong et al. (2024) W. Xiong, H. Dong, C. Ye, Z. Wang, H. Zhong, H. Ji, N. Jiang, and T. Zhang Iterative Preference Learning from Human Feedback: Bridging Theory and Practice for RLHF under KL-constraint. In Proc. International Conference on Machine Learning (ICML), Cited by: §2.
  • Ye et al. (2024) C. Ye, W. Xiong, Y. Zhang, H. Dong, N. Jiang, and T. Zhang Online Iterative Reinforcement Learning from Human Feedback with General Preference Model. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §2.
  • Yoon et al. (2025) H. S. Yoon, E. Yoon, M. A. Hasegawa-Johnson, S. Kim, and C. D. Yoo ConfPO: Exploiting Policy Model Confidence for Critical Token Selection in Preference Optimization. In Proc. International Conference on Machine Learning (ICML), Cited by: §1.
  • Zeng et al. (2024) Y. Zeng, G. Liu, W. Ma, N. Yang, H. Zhang, and J. Wang Token-level Direct Preference Optimization. In Proc. International Conference on Machine Learning (ICML), Cited by: §1, §2.
  • Zhang et al. (2025) C. Zhang, W. Shen, L. Zhao, X. Zhang, X. Xu, W. Dou, and J. Bian Policy Filtration for RLHF to Mitigate Noise in Reward Models. In Proc. International Conference on Machine Learning (ICML), Cited by: §2.
  • Zhang et al. (2024a) H. Zhang, Y. Lei, L. Gui, M. Yang, Y. He, H. Wang, and R. Xu CPPO: Continual Learning for Reinforcement Learning with Human Feedback. In Proc. International Conference on Learning Representations (ICLR), Cited by: §2.
  • Zhang et al. (2024b) X. Zhang, C. Du, T. Pang, Q. Liu, W. Gao, and M. Lin Chain of Preference Optimization: Improving Chain-of-Thought Reasoning in LLMs. In Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §1, §1.
  • Zhao et al. (2024) S. Zhao, J. Dang, and A. Grover Group Preference Optimization: Few-Shot Alignment of Large Language Models. In Proc. International Conference on Learning Representations (ICLR), Cited by: §1.
  • 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 Proc. Annual Conference on Neural Information Processing Systems (NeurIPS), Cited by: §6.2.
  • Zhu et al. (2023) B. Zhu, M. Jordan, and J. Jiao Principled Reinforcement Learning with Human Feedback from Pairwise or K-wise Comparisons . In Proc. International Conference on Machine Learning (ICML), Cited by: §2.
  • Zhu et al. (2025) M. Zhu, X. Chen, Z. Wang, B. Yu, H. Zhao, and J. Jia TGDPO: Harnessing Token-Level Reward Guidance for Enhancing Direct Preference Optimization. In Proc. International Conference on Machine Learning (ICML), Cited by: §1, §2.

We provide a proof of Eq. (14). We first provide detailed definition of ADPO loss and then show the Proposition A.1.

Definition A.1. We define ADPO loss as

$\displaystyle\mathcal{L}_{\text{ADPO}}=-\mathbb{E}_{(x,Y)\sim\mathcal{D}}\bigl[\log p_{1}(y^{w}\succ y^{l}x)\bigr].$

with ADPO energies given by

E_1\*(x,y_≤i)\displaystyle E\_{1}^{\*}(x,y\_{\leq i})=−r∘(x,y_≤i),\displaystyle=-r^{\circ}(x,y\_{\leq i}),(33)
---------------
E_2\*(x,y_≤i)\displaystyle E\_{2}^{\*}(x,y\_{\leq i})$\displaystyle=-\frac{1}{\beta}r^{\circ}(x,y_{\leq i})-\log\pi_{\mathrm{ref}}(y_{i}y_{<i},x),$

where r∘∈[r\*]r^{\circ}\in[r^{\*}] is a reward equivalent to r\*r^{\*} given by

r∘(x,y_≤i)\displaystyle r^{\circ}(x,y\_{\leq i})=r\*(x,y_≤i)−f(x,y_<i),\displaystyle=r^{\*}(x,y\_{\leq i})-f(x,y\_{<i}),(35)
---------------
f(x,y_<i)\displaystyle f(x,y\_{<i})$\displaystyle=\beta\log\sum_{y_{i}\in\mathcal{V}}\pi_{\text{ref}}(y_{i}y_{<i},x)\exp\left(\frac{1}{\beta}r^{*}(x,y_{\leq i})\right).$

Proposition A.1. Given an autoregressive reference model π_ref\pi\_{\mathrm{ref}}, an autoregressive learnable model π_θ\pi\_{\theta}, a dataset D\mathcal{D}, and a constant β>0\beta>0, the ADPO loss is given by

L_ADPO\displaystyle\mathcal{L}\_{\text{ADPO}}$\displaystyle=-\mathbb{E}_{(x,Y)\sim\mathcal{D}}\left[\sum_{i=1}^{T^{\prime}}\log\sigma\left(\beta\log\frac{\pi_{\theta}(y^{w}_{i}y^{w}_{<i},x)}{\pi_{\mathrm{ref}}(y^{w}_{i}y^{w}_{<i},x)}-\beta\log\frac{\pi_{\theta}(y^{l}_{i}

where σ\sigma is the sigmoid function.

From the definition of ADPO loss, we have

L_ADPO\displaystyle\mathcal{L}\_{\text{ADPO}}$\displaystyle=-\mathbb{E}_{(x,Y)\sim\mathcal{D}}\bigl[\log p_{1}(y^{w}\succ y^{l}x)\bigr]$
---------------
=−E_(x,Y)∼D[log⁡∏_i=1T′exp⁡(−E_1\*(x,yw_≤i))∑_y_≤i∈Y_iexp⁡(−E_1\*(x,y_≤i))]\displaystyle=-\mathbb{E}\_{(x,Y)\sim\mathcal{D}}\left[\log\prod\_{i=1}^{T^{\prime}}\frac{\exp(-E\_{1}^{\*}(x,y^{w}\_{\leq i}))}{\sum\_{y\_{\leq i}\in Y\_{i}}\exp(-E\_{1}^{\*}(x,y\_{\leq i}))}\right](38)
---------------
=−E_(x,Y)∼D[∑_i=1T′log⁡exp⁡(−E_1\*(x,yw_≤i))∑_y_≤i∈Y_iexp⁡(−E_1\*(x,y_≤i))]\displaystyle=-\mathbb{E}\_{(x,Y)\sim\mathcal{D}}\left[\sum\_{i=1}^{T^{\prime}}\log\frac{\exp(-E\_{1}^{\*}(x,y^{w}\_{\leq i}))}{\sum\_{y\_{\leq i}\in Y\_{i}}\exp(-E\_{1}^{\*}(x,y\_{\leq i}))}\right](39)
---------------
=−E_(x,Y)∼D[∑_i=1T′log⁡11+exp⁡(E_1\*(x,yw_≤i)−E_1\*(x,yl_≤i))]\displaystyle=-\mathbb{E}\_{(x,Y)\sim\mathcal{D}}\left[\sum\_{i=1}^{T^{\prime}}\log\frac{1}{1+\exp(E\_{1}^{\*}(x,y^{w}\_{\leq i})-E\_{1}^{\*}(x,y^{l}\_{\leq i}))}\right](40)
---------------
=−E_(x,Y)∼D[∑_i=1T′log⁡σ(−(E_1\*(x,yw_≤i)−E_1\*(x,yl_≤i)))].\displaystyle=-\mathbb{E}\_{(x,Y)\sim\mathcal{D}}\left[\sum\_{i=1}^{T^{\prime}}\log\sigma(-(E\_{1}^{\*}(x,y^{w}\_{\leq i})-E\_{1}^{\*}(x,y^{l}\_{\leq i})))\right].(41)

where T′=max⁡{μ′(yw),μ′(yl)}T^{\prime}=\max\{\mu^{\prime}(y^{w}),\mu^{\prime}(y^{l})\}. Taking the logarithm of both sides of Eq. (12), we have

$\displaystyle\log p_{2}(y_{i}y_{<i},x)=-E_{2}^{*}(x,y_{\leq i})-\log\sum_{y_{i}\in\mathcal{V}}\exp(-E_{2}^{*}(x,y_{\leq i})),$

and thus we have

$\displaystyle E_{2}^{*}(x,y_{\leq i})=-\log p_{2}(y_{i}y_{<i},x)-\log\sum_{y_{i}\in\mathcal{V}}\exp(-E_{2}^{*}(x,y_{\leq i})).$

From the definition of prefix energies, we obtain

E_1\*(x,y_≤i)\displaystyle E\_{1}^{\*}(x,y\_{\leq i})$\displaystyle=\beta\left(E_{2}^{*}(x,y_{\leq i})+\log\pi_{\mathrm{ref}}(y_{i}y_{<i},x)\right)$
---------------
$\displaystyle=\beta\left(-\log p_{2}(y_{i}y_{<i},x)-\log\hskip-3.0pt\sum_{y_{i}\in\mathcal{V}}\hskip-3.0pt\exp(-E_{2}^{*}(x,y_{\leq i}))+\log\pi_{\mathrm{ref}}(y_{i}y_{<i},x)\right)\hskip-10.0pt$
---------------
$\displaystyle=\beta\left(-\log\frac{p_{2}(y_{i}y_{<i},x)}{\pi_{\mathrm{ref}}(y_{i}y_{<i},x)}\right).$

Thus, we have

E_1\*(x,yw_≤i)−E_1\*(x,yl_≤i)\displaystyle E\_{1}^{\*}(x,y^{w}\_{\leq i})-E\_{1}^{\*}(x,y^{l}\_{\leq i})$\displaystyle=-\beta\log\frac{p_{2}(y^{w}_{i}y^{w}_{<i},x)}{\pi_{\mathrm{ref}}(y^{w}_{i}y^{w}_{<i},x)}+\beta\log\frac{p_{2}(y^{l}_{i}

From Eqs. (41) and (47), we obtain

L_ADPO\displaystyle\mathcal{L}\_{\text{ADPO}}$\displaystyle=-\mathbb{E}_{(x,Y)\sim\mathcal{D}}\left[\sum_{i=1}^{T^{\prime}}\log\sigma\left(\beta\log\frac{p_{2}(y^{w}_{i}y^{w}_{<i},x)}{\pi_{\mathrm{ref}}(y^{w}_{i}y^{w}_{<i},x)}-\beta\log\frac{p_{2}(y^{l}_{i}

When p_2=π_θp\_{2}=\pi\_{\theta}, we have

L_ADPO\displaystyle\mathcal{L}\_{\text{ADPO}}$\displaystyle=-\mathbb{E}_{(x,Y)\sim\mathcal{D}}\left[\sum_{i=1}^{T^{\prime}}\log\sigma\left(\beta\log\frac{\pi_{\theta}(y^{w}_{i}y^{w}_{<i},x)}{\pi_{\mathrm{ref}}(y^{w}_{i}y^{w}_{<i},x)}-\beta\log\frac{\pi_{\theta}(y^{l}_{i}

∎

Appendix B KL-constrained Reward Maximization

Section titled “Appendix B KL-constrained Reward Maximization”

ADPO leverages the optimal solution of the KL-constrained reward maximization problem. We first review Remark 1  (Peters and Schaal, 2007; Peng et al., 2019; Korbak et al., 2022; Go et al., 2023; Rafailov et al., 2023), and then show Corollary 2.

Remark 1 (KL-constrained Reward Maximization). Given a reward function r(x,y)r(x,y), a reference model π_ref(y∣x)>0\pi\_{\mathrm{ref}}(y|x)>0 and a constant β>0\beta>0, we define the objective function for the KL-constrained reward maximization problem as

$\displaystyle\mathcal{J}(\pi)=\mathbb{E}_{x\sim\mathcal{D},y\sim\pi(yx)}\bigl[r(x,y)\bigr]-\beta D_{\textrm{KL}}\bigl[\pi(yx)

Then, the optimal solution is given by the Boltzmann distribution induced by the posterior energy:

$\displaystyle E_{2}(x,y)=-\frac{1}{\beta}r(x,y)-\log\pi_{\mathrm{ref}}(yx).$

The Boltzmann distribution p_2p\_{2} induced by E_2E\_{2} is given by

$\displaystyle p_{2}(yx)=\frac{\exp(-E_{2}(x,y))}{Z(x)},\quad Z(x)=\sum_{y\in\mathcal{Y}}\exp(-E_{2}(x,y)).$

Thus, we have

J(π)\displaystyle\mathcal{J}(\pi)$\displaystyle=\mathbb{E}_{x\sim\mathcal{D},y\sim\pi(yx)}\bigl[r(x,y)\bigr]-\beta D_{\textrm{KL}}\bigl[\pi(yx)
---------------
$\displaystyle=\mathbb{E}_{x\sim\mathcal{D},y\sim\pi(yx)}\left[r(x,y)-\beta\log\frac{\pi(yx)}{\pi_{\mathrm{ref}}(y
---------------
$\displaystyle=-\beta;\mathbb{E}_{x\sim\mathcal{D},y\sim\pi(yx)}\left[\log\exp\left(-\frac{1}{\beta}r(x,y)\right)+\log\frac{\pi(yx)}{\pi_{\mathrm{ref}}(y
---------------
$\displaystyle=-\beta;\mathbb{E}_{x\sim\mathcal{D},y\sim\pi(yx)}\left[\log\frac{\pi(yx)}{\pi_{\mathrm{ref}}(y
---------------
$\displaystyle=-\beta;\mathbb{E}_{x\sim\mathcal{D},y\sim\pi(yx)}\left[\log\frac{\pi(yx)}{\exp\left(-E_{2}(x,y)\right)}\right]$
---------------
$\displaystyle=-\beta;\mathbb{E}_{x\sim\mathcal{D},y\sim\pi(yx)}\left[\log\frac{\pi(yx)}{p_{2}(y
---------------
$\displaystyle=-\beta;\mathbb{E}_{x\sim\mathcal{D}}\left[D_{\mathrm{KL}}\left(\pi(yx)

Then, we obtain

$\displaystyle\argmax_{\pi}\mathcal{J}(\pi)=\argmin_{\pi}D_{\mathrm{KL}}\left(\pi(yx)

∎

Corollary 2. Given a reward function r(x,y)r(x,y) and a reference autoregressive model π_ref(y_i∣y_<i,x)>0\pi\_{\mathrm{ref}}(y\_{i}|y\_{<i},x)>0 and a constant β>0\beta>0, the following prefix posterior energy induces the optimal solution of the KL-constrained reward maximization problem in Eq. (50):

$\displaystyle E_{2}^{*}(x,y_{\leq i})=-\frac{1}{\beta}r^{*}(x,y_{\leq i})-\log\pi_{\mathrm{ref}}(y_{i}y_{<i},x),$

where r\*r^{\*} is an additive decomposition of rr.

Define an energy Eˉ\*_2\bar{E}^{\*}\_{2} as

Eˉ\*_2(x,y)=∑_i=1T′E_2\*(x,y_≤i)\displaystyle\bar{E}^{\*}\_{2}(x,y)=\sum\_{i=1}^{T^{\prime}}E\_{2}^{\*}(x,y\_{\leq i})(62)

Then, we have

Eˉ\*_2(x,y)\displaystyle\bar{E}^{\*}\_{2}(x,y)$\displaystyle=-\frac{1}{\beta}\sum_{i=1}^{T^{\prime}}r^{*}(x,y_{\leq i})-\log\prod_{i=1}^{T^{\prime}}\pi_{\mathrm{ref}}(y_{i}y_{<i},x)$
---------------
$\displaystyle=-\frac{1}{\beta}r(x,y)-\log\pi_{\mathrm{ref}}(yx)$
---------------
=E_2(x,y).\displaystyle=E\_{2}(x,y).(65)

Therefore, we have Eˉ\*_2=E_2\bar{E}^{\*}\_{2}=E\_{2}. From Remark 1, the Boltzmann distribution induced by Eˉ\*_2\bar{E}^{\*}\_{2} is the optimal solution of the KL-constrained reward maximization problem. ∎

Appendix C Prefix-wise Reparameterization Completeness

Section titled “Appendix C Prefix-wise Reparameterization Completeness”

Proposition 1 (Prefix-wise Reparameterization Completeness). Let [r\*][r^{\*}] denote the reward-shift equivalence class of a prefix-wise reward function r\*:X×Y\*→Rr^{\*}:\mathcal{X}\times\mathcal{Y}^{\*}\to\mathbb{R}, defined as

$\displaystyle[r^{*}]={r^{\prime};;\exists f;\forall(x,y_{\leq i});r^{\prime}(x,y_{\leq i})=r^{*}(x,y_{\leq i})+f(x,y_{<i})}.$

Given an autoregressive reference model π_ref(y_i∣y_<i,x)>0\pi\_{\mathrm{ref}}(y\_{i}|y\_{<i},x)>0 and a hyperparameter β>0\beta>0, for any prefix-wise reward function r\*r^{\*}, there exists a unique representative r\*_∘∈[r\*]r^{\*}\_{\circ}\in[r^{\*}] such that, for all x∈Xx\in\mathcal{X} and prefixes y_≤i∈Y\*y\_{\leq i}\in\mathcal{Y}^{\*},

$\displaystyle r^{*}_{\circ}(x,y_{\leq i})\equiv\beta\log\frac{\pi(y_{i}y_{<i},x)}{\pi_{\mathrm{ref}}(y_{i}y_{<i},x)}.$

for some autoregressive model π\pi.

Given a prefix-wise reward function r\*r^{\*}, we first show the existence of π\pi. Define the Boltzmann distribution

$\displaystyle\pi(y_{i}y_{<i},x)=\frac{\exp(-E_{2}^{*}(x,y_{\leq i}))}{Z(x,y_{<i})},\quad Z(x,y_{<i})=\sum_{y_{i}}\exp(-E_{2}^{*}(x,y_{\leq i}))$

Taking logarithms gives

$\displaystyle\log\pi(y_{i}y_{<i},x)$=−E_2\*(x,y_≤i)−log⁡Z(x,y_<i)\displaystyle=-E\_{2}^{\*}(x,y\_{\leq i})-\log Z(x,y\_{<i})
---------------
$\displaystyle=\frac{1}{\beta}r^{*}(x,y_{\leq i})+\log\pi_{\mathrm{ref}}(y_{i}y_{<i},x)-\log Z(x,y_{<i})$

Thus, we obtain the required form:

$\displaystyle r^{*}(x,y_{\leq i})=\beta\log\frac{\pi(y_{i}y_{<i},x)}{\pi_{\mathrm{ref}}(y_{i}y_{<i},x)}+\beta\log Z(x,y_{<i}).$

If another pair (r~,π~)(\tilde{r},\tilde{\pi}) enjoys the same property, their log-ratios differ by a function independent of y_iy\_{i}, thereby r~−r\*_∘=f(x,y_<i)\tilde{r}-r^{\*}\_{\circ}=f(x,y\_{<i}). Hence both belong to the same shift class, r\*_∘r^{\*}\_{\circ} is unique modulo such shifts. ∎

In this section, we provide detailed descriptions of the evaluation metrics used in our experiments.

For GSM8K and MATH500, we report accuracy. A prediction is counted as correct if the final numerical answer matches the ground-truth answer after standard normalization (e.g., stripping formatting, ignoring trivial differences).

is an automatic preference-evaluation benchmark that uses an LLM-as-a-judge framework to assess instruction-following quality. We report two metrics:

  • •

    Win Rate (WR): the percentage of pairwise comparisons in which the model’s response is preferred over the baseline.

  • •

    Length-Controlled Win Rate (LC): a debiased variant of WR that adjusts for response-length bias.

is a curated set of difficult prompts from the Chatbot Arena, designed to measure robustness on challenging instruction-following tasks. We report:

  • •

    Win Rate: the fraction of pairwise comparisons in which the model’s response is preferred according to the Arena-Hard judging protocol (LLM-based judges).

is a multi-turn dialogue benchmark consisting of 80 conversational questions spanning various categories (e.g., reasoning, coding, safety). Evaluation is conducted with GPT-4-based judges. We report:

  • •

    MT-Bench Score: the average judge rating on a 1–10 scale across all turns, reflecting helpfulness, coherence, and overall response quality.

In this section, we conduct additional experiments to investigate the impact of several hyperparameters, including the hyperparameter β\beta in the objective function, LoRA rank, and model size. We also analyze the learning behavior in the conversational task. The results collectively validate the consistent effectiveness of ADPO across diverse experimental settings and model configurations.

Table 6 provides a hyperparameter analysis of β\beta for DPO and ADPO across four LLMs evaluated on GSM8K. ADPO consistently surpasses DPO, demonstrating notable improvements particularly for smaller β\beta values (0.5 and 1.0).

Table 8 compares the effects of different LoRA ranks (4, 16, and 64) on GSM8K for Llama-3-8B. We observe that ADPO outperforms DPO across all ranks and the performance gap widens at higher ranks.

Table 8 examines the impact of scaling model size from Llama-3-8B to Llama-3-70B on GSM8K. ADPO consistently outperforms DPO at both model sizes, achieving 89.23% with a size of 70B.

Table 6: Hyperparameter study for β\beta. Results are reported for β=0.5,1.0,1.5\beta=0.5,1.0,1.5 on GSM8K.

MethodLlama-3-8BGemma-3-12BQwen-3-8BDeepSeek-Math-7B
0.50.51.01.01.51.50.50.51.01.01.51.50.50.51.01.01.51.50.50.51.01.01.51.5
DPO62.4764.3763.9177.7177.0375.8287.8786.9686.7366.9467.7867.63
ADPO68.6168.0864.9078.8578.3277.4888.1088.1088.7070.0569.9869.22

Table 7 : LoRA rank r r (Llama-3-8B).

Table 8 : Model Size.

Table 9: Full-parameter tuning results on Llama-3-8B (training without LoRA).

MethodGSM8KMATH
DPO64.3718.00
ADPO67.3220.00
cDPO66.1918.00
cADPO68.3919.80

Table 9 provides the results of full-parameter tuning (i.e. without LoRA) for Llama-3-8B. ADPO and cADPO still outperform DPO and cDPO even under full-parameter training.

Table 10: Standard deviations on two mathematical reasoning benchmarks.

MethodLlama-3-8BGemma-3-12BQwen-3-8BDeepSeek-Math-7B
GSM8KMATHGSM8KMATHGSM8KMATHGSM8KMATH
DPO0.190.330.220.200.180.610.240.45
ADPO0.190.330.220.320.060.730.290.41
cDPO0.090.320.140.150.120.200.210.43
cADPO0.080.310.170.470.130.450.110.41

Table 11: Standard errors of win rates and scores on three conversational benchmarks.

MethodLlama3-8B
AlpacaEval 2Arena-HardMT-Bench
LCWRWRScore
SFT0.751.281.50.08
DPO0.811.461.40.08
SimPO0.801.471.40.08
ADPO (Ours)0.791.491.40.09

Table 12: Average response length.

MethodLlama-3-8BGemma-3-12BQwen-3-8BDeepSeek-Math-7B
GSM8KMATHGSM8KMATHGSM8KMATHGSM8KMATH
DPO317.8869.7391.2895.2299.7513.8257.7682.6
ADPO (Ours)342.8917.9518.52192.3294.9525.7280.8662.9
cDPO520.41859.7333.51174.9299.8526.9261.7696.7
cADPO (Ours)308.1847.0287.2841.0313.8510.4250.3630.0

Table 13: Wall-clock training time on GSM8K with Llama-3-8B.

MethodTime (seconds)
DPO2202
ADPO (ξ_static\xi\_{\text{static}}, k=4k=4)2314
ADPO (ξ_static\xi\_{\text{static}}, k=2k=2)2228
ADPO (ξ_static\xi\_{\text{static}}, k=1k=1)2301
ADPO (ξ_adaptive\xi\_{\text{adaptive}}, m=1m=1)†2234
ADPO (ξ_adaptive\xi\_{\text{adaptive}}, m=2m=2)2287
ADPO (ξ_adaptive\xi\_{\text{adaptive}}, m=16m=16)2321
ADPO (ξ_adaptive\xi\_{\text{adaptive}}, m=128m=128)2318
ADPO (ξ_adaptive\xi\_{\text{adaptive}}, m=256m=256)2226
ADPO (ξ_adaptive\xi\_{\text{adaptive}}, m=512m=512)2327
†Equivalent to DPO.

Table 10 reports the standard deviations over three independent training runs corresponding to the results in Table 2 of the main paper. Table 11 reports the standard errors of the win rates and scores obtained via LLM-as-a-Judge corresponding to the results in Table 5 of the main paper. We observe that the standard deviations (mathematical tasks) and standard errors (conversational tasks) are consistently small. The improvements are consistently larger than the observed errors, and the relative ranking of methods remains unchanged across all settings, supporting the robustness of our conclusions.

Table 12 reports the average output length across all models and datasets. We observed two trends: (a) ADPO produces slightly longer responses than DPO, while (b) cADPO produces shorter responses than cDPO.

ADPO performs preference comparison at each prefix, encouraging the model to accumulate positive evidence step-by-step. This finer-grained signal encourages the model to articulate intermediate reasoning more explicitly, which naturally results in slightly longer outputs.

cDPO amplifies penalties for “critical tokens” at the sequence level. This can lead to longer outputs, because producing additional reasoning steps gives the model more chances to place tokens that are not penalized. In contrast, cADPO applies the same penalties locally at each prefix, preventing such length-driven attenuation. As a result, cADPO discourages unnecessary elaboration and yields more concise outputs.

Figure 3 : Training dynamics (conversation task).

ADPO introduces additional prefix-wise computations compared to DPO, which may raise concerns about increased training cost. To assess this, we measured the wall-clock training time on GSM8K with Llama-3-8B across all ADPO configurations and compared them with DPO. As reported in Table 13, the difference between DPO and the slowest ADPO variant is 125 seconds (5.7%), indicating that the additional computational overhead of ADPO is negligible in practice.

Figure 3 shows training dynamics for the conversation task by plotting the evolution of sequence log probabilities over training steps for DPO and ADPO. In the static family (left), reducing the window size increases the margin between preferred (solid lines) and dispreferred (dashed lines) trajectories, showing greater separation compared to DPO. In the adaptive family (right), increasing the number of segments similarly amplifies this margin. Across both settings, ADPO consistently achieves a clearer divergence between preferred and dispreferred responses throughout training.

We implemented our methods using the Transformer Reinforcement Learning (TRL) library. For training on GSM8K, we followed the experimental setup of (Lin et al., 2025). Specifically, positive and negative models are first trained for 1 epoch with a learning rate of 3 ⁣× ⁣10−43\!\times\!10^{-4}. Subsequently, preference optimization models are trained with β=1.0\beta=1.0 for 3 epochs using AdamW with LoRA (r=16r=16), at a learning rate of 2 ⁣× ⁣10−52\!\times\!10^{-5} for DPO and 4 ⁣× ⁣10−54\!\times\!10^{-5} for cDPO. Each problem was sampled 64 times with a top-p probability of 50% during contrastive estimation. For the conversation task, all models are trained for 1 epoch using preference data scored by PairRM. Experiments are conducted using four NVIDIA H100 GPUs. We will release our code and models.

Figure 4 : Prefix-wise reward variance and margin.

Figure 4 : Prefix-wise reward variance and margin.

As formalized in Eq. 16, ADPO assigns an implicit reward at each step ii. To understand how these implicit rewards are distributed across prefixes and how they evolve during training, we analyze two summary statistics of the prefix-wise reward signal: (A) the reward variance, which reflects how stable or uncertain the reward is at each prefix, and (B) the reward margin (chosen–rejected difference), which captures where preference differences are realized. We normalize prefix positions to [0,1][0,1] and evaluate these quantities at early, middle, and late checkpoints from ADPO training on the Llama-3-8B model for the math reasoning task. Figures 4 (A) and (B) illustrate how the variance and margin profiles evolve across training.

As shown in the blue curves in Figures 4 (A) and (B), both reward variance and margin are concentrated in the middle-to-late prefix region. This indicates that ADPO first focuses on correcting the unstable reasoning steps that occur near the end of the response, where chosen and rejected outputs differ most and the policy is initially most uncertain.

In the mid-stage checkpoints (orange curves), the mass of both variance and margin shifts toward earlier prefixes. Once the later reasoning stabilizes, ADPO begins refining the early parts of the reasoning chain: these early steps determine how the model sets up the solution and whether the subsequent reasoning flows toward a correct final answer.

In the late-stage checkpoints (green curves), reward variance becomes small across all prefixes, while the margin becomes sharply concentrated in the final portion of the sequence. This suggests that the global reasoning structure has largely converged, and ADPO focuses on fine-tuning the last few steps that directly determine correctness.

Overall, these results reveal a consistent three-phase progression: ADPO first improves the end of the reasoning path, then the beginning, and finally sharpens the answer-producing tokens themselves. This demonstrates that ADPO performs meaningful prefix-wise credit assignment, progressively localizing the implicit reward to the prefixes that matter most for preference.