acceptodds
Published as a conference paper at NeurIPS 2026

OPPO: Bayesian Value Recursion for Token-Level Credit Assignment in Policy Optimization

Yu Li, Rui Miao, Tian Lan, Zhengling Qi

Abstract

Reinforcement learning methods for LLM reasoning typically assign a uniform advantage to every token in a trajectory, diluting the learning signal at pivotal reasoning steps and injecting noise at uninformative positions. Critic-free alternatives such as anchored distillation derive per-token signals from oracle-conditioned likelihood ratios, but apply the signal independently at each position. We propose Oracle-Prompted Policy Optimization (\n), which recovers exact token-level advantages through a Bayesian value recursion. Conditioning the model on the ground-truth answer during training yields per-token likelihood ratios that measure how much the answer revises the model's prediction; the ratios accumulate via Bayesian updating into a running estimate of the success probability at every position, from which the token-level advantage follows in closed form. The advantage factors as a product of a state weight, peaking where the outcome is most uncertain and vanishing where success or failure is already determined, and the per-token oracle evidence familiar from on-policy distillation, with no tunable weighting hyperparameter. The framework supports two estimator choices: a self-oracle mode in which the policy model provides the estimate through one additional forward pass, and a teacher-oracle mode in which a stronger model serves as the estimator. Experiments on two base models across seven reasoning benchmarks spanning mathematics, science, and code demonstrate consistent improvements over GRPO, DAPO, and SDPO, with the largest gains on competition-level tasks where reasoning chains are longest.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_yNcjOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper introduces Oracle-Prompted Policy Optimization (OPPO), a critic-free token-level credit assignment method that interprets answer-conditioned likelihood ratios as Bayesian updates to model the posterior of trajectory success. The derived Bayesian value recursion yields closed-form token advantages, enabling precise credit localization on pivotal tokens with minimal GRPO integration overhead. Evaluated across seven reasoning benchmarks, OPPO consistently outperforms GRPO and distillation baselines, showing scaling advantages that widen monotonically with response length.

Strengths and weaknesses

Strengths

  • Elegant Bayesian Formulation: OPPO reinterprets local oracle signals as natural Bayesian updates for the model's success belief, deriving a closed-form token advantage without needing trained critics or extra rollouts.
  • Adaptive Credit Localization: Natively satisfying the telescoping budget, the advantage factorizes into a dynamic weight Vt(1−Vt)V_t(1-V_t) that peaks under high uncertainty, precisely isolating credit onto pivotal steps without hyperparameter tuning
  • Empirical Improvement: OPPO consistently outperforms GRPO and SDPO baselines across seven benchmarks across three domains, with performance gains scaling monotonically as response length increases.

Weakness
To be honest, the overall quality of this paper is good. However, the evaluation part is its weak point:

  • Limited Model Size: Many same type of RL works evaluate on larger model than Qwen3-4B, often scaling up to Qwen3-8B or Qwen3-30B-A3B (MoE model) [1,2]. Thus the scaling behavior of OPPO haven't been proven.
  • Marginal Empirical Gain: Actually, the gain of OPPO compared to GRPO baseline is marginal (only 3.1% on AIME24 in Table1). While existing works [1,2] achieve higher improvements, up to 10%~20%. on AIME24.
  • Minor: It's better to report the performance of base model (before RL/OPD trained).

[1] VESPO: Variational Sequence-Level Soft Policy Optimization for Stable Off-Policy LLM Training
[2] Rethinking the Trust Region in LLM Reinforcement Learning

Questions

See weakness

Limitations

See weakness

Paper formatting concerns

No

Final justification

This paper addresses an important problem, token-level credit assignment, by introducing a novel method called Bayesian Value Recursion, which I believe can inspire future follow-up works. The empirical results are also solid and convincing. However, upon carefully re-reading the theoretical framework, the theory appears to be essentially a Bayesian filtering interpretation, which provides relatively limited theoretical support for the token-level advantage. Therefore, I maintain my score of 4.

1 comment

We thank the reviewer for the positive assessment and for recognizing the Bayesian formulation and the adaptive credit localization. The three weaknesses all concern evaluation, and we address each with additional experiments and a comparison of experimental settings below.

W1. Limited model size and unproven scaling behavior.

We would like to point out that the original submission already reported one form of scaling. Table 3(a) holds the student model fixed and scales the oracle from 4B to 32B, showing that the framework benefits monotonically from a stronger teacher. We now report the complementary case of scaling the trained student itself, evaluated on Qwen3-8B-Base under the identical protocol.

Qwen3-8B-BaseMath-500AMC'23AIME'24
GRPO87.878.533.8
Self-OPPO89.581.036.5

The gains persist at the 8B scale across all three benchmarks and we expect even stronger results of our method using teacher-OPPO. Validating on Qwen3-30B-A3B(MoE model) exceeds the compute available to us during the discussion period, and we will leave it to future work.

W2. Marginal empirical gain relative to the cited works.

The comparison turns on a distinction between absolute and relative improvement that is worth making explicit. The two cited works and OPPO train different base models with different methods, so the absolute point gain on a fixed benchmark does not serve as a common yardstick. The relative improvement over each method's own baseline is the fairer quantity, since it normalizes for the starting accuracy.

Measured on that basis, the AIME'24 gain the reviewer cites is not marginal. Self-OPPO on GRPO raises AIME'24 from 46.4 to 49.5, a relative improvement of 6.7%, and Teacher-OPPO on DAPO raises it from a DAPO baseline of 47.0 to 52.2, a relative improvement of 11.1%. On Phi-4-mini, the AMC'23 gain from 35.0 to 39.5 under Teacher-OPPO corresponds to a relative improvement of 12.9%. All of these figures are computed against baselines that are themselves strong post-trained checkpoints, whereas the large absolute gains in the cited works are measured on Qwen3-30B-A3B-Base.

The two cited works also address a different problem. VESPO targets off-policy stability under staleness and reports its gains as recoveries of runs that collapse without the correction, and DPPO replaces ratio clipping with a total-variation trust region. Neither performs token-level credit assignment, so their reported magnitudes reflect the size of the failure mode each repairs. We are glad to cite both works in the revision, since they are conceptually related to ours as recent advances in policy optimization, even though their setting does not permit a direct numerical comparison.

W3. Report the base model performance before RL.

We apologize for the confusion caused by a labelling error on our part. The first row of Table 1 does report the base model evaluated under our protocol before any RL or OPD training, and it serves as the common starting point from which GRPO, DAPO and OPPO all depart, but we mistakenly labelled this row SFT. We will correct the label to Baseline in the revision so that the pre-RL reference reads clearly, and we thank the reviewer for catching it. Table 5 carries the analogous Baseline model row for Phi-4-mini.

Reviewer_xKVGOpenReview ↗
Rating
4
Clarity
2
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper investigated the a single trajectory-level advantage to every token in GRPO, and they propose Oracle-Prompted Policy Optimization (OPPO), based on the observation: the oracle signal used by prior distillation-style methods for local discrimination is also the natural Bayesian update of the model’s belief about success. Further, this framework admits two different estimators: self-oracle or teacher-oracle. The experiments are conducted on several different training methods, including DRPO, DAPO, etc.

Strengths and weaknesses

Strengths

  1. The core problem is timely and worthy. The credit-assignment is important especially in the long-horizon settings.
  2. The notation and derivation are clear.
  3. The experiments are comprehensive across different domains

Weakeness

  1. I think the authors should polish the writing, which is difficult to follow and understand.
  2. The failure branch approximation is not elegant and desirable, while the authors also admit the gap of the approximation. And I am concerning the effects to the final performance.
  3. I am also curious about the time-cost of this method, since there is an oracle evaluation and credit assignment.
Questions

See weakness.

Limitations

yes

Paper formatting concerns

N/A

Final justification

Thanks for the detailed reponses, and I would like to raise the score to 4.

1 comment

We thank the reviewer for recognizing the timeliness of the credit-assignment problem and the clarity of the derivation. The three points concern presentation, the failure-branch approximation and cost, and we address each below.

W1. The writing is difficult to follow.

We sincerely apologize for the passages that impeded reading, and we will revise the exposition carefully in the revision. We recognize two places that most likely cause the difficulty. Sections 3.1 and 3.3 interleave two objects that are easy to conflate, namely the belief recursion that produces the running value VV and the advantage that is its one-step increment; we will present the recursion in full first and derive the advantage only afterwards. The notation for the exact Bayes factor λ∗λ*, its estimator λ^λ̂, the per-token evidence log λλ, and the three advantage forms ArawA_{raw}, A^Â and A~Ã is also introduced across Sections 3 and 4 without a single reference point, and we will add a notation table at the head of Section 3 to fix every symbol in one place. We would also be grateful if the reviewer could point to any specific passage that proved hardest to follow, so that our revision can address it directly.

W2. The failure branch approximation and its effect on final performance.

We adopted the marginal denominator as a trade-off, because conditioning the denominator directly on a wrong answer requires a second answer-conditioned forward pass and doubles the oracle budget. The substitution rests on the law of total probability in Eq. 24, under which the marginal is exactly the mixture of the success- and failure-conditional distributions weighted by VV and 1−V1 − V, and the resulting estimator relates to the exact Bayes factor in closed form as λ^=λ∗/(λ∗V+1−V)λ̂ = λ* / (λ* V + 1 − V), a map that increases strictly in λ∗λ* and therefore preserves the sign of the evidence and the ranking of tokens by evidence strength.

Following the reviewer's concern, we also implemented the direct alternative that conditions the denominator on a wrong answer sampled from the incorrect rollouts, and we report both forms below.

Qwen3-4B, Self-OPPOMath-500AMC'23AIME'24Time/stepvs GRPO
wrong-answer denominator76.358.949.821.2 s+71%
marginal denominator (ours)76.058.549.516.8 s+35%
GRPO72.854.046.4——

The approximation costs 0.3 points while the direct alternative doubles our current method's budget, since it demands a second answer-conditioned forward pass whereas the marginal reuses the unconditioned pass that the gradient update already computes, and the two estimators agree closely in practice with their log λλ sequences correlating at 0.91 over 200 MATH-500 trajectories. We presented the marginal denominator as the default for this trade-off and will report both forms in the revision.

W3. Time cost of oracle evaluation and credit assignment.

The credit-assignment step itself is negligible, since the recursion of Eq. 20 reduces to a scan of O(T)O(T) scalar operations per trajectory once log λ^λ̂ is available, with no matrix multiplication, so its cost does not appear at the resolution of per-step timing. The measurable cost is the oracle forward pass, which in self-oracle mode uses the same weights as the policy and shares the KV cache from the standard forward pass, so no generation is performed and the cost reduces to a single teacher-forced pass over already-sampled tokens. We report the wall-clock breakdown in Appendix H.2, Table 12, and reproduce it here with the memory solving reviewer's concerns.

MethodForward passesTime/stepPeak memoryvs GRPO
GRPOrollout + policy12.4 s61.2 GB—
Self-OPPOrollout + oracle + policy16.8 s64.8 GB+35%
Teacher-OPPOrollout + oracle (32B) + policy24.2 s138.5 GB+95%
Teacher-OPPO, batched oraclerollout + oracle (32B, batched) + policy18.9 s138.5 GB+52%

The self-oracle adds 35% to step time and 6% to peak memory, and this is the operating point we recommend by default, since Table 1 shows it already surpasses every baseline. The figure of 24.2 s for the teacher-oracle comes from a sequential implementation in which the 32B scorer evaluates trajectories one at a time, and this figure overstates the cost of the method. Since the oracle pass is teacher-forced over already-sampled tokens and performs no autoregressive decoding, it is compute-bound and parallelizes across the group, so batching the oracle evaluation over the G trajectories of a query reduces the step time to 18.9 s and the overhead to 52%. The scorer receives no gradient updates, which further allows it to be placed on dedicated devices and overlapped with rollout generation. The overhead falls entirely in the advantage-computation phase and leaves rollout generation unchanged, which is the autoregressive bottleneck, so the relative overhead shrinks further as generation length grows. We will report the batched measurement alongside the sequential one in the revision.

Reviewer_ChVpOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The authors propose a new method for dense reward modeling that does not require a learned critic, unlike PPO. The method basically uses Bayesian recursion to obtain an advantage that depends on outcome uncertainty and whether the corresponding token helps detect failures. The method consistently improves over baselines.

Strengths and weaknesses

Strengths

  • The paper addresses an important problem in on-policy RL: the lack of dense reward modeling. Specifically, the authors address the issue that, for example, GRPO essentially copies the same reward for each token. This does not require a new critic as PPO
  • The paper is theoretically oriented in the sense that the proposed dense reward is initially motivated by Bayesian recursion.
  • I find it interesting that the advantage naturally measures how uncertain the outcome is and whether the corresponding token helps detect failures.
  • The authors systematically show that their method improves over baselines.

Weaknesses

  • The idea definitely seems novel. However, the authors comment in the introduction that similar ideas have been used before. I would appreciate a little more emphasis in the extended related work in the appendix on how these “teacher-forcing methods” have been used.
  • I think the limitation should be explained more clearly. The paper appears to work under the assumption that the response can be either correct or incorrect, which is a particular case of the verifiable reward setting. Does this mean that the method can also be used in settings where there are many test cases and the response is only partially correct?
Questions

In practice, the ratio was obtained by: (1) appending the correct response vs. (2) appending nothing (no additional information). A more natural choice might have been to append something for (2), but with the wrong answer. Have the authors tried something like this?

An experiment that could be interesting is to see whether the proposed advantages correlate with a real estimate of the advantage. This could be done, e.g., by taking the most entropic tokens and performing MC completion from that point, as in Math-Shepherd, to estimate how many correct completion are from this point, and check if it correlates with the propose advantage.

Limitations

The author did not discuss this limitation in the main paper. I understand the page limitations, but this addition would be positive.

Paper formatting concerns

.

1 comment

We thank the reviewer for the thoughtful reviews and for recognizing the Bayesian motivation of the advantage. Both questions probe the two places where the framework makes an approximation, and we answer each with a derivation and a new experiment below.

W1. More emphasis on how teacher-forcing methods have been used.

We appreciate the reviewer's interest in the teacher-forcing line of work, which refers to as on-policy distillation (OPD). The paper mentioned the resemblance because our OPPO can likewise draw its per-token signal from a teacher model, but the two frameworks differ fundamentally, and part of the apparent similarity comes from both writing their per-token quantity as λλ. In OPD papers[2, 8, 25, 35, 12], λλ is a reward: the per-token likelihood ratio attaches to each token as a dense local signal and sums into the objective, so each token's local evidence becomes its final credit. In OPPO, λtλ_t is a Bayes factor: Section 2.2 reads the ratio as the evidence of a belief update, Section 3.1 accumulates it into a running posterior VtV_t over trajectory success, and each token receives credit through the one-step change it induces in that posterior, namely the advantage of Eq. 11 weighted by Vt(1−Vt)V_t(1 − V_t). The distinction matters because a Bayes factor carries information about a global outcome while a reward assigns immediate local credit, and only the former places credit at the tokens where the outcome is actually decided. We will expand Appendix A.2 to make this distinction explicit.

W2. Clearer statement of limitations, and applicability to partially correct responses.

We will add a dedicated limitations section to the main text covering four items: the requirement of ground-truth answers at training time, the binary outcome assumption, the approximation error of the failure branch quantified in Appendix D.1, and the oracle overhead reported in Appendix H.2.

On partial correctness, the recursion requires a binary latent variable because Eq. 10 accumulates evidence in log-odds space, and the log-odds are defined for a Bernoulli outcome. Where a response is graded by m unit tests, defining success as passing all tests keeps the framework unchanged and is what our LiveCodeBench evaluation already uses. Alternatively, one may run m parallel recursions, one per test case with its own oracle context, and aggregate the resulting log-odds across tests, which yields a graded token-level advantage while each individual recursion remains binary. Continuous or rubric-scored rewards require a different treatment, since the Bayes factor of Eq. 9 has no direct analogue, and we will leave the case as an open problem in the revision.

We would add that the oracle context generalizes more readily than the reward. For code, y∗y* is a reference solution rather than an integer, and the ratio of Eq. 15 is unchanged. Our models are trained on mathematics alone and evaluated zero-shot on LiveCodeBench, GPQA-Diamond and ARC-Challenge, where the gains persist.

Q1. Appending a wrong answer for the failure branch instead of the marginal.

We implemented the reviewer's suggestion of conditioning on the wrong answer and report both denominators below. Conditioning on a sampled wrong answer y~ỹ estimates the failure-conditional distribution of Eq. 9 directly, while the marginal denominator we use in the paper is an approximation of it.

Qwen3-4B, Self-OPPOMath-500AMC'23AIME'24Time/stepvs GRPO
wrong-answer denominator76.358.949.821.2 s+71%
marginal denominator (ours)76.058.549.516.8 s+35%
GRPO72.854.046.4——

The wrong-answer denominator is more accurate by roughly 0.3 points but doubles the oracle cost, since it requires a second answer-conditioned forward pass whereas the marginal reuses the unconditioned pass the gradient update already computes. Their log λλ sequences correlate at 0.91 over 200 MATH-500 trajectories, so the marginal recovers most of the accuracy at half of the oracle cost. We chose to present the marginal as the default for this trade-off, and we will add the wrong-answer denominator to the revision as the exact form of the failure model. Thanks for pointing this out.

Q2. Correlation between the proposed advantage and a Monte Carlo estimate.

We ran this validation using your suggested reference and report it below. The question is whether the token-level advantage of Eq. 11 recovers the true per-token credit, so we compare it against a Monte Carlo estimate of that credit and measure the Spearman correlation between the two. The correlation is therefore between a method's assigned advantage and the Monte Carlo ground truth, not between two methods.

Protocol. On 200 MATH-500 trajectories from Qwen3-4B we take the 8 highest-entropy positions as segment boundaries, giving 9 segments per trajectory. At each boundary we sample 32 completions at temperature 1.0 and record the empirical success rate as the Monte Carlo value at that point. The Monte Carlo advantage of a segment is the change in this value across the segment, which serves as the ground-truth credit. For each method we correlate the total advantage it assigns within a segment against this Monte Carlo advantage.

Qwen3-4BSpearman ρ with MC ground truthSign agreement
GRPO (uniform advantage)0.0251.3%
Per-token log λ as a dense reward (OPD-style)0.4168.4%
Self-OPPO0.6379.6%
Teacher-OPPO0.7184.2%
Monte Carlo reliability ceiling0.7888.1%

The ceiling in the last row is the highest correlation any estimator can reach under this sampling budget, because the Monte Carlo ground truth is itself noisy at 32 completions per boundary. We obtain results in last row by splitting the 32 completions into two halves of 16 and correlating the two independent Monte Carlo estimates against each other, which measures how much of the variation is a real signal rather than sampling noise. Teacher-OPPO reaches 91 percent of this ceiling and Self-OPPO 81 percent, so most of the gap below 1.0 is Monte Carlo noise rather than error in the advantage.

The ordering answers the reviewer's concern directly. GRPO assigns every token the same advantage, so it recovers none of the per-token structure and sits at zero. Using log λλ as a dense reward, in the OPD manner, recovers a moderate correlation, since the oracle evidence is locally informative. Accumulating the same evidence into the Bayesian posterior raises the correlation to near the reliability ceiling, and a stronger oracle raises it further. The advantage of Eq. 11 therefore tracks the true per-token credit rather than being a self-consistent construction, and the improvement over the OPD-style row isolates the contribution of the Bayesian state weight, since all rows read the identical per-token signal. We will add this validation to the revision.

Comments on the paper

1 comment
Meta-review

Summarize

This paper introduce a dense reward modeling method, without a learned critic. The proposed method interprets answer-conditioned likelihood ratios as Bayesian updates to model the posterior of trajectory success. Evaluation results prove it can outperform GRPO and distillation results.

Strengths

  1. Clear presentation.
  2. The formulated problem is important for on-policy RL.
  3. Experimental results demonstrate the effectiveness of the proposed method.

Weaknesses

  • Reviewer ChVp: 1. Emphasis on related works. 2. Explaination on limitations.
  • Reviewer xKVG: 1. Writing. 2. The effect of The failure branch approximation. 3. time-cost.
  • Reviewer yNcj: 1. Model size. 2. Marginal gain.

[Initial Meta Review] At the initial reviewing stage, all reviewers admit the contribution of this paper. However, each reviewer also raise several minor issues about this paper. I think authors need to resolve these concerns before accept.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.