HyperAIHyperAI

Command Palette

Search for a command to run...

Bellman Policy Optimization

Zhuoqing Song Haotian Xu Xikun Zhang Lidong Bing

Abstract

Reinforcement learning with verifiable rewards (RLVR) improves the reasoning capabilities of large language models (LLMs). We introduce Bellman Policy Optimization (BPO), a critic-free method derived from Policy Mirror Descent (PMD). For autoregressive generation with terminal rewards, BPO uses the Bellman equations to reformulate PMD as a trajectory-level objective. The reformulation avoids estimating state values at intermediate states. We prove that it has the same unique optimal solution as the original PMD objective. We derive the practical BPO loss by approximating this objective. Its mismatch-correction weight is a smoothed ratio of complementary token probabilities. Experiments on mathematical reasoning benchmarks demonstrate the efectiveness of BPO.

One-sentence Summary

Researchers at Apodex US, Inc. and Princeton University introduce Bellman Policy Optimization (BPO), a critic-free method derived from Policy Mirror Descent (PMD) that reformulates PMD via Bellman equations into a trajectory-level objective for autoregressive generation with terminal rewards, avoiding state-value estimation and using a smoothed complementary-token-probability mismatch-correction weight, with demonstrated effectiveness on mathematical reasoning benchmarks.

Key Contributions

  • Bellman Policy Optimization (BPO) is introduced as a critic-free reinforcement learning method derived from Policy Mirror Descent, using Bellman equations to formulate a trajectory-level objective that avoids estimating intermediate state values.
  • The method proves that this trajectory-level objective has the same unique optimal solution as the original PMD objective on states reachable under the rollout policy, and derives a practical token-level loss with a smoothed mismatch-correction weight based on complementary token probabilities.
  • On mathematical reasoning benchmarks, BPO achieves a peak average accuracy of 50.5% across AIME 2024 to 2026 with Qwen3-30B-A3B-Base, outperforming GRPO-ClipHigher, GSPO, CISPO, and DPPO by 3.1 to 11.0 percentage points, while ablations on Qwen3-4B-Base show similar performance across smoothing and truncation settings.

Introduction

Reinforcement learning with verifiable rewards (RLVR) is an important approach for improving reasoning in large language models, using outcome-level rewards from task-specific verifiers to guide training. Widely used methods such as GRPO normalize rewards within sampled groups and avoid a value model, but they rely on token-level importance-sampling ratios in PPO-style clipped objectives. Directly applying Policy Mirror Descent would require value estimates at intermediate states, and training a separate value model adds memory and computational costs while risking inaccurate estimates on reasoning tasks. The authors introduce Bellman Policy Optimization (BPO), a critic-free reformulation of Policy Mirror Descent that uses Bellman equations and policy likelihood ratios to convert terminal-reward advantages into a trajectory-level objective, thereby avoiding intermediate value or advantage estimation. The resulting practical loss replaces GRPO's importance-sampling ratio with a smoothed mismatch-correction weight, and BPO outperforms several baselines on mathematical reasoning benchmarks.

Method

The authors formulate Bellman Policy Optimization (BPO) as a critic-free policy optimization method for reinforcement learning with verifiable rewards. The method builds on group-based advantage estimation and policy mirror descent, replacing the importance-sampling ratio used in GRPO with a mismatch-correction weight derived from the PMD optimality condition.

For each prompt xxx, a group of GGG responses {yi}i=1G\{y^i\}_{i=1}^{G}{yi}i=1G is sampled from a rollout policy μ\muμ. Given a terminal reward Ri=R(x,yi)R_i = R(x, y^i)Ri=R(x,yi), BPO uses the same group-normalized advantage as GRPO:

A^i=Rimean({Rj}j=1G)std({Rj}j=1G).\hat A^i = \frac{R_i - \operatorname{mean}(\{R_j\}_{j=1}^{G})}{\operatorname{std}(\{R_j\}_{j=1}^{G})}.A^i=std({Rj}j=1G)Rimean({Rj}j=1G).

For a token ytiy_t^iyti in response yiy^iyi, the BPO per-token loss is defined as

Li,tBPO(π)=A^iMtimin{sg(ωti),C}logπ(ytix,y<ti),\mathcal{L}^{\mathrm{BPO}}_{i,t}(\pi) = -\hat A^i M_t^i \min\left\{\mathrm{sg}\left(\omega_t^i\right), C\right\} \log \pi(y_t^i \mid x, y_{<t}^i),Li,tBPO(π)=A^iMtimin{sg(ωti),C}logπ(ytix,y<ti),

where CCC is a constant cap for stability, and MtiM_t^iMti is a clipping mask. The main difference from GRPO is the weight ωti\omega_t^iωti, which replaces the importance-sampling ratio rtir_t^irti. This mismatch-correction weight is defined as

ωti=1+ϵμ(ytix,y<ti)1+ϵπ(ytix,y<ti),\omega_t^i = \frac{1+\epsilon-\mu(y_t^i \mid x, y_{<t}^i)} {1+\epsilon-\pi(y_t^i \mid x, y_{<t}^i)},ωti=1+ϵπ(ytix,y<ti)1+ϵμ(ytix,y<ti),

with additive smoothing controlled by ϵ\epsilonϵ. The mask MtiM_t^iMti follows the same clipping rule as GRPO, but uses ωti\omega_t^iωti instead of the importance ratio:

Mti={0,A^i>0 and ωti>1+ϵhigh,0,A^i<0 and ωti<1ϵlow,1,otherwise.M_t^i= \begin{cases} 0, & \hat A^i > 0 \text{ and } \omega_t^i > 1+\epsilon_{\mathrm{high}},\\ 0, & \hat A^i < 0 \text{ and } \omega_t^i < 1-\epsilon_{\mathrm{low}},\\ 1, & \text{otherwise}. \end{cases}Mti=0,0,1,A^i>0 and ωti>1+ϵhigh,A^i<0 and ωti<1ϵlow,otherwise.

Thus, BPO retains GRPO's per-token weighted log-likelihood form, while replacing the ratio rtir_t^irti by the truncated mismatch-correction weight min{sg(ωti),C}\min\{\mathrm{sg}(\omega_t^i), C\}min{sg(ωti),C}.

The derivation of BPO starts from advantage-based policy mirror descent. For each state st=(x,y<t)s_t=(x,y_{<t})st=(x,y<t), the PMD update is formulated as

maxπ(st)Δ(V)Eytπ(st)[Aμ(st,yt)]1ηDKL(π(st)μ(st)),\max_{\pi(\cdot \mid s_t)\in\Delta(\mathcal{V})} \mathbb{E}_{y_t\sim\pi(\cdot \mid s_t)} \left[A^\mu(s_t,y_t)\right] - \frac{1}{\eta} D_{\mathrm{KL}}\left(\pi(\cdot \mid s_t) \,\|\, \mu(\cdot \mid s_t)\right),π(st)Δ(V)maxEytπ(st)[Aμ(st,yt)]η1DKL(π(st)μ(st)),

where Aμ(st,yt)A^\mu(s_t,y_t)Aμ(st,yt) is the rollout-policy advantage function. The unique optimal policy has the form

π+(ytst)=μ(ytst)exp(ηAμ(st,yt))Zμ(st).\pi^{+}(y_t \mid s_t) = \frac{\mu(y_t \mid s_t)\exp\left(\eta A^\mu(s_t,y_t)\right)} {Z_\mu(s_t)}.π+(ytst)=Zμ(st)μ(ytst)exp(ηAμ(st,yt)).

Direct implementation of this update would require estimating advantages at intermediate states, typically through a learned critic. BPO avoids this by deriving a critic-free reformulation.

The authors show that PMD can be equivalently expressed through a squared trajectory-level residual objective. For a prompt-dependent positive weight ϕ(x)\phi(x)ϕ(x), the critic-free objective is

minπΠμL(π)=ExD,yPμ(x)[ϕ(x)δ(x,y;π,μ)22η],\min_{\pi \in \Pi_\mu} \mathcal{L}(\pi) = \mathbb{E}_{x\sim\mathcal{D},\, y\sim\mathbb{P}_\mu(\cdot \mid x)} \left[\phi(x)\cdot\frac{\delta(x,y;\pi,\mu)^2}{2\eta}\right],πΠμminL(π)=ExD,yPμ(x)[ϕ(x)2ηδ(x,y;π,μ)2],

where the trajectory-level residual is

δ(x,y;π,μ)=η(R(x,y)Vμ(x))t=1y(logπ(ytst)μ(ytst)+DKL(μ(st)π(st))).\delta(x,y;\pi,\mu) = \eta\left(R(x,y)-V^\mu(x)\right) - \sum_{t=1}^{|y|} \left( \log\frac{\pi(y_t \mid s_t)}{\mu(y_t \mid s_t)} + D_{\mathrm{KL}}\left(\mu(\cdot \mid s_t) \,\|\, \pi(\cdot \mid s_t)\right) \right).δ(x,y;π,μ)=η(R(x,y)Vμ(x))t=1y(logμ(ytst)π(ytst)+DKL(μ(st)π(st))).

This objective depends only on terminal rewards and the initial value function Vμ(x)V^\mu(x)Vμ(x), not on intermediate state values. The equivalence between this critic-free objective and the original PMD problem is established by rewriting the PMD optimality condition, combining it with Bellman equations over the trajectory, and showing that the PMD solution zeroes the residual δ\deltaδ.

The practical BPO loss is obtained from this reformulation in four steps. First, the squared-residual objective is linearized around π=μ\pi=\muπ=μ. Second, Vμ(x)V^\mu(x)Vμ(x) is estimated by the group mean reward, and ϕ(x)\phi(x)ϕ(x) is replaced by the inverse empirical reward standard deviation, yielding the normalized advantage A^i\hat A^iA^i. Third, the full reverse KL divergence is approximated by a binary KL divergence, which produces the token-level ratio

(logπ(ytisti)+DKLbin(μ(sti)π(sti);yti))=1μ(ytisti)1π(ytisti)logπ(ytisti).\nabla\left( \log \pi(y_t^i \mid s_t^i) + D_{\mathrm{KL}}^{\mathrm{bin}}\left(\mu(\cdot \mid s_t^i) \,\|\, \pi(\cdot \mid s_t^i); y_t^i\right) \right) = \frac{1-\mu(y_t^i \mid s_t^i)} {1-\pi(y_t^i \mid s_t^i)} \nabla \log \pi(y_t^i \mid s_t^i).(logπ(ytisti)+DKLbin(μ(sti)π(sti);yti))=1π(ytisti)1μ(ytisti)logπ(ytisti).

Additive smoothing is then applied to this ratio to obtain ωti\omega_t^iωti. Finally, GRPO-style masking and the cap CCC are applied, yielding the BPO gradient

Li,tBPO(π)=A^iMtimin{ωti,C}logπ(ytisti),\nabla \mathcal{L}^{\mathrm{BPO}}_{i,t}(\pi) = -\hat A^i M_t^i \min\left\{\omega_t^i, C\right\} \nabla \log \pi(y_t^i \mid s_t^i),Li,tBPO(π)=A^iMtimin{ωti,C}logπ(ytisti),

which corresponds to the BPO per-token loss in Equation (14).

Experiment

The experiments evaluate BPO for mathematical reasoning using Qwen3-30B-A3B-Base trained on the English subset of DAPO-Math-17k, with all methods sharing the same rollout and optimization settings except for the policy loss. Evaluation on AIME24, AIME25, and AIME26 using Pass@1 estimated through Avg@32 shows that BPO consistently achieves the highest accuracy across all benchmarks and at the end of training. The results indicate that BPO outperforms strong baselines including CISPO and DPPO, validating it as an effective policy optimization objective for improving mathematical reasoning.

BPO achieves the highest average accuracy and the highest score on each AIME benchmark among all compared policy loss methods. The strongest baseline at the best checkpoint is CISPO, and BPO outperforms it by 3.1 percentage points on average. At the end of training, BPO also exceeds the strongest final baseline, DPPO, in average accuracy. BPO leads all methods on AIME24, AIME25, and AIME26, as well as on the overall average. BPO improves over the strongest best-checkpoint baseline by 3.1 percentage points and over the strongest final baseline at the end of training.

The evaluation compares policy loss methods on AIME benchmarks, considering both the best checkpoint and end-of-training performance. BPO achieves the highest average accuracy and the highest score on every AIME benchmark, outperforming the strongest best-checkpoint baseline, CISPO, and the strongest final baseline, DPPO. It leads all compared methods on AIME24, AIME25, AIME26, and the overall average, demonstrating consistently superior results.