VinePPO: Unlocking RL Potential For LLM Reasoning Through Refined Credit Assignment

Amirhossein Kazemnejad, Milad Aghajohari, Eva Portelance, Alessandro Sordoni, Siva Reddy, Aaron Courville, Nicolas Le Roux · Submission to ICLR 2025 · Rejected

TL;DR

VinePPO significantly improves Large Language Model (LLM) reasoning by replacing the often-unreliable "value network" in PPO with unbiased Monte Carlo estimates. By leveraging the unique ability of language models to "reset" to any intermediate state, VinePPO achieves superior credit assignment, leading to better generalization and up to a 3.0x speedup in wall-clock time to reach peak performance on math benchmarks.

What Problem Does This Paper Address?

When an LLM solves a complex math problem, it generates a long chain of thought. Only a few of those steps might contain the "key insight" that leads to the correct answer. In Reinforcement Learning (RL), determining which specific action (or step) deserves the "credit" for the final reward is known as the Credit Assignment (CA) problem.

Standard algorithms like Proximal Policy Optimization (PPO) use a value network (a "critic") to estimate the quality of intermediate steps. However, the authors find that in reasoning tasks, these value networks are surprisingly poor—often performing no better than random chance at ranking candidate steps. Newer "critic-free" methods like GRPO or RLOO bypass this by treating the entire response as one giant action, but they lose the benefit of fine-grained feedback. The authors ask: Can we fix credit assignment instead of abandoning it?

Methods

The authors introduce VinePPO, an approach inspired by the "Vine" variant of Trust Region Policy Optimization.

Unlike standard PPO, which trains a separate neural network to guess the value of a state, VinePPO calculates it directly using Monte Carlo (MC) estimation. Because LLMs are deterministic environments where the "state" is just the text generated so far, the model can easily be "reset" to any intermediate point.

From a specific reasoning step, VinePPO:

  1. Resets the model to that intermediate state.
  2. Samples $K$ auxiliary rollouts (continuations) to see how many lead to a correct answer.
  3. Computes an unbiased value estimate based on the success rate of those rollouts.

To make this computationally feasible, they group tokens into "reasoning steps" (e.g., sentences or lines of math) and compute a single advantage for the entire step rather than for every single token.

Datasets

The researchers evaluated VinePPO using two primary mathematical reasoning benchmarks:

  • MATH: A challenging dataset of competition-level high school math problems.
  • GSM8K: Grade-school level math word problems.

They tested these on two base models: DeepSeekMath 7B and RhoMath 1.1B.

Key Insights and Ideas

  • The "Critic" is a Bottleneck: The paper reveals that PPO's value network fails to generalize as reasoning chains progress. It relies on memorizing early steps that look like training data but struggles with the diverse logic required in later steps.
  • Language as a "Vine": In traditional RL (like robotics), resetting an environment to a specific middle state is often impossible. In LLMs, it’s trivial—you just re-feed the prefix. This makes MC sampling a "hidden superpower" for LLM training.
  • Generalization Efficiency: One of the most striking findings is the "Generalization Slope." VinePPO achieves higher test accuracy for the same level of training accuracy compared to other methods. This suggests it is learning the underlying logic of the task rather than just memorizing correct answers.
  • Compute Trade-off: While VinePPO takes longer per training iteration (due to the extra sampling), it is much more "sample efficient." It reaches higher accuracy in far fewer gradient steps, making it faster in total wall-clock time.

Key Results

  • Performance: VinePPO consistently outperformed PPO, GRPO, RLOO, and RL-free methods like DPO+ and RestEM across both datasets.
  • Speedup: On the MATH dataset, VinePPO reached peak performance 1.5x to 3.0x faster in wall-clock time than standard PPO.
  • Accuracy: Using DeepSeekMath 7B on the MATH dataset, VinePPO achieved ~46% accuracy, significantly higher than PPO (~42.8%) and GRPO (~36.4%).
  • Scaling $K$: Increasing the number of auxiliary rollouts ($K$) consistently improved the accuracy and reduced the variance of the updates.

Limitations and Future Work

  • Inference Costs: Generating multiple continuations for every training step is computationally expensive. While the authors used optimized engines like vLLM to mitigate this, it still requires significant GPU resources during the training phase.
  • Step Segmentation: The method currently relies on heuristics (like newlines or punctuation) to define "reasoning steps." More sophisticated ways to identify logical boundaries could further refine credit assignment.
  • Scaling Post-Training Compute: The authors suggest that VinePPO is a first step toward a new class of algorithms that scale performance by increasing compute during the post-training phase, rather than just during pre-training or inference.

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: Unlocking RL Potential For LLM Reasoning Through Refined Credit Assignment}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=Myx2kJFzAn},
}
Figure