PS-PPO : Prefix-Sampling PPO for Critic-Free RLHF

Doo Hwan Hwang, Kee-Eung Kim

Overview

Prefix-Sampling PPO (PS-PPO) is a novel, compute-efficient approach to training Large Language Models (LLMs) using Reinforcement Learning from Human Feedback (RLHF). By recognizing that the "fate" of a long reasoning chain is often decided in its early steps, PS-PPO samples a random cutoff point for each trajectory and only backpropagates through that prefix. This approach slashes training time by up to 45% and memory usage by 17% without sacrificing model accuracy.

The Problem: The Cost of Temporal Redundancy

Training LLMs to reason—such as solving complex math problems—typically involves RLHF. Modern "critic-free" methods like GRPO or RLOO have become popular because they eliminate the need for a separate "critic" model, which is often unstable and memory-intensive.

However, these methods suffer from a "lazy" approach to credit assignment. They take the final reward (e.g., "Is the answer correct?") and broadcast it uniformly across every single token in the generated response. If a model writes a 1,000-token reasoning trace, the system backpropagates through all 1,000 tokens.

This is incredibly wasteful. In many tasks, the "aha!" moment or the fatal error happens early in the prefix. The remaining hundreds of tokens are often just "temporal redundancy"—predictable bookkeeping that doesn't provide much new learning signal but costs a fortune in GPU hours.

The Solution: Prefix-Sampling PPO

To address this inefficiency, the authors introduce PS-PPO, which leverages stochastic truncation to save compute while maintaining mathematical rigor.

Core Mechanisms

  1. Stochastic Cutoffs: Instead of updating the full trajectory, the algorithm samples a cutoff timestep $H$ for each rollout.
  2. Unbiased Gradient Estimator: Simply cutting off the sequence would bias the learning. To fix this, PS-PPO uses an inclusion-probability reweighting scheme. If a token is sampled less frequently, its gradient is scaled up. This ensures that the expected update is mathematically identical to a full-trajectory update.
  3. Budgeted Monotone Distribution: The core challenge is deciding where to cut. The authors formulate a convex optimization problem to find the optimal "cutoff distribution." They want to sample more heavily in regions where the reward is still uncertain and sample less in regions where the outcome is already "baked in."
  4. Forward-Only Proxy: To avoid the "chicken-and-egg" problem of needing a backward pass to know where to backpropagate, they use a lightweight proxy: the norm of the gradient at the model's output head. This can be calculated during the forward pass with almost zero extra cost.

Key Insights

  • The "Saturating" Success Rate: For models like Qwen2.5-Math, the probability of getting a correct answer often stabilizes halfway through the response. If the prefix is already 80% likely to lead to a correct answer, backpropagating through the rest of the "correct" tokens offers diminishing returns.
  • Direct Truncation vs. Masking: Previous "efficient" methods used gradient masking (setting some gradients to zero). However, masking still requires a full forward and backward pass through the whole sequence. PS-PPO actually truncates the computation, meaning the GPU physically does less work.
  • The Power of Monotonicity: The cutoff probabilities are constrained to be non-increasing ($\xi_1 \geq \xi_2 \geq \dots$). This ensures the model always learns from the earliest tokens (the "foundation") before worrying about the later ones.

Experimental Results

The researchers evaluated PS-PPO primarily on mathematical reasoning (using MATH, MATH500, AMC23, CollegeMath, MinervaMath, and AIME 2024/2025) and general RLHF (IMDB and HH-RLHF).

  • Compute Savings: PS-PPO achieved a 33%–45% reduction in training time per step compared to full-sequence baselines like DAPO and GRPO.
  • Memory Efficiency: It reduced peak GPU memory usage by 15%–17%, allowing for larger batch sizes or longer contexts on the same hardware.
  • Scalability: The benefits grow with sequence length. At a maximum length of 4,096 tokens, PS-PPO was 3.3x faster than DAPO.
  • No Accuracy Penalty: Despite looking at fewer tokens, PS-PPO maintained accuracy comparable to (and sometimes slightly better than) strong critic-free baselines across all benchmarks.

Limitations and Future Work

While highly effective, PS-PPO has a few limitations:

  • Predictive Prefixes: The method relies on the assumption that prefixes are highly predictive of the final outcome. In tasks where the very last token completely changes the reward (a "twist ending"), the current sampling strategy might need adjustment.
  • Proxy Accuracy: The "output-head score norm" is a good proxy for the full gradient norm, but it remains an approximation.
  • Hyperparameter Tuning: The "budget" parameter $B$ (the expected number of tokens to keep) is a new hyperparameter that users must tune to balance speed versus variance.

Looking forward, the authors suggest exploring how PS-PPO could be combined with process-based reward models (PRMs), where intermediate steps are explicitly labeled by humans or other models, potentially unlocking even greater efficiencies in reasoning tasks.

Summary updated

BibTeX
@inproceedings{hwang2026ps,
  author = {Doo Hwan Hwang and Kee-Eung Kim},
  title = {{PS-PPO : Prefix-Sampling PPO for Critic-Free RLHF}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=flDa73nyVx},
}
Figure