VinePPO: Refining Credit Assignment in RL Training of LLMs

Amirhossein Kazemnejad, Milad Aghajohari, Eva Portelance, Alessandro Sordoni, Siva Reddy, Aaron Courville, Nicolas Le Roux

In the world of Reinforcement Learning (RL) for Large Language Models, the standard tool for the job has long been Proximal Policy Optimization (PPO). But as LLMs tackle increasingly complex reasoning tasks—like multi-step math problems—cracks have begun to show. A new paper, VinePPO: Refining Credit Assignment in RL Training of LLMs, argues that the "critic" network at the heart of PPO is fundamentally broken for reasoning, and offers a surprisingly straightforward fix.

TL;DR

VinePPO replaces the unreliable value networks (critics) in PPO with unbiased Monte Carlo rollouts to solve the "credit assignment" problem in LLM reasoning. By leveraging the ability to reset language environments to any intermediate step, VinePPO achieves up to 3x faster convergence and superior generalization on math benchmarks compared to standard PPO and RL-free alternatives.

The Credit Assignment Problem

When an LLM solves a math problem, it might generate ten steps of reasoning. If the final answer is correct, the model receives a reward. But which of those ten steps actually did the heavy lifting? This is known as the Credit Assignment problem.

Standard PPO handles this using a Value Network (or "critic"). This is a second model trained to predict the expected reward from any intermediate state. If the critic says step 2 increased the chance of success, the model is encouraged to repeat that behavior.

However, the authors found that for complex reasoning, these critics are surprisingly poor. They often fail to differentiate between a brilliant insight and a dead-end calculation, sometimes performing no better than random chance at ranking candidate steps. Because the critic provides a biased and noisy signal, the model struggles to learn the underlying logic of the task.

Sample response and advantage distributions

VinePPO: Monte Carlo to the Rescue

The authors propose VinePPO, inspired by the "Vine" variant of Trust Region Policy Optimization (TRPO). Instead of training a separate neural network to guess the value of a state, VinePPO calculates it directly through Monte Carlo (MC) estimation:

  1. Intermediate Resets: Because LLMs generate text token-by-token, the "environment" is perfectly resettable. You can take a partial reasoning chain and re-feed it to the model to start a new "rollout" from that exact point.
  2. Auxiliary Rollouts: At various points in a reasoning chain, VinePPO performs $K$ auxiliary rollouts (sampling multiple completions to the end).
  3. Unbiased Estimates: The value of that intermediate step is simply the average reward of those completions. This provides an unbiased estimate of the state's true value.
  4. Step-Level Granularity: To keep things efficient, they group tokens into "reasoning steps" (e.g., sentences or lines of math) and compute one advantage value per step rather than per token.

While performing extra rollouts sounds expensive, the authors argue it is a better use of compute than training a biased critic that might lead the model astray.

Key Insights and Results

The researchers evaluated VinePPO on two primary mathematical reasoning benchmarks (GSM8K and MATH) using DeepSeekMath 7B and RhoMath 1.1B.

  • The Critic is a Bottleneck: The paper reveals that PPO critics struggle to generalize as a reasoning chain progresses. Early in a chain, they can rely on memorized patterns, but as the logic becomes more specific, the critic’s error spikes.
  • Unbiased > Complex: Even with a very small number of rollouts (as low as $K=1$), the MC-based estimate in VinePPO provides a more accurate signal for identifying the "top action" than a fully trained value network.
  • The Efficiency Paradox: Per iteration, VinePPO is slower than PPO because of the extra sampling. However, because the gradient updates are so much more accurate, the model reaches peak performance in far fewer steps. For RhoMath 1.1B, it reached peak accuracy 9x faster in terms of gradient steps and 3x faster in total wall-clock time.
  • Better Generalization: VinePPO exhibits a steeper "generalization slope." It achieves higher test accuracy for a given level of training accuracy compared to baselines like RestEM or GRPO. This suggests the model is learning robust reasoning rather than just memorizing the training set.
  • Overall Performance: VinePPO consistently outperformed PPO, GRPO, RLOO, and DPO+ across both datasets. On MATH, it achieved a Pass@1 of 46.0% with DeepSeekMath 7B, compared to PPO's 42.8%.

Limitations and Future Work

While wall-clock time is lower overall, VinePPO still requires significant inference-time compute during training to generate auxiliary rollouts, which might be a hurdle for researchers with limited GPU resources. Additionally, the method relies on the "resettability" of the environment—a native feature of LLMs, but one that may not translate easily to non-textual RL tasks.

Ultimately, VinePPO opens the door to "scaling post-training compute," demonstrating that using more compute during the RL phase to extract high-quality generalization signals is a highly effective path forward for reasoning models.

Summary updated

BibTeX
@inproceedings{kazemnejad2025vineppo,
  author = {Amirhossein Kazemnejad and Milad Aghajohari and Eva Portelance and Alessandro Sordoni and Siva Reddy and Aaron Courville and Nicolas Le Roux},
  title = {{VinePPO: Refining Credit Assignment in RL Training of LLMs}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=Myx2kJFzAn},
}
Figure