Anatomy of Off-Policy Policy Gradient: Importance Sampling, KL Regularization, and Baselines
Haoqun Cao, Yurun Yuan, Tengyang Xie
Abstract
Reinforcement learning has become a central tool for large language model (LLM) post-training, where policy gradient methods are routinely deployed off-policy, even though vanilla policy gradient assumes on-policy sampling. We study when such off-policy deployment is justified, and what roles its core ingredients, including importance sampling, KL regularization, and baselines, play in handling the resulting distribution shift. We show that for a general class of off-policy policy gradient updates, consistency, in the sense that the optimal policy remains a stationary point, requires one of two structures at the optimal policy: trajectory-level importance weighting, which suffers from the well-known curse of horizon, or KL regularization with a baseline equal to the optimal soft value, instantiated by the grouped mean. Focusing on the KL route, we identify it with the group-relative policy gradient (GRPG) update, establish an equivalence to a trajectory-level Bellman residual minimization objective, and obtain a finite-sample regret bound under all-policy coverage. This also gives a theoretical account of a variant of the empirically successful GRPO objective. We further uncover a hidden role of baselines in the off-policy setting: a constant shift in the baseline implements pessimism, the standard remedy in offline RL for partial data coverage. We instantiate this via the asymmetric REINFORCE objective, and connect it to the game-theoretic offline RL framework, showing a regret bound with single-policy coverage. Together, these results offer a unified theoretical view of off-policy policy gradient in LLM post-training and connect it to classical ideas in offline RL.
1 Introduction
The recent years have witnessed a tremendous amount of work using reinforcement learning (RL) for large language models (LLMs), with applications ranging from instruction following and human preference alignment (Ziegler et al., 2019; Ouyang et al., 2022; Bai et al., 2022) to mathematical and code reasoning (Shao et al., 2024; Guo et al., 2025). The task of next-token prediction is formulated as a long-horizon sequential decision problem, and the language model is trained as a policy through standard policy optimization techniques.
Among policy optimization methods in RL, policy gradient (Williams, 1992; Sutton et al., 1999) is a fundamental approach and a building block of many modern algorithms. It has also been widely adopted in LLM post-training (Ahmadian et al., 2024). In its vanilla form, policy gradient requires on-policy sampling to construct an unbiased gradient estimate; in practice, however, it is routinely deployed off-policy, with various modifications, due to considerations such as replay buffers (Wang et al., 2017), distributed actor-learner asynchrony (Espeholt et al., 2018), or the cost of regenerating rollouts after each update (Schulman et al., 2017b; Shao et al., 2024). A fundamental question is then: when does off-policy policy gradient work for LLM post-training, and how do its core ingredients — importance sampling, KL regularization, and baselines — play their roles? To
40th Conference on Neural Information Processing Systems (NeurIPS 2026).
our knowledge, this question has not been systematically studied in the LLM literature, and this work aims to fill the gap.
When data is sampled from a behavior policy rather than the current learner, one inherits the setting of offline (or batch) RL (Lange et al., 2012; Fujimoto et al., 2019; Levine et al., 2020), where a long line of work has converged on the pessimism principle: under partial data coverage, the learner should be conservative on regions where data is sparse, in order to avoid overestimation (Jin et al., 2021; Xie et al., 2021). A second focus of this work is to bridge the empirical practice of off-policy LLM post-training with the principles developed in the offline RL literature.
Classical off-policy policy gradient methods make the update valid by recovering a quantity of the target policy from behavior data: expectations under π via importance weighting (Precup et al., 2000; Jiang and Li, 2016; Wang et al., 2017; Espeholt et al., 2018), the state distribution dπ via density-ratio estimation (Liu et al., 2019), or the action value Qπ via an off-policy critic (Degris et al., 2012). None of these scales comfortably to LLM post-training: trajectory-level importance weights have variance exponential in the horizon, density ratios over text states are hard to estimate, and a critic adds substantial overhead. The off-policy objectives that work in practice use none of them, relying only on KL regularization and a grouped-mean baseline; this paper asks why that minimal set of ingredients suffices (see Appendix B for further discussion).
The off-policy objectives we study (e.g., Shao et al., 2024; Yuan et al., 2025; Arnal et al., 2025) and related works in this direction with similar objectives (e.g., Ji et al., 2024; Wang et al., 2025; Tang et al., 2025; Wang et al., 2026) have been extensively studied empirically in recent LLM post-training work; our goal in this paper is to provide a unified theoretical understanding of when and why they remain consistent under off-policy distribution shift, what role each ingredient (importance sampling, KL, baseline) plays in this, and how the resulting guarantees connect to the offline RL literature.
Contributions This work develops a theoretical framework for off-policy policy gradient in LLM post-training.
(1) A characterization of consistent off-policy PG updates. We show that for a general class of off-policy PG updates in the autoregressive setting, a consistent update, i.e., one that preserves the optimal policy as a stationary point, must at the optimal policy either use trajectory-level importance weights or use KL regularization paired with a baseline equal to the optimal soft value (Proposition 1). The importance-sampling route suffers from the well-known curse of horizon, so we focus on the KL route, with the grouped-mean baseline, in the rest of the paper.
(2) Analysis of KL regularization with a grouped-mean baseline. We identify the KL route with the group-relative policy gradient (GRPG) update, develop the intuition behind its correctness, and establish an equivalence to a trajectory-level Bellman residual minimization (TBRM) objective of Yuan et al. (2025) (Proposition 2). This connects GRPG, a variant of the empirically successful GRPO objective (Shao et al., 2024), to classical value-based RL principles. We further give a finite-sample regret bound under all-policy coverage (Theorem 3).
(3) A hidden role of baselines: implementing pessimism. Within the KL route, we show that a constant shift in the baseline has a surprising effect beyond variance reduction: it implements pessimism, the standard remedy in offline RL for partial coverage. We connect this insight to the asymmetric REINFORCE (AsymRE) objective of Arnal et al. (2025), providing a game-theoretic interpretation connecting it to the adversarial offline RL framework of Cheng et al. (2022), and upgrade the regret bound from all-policy to single-policy coverage (Theorem 5).
Taken together, these three parts trace a single path from the off-policy policy-gradient update template to the two finite-sample guarantees. Figure 1 lays out that path, together with the equivalences and the coverage conditions encountered along the way, and may be useful as a map while reading the rest of the paper.
2 Preliminaries
This section provides the necessary background for our work. We first review the fundamentals of episodic Markov Decision Process (MDP) and KL-regularized reinforcement learning, then discuss the policy gradient methods.
Figure 1: Roadmap of the paper: the off-policy policy-gradient update template, the two consistent routes it admits, the chain of equivalent objectives and games along the KL route, and the two finite-sample guarantees.
2.1 Episodic MDP and KL-regularized RL
MDP Fundamentals We consider a finite-horizon MDP represented by M=(H,S,A,T,r∗,ρ) consisting of a state space S, an action space A, a reward function r∗={rh∗},rh∗:S×A→[0,1], an initial state distribution ρ∈Δ(S), and a deterministic transition function T={Th},Th:S×A→S, which we assume throughout the paper and which is central to our analysis. A policy π={πh},πh:S→Δ(A) maps states to distributions over actions and induces a distribution over trajectories τ=(s1,a1,…,sH,aH), where we write sh(τ) and ah(τ) for the state and action of τ at step h; the conditional distribution of τ given s1 induced by policy π is denoted as Pπ(⋅∣s1). We also define the trajectory level reward function as R∗(τ):=∑h=1Hrh∗(sh,ah). We use Eπ[⋅] to denote the expectation under such a data generating process induced by π: s1∼ρ, ah∼πh(⋅∣sh), sh+1=Th(sh,ah), h=1,…H, or equivalently s1∼ρ, τ∼Pπ(⋅∣s1). For any policy π, we define dhπ(⋅,⋅)∈Δ(S×A) as the induced marginal state-action distribution at step h. The goal of RL is to find a policy π that maximizes the expected cumulative reward J(π):=Eπ[R∗(τ)].
KL-regularized RL In many applications, a KL regularization term is incorporated to encourage the learned policy to stay close to a reference policy πref. This gives rise to the KL-regularized return and objective:
Throughout the paper, we let π∗ denote the optimal policy of J(π) in the unregularized case and of Jβ(π) in the KL-regularized case; the relevant case will be clear from context.
Soft value functions We now define the soft value functions via backward recursion under the deterministic transition sh+1=Th(sh,ah). Set Vβ,H+1π(s):=0. For h=H,H−1,…,1, define
We write Vβ,h∗, Qβ,h∗ for the soft value functions of the optimal policy. In the unregularized case, we only need the optimal value at the initial state, V1∗(s1):=maxτR∗(τ), where the maximum is over trajectories from s1.
Coverage We will also discuss coverage conditions, which measure how well the offline data distribution covers the distributions induced by the learner. The strongest such requirement, all-policy coverage, asks that the data cover every policy in the policy class; this is typically needed when the algorithm has no built-in protection against overestimation. A weaker and more refined notion is single-policy coverage: for any comparator policy π that is well covered by the data, the algorithm is guaranteed to perform at least as well as π. Throughout the paper, the specific coverage condition required by each algorithm is stated in its assumptions, typically as a bound on the density ratio between dπ (or dπ∗) and dμ, or on the χ2-divergence between them, denoted χ2(P∥Q).
2.2 Policy Gradient Method
Throughout, policies are parameterized, π=πθ with θ∈Θ, and ∇ denotes the gradient with respect to θ; we suppress θ when it is clear from context. Policy gradient methods are motivated by the well-known policy gradient lemma, which directly expresses the gradient of J(π) in terms of π:
∇J(π)=Eπ[R∗(τ)h=1∑H∇logπh(ah∣sh)].
Computing this gradient requires sampling from the current policy (i.e., on-policy sampling) and running stochastic gradient descent. In this paper, we instead consider the off-policy or offline setting, where data is collected by a fixed behavior policy μ. We say that a policy π is supported on πref if supp(πh(⋅∣s))⊆supp(πref,h(⋅∣s)) for all (s,h), and assume throughout that μ is supported on πref. In this case, simply replacing the measure π with μ in the above expectation no longer yields ∇J(π).
3 Two Consistent Routes for Off-Policy Policy Gradient
In the off-policy case, the naive substitution therefore has to be modified. In this work, we consider off-policy updates of the following form:
Here bπ is a policy-dependent baseline depending only on the initial state s1, and ωπ is a policy-dependent weighting function defined over the entire trajectory. With a slight abuse of notation, ∇Eμ,PG(π) denotes the update direction itself and need not be the gradient of a function of π; the same convention applies to the updates introduced below. This formulation captures a broad class of off-policy policy-gradient objectives and incorporates the key ingredients commonly used in practice to mitigate off-policy distribution shift:
Importance weighting, represented by ωπ(τ).
KL regularization.
A baseline, represented by bπ(s1).
We will show that, for π∗ to be a stationary point of this update, ωπ and Aπ must take particular forms.
We say that π is a stationary point of the update Eq. (1) if for every h∈[H], s∈S, and a∈A,
Under the tabular softmax parameterization πθ,h(a∣s)=exp(θh(s,a))/∑a′exp(θh(s,a′)), we have ∂θh(s,a)∂logPπθ(τ∣s1)=1{sh(τ)=s,ah(τ)=a}−1{sh(τ)=s}πθ,h(a∣s), so Eq. (2) is the componentwise form of ∇Eμ,PG(πθ)=0 with respect to θ; unlike the latter, it remains well defined for policies on the boundary of the simplex, such as the optimal policy without KL regularization.
We say that the update Eq. (1) is consistent if π∗ is a stationary point of it, i.e., if the update preserves stationarity of the optimal policy. Consistency is weaker than unbiasedness: a consistent update need not recover the on-policy gradient ∇J(π) at other policies. The resulting forms of ωπ and Aπ give rise to two provably consistent routes for off-policy policy optimization: one driven by importance sampling (IS) weights, and the other by KL regularization.
Proposition 1. Consider the autoregressive setting sh=(s1,a1,…,ah−1) with discrete initial-state and action spaces. If π∗ satisfies Eq. (2), then for every s1∈supp(ρ):
Without KL regularization, there exists K(s1) such that
ωπ∗(τ)=K(s1)h=1∏Hμh(ah∣sh)πh∗(ah∣sh)
for every τ∈supp(Pμ(⋅∣s1)) with R∗(τ)=bπ∗(s1).
With KL regularization, at least one of the following holds: there exists K(s1) such that
See proof in Appendix D.2. The above proposition shows that there are only two candidates at π∗ for a consistent update: either through trajectory-level importance weights or through KL regularization (with baseline as the soft optimal value). In particular, trajectory-level importance weight has the potential to address the off-policy PG objective, both with and without KL regularization. And under KL regularization, there is an alternative, e.g., by using conditional mean as the baseline (which is the most natural choice and which we adopt throughout). Note that this proposition only states necessary conditions; we will show subsequently that both choices are indeed consistent. At the same time, the necessity also implies that many alternative choices, or arbitrary combinations of these ingredients, may fail: in such cases, π∗ may not even be a stationary point of the resulting objective. The two routes differ in nature. Trajectory-level importance weighting is a correction in the classical sense: it recovers the on-policy gradient in expectation, and its sufficiency is well known (Precup et al., 2000; Jiang and Li, 2016); the content of Proposition 1 is the converse. The KL route recovers no on-policy quantity; it is consistent because it changes the optimality condition so that the advantage vanishes at π∗, as we explain next. Now, we talk about the first route through trajectory-level importance weights.
The IS Route: Curse of Horizon Setting ωπ(τ)=∏h=1Hπh(ah∣sh)/μh(ah∣sh) yields the classical unbiased correction: the update equals −∇J(π) (resp. −∇Jβ(π)) at the population level. However, since the weight is a product of H per-step policy ratios, its variance typically grows exponentially in the horizon H — the well-known curse of horizon (Jiang and Li, 2016; Wang et al., 2017; Liu et al., 2019). This makes the trajectory-level IS route impractical in long-horizon settings, including LLM training. We therefore do not pursue the IS route further. Instead, we focus on the KL route, which we develop in the next section.
4 The KL Route: Grouped Mean Baseline
KL regularization is one of the hidden gems for off-policy policy optimization. It provides a different route to consistency: unlike trajectory-level importance weighting, it does not recover the on-policy gradient, and so is not a correction in the classical sense; instead, it changes the optimality condition itself. We now explain how KL regularization enables a properly chosen advantage function to satisfy Aπ∗(τ)=0 at the optimum, thus making π∗ a stationary point.
Fix an initial state s1, without KL regularization, the objective is linear in the trajectory distribution:
πmaxEτ∼Pπ(⋅∣s1)[R∗(τ)].
Hence, the optimum typically lies on the boundary of the probability simplex, and the optimality condition is an inequality: R∗(τ)≤V1∗(s1), with equality only on selected optimal trajectories. Thus, unless all rewards are tied, the raw advantage cannot be zero for every trajectory.
The KL term makes the objective strictly concave in the trajectory distribution and forces the optimum to have full support over πref. As a result, the optimality condition becomes a pointwise equality: for every trajectory τ in the support of Pπref,
A derivation of this identity is given in Appendix D.1. This means the KL-regularized return Rπ∗,β∗(τ) is constant along every trajectory in the reference support. Consequently, choosing the grouped mean baseline bπ(s1)=Eμ[Rπ,β∗(τ)∣s1] yields Aπ∗(τ)=0 for every τ in the support, which makes π∗ a stationary point of the off-policy policy-gradient objective.
Remark 1. The argument relies on the optimality condition holding along every trajectory, which is where deterministic transitions are used. Under stochastic transitions it holds only in expectation over the next state, so the advantage does not vanish pathwise and π∗ is in general not a stationary point of the KL route. The same trajectory-level structure underlies previous literature (Nachum et al., 2017; Yuan et al., 2025).
4.1 Value-Based RL interpretation
Surprisingly, we show that KL regularization, together with the grouped mean baseline, also admits an equivalent value-based RL interpretation. The off-policy PG update we study is Eq. (1) with ωπ≡1 and the grouped-mean baseline,
where GRPG abbreviates group-relative policy gradient.
Building on the equivalence framework of soft Q learning and REINFORCE in Schulman et al. (2017a), we first connect the GRPG update to the following conditional variance minimization (VM) objective,
Eμ,VM(π):=Es1∼ρ[Varμ(Rπ,β∗(τ)s1)].
The conditional variance objective itself was previously studied as a standalone loss in the contextual-bandit setting by Tang et al. (2025); here we show that its gradient coincides with the GRPG update up to a positive constant. A direct calculation shows
∇Eμ,VM(π)=2β∇Eμ,GRPG(π).(3)
Therefore, following the GRPG update is the same as running gradient descent on Eμ,VM, up to the positive scaling constant 2β; the same holds for the corresponding empirical estimators. We now connect Eμ,VM(π) to value-based RL theory and show that it shares its minimizing policy with a trajectory-level Bellman residual minimization objective.
Let us consider a Q function class F⊂{fh:S×A→R} and the following trajectory Bellman residual minimization (TBRM, originally from Yuan et al. (2025)) objective,
where Tβ∗ is the soft Bellman optimality operator induced by the KL-regularized MDP. Under the deterministic transition sh+1=Th(sh,ah), it admits the closed form
with the second term set to 0 at h=H. After an f∈F is learned, the corresponding policy is the soft-greedy policy πf with respect to f,
πf,h(a∣s)∝πref,h(a∣s)exp(fh(s,a)/β).
Detailed derivations of Tβ∗ and πf are deferred to Appendix D.1. We now state the equivalence between VM and TBRM.
Proposition 2. Let F be a value function class that is closed under first-step, state-dependent, action-independent shifts, in the sense that for any f∈F and any c:S→R depending only on s1, the function fc defined by f1c(s1,a1)=f1(s1,a1)+c(s1) and fhc=fh for all h≥2 also belongs to F. Denote ΠF:={πf:f∈F}. Then
The intuition is that the TBRM objective contains a free degree of freedom that does not affect the induced policy: shifting any f by a function of s1 leaves πf unchanged but allows the squared Bellman residual to be reduced. When F is closed under such shifts, the optimal shift is precisely the conditional mean over s1, which turns the squared error into the conditional variance and yields the equivalence. Therefore, the grouped-mean off-policy policy-gradient update can also be viewed as minimizing a trajectory-level Bellman residual, providing a value-based interpretation of the method and connecting it to Bellman-residual and value-iteration principles in reinforcement learning.
4.2 Finite Sample Analysis
Finally, we provide a finite-sample analysis of the GRPG update, showing that the KL route with the grouped-mean baseline provably learns the optimal policy under a coverage condition. We also discuss a potential limitation of this algorithm from the perspective of offline RL. Let D={s1i,a1i,s2i,s3i,…}i=1,j=1i=n,j=m, where s1i∼ρ i.i.d. and, conditioning on s1i, τij∼Pμ(⋅∣s1i) i.i.d. across j. Define the empirical GRPG update
Notice that this is a variant of the gradient of the GRPO objective in Shao et al. (2024), which differs in details such as the importance ratio, the normalization, and how the KL term enters. The empirical counterpart of Eμ,VM is
(4) and a direct computation (Eq. (20)) gives ∇ED,VM(π)=2β∇ED,GRPG(π), so the GRPG update is the gradient field of ED,VM. We therefore analyze its minimizer. Let Π⊂{πh:S→Δ(A)} be a policy class, and define
π^∈π∈ΠargminED,VM(π).
We make the following assumptions on data coverage and boundedness.
Assumption 1. There exist constants Cχ2,B<∞ such that
Theorem 3. Suppose Assumption 1 holds, π∗∈Π, and ∣Π∣<∞. Then with probability at least 1−ζ,
Jβ(π∗)−Jβ(π^)≲(H+B)n(1+Cχ2)log(∣Π∣/ζ).
Proof sketch. By a soft performance-difference identity (Lemma E.1), Jβ(π∗)−Jβ(π^)=βEs1∼ρ[KL(Pπ^(⋅∣s1)∥Pπ∗(⋅∣s1))]. A change of measure from π^ and π∗ to μ (Lemma E.2), which is where all-policy coverage enters, bounds this expected KL by (1+Cχ2)Eμ,VM(π^) up to constants, because Rπ,β∗(τ) and −βlogPπ∗(τ∣s1)Pπ(τ∣s1) differ only by a function of s1 and hence have the same conditional variance. Finally, since Rπ∗,β∗ is constant on the support, ED,VM(π∗)=0 pathwise, and a Bernstein-type excess-risk bound (Lemma E.3) gives Eμ,VM(π^)≲(H+B)2log(∣Π∣/ζ)/n. See Appendix E.2.
Remark 2. The first condition of Assumption 1 is the standard all-policy coverage assumption in offline RL: the offline data must cover the distributions induced by the entire policy class, not just π∗. Such a strong requirement is typical for algorithms with no built-in pessimism against overestimation; in the next section, we show that a constant shift in the baseline implements exactly this remedy.
Remark 3. The second condition of Assumption 1 is needed to simplify the concentration analysis: it bounds the KL-regularized return, ∣Rπ,β∗(τ)∣≤H+B, in Lemma E.3. It does not conflict with realizability: by Eq. (11), βlogPπref(τ∣s1)Pπ∗(τ∣s1)=R∗(τ)−Vβ,1∗(s1)∈[−H,H] since both terms lie in [0,H], so π∗ automatically satisfies the condition with B=H. Hence, for any policy class Π containing π∗, the subclass of policies satisfying the condition with B=H still contains π∗, and Theorem 3 applies to it as is — although a generic policy class used in LLM training does not automatically satisfy the condition. A condition of the same form also appears in Theorem 5.
5 A Hidden Role of Baseline in Off-Policy Policy Gradient
In on-policy policy gradient, a baseline is a control variate that reduces gradient variance without changing the population gradient (Williams, 1992; Peters and Schaal, 2008). In the off-policy setting the baseline plays a different role: as we have seen in Proposition 1, along the KL route it is no longer free to choose: its value at π∗ must equal the optimal soft value, which the grouped mean achieves. In this section, we show that the baseline carries an even more interesting role beyond ensuring stationarity: a properly shifted baseline implicitly induces pessimism, the standard remedy in offline RL to mitigate overestimation with partial coverage.
Concretely, the asymmetric REINFORCE (AsymRE) update of Arnal et al. (2025) adds a constant shift to the grouped-mean baseline of GRPG:
where δ>0. Arnal et al. (2025) study this update with the unregularized return R∗(τ) and a constant baseline, and discuss KL regularization only as an extension. The KL term is essential for our analysis, since without it the grouped-mean baseline is not consistent (Proposition 1) and the VM identity Eq. (3) does not hold. We nevertheless keep the name AsymRE for the KL-regularized form above, since the constant baseline shift is the feature we study and introducing a new name would only add notation. Intuitively, subtracting an extra δ amplifies the weight on high-reward trajectories and weakens the push to suppress low-reward ones, since failures sampled from a behavior policy μ=π are not particularly worth learning from. Beyond this heuristic, we show below that the shift admits a principled interpretation: it is equivalent to adversarially choosing a value function or reward model that incorporates pessimism.
Notice that the AsymRE update can be decomposed as
where the second equality uses ∇Eμ,VM(π)=2β∇Eμ,GRPG(π) from Eq. (3). Therefore, the AsymRE update is essentially adding an SFT regularizer (SFT towards the behavior policy μ) that prevents the policy from deviating too far from the coverage of the offline data. Beyond this, following Liu et al. (2024), we can show that this SFT term also serves as an adversarial regularizer that prevents the model from choosing trajectories with high reward as estimated by its own reward model.
To further elaborate this point, let us consider R⊂{R:R(τ)=∑h=1Hrh(sh,ah),rh:S×A→R} as a reward class, and its element as a reward model R. Recall Π is the policy class. We define
Consider the following trajectory-level max-min game,
π†∈argmaxπ∈ΠR∈Rmin(Lμ(π,R)+η⋅Eμ(R)).(5)
In Appendix F.2, we show that under regularity conditions and with an appropriate choice of η (depending on δ and m), optimizing the VM+SFT objective (thus following the AsymRE update) is equivalent to solving this max-min game with R taken to be a reward class induced by Π. The structure of this max-min game reveals why pessimism emerges. In the inner minimization, Eμ keeps the reward model consistent with the offline data, while Lμ(π,R) adversarially picks the most pessimistic reward model under Pπ; the outer maximization then maximizes against this adversarially chosen reward model. In this way, the AsymRE loss overcomes overestimation of the reward, and also leads to a guarantee with single-policy coverage as we will show later.
Connection to Offline RL Literature Beyond this trajectory-level contextual bandit-type formulation, the use of game-theoretic objectives for offline pessimism is well rooted in the offline RL literature (Xie et al., 2021; Cheng et al., 2022). We will show that the AsymRE objective also admits a formulation along these lines. Following Cheng et al. (2022), for f∈F⊂{fh:S×A→R} and a policy π, we first define
Following Cheng et al. (2022), L~μ(π,f) is designed to estimate Jβ(π)−Jβ(μ), while E~μ(π,f) performs policy evaluation through a conditional variance objective rather than a squared Bellman error; the two are equivalent in the same sense as discussed in the previous section. We can now cast the offline policy optimization problem as the following Stackelberg game (Von Stackelberg, 2010):
The idea is to select π† together with an adversarial value function that is pessimistic about π† while remaining consistent with the offline data through a low Bellman error. The Stackelberg formulation in Eq. (6) is conceptually clean but bilevel, hence computationally inconvenient. A surrogate objective is a max-min game objective
π†∈π∈Πargmaxf∈Fmin(L~μ(π,f)+ηE~μ(π,f)).(7)
We now show that this step-level, MDP-style max-min game is, under a suitable condition on F, equivalent to the trajectory-level, bandit-style max-min game Eq. (5) introduced earlier, and hence to the AsymRE objective itself.
Proposition 4. For each f∈F and policy π, define the induced reward model
Remark 4. The condition R(π,F)=R for every π∈Π requires the reward class induced by F not to depend on π. It holds when H=1 or when F contains all functions, but for a general F it requires additional structure and is not easy to verify. We include this proposition to connect the AsymRE objective with the game-theoretic formulation in the offline RL literature; the finite-sample analysis below does not rely on it.
Finite Sample Analysis We now analyze the finite-sample guarantee of the AsymRE update. Compared with the all-policy coverage required by GRPG (Theorem 3), the pessimism induced by the baseline shift allows us to obtain a guarantee under single-policy coverage. Define the empirical AsymRE update
A direct computation (Eq. (21)) gives ∇LD,SFT+VM(π)=2ηβ∇ED,AsymRE(π) when δ=2mηm−1, so the AsymRE update is the gradient field of LD,SFT+VM, and we analyze its minimizer. For a policy class Π supported on πref, let N(Π,ϵ) denote its ϵ-covering number, with cover elements taken in Π, under the trajectory-level log-ratio metric
We also need the following closure condition on Π.
Assumption 2. For any π1,π2∈Π and α∈[0,1], there exists π3∈Π such that for all s1,
Pπ3(τ∣s1)∝Pπ1(τ∣s1)αPπ2(τ∣s1)1−α.
We then have the following result.
Theorem 5. Let A be finite and β≤1. Let Π be a policy class supported on πref satisfying Assumption 2, and let
π^∈π∈ΠargminLD,SFT+VM(π),
with η=n. Assume (i) π∗∈Π; (ii) there exists B<∞ such that βlogPπref(τ∣s1)Pπ(τ∣s1)≤B for all π∈Π, s1, and τ∈supp(Pπref(⋅∣s1)). Then for any comparator policy π supported on πref with sups1∈supp(ρ)βKL(Pπ(⋅∣s1)∥Pπref(⋅∣s1))≤B, with probability at least 1−ζ,
Proof sketch. The key step is to view LD,SFT+VM through the max-min game Eq. (5). Reparameterizing policies as reward models via Rπ=βlogPπrefPπ, minimizing LD,SFT+VM over Π is the same as solving the min-max version of the game over this reward class (Proposition F.9): for each reward model the best-responding trajectory distribution has a closed form, and plugging it in recovers the SFT + VM objective up to a constant. Assumption 2 provides the convexity needed for a minimax theorem, which swaps min-max into max-min. In the max-min form, π^ maximizes the value under the most pessimistic reward model that is consistent with the data, so overestimation off the data support is controlled; this is what allows the regret to be charged only to the coverage of the comparator, giving single-policy instead of all-policy coverage (Theorem F.5). See Appendix F.
Remark 5. Note that the resulting baseline shift δ scales as Θ(1/n). Therefore, although π∗ is no longer an exact stationary point of the AsymRE update, it remains an approximate stationary point with an O(1/n) advantage shift.
Remark 6. Assumption 2 provides the convexity needed to invoke a minimax theorem, which is central to our analysis: it allows swapping the min-max problem solved by AsymRE into the max-min game Eq. (5); a similar condition appears in Liu et al. (2024). We discuss when it holds and what it costs in Appendix F.3.
6 Conclusion
We provided a unified theoretical analysis of off-policy policy gradient for LLM post-training, showing that at π∗ only two choices are consistent, i.e., preserve π∗ as a stationary point: trajectory-level importance weighting, which suffers from the curse of horizon, and KL regularization with an optimal soft value baseline. We identified the latter with the GRPG update, a variant of GRPO and similar empirically successful methods, established its equivalence to conditional variance minimization and trajectory-level Bellman residual minimization, and proved a finite-sample guarantee under all-policy coverage. We further showed that a constant baseline shift implicitly induces pessimism, admits a max-min game interpretation, and upgrades the guarantee to single-policy coverage.
Acknowledgments
We acknowledge support of the DARPA AIQ Award.
References
Arash Ahmadian, Chris Cremer, Matthias Gallé, Marzieh Fadaee, Julia Kreutzer, Olivier Pietquin, Ahmet Üstün, and Sara Hooker. Back to basics: Revisiting reinforce-style optimization for learning from human feedback in llms. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12248–12267, 2024.
Charles Arnal, Gaëtan Narozniak, Vivien Cabannes, Yunhao Tang, Julia Kempe, and Remi Munos. Asymmetric reinforce for off-policy reinforcement learning: Balancing positive and negative rewards. arXiv preprint arXiv:2506.20520, 2025.
Yuntao Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, Tom Henighan, et al. Training a helpful and harmless assistant with reinforcement learning from human feedback. arXiv preprint arXiv:2204.05862, 2022.
Ching-An Cheng, Tengyang Xie, Nan Jiang, and Alekh Agarwal. Adversarially trained actor critic for offline reinforcement learning. In International Conference on Machine Learning, pages 3852–3878. PMLR, 2022.
Thomas Degris, Martha White, and Richard S Sutton. Off-policy actor-critic. arXiv preprint arXiv:1205.4839, 2012.
Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Vlad Mnih, Tom Ward, Yotam Doron, Vlad Firoiu, Tim Harley, Iain Dunning, et al. Impala: Scalable distributed deep-rl with importance weighted actor-learner architectures. In International conference on machine learning, pages 1407–1416. PMLR, 2018.
Ky Fan. Minimax theorems. Proceedings of the National Academy of Sciences, 39(1):42–47, 1953.
Scott Fujimoto and Shixiang Shane Gu. A minimalist approach to offline reinforcement learning. Advances in neural information processing systems, 34:20132–20145, 2021.
Scott Fujimoto, David Meger, and Doina Precup. Off-policy deep reinforcement learning without exploration. In International conference on machine learning, pages 2052–2062. PMLR, 2019.
Matthieu Geist, Bruno Scherrer, and Olivier Pietquin. A theory of regularized markov decision processes. In International conference on machine learning, pages 2160–2169. PMLR, 2019.
Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, et al. Deepseek-r1 incentivizes reasoning in llms through reinforcement learning. Nature, 645(8081):633–638, 2025.
Han Guo, Bowen Tan, Zhengzhong Liu, Eric Xing, and Zhiting Hu. Efficient (soft) q-learning for text generation with limited good data. In Findings of the Association for Computational Linguistics: EMNLP 2022, pages 6969–6991, 2022.
Tuomas Haarnoja, Haoran Tang, Pieter Abbeel, and Sergey Levine. Reinforcement learning with deep energy-based policies. In International conference on machine learning, pages 1352–1361. PMLR, 2017.
Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In International conference on machine learning, pages 1861–1870. Pmlr, 2018.
Kaixuan Ji, Guanlin Liu, Ning Dai, Qingping Yang, Renjie Zheng, Zheng Wu, Chen Dun, Quanquan Gu, and Lin Yan. Enhancing multi-step reasoning abilities of language models through direct q-function optimization. arXiv preprint arXiv:2410.09302, 2024.
Nan Jiang and Lihong Li. Doubly robust off-policy value evaluation for reinforcement learning. In International conference on machine learning, pages 652–661. PMLR, 2016.
Nan Jiang and Tengyang Xie. Offline reinforcement learning in large state spaces: Algorithms and guarantees. Statistical Science, 40(4):570–596, 2025.
Ying Jin, Zhuoran Yang, and Zhaoran Wang. Is pessimism provably efficient for offline rl? In International conference on machine learning, pages 5084–5096. PMLR, 2021.
Sascha Lange, Thomas Gabel, and Martin Riedmiller. Batch reinforcement learning. In Reinforcement learning: State-of-the-art, pages 45–73. Springer, 2012.
Sergey Levine, Aviral Kumar, George Tucker, and Justin Fu. Offline reinforcement learning: Tutorial, review, and perspectives on open problems. arXiv preprint arXiv:2005.01643, 2020.
Yao Liu, Adith Swaminathan, Alekh Agarwal, and Emma Brunskill. Off-policy policy gradient with state distribution correction. arXiv preprint arXiv:1904.08473, 2019.
Zhihan Liu, Miao Lu, Shenao Zhang, Boyi Liu, Hongyi Guo, Yingxiang Yang, Jose Blanchet, and Zhaoran Wang. Provably mitigating overoptimization in rlhf: Your sft loss is implicitly an adversarial regularizer. Advances in Neural Information Processing Systems, 37:138663–138697, 2024.
Ofir Nachum, Mohammad Norouzi, Kelvin Xu, and Dale Schuurmans. Bridging the gap between value and policy based reinforcement learning. Advances in neural information processing systems, 30, 2017.
Gergely Neu, Anders Jonsson, and Vicenc Gómez. A unified view of entropy-regularized markov decision processes. arXiv preprint arXiv:1705.07798, 2017.
Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. Advances in neural information processing systems, 35:27730–27744, 2022.
Jan Peters and Stefan Schaal. Reinforcement learning of motor skills with policy gradients. Neural networks, 21(4):682–697, 2008.
Doina Precup, Richard S Sutton, and Satinder Singh. Eligibility traces for off-policy policy evaluation. 2000.
Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. Advances in neural information processing systems, 36:53728–53741, 2023.
John Schulman, Xi Chen, and Pieter Abbeel. Equivalence between policy gradients and soft q-learning. arXiv preprint arXiv:1704.06440, 2017a.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017b.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024.
Richard S Sutton, David McAllester, Satinder Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approximation. Advances in neural information processing systems, 12, 1999.
Yunhao Tang, Taco Cohen, David W Zhang, Michal Valko, and Rémi Munos. Rl-finetuning llms from on-and off-policy data with a single algorithm. arXiv preprint arXiv:2503.19612, 2025.
Heinrich Von Stackelberg. Market structure and equilibrium. Springer Science & Business Media, 2010.
Huaijie Wang, Shibo Hao, Hanze Dong, Shenao Zhang, Yilin Bao, Ziran Yang, and Yi Wu. Offline reinforcement learning for llm multi-step reasoning. In Findings of the Association for Computational Linguistics: ACL 2025, pages 8881–8893, 2025.
Peng-Yuan Wang, Ziniu Li, Tian Xu, Bohan Yang, Tian-Shuo Liu, ChenYang Wang, Xiong-Hui Chen, Yi-Chen Li, Tianyun Yang, Congliang Chen, et al. Off-policy value-based reinforcement learning for large language models. arXiv preprint arXiv:2603.23355, 2026.
Ziyu Wang, Victor Bapst, Nicolas Heess, Volodymyr Mnih, Remi Munos, Koray Kavukcuoglu, and Nando de Freitas. Sample efficient actor-critic with experience replay. In International Conference on Learning Representations, 2017.
Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3):229–256, 1992.
Tengyang Xie, Ching-An Cheng, Nan Jiang, Paul Mineiro, and Alekh Agarwal. Bellman-consistent pessimism for offline reinforcement learning. Advances in neural information processing systems, 34:6683–6694, 2021.
Chaorui Yao, Yanxi Chen, Yuchang Sun, Yushuo Chen, Wenhao Zhang, Xuchen Pan, Yaliang Li, and Bolin Ding. Group-relative reinforce is secretly an off-policy algorithm: Demystifying some myths about grpo and its friends. arXiv preprint arXiv:2509.24203, 2025.
Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Lingjun Liu, et al. Dapo: An open-source llm reinforcement learning system at scale. arXiv preprint arXiv:2503.14476, 2025.
Yurun Yuan, Fan Chen, Zeyu Jia, Alexander Rakhlin, and Tengyang Xie. Trajectory bellman residual minimization: A simple value-based method for llm reasoning. arXiv preprint arXiv:2505.15311, 2025.
Brian D Ziebart. Modeling purposeful adaptive behavior with the principle of maximum causal entropy. Carnegie Mellon University, 2010.
Brian D Ziebart, Andrew L Maas, J Andrew Bagnell, Anind K Dey, et al. Maximum entropy inverse reinforcement learning. In Aaai, volume 8, pages 1433–1438. Chicago, IL, USA, 2008.
Daniel M Ziegler, Nisan Stiennon, Jeffrey Wu, Tom B Brown, Alec Radford, Dario Amodei, Paul Christiano, and Geoffrey Irving. Fine-tuning language models from human preferences. arXiv preprint arXiv:1909.08593, 2019.
Appendix
A Notation
Table 1 summarizes the reward, value and objective notation used throughout the paper. Symbols that appear only inside a single proof are defined where they are used.
Symbol
Meaning
Defined in
Rewards and returns
rh∗,R∗(τ)
true per-step reward and trajectory reward
Sec. 2.1
rh,R,R
additive reward model and reward class
Sec. 5
Rπ,β∗(τ)
KL-regularized return R∗(τ)
Sec. 2.1
Rπ,RΠ
β∑hlogπref,h(ah∣sh)πh(ah∣sh)policy-induced reward βlogPrefπ(τ∣s1)Pπ(τ∣s1) and {Rπ:π∈Π}
App. F.2
Value functions and induced policies
Qβ,hπ,Vβ,hπ
soft Q and V of π under r∗
Sec. 2.1
Qβ,h∗,Vβ,h∗
optimal soft Q and V under r∗
Sec. 2.1
V1∗(s1)
unregularized optimal value maxτR∗(τ)
Sec. 2.1
f=(fh)h,F
candidate Q-function and value function class
Sec. 4.1
πf,Zf,h,Vf,h
soft-greedy policy πf,h∝πref,hexp(fh/β), its normalizer, and Vf,h=βlogZf,h
Sec. 4.1App. D.1
Vf,hπ
soft value of f under π, Ea∼πh[fh−βlogπref,hπh]
Sec. 5
Tβ,h∗,Tβ,hπ
soft Bellman optimality operator and soft Bellman operator
Sec. 4.1, Sec. 5
QR,h,VR,h,πR,ΠR
soft dynamic programming under reward model R, the induced policy, and {πR:R∈R}
App. F.1
ZR(s1)
normalizer with PπR(τ∣s1)=Pπref(τ∣s1)eR(τ)/β/ZR(s1)
App. F.1
Objectives
∇Eμ,PG;ωπ,Aπ,bπ
off-policy policy-gradient update template; weight, advantage and baseline
Eq. (1)
∇Eμ,GRPG,∇ED,GRPG
GRPG update, population and empirical
Sec. 4.1, 4.2
Eμ,VM,ED,VM
conditional variance of Rπ,β∗ given s1, population and empirical
Sec. 4.1, 4.2
Eμ,TBRM
trajectory Bellman residual
Sec. 4.1
∇Eμ,AsymRE,∇ED,AsymRE
AsymRE update, population and empirical
Sec. 5
LD,SFT+VM
β⋅SFT+η⋅ED,VM
Sec. 5
Lμ(π,R),Eμ(R)
trajectory-level game: value gap under reward modelR: variance of R∗−R
Sec. 5
L~μ(π,f),E~μ(π,f)
step-level counterparts with a value function f
Sec. 5
P;ϕ,ϕD;LD,ED
trajectory distributions supported on πref; game pay-off L+ηE and its empirical version
App. F.1
Lμ∘,LD∘,ϕD∘
the same with the βKL(Pμ∥Pπref) term removed
App. F.1
Table 1: Summary of notation.
Table 2 collects the abbreviations used for the objectives and algorithms discussed in the paper.
Abbreviation
Meaning
Reference
IS
importance sampling
Sec. 3
PG
policy gradient
Sec. 2.2
GRPG
group-relative policy gradient; the KL-route update studied here, a variant of the GRPO update
Sec. 4, Shao et al. (2024)
VM
conditional variance minimization; the objective whose gradient field is the GRPG update
Sec. 4.1, Tang et al. (2025)
TBRM
trajectory Bellman residual minimization; the value-based objective whose minimizers induce the same policies as VM
Sec. 4.1, Yuan et al. (2025)
AsymRE
asymmetric REINFORCE; GRPG with a constant shift in the grouped-mean baseline
Sec. 5, Arnal et al. (2025)
ATAC
adversarially trained actor-critic; the step-level game-theoretic formulation of offline RL
Cheng et al. (2022)
GRPO
group-relative policy optimization
Shao et al. (2024)
SFT
supervised fine-tuning; here, toward the behavior policy μ
Sec. 5
BC
behavior cloning
App. G
Table 2: Abbreviations for the objectives and algorithms discussed in the paper.
B Related Work
Classical Off-Policy Policy Gradient Off-policy policy gradient has a long history, and most methods make the update valid by recovering a target-policy quantity from behavior data. Per-decision importance sampling (Precup et al., 2000), originally developed for evaluation, and its use in policy optimization (Jiang and Li, 2016; Wang et al., 2017; Espeholt et al., 2018) recover expectations under π; density-ratio methods recover the state distribution dπ (Liu et al., 2019); off-policy actor-critic (Degris et al., 2012) recovers Qπ through a learned critic, with per-step ratios on the actor side, and its update approximates the gradient of a behavior-weighted objective rather than J(π). In all three cases the target is the on-policy gradient or a surrogate of it, and validity follows from unbiasedness. The KL route studied in this paper is different in kind: it recovers none of these quantities and is not unbiased; it is consistent because, under KL regularization with a grouped-mean baseline, the optimality condition holds along every trajectory and the advantage vanishes at π∗ (Section 4). This is what allows it to dispense with importance weights, density ratios, and critics, at the price of requiring deterministic transitions and a coverage condition. Relatedly, in the on-policy setting the baseline only affects variance, and Peters and Schaal (2008) derive the baseline that minimizes it; in our off-policy setting the baseline determines whether π∗ remains a stationary point at all, and a constant shift in it implements pessimism (Section 5).
Policy Gradient and LLM Post-Training KL-regularized policy gradient approach is the de facto template for LLM post-training and reasoning fine-tuning, instantiated by PPO (Schulman et al., 2017b), group-relative variants such as GRPO and DAPO (Shao et al., 2024; Yu et al., 2025), and REINFORCE-leave-one-out style updates (Williams, 1992; Ahmadian et al., 2024). A parallel line of recent work seeks to make these updates principled when the rollout policy differs from the learner: AGRO (Tang et al., 2025) casts policy improvement as conditional variance minimization in the contextual-bandit setting; TBRM (Yuan et al., 2025) applies trajectory-level Bellman residual minimization with finite-sample guarantees; and AsymRE (Arnal et al., 2025) introduces a constant baseline shift in REINFORCE that asymmetrically up- or down-weights positive and negative samples. Closely related, Yao et al. (2025) provide an empirical study arguing that group-relative REINFORCE is implicitly off-policy—an observation our theory makes precise. We unify these threads through (i) a stationarity-based necessary characterization showing that, within a broad family of off-policy PG objectives, at the optimal policy, only trajectory-level importance weighting or KL regularization paired with an optimal soft value baseline are consistent, i.e., preserve the optimal policy as a stationary point of the off-policy update (Proposition 1); (ii) a value-based equivalence between
GRPG and trajectory Bellman residual minimization that ports TBRM's finite-sample guarantees to a policy-gradient method (Proposition 2 and Theorem 3); and (iii) an upgrade of these guarantees to single-policy coverage when AsymRE's baseline shift is interpreted as pessimism (Theorem 5).
Value-Policy Equivalence in Reinforcement Learning Our proportional-gradient identity (Eq. (3)) and GRPG–TBRM equivalence (Proposition 2) build on a long line of work in KL-regularized (equivalently, entropy-regularized) reinforcement learning, originating from the maximum-entropy formulation of Ziebart et al. (2008); Ziebart (2010); Neu et al. (2017); Geist et al. (2019), in which a Kullback–Leibler penalty toward a reference distribution is added to the reward objective. This framework now serves as the standard backbone for LLM post-training and admits both policy-based and value-based instantiations, whose connections have been the subject of substantial study. One line of algorithms, in the soft Q-learning style—SQL (Haarnoja et al., 2017), the policy-gradient/soft-Q-learning equivalence of Schulman et al. (2017a), and its adaptation to text generation (Guo et al., 2022)—formulates KL-regularized policy improvement as fitting a soft Q-function via a single-step Bellman residual. A parallel actor-critic line, including Path Consistency Learning (PCL) of Nachum et al. (2017) and Soft Actor-Critic (Haarnoja et al., 2018), exploits the optimality conditions of entropy-regularized policies as a multi-step softmax temporal-consistency relation along arbitrary action sequences, with recent LLM-side instantiations such as Ji et al. (2024); Wang et al. (2025). TBRM (Yuan et al., 2025) brings this value-based line to LLM reasoning via a clean trajectory-level Bellman residual minimization objective with finite-sample guarantees; see also Wang et al. (2026) for related work in this direction. Our analysis extends these connections to the trajectory level under off-policy data: the proportional-gradient identity recasts the GRPG (policy-gradient) update as the gradient of the VM objective, whose minimizers coincide with those of TBRM (Proposition 2), thereby porting TBRM's finite-sample function-approximation regret guarantees to the policy-gradient side (Theorem 3).
Offline Reinforcement Learning Our analysis of AsymRE (Section 5) plugs into a rich body of theoretical results in offline RL; see Jiang and Xie (2025) for a recent survey, and Levine et al. (2020); Fujimoto et al. (2019); Lange et al. (2012) for earlier perspectives on the offline (or batch) regime. A central principle is pessimism in the face of uncertainty, which counteracts distribution shift by penalizing value estimates in regions poorly covered by data (Jin et al., 2021; Xie et al., 2021; Cheng et al., 2022). Closest to our algorithmic perspective are pessimistic and adversarially trained actor-critic methods (Xie et al., 2021; Cheng et al., 2022; Liu et al., 2024), where the actor maximizes a value function chosen pessimistically from a confidence set; the Stackelberg formulation we use to interpret AsymRE as a max-min game (Eq. (6)) traces to the ATAC framework of Cheng et al. (2022), originally developed for the infinite-horizon, no-KL setting, and was extended to the contextual-bandit, KL-regularized setting under the name RPO by Liu et al. (2024). Compared to RPO, which operates in a preference-learning setting and enforces value consistency through a DPO-style loss, our analysis enforces consistency through a conditional-variance loss and operates at the trajectory level. A complementary line of work imposes pessimism implicitly through behavior regularization, most prominently TD3+BC (Fujimoto and Gu, 2021), where a behavior-cloning term toward the offline distribution is added to the actor loss; the AsymRE gradient decomposes into a variance-minimizing critic plus exactly such a behavior-cloning term toward the offline policy, which we view as a natural LLM-side instantiation of the TD3+BC principle.
C Technical Lemmas
First, we introduce this critical change-of-trajectory lemma.
Lemma C.1. (Change of Measure, Lemma 1 of Yuan et al. (2025)) Given an MDP M=(H,S,A,T,r∗,ρ) and two Markovian policies π,μ, it holds, for any g=(gh)h=1H with gh:S×A→R,
Proof. Fix s1∈supp(ρ), h∈[H], a∈A, and a state s=(s1,a1,…,ah−1) with initial state s1. Since Eτ∼μ averages over the initial state, Eq. (2) for this (h,s,a) reads
Both indicators contain 1{sh(τ)=s}, and in the autoregressive setting a trajectory starting from s1′=s1 has sh(τ)=(s1′,a1,…,ah−1)=s. Hence every summand with s1′=s1 is zero, and dividing the remaining one by ρ(s1)>0 gives
For a fixed s1, define M(τ):=Pμ(τ∣s1)ωπ∗(τ)Aπ∗(τ), and for any prefix sh=(s1,a1,…,ah−1), define m(sh):=∑τ:has prefix shM(τ). In the autoregressive setting, m(sH+1)=M(τ) when sH+1(τ)=sH+1. Condition Eq. (12) states exactly that, for every h, sh and a,
where for τ∈/supp(Pμ(⋅∣s1)) the left side is 0 by definition of M.
Now we consider two cases. First consider the case without KL regularization, where Aπ∗(τ)=R∗(τ)−bπ∗(s1). Fix τ∈supp(Pμ(⋅∣s1)) with R∗(τ)=bπ∗(s1), so that Aπ∗(τ)=0 and Eq. (13) gives
ωπ∗(τ)=Aπ∗(τ)m(s1)⋅Pμ(τ∣s1)Pπ∗(τ∣s1).
Without KL regularization, π∗ is supported on the set of reward-maximizing trajectories Topt(s1):={τ:R∗(τ)=V1∗(s1)}. If τ∈/Topt(s1), then Pπ∗(τ∣s1)=0 and hence ωπ∗(τ)=0. If τ∈Topt(s1), then R∗(τ)=V1∗(s1)=bπ∗(s1) and the prefactor equals m(s1)/(V1∗(s1)−bπ∗(s1)). Both cases take the form
with K(s1):=m(s1)/(V1∗(s1)−bπ∗(s1)) if V1∗(s1)=bπ∗(s1), and K(s1):=0 otherwise, in which case every τ with R∗(τ)=bπ∗(s1) lies outside Topt(s1).
Now consider the case with KL regularization. By Eq. (11), Rπ∗,β∗(τ)=Vβ,1∗(s1) for every τ∈supp(Pπref(⋅∣s1))⊇supp(Pμ(⋅∣s1)), hence Aπ∗(τ)=Vβ,1∗(s1)−bπ∗(s1) is independent of τ. If Vβ,1∗(s1)=bπ∗(s1), dividing Eq. (13) by this constant gives, for every τ∈supp(Pμ(⋅∣s1)),
this implies πf∗∈argminπ∈ΠFEμ,VM(π). On the other hand, if π′∈argminπ∈ΠFEμ,VM(π), and suppose π′=πf, we construct fcf as above, then πfcf=πf=π′, then by Eq. (15)
Proof. Let δh(sh,ah):=logπh∗(ah∣sh)πh(ah∣sh), so that \sum_{h=1}^H \delta_h(s_h, a_h) = \log \frac{\mathbb{P}^\pi(\tau | s_1)}{\mathbb{P}^\pi^*(\tau | s_1)}. We decompose
where the inequality is because Eπ∗[∑h=1Hδh(sh,ah)∣s1]=−KL(Pπ∗(⋅∣s1)∥Pπ(⋅∣s1))≤0. To bound the two remaining terms, define g1(s1,a1):=δ1(s1,a1)−Eμ[∑h=1Hδh(sh,ah)∣s1] and gh:=δh for h≥2. Then for ν∈{π,π∗},
where the first equation is because s1∼ρ under both ν and μ; the first inequality is by Lemma C.1 with base measure μ; the second inequality is because Eμ[∑h=1Hgh(sh,ah)∣s1]=0 and ν∈Π. Applying this bound with ν=π and ν=π∗ to the two terms in the previous inequality proves the claim.
Finally, we prove the concentration for the empirical objective ED,VM in Eq. (4).
Lemma E.3. (Improved Excess Risk) Assume ∣Rπ,β∗(τ)∣≤Rmax for any π∈Π and any τ in the support of Pπref(⋅∣s1), π∗∈Π and ∣Π∣<∞, let π^∈argminπ∈ΠED,VM(π), then it holds, w.p. at least 1−ζ
Notice that we should also have Eμ[ℓi(π)]=Eμ,VM(π) and ED,VM(π)=n1∑i=1nℓi(π). Since ∣Rπ,β∗(τij)∣≤Rmax and m≥2, we have ℓi(π)≤m−1mRmax2≤2Rmax2, and therefore
where the last inequality is by 2ab≤a+b. Rearranging gives Eμ,VM(π)≤2ED,VM(π)+316nRmax2log(∣Π∣/ζ) for any π∈Π, in particular for π^. Finally, by Eq. (11), Rπ∗,β∗(τij)=Vβ,1∗(s1i) for all j, hence ℓi(π∗)=0 and ED,VM(π^)≤ED,VM(π∗)=0, which proves the claim.
Proof of Theorem 3 Now we use the above lemma to prove Theorem 3.
Proof. Under Assumption 1, ∣Rπ,β∗(τ)∣≤H+B for any π∈Π and any τ in the support of Pπref(⋅∣s1). Then we have, w.p. at least 1−ζ,
where the first equation is by Lemma E.1, the second equation is by the chain rule of KL divergence, the first inequality is by Lemma E.2, the next equation is because in Eq. (16), Vβ,1∗(s1) is a constant given s1, so that β2Es1∼ρVarμ[∑h=1Hlogπh∗(ah∣sh)π^h(ah∣sh)s1]=Es1∼ρVarμ[Rπ^,β∗(τ)s1]=Eμ,VM(π^), the last inequality is by Lemma E.3 with Rmax=H+B.
F Proofs from Section 5
F.1 Guarantee from Max-Min Game
In this subsection, we show that solving the empirical version of Eq. (5) gives a single-policy coverage guarantee (Theorem F.5). In the next subsection, we show that the shift in the baseline is equivalent to solving such a max-min game. The reward-induced policy and Lemmas F.1 and F.2 below are shared by both subsections.
as the set of conditional trajectory distributions supported on πref, so that Pπ∈P for any policy π supported on πref. Throughout this section, R denotes a class of additive reward models R(τ)=∑h=1Hrh(sh,ah), and ∥R∥∞:=supτ∣R(τ)∣. For R∈R and P∈P, let us define,
ϕ(P,R):=Lμ(P,R)+η⋅Eμ(R).
For a dataset D we defined before, define the sample version of the above objectives as,
Also we would slightly abuse the notation and denote ϕ(π,R) and ϕD(π,R) to denote ϕ(Pπ,R) and ϕD(Pπ,R) respectively.
The term βKL(Pμ(⋅∣s1)∥Pπref(⋅∣s1)) in Lμ and LD depends on neither P nor R. For the concentration analysis, we therefore write Lμ∘(P,R) and LD∘(P,R) for Lμ(P,R) and LD(P,R) with this term removed, and ϕD∘:=LD∘+ηED. Then ϕD and ϕD∘ have the same max-min solutions, \mathcal{L}_\mu^\circ(\mathbb{P}^\pi, R^*) - \mathcal{L}_\mu^\circ(\mathbb{P}^\pi', R^*) = J_\beta(\pi) - J_\beta(\pi') for any policies π,π′, and Lμ∘,LD∘ satisfy Lemma F.2 below as well.
For each R, we define the R-induced policy through the following procedure. Recursively, we define VR,H+1:=0 and for h=H,…,1 define
where ZR(s1):=∫Pπref(τ∣s1)exp(R(τ)/β)dτ is the normalizing constant, and πR is defined in Eq. (17). In particular, βlogZR(s1)=R(τ)−βlogPπref(τ∣s1)PπR(τ∣s1) for all τ∈supp(Pπref(⋅∣s1)).
where the third equation is by telescoping and VR,H+1=0, and the last equation is because both sides are probability distributions with the same unnormalized density, so exp(VR,1(s1)/β)=ZR(s1). The last claim follows by taking βlog of the closed form of PR.
Next we record that all the objectives above, as well as πR, are invariant to reward shifts that depend only on s1.
Lemma F.2. For any additive R and c:S→R, let Rc(τ):=R(τ)+c(s1). Then Rc is additive, πRc=πR, and for any P∈P and dataset D,
Proof. Additivity holds by absorbing c(s1) into r1. In Lμ and LD, the two expectations of R are taken over trajectories with the same initial state, so c(s1) cancels; Eμ and ED are conditional variances given s1 and are unaffected by adding c(s1). Finally, the shift enters QR,1 and VR,1 identically and cancels in Eq. (17).
The following result is a fast-rate concentration on the excess risk of the variance minimization loss. For ϵ>0, let N∞(R,ϵ) denote the ϵ-covering number of R under ∥⋅∥∞, with cover elements taken in R.
Proof. Since R∗(τ)∈[0,H] and ∣R(τ)∣≤B, the values R∗(τij)−R(τij) lie in [−(H+B),H+B], hence 0≤ei(R)≤m−1m(2(H+B))2≤8(H+B)2 and Var(ei(R))≤8(H+B)2E[ei(R)]=8(H+B)2Eμ(R). Let R1/n⊆R be a 1/n-cover of R with ∣R1/n∣≤N∞(R,1/n). By Bernstein's inequality and a union bound over R1/n, w.p. at least 1−ζ, for any R~∈R1/n,
where the second inequality is by 2ab≤a+b. Now for any R∈R, pick R~∈R1/n with ∥R−R~∥∞≤1/n. Writing zj:=R∗(τij)−R(τij), z~j:=R∗(τij)−R~(τij), and zˉ,z~ˉ for their averages over j, we have ∣zj−zˉ∣,∣z~j−z~ˉ∣≤4(H+B) and ∣(zj−zˉ)−(z~j−z~ˉ)∣≤2/n, so that
Lemma F.4. Assume β≤1 and supR∈R∥R∥∞≤B. Then for any fixed policy π supported on πref with sups1∈supp(ρ)βKL(Pπ(⋅∣s1))∥Pπref(⋅∣s1))≤B, w.p. at least 1−ζ,
so that LD∘(P,R)=n1∑i=1nℓi(P,R) and Eμ[ℓi(P,R)]=Lμ∘(P,R). Under the assumptions, ∣ℓi(Pπ,R)∣≲H+B for any R∈R. Moreover, by Lemma F.1, βKL(PRπ(⋅∣s1))∥Prefπ(⋅∣s1))=EPRπ(⋅∣s1)[R(τ)]−βlogZR(s1), so that
and ∣βlogZR(s1)∣≤∥R∥∞ gives ∣ℓi(PπR,R∗)∣≲H+B.
Let Rβ/n⊆R be a β/n-cover of R under ∥⋅∥∞ with ∣Rβ/n∣≤N∞(R,β/n). For each fixed R~∈Rβ/n, the variables {ℓi(Pπ,R~)}i∈[n] are i.i.d. with mean Lμ∘(Pπ,R~) and bounded by O(H+B), and likewise for {ℓi(PR~π,R∗)}i∈[n]. By Hoeffding's inequality and a union bound over Rβ/n, w.p. at least 1−ζ,
Now fix R∈R and pick R~∈Rβ/n with ∥R−R~∥∞≤β/n≤1/n. For every i and every realization of the data, ∣ℓi(Pπ,R)−ℓi(Pπ,R~)∣≤2∥R−R~∥∞≤2/n. For the second bound, exp((R(τ)−R~(τ))/β)∈[e−1/n,e1/n] pointwise, and integrating against Pπref(⋅∣s1) gives ZR~(s1)/ZR(s1)∈[e−1/n,e1/n] as well. Hence, by Lemma F.1, the density ratio PπR~(τ∣s1)PπR(τ∣s1)=exp(βR(τ)−R~(τ))ZR(s1)ZR~(s1) lies in [e−2/n,e2/n], so ∥PπR(⋅∣s1)−PπR~(⋅∣s1)∥1≤e2/n−1≤4/n for n≥2, and by the expression of ℓi(PπR,R∗) above,
where the first inequality writes EπR[R∗−R]−EπR~[R∗−R~]=EπR[R~−R]+(EπR−EπR~)[R∗−R~], and the last term is bounded by β/n by the bound on ZR~/ZR. Averaging over i and taking expectations, the same two bounds hold for LD∘ and Lμ∘. Therefore, on the above event, for every R∈R the two deviations exceed those of its nearest R~ by at most 4/n and (4+8(H+B))/n respectively, which are dominated by the O((H+B)log(N∞(R,β/n)/ζ)/n) bound on the cover. This gives the claim.
Now we provide the regret bound.
Theorem F.5. Let β≤1 and η=n. Assume (1) supR∈R∥R∥∞≤B; (2) there exists Rˉ∈R such that Rˉ(τ)−R∗(τ) depends on τ only through s1; (3) there exists π^∈ΠR such that
Pπ^∈argmaxP∈PR∈RinfϕD(P,R).
Then for any comparator policy π supported on πref with sups1∈supp(ρ)βKL(Pπ(⋅∣s1)∥Pπref(⋅∣s1))≤B, w.p. at least 1−ζ,
Proof. Recall that Lμ∘,LD∘,ϕD∘ are Lμ,LD,ϕD with the term βKL(Pμ(⋅∣s1)∣∣Pπref(⋅∣s1)) removed, which depends on neither P nor R; hence Pπ^ is also a max-min solution of ϕD∘, and Jβ(π)−Jβ(π^)=Lμ∘(Pπ,R∗)−Lμ∘(Pπ^,R∗). We decompose
where the first inequality is by the optimality of Pπ^ over Pπ∈P. For the two supremum above, the second is a uniform deviation that we control at the end; we now bound the first supremum. Define g1(s1,a1):=r1∗(s1,a1)−r1(s1,a1)−Eμ[∑h=1H(rh∗(sh,ah)−rh(sh,ah))∣s1] and gh:=rh∗−rh for h≥2, so that Eμ[∑h=1Hgh(sh,ah)∣s1]=0. Then
in which the second equation is because s1∼ρ under both π and μ, the inequality is by Lemma C.1, and the last equation is because Eμ[∑h=1Hgh(sh,ah)∣s1]=0. Notice that, by Lemma F.3, we also have w.p. at least 1−ζ, −ηED(R)≤−2ηEμ(R)+ηϵn for all R∈R, where ϵn:=332n(H+B)2log(N∞(R,1/n)/ζ)+n48(H+B). Combining the two bounds,
where the first inequality takes R=Rˉ∈R from assumption (2) in the infimum; the first equation is by Lemma F.2, since Rˉ−R∗ depends only on s1; the second equation is because ED(R∗)=0; and the last inequality is by assumption (3). Finally, controlling the two uniform deviations by Lemma F.4, using N∞(R,1/n)≤N∞(R,β/n) and plugging in η=n, we obtain
All of those equivalences are established at the sample level, with LD,SFT+VM defined in Eq. (8). For a policy π supported on πref, define the policy-induced reward
It inverts the map R↦πR in Eq. (17), which is the trajectory-level analogue of the reparameterization in Rafailov et al. (2023); Liu et al. (2024).
Lemma F.6. For any π supported on πref, Rπ is additive, ZRπ(s1)=1, and πRπ=π. Consequently, for any policy class Π supported on πref, ΠRΠ=Π, and since ∥Rπ−Rπ′∥∞=βdist(π,π′), N∞(RΠ,βϵ)=N(Π,ϵ) for any ϵ>0.
Proof. Additivity is by the definition of Rπ, whose step-h component is βlogπref,h(a∣s)πh(a∣s), and ZRπ(s1)=∫Pπref(τ∣s1)Pπref(τ∣s1)Pπ(τ∣s1)dτ=1. For the recursion in Eq. (17), we show VRπ,h≡0 by backward induction. It holds for h=H+1 by definition, and if VRπ,h+1≡0, then
Therefore πRπ,h(a∣s)=πref,h(a∣s)exp(QRπ,h(s,a)/β)=πh(a∣s). The last claim is because Rπ(τ)−Rπ′(τ)=βlogPπ′(τ∣s1)Pπ(τ∣s1).
The key structural fact is that, under Assumption 2, RΠ is convex up to shifts depending only on s1.
Lemma F.7. Let Π be supported on πref with supπ∈Π∥Rπ∥∞<∞, and satisfy Assumption 2. Then for any R1,R2∈RΠ and α∈[0,1], there exist R3∈RΠ and c:S→R such that αR1+(1−α)R2=R3+c(s1). Consequently, for any P∈P and dataset D, ϕD(P,R3)≤αϕD(P,R1)+(1−α)ϕD(P,R2).
Proof. Write R1=Rπ1, R2=Rπ2, and let π3∈Π be given by Assumption 2 with normalizing constant Zα(s1), i.e., Pπ3(τ∣s1)=Pπ1(τ∣s1)αPπ2(τ∣s1)1−α/Zα(s1). Then
For the second claim, ϕD(P,R) is convex in R, since LD(P,R) is linear in R and ED(R) is a sample variance of R∗−R and thus a convex quadratic in R. Therefore, by Lemma F.2, ϕD(P,R3)=ϕD(P,αR1+(1−α)R2)≤αϕD(P,R1)+(1−α)ϕD(P,R2).
Lemma F.8 (Minimax theorem (Fan, 1953)). Let X be a nonempty compact topological space and Y a nonempty set (not necessarily topologized). Let g:X×Y→R be upper semicontinuous on X for every y∈Y. Suppose that g is concave-like on X and convex-like on Y, i.e., for any x1,x2∈X and α∈[0,1], there exists x3∈X such that g(x3,⋅)≥αg(x1,⋅)+(1−α)g(x2,⋅) on Y, and for any y1,y2∈Y and α∈[0,1], there exists y3∈Y such that g(⋅,y3)≤αg(⋅,y1)+(1−α)g(⋅,y2) on X. Then
x∈Xmaxy∈Yinfg(x,y)=y∈Yinfx∈Xmaxg(x,y).
The following proposition shows that minimizing the SFT+VM objective over Π is equivalent to solving the max-min game with the reward class RΠ.
Proposition F.9. Let A be finite, and let Π be supported on πref with supπ∈Π∥Rπ∥∞<∞, and satisfy Assumption 2. Given η,β>0, if π^∈argminπ∈ΠLD,SFT+VM(π), then
Pπ^∈P∈PargmaxR∈RΠinfϕD(P,R).
Proof. We first show that Rπ^ minimizes maxP∈PϕD(P,R) over R∈RΠ. By Lemma F.1, for any additive R the maximizer is PπR and R(τ)−βlogPπref(τ∣s1)PπR(τ∣s1)=βlogZR(s1), hence
where the first equation is because EPπR(⋅∣s1i)[R(τ)]−βKL(PπR(⋅∣s1i)∥Pπref(⋅∣s1i))=βlogZR(s1i); the second equation is by Lemma F.2 applied to the shift βlogZR(s1), with const collecting nβ∑iKL(Pμ(⋅∣s1i)∥Pπref(⋅∣s1i))+nmβ∑i,jlogPπref(τij∣s1i), which does not depend on R; the third equation is because R∗(τ)−βlogPπref(τ∣s1)PπR(τ∣s1)=RπR,β∗(τ) and the transition is deterministic.
Now take R=Rπ for π∈Π in Eq. (19). Since πRπ=π by Lemma F.6, we get maxP∈PϕD(P,Rπ)=LD,SFT+VM(π)+const for every π∈Π. Taking π=π^ and using the optimality of π^ over Π,
Rπ^∈R∈RΠargminP∈PmaxϕD(P,R),
i.e., Rπ^ solves the min-max problem. It remains to convert this into a max-min solution.
Next we verify the conditions of Lemma F.8 with X=P,Y=RΠ, and g=ϕD. Since ϕD depends on P only through {P(⋅∣s1i)}i∈[n], and each P(⋅∣s1i) is a distribution over the finitely many trajectories from s1i ( A and H are finite and transitions are deterministic), we may take X to be the set of such n-tuples, which is compact. For each R, ϕD(⋅,R) is continuous and concave on this set, being linear in P minus β times a KL divergence to Pπref, and ϕD is convex-like on RΠ by Lemma F.7. Hence Lemma F.8 gives
where in the first equation both brackets vanish, by the min-max optimality of Rπ^ and the max-min optimality of P^ respectively, and the second equation is by the minimax equality above. Both terms in the last line are nonnegative and hence zero, so P^ maximizes ϕD(⋅,Rπ^). By Lemmas F.1 and F.6, this maximizer equals PπRπ^=Pπ^ on {s1i}i∈[n], and since ϕD depends on P only through these initial states, Pπ^ also attains maxP∈PinfR∈RΠϕD(P,R).
Now we connect AsymRE to SFT+VM by computing the gradient. Writing Rˉπ,β∗(s1i):=m1∑j=1mRπ,β∗(τij) and using ∇Rπ,β∗(τij)=−β∑h=1H∇logπh(ahij∣shij), we have
where the first equation is because ∑j=1m(Rπ,β∗(τij)−Rˉπ,β∗(s1i))=0, so the term with ∇Rˉπ,β∗(s1i) vanishes. Comparing the first two lines with the definition of ∇ED,GRPG gives
∇ED,VM(π)=2β∇ED,GRPG(π).(20)
Notice that if δ=2mηm−1=Θ(n1), then it holds,
∇LD,SFT+VM(π)=2ηβ∇ED,AsymRE(π).(21)
Now we can directly prove Theorem 5.
Proof of Theorem 5
Proof. Condition (ii) reads supπ∈Π∥Rπ∥∞≤B, so by Proposition F.9, \mathbb{P}^\hat{\pi} \in \arg\max_{\mathbb{P} \in \mathcal{P}} \inf_{R \in \mathcal{R}_\Pi} \phi_D(\mathbb{P}, R). We now apply Theorem F.5 with R=RΠ, whose assumption (1) is again condition (ii). By Eq. (11), Rπ∗(τ)=R∗(τ)−Vβ,1∗(s1), so condition (i) gives Rˉ=Rπ∗∈RΠ. Finally, π^∈Π=ΠRΠ and N∞(RΠ,β/n)=N(Π,1/n) by Lemma F.6. The claim follows.
F.3 Discussion of Assumption 2
Assumption 2 is what allows the min-max problem solved by AsymRE to be swapped into the max-min game in Proposition F.9; it is the policy-side counterpart of the convexity of the reward class in Liu et al. (2024). We discuss when it holds and what it costs.
Reward-induced policy classes If one starts from a convex class R of additive rewards, then ΠR satisfies the assumption automatically: by Lemma F.1, PπR(τ∣s1)∝Pπref(τ∣s1)exp(R(τ)/β), so the sequence-level geometric mixture of PπR1 and PπR2 is PπR with Rˉ=αR1+(1−α)R2∈R. However, ΠR is not a tractable policy class: evaluating a single πR requires the backward recursion in Eq. (17), i.e., computing VR,h(s) at every state reachable at step h. In the autoregressive setting there are ∣A∣h−1 such states for each s1, so the cost is of order ∣A∣H, the same as summing over all trajectories to compute ZR(s1).
Token-level parameterizations Starting instead from the policy side, for a general parametric class with explicit per-step policies πθ,h(a∣s) and H>1, the assumption may not hold. When H=1 it reduces to closure under per-step geometric mixtures, which holds for any exponential family with a convex parameter set, the setting of Liu et al. (2024). We do not know how to remove the assumption within the present framework, and closing this gap is left as an open problem.
F.4 Proof of Proposition 4
Lemma F.10. For fixed π, f, it holds,
Lμ(π,Rfπ)=L~μ(π,f),Eμ(Rfπ)=E~μ(π,f).
Proof. The second equation is straightforward, just plug in. To prove the first equation, notice that,
We test the prediction that separates Theorem 3 from Theorem 5: GRPG ( δ=0) needs all-policy coverage, whereas AsymRE ( δ>0) is pessimistic and needs only single-policy coverage. All objectives, gradients, and metrics are computed exactly.
G.1 Setup
Environment All experiments use the same MDP, a deterministic complete binary tree with horizon H=6. The states at step h are the 2h−1 nodes at depth h, indexed so that s∈{2h−1,…,2h−1}, and the initial state is the root s1=1. The action space is A={0,1}, and the transition is deterministic: T(s,a)=2s+a moves to the left or right child. Each internal state s has a preferred action a+(s) with reward r∗(s,a+(s))=+1, and the other action has reward −1. The tree has 2H−1=63 internal states and 2H=64 distinct trajectories. The reference policy is uniform, πref(⋅∣s)=(1/2,1/2). The behavior policy takes the preferred action with probability 1−ϵ, i.e. μ(a+(s)∣s)=1−ϵ. Every subtree rooted at the same depth has the same soft value. The KL-regularized optimal policy is therefore identical at every state, with π∗(a+(s)∣s)=(1+e−2/β)−1; for example, this probability is 0.9933 for β=0.4. Hence ϵ controls how far μ is from π∗. We report two coverage coefficients, both computed exactly by forward propagation of occupancies. The first is the all-policy coefficient Call:=1+supπχ2(dHπ∥dHμ)=ϵ−H, whose supremum is attained by the policy that always takes the non-preferred action; it enters Theorem 3. The second is the single-policy coefficient C_{\pi^*} := \sum_{h=1}^H \chi^2(d_h^\pi^* \| d_h^\mu), where dhπ is the state-action occupancy at step h; it enters Theorem 5 with comparator π∗.
Experimental details Offline data. Each dataset D consists of n groups of m = 8 trajectories, sampled i.i.d. from μ starting at s1. We use n=128 unless stated otherwise. We use a tabular softmax policy πθ(a∣s)∝exp(θs,a), with the logits projected onto ∣θs,a∣≤8 for compactness. Methods. GRPG minimizes the empirical variance objective ED,VM. AsymRE with shift δ minimizes ED,VM+m−12mβδLD,SFT, whose gradient is 2β∇ED,AsymRE by Eq. (21). Theorem 5 prescribes δthm=2mnm−1. Behavior cloning (BC), the limit δ→∞, is the empirical maximum-likelihood policy, uniform at unvisited states. Optimization. Policies are initialized at πref. We train with full-batch projected Adam for at most 3000 steps, or until ∥∇∥∞<10−10. The objective depends on D only through the counts of the 64 trajectories and of the within-group trajectory pairs, so the cost per step does not depend on n. Evaluation. We report the KL-regularized regret Jβ(π∗)−Jβ(π^), computed exactly by dynamic programming. Tables report the median over independent datasets, with 5%-95% quantiles in brackets. Regret is in units of 10−3. All tables are reproduced exactly, in about two minutes on a CPU.
G.2 Ablations and Results
Baseline shift (Table 3) We fix ϵ=0.03, β=0.4, and n=128, and vary the shift δ. To measure pessimism directly, Table 3 also reports the unsupported mass U(π^):=∑hPrπ^(N(sh,ah)=0), the expected number of steps at which π^ takes an action never observed in D. The regret is U-shaped in δ. Without a shift, GRPG puts substantial probability on unobserved actions ( U=0.85) and incurs large regret. Any δ>0 removes this failure; at δ=0.1δthm the regret is already smaller by a factor of about 500. The minimum lies around the prescribed value δthm. Larger shifts drive U toward zero but bias the solution toward μ, and the regret approaches that of BC.
Table 3: Baseline-shift ablation (ϵ=0.03, β=0.4, n=128; 50 datasets), for which δthm=0.0387. Regret and U are in units of 10−3.
Method
δ
δ/δthm
Regret ↓
U(π^)
GRPG
0
0
1366 [1180, 1523]
853
AsymRE
0.0039
0.1
2.69 [2.19, 3.12]
3.33
AsymRE
0.0193
0.5
0.314 [0.216, 0.385]
0.576
AsymRE (Thm. 5)
0.0387
1
0.239 [0.178, 0.276]
0.279
AsymRE
0.0773
2
0.414 [0.335, 0.483]
0.138
AsymRE
0.309
8
4.06 [3.26, 4.77]
0.032
AsymRE
3.87
100
42.5 [34.5, 51.8]
0.003
BC
∞
∞
57.4 [46.9, 70.5]
0
All-policy coverage (Table 4) We fix β=0.8 (so π∗ is fixed) and n=128, and vary the behavior parameter ϵ. A smaller ϵ means that μ rarely takes the non-preferred action, so the all-policy coefficient Call=ϵ−H grows rapidly as ϵ decreases, from 1.4×103 at ϵ=0.3 to 1012 at ϵ=0.01. GRPG's regret grows accordingly, from 0.012 to 1.33, as predicted by Theorem 3. AsymRE's regret stays at least an order of magnitude below GRPG's (except at ϵ=0.3, where both are small) and does not track Call. Since changing ϵ also changes how well μ covers π∗, AsymRE's regret varies with Cπ∗ instead; it is largest at ϵ=0.01, where Cπ∗ is largest.
Table 4: All-policy coverage ablation (β=0.8, n=128; 30 datasets). Regret is in units of 10−3.
ϵ
Call
Cπ∗
GRPG regret ↓
AsymRE regret ↓
0.01
1012
19.8
1329 [1170, 1395]
59.1 [51.6, 65.6]
0.1
106
0.14
905 [777, 1138]
2.84 [1.44, 4.56]
0.2
1.6×104
2.38
253 [119, 343]
0.890 [0.657, 1.27]
0.3
1.4×103
7.58
12.2 [0.00, 35.7]
5.06 [3.70, 6.42]
KL parameter and single-policy coverage (Table 5) We now fix ϵ=0.01, so the behavior policy μ, and hence Call=1012, is fixed. We vary β instead. A larger β pulls π∗ toward the uniform πref, so π∗ takes the non-preferred action more and more often: with probability 6.7×10−3 at β=0.4, but 0.22 at β=1.6. Because μ takes this action only with probability 0.01, the actions that π∗ uses become increasingly rare in the data. As a result, the single-policy coefficient Cπ∗ grows from 0.023 at β=0.4 to 3.6×104 at β=1.6. GRPG performs poorly throughout, since Call is huge for every β. AsymRE's regret grows with Cπ∗, as predicted by Theorem 5. It is negligible while π∗ is well covered (β≤0.4), and at β=1.6, where single-policy coverage also fails, AsymRE is no better than GRPG.
Table 5: KL-parameter ablation (ϵ=0.01, so Call=1012; n=128; 20 datasets). π∗(aˉ) is the probability that π∗ takes the non-preferred action. Regret is in units of 10−3.
β
π∗(aˉ)
Cπ∗
GRPG regret ↓
AsymRE regret ↓
0.2
4.5×10−5
0.21
886 [676, 991]
0.278 [0.205, 0.358]
0.4
6.7×10−3
0.023
1538 [1329, 1628]
0.240 [0.217, 0.278]
0.8
0.076
19.8
1321 [1199, 1397]
58.4 [51.6, 64.5]
1.6
0.22
3.6×104
782 [714, 843]
769 [693, 831]
Large n (Table 6) Although δthm→0 as n grows, the benefit of the shift does not vanish over the range of n we simulate. We fix ϵ=0.001 and β=0.4 and increase n. GRPG's regret stays around 1.5 up to n=106. The reason is that the empirical GRPG objective has many minimizers: in every run we inspected, GRPG and π∗ both attain ED,VM<10−13. The data constrain only the observed trajectories, so probability can be moved toward unobserved actions without changing the loss. Any δ>0 breaks this tie in favor of the policy supported by the data, regardless of the size of δ.
Table 6: Large-n regime (ϵ=0.001, β=0.4; 5 datasets per n). Regret is in units of 10−3.
n
δthm
GRPG regret ↓
AsymRE regret ↓
102
4.4×10−2
1532[1470,2778]
3.27[3.24,7.91]
104
4.4×10−3
1497[1427,1561]
0.262[0.233,0.269]
106
4.4×10−4
1534[1533,1542]
0.186[0.180,0.197]
References (40)
Back to basics: Revisiting reinforce-style optimization for learning from human feedback in llms