NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Truncated Proximal Policy Optimization

Tiantian Fan, Lingjun Liu, Yu Yue, Jiaze Chen, Chengyi Wang, Qiying Yu, Chi Zhang, Zhiqi Lin, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Bole Ma, Mofan Zhang, Gaohong Liu, Ru Zhang, Haotian Zhou, Cong Xie, Ruidong Zhu, Zhi Zhang, Xin Liu, Mingxuan Wang, Lin Yan, Yonghui Wu

TL;DR

Training reasoning Large Language Models (LLMs) via reinforcement learning is notoriously slow because standard Proximal Policy Optimization (PPO) forces GPUs to sit idle while waiting for long, variable-length chains-of-thought to finish generating. Truncated PPO (T-PPO) solves this "barrel effect" by introducing a novel advantage estimator that allows policy updates on incomplete, truncated responses. This simple yet effective shift boosts training hardware efficiency by up to 2.5× and achieves state-of-the-art reasoning performance on math benchmarks.

What Problem Does This Paper Address?

When training LLMs to reason using reinforcement learning (RL), models generate long Chains-of-Thought (CoT) to solve complex problems. Standard PPO is an on-policy algorithm, meaning it collects a batch of generations under the current policy before performing a gradient update.

However, because reasoning paths vary drastically in length, a major bottleneck arises: the generation phase is fully synchronized. The entire batch must wait for the single longest response to finish generating before moving to the training phase. This creates a "barrel effect" where computational resources sit idle, leading to low GPU utilization and massive training wall-clock times. While off-policy PPO variants try to fix this by reusing old trajectories, they often suffer from high variance and unstable training.

Methods

The authors introduce Truncated Proximal Policy Optimization (T-PPO), an enhanced on-policy framework that decouples policy updates from full response completion. It relies on three core components:

  1. Extended Generalized Advantage Estimation (EGAE): Conventional GAE requires a complete trajectory to calculate advantages. T-PPO introduces a heuristic assumption: generating a single token does not drastically alter the state-value, meaning for a truncated sequence of length $l$, the value of the ungenerated next state can be approximated as $V(s_l) \approx V(s_{l-1})$. This allows the algorithm to compute valid advantages on truncated, unfinished trajectories.
  2. Successive Batching Strategy: Instead of waiting for all sequences to finish, T-PPO truncates generations at a fixed window length ($l$). If a sequence hits an end-of-sequence (<EOS>) token, it is evicted and replaced with a new prompt in the next step. Incomplete sequences are retained and continued, keeping the active batch size perfectly constant.
Successive batching strategy of T-PPO. Finished sequences are evicted and replaced, while incomplete ones continue.
  1. Token Filtering Strategy (Dual Optimization): The policy and value models are optimized independently using selective token screening. Because value models are highly sensitive to approximation bias, T-PPO updates the value model using strictly unbiased Monte Carlo returns—meaning value updates for a sequence are deferred until it is completely finished. Conversely, the policy model is progressively trained on tokens generated in the current step, filtering out the very latest tokens to minimize variance.
Token filtering for the policy model (top) and value model (bottom) during a training step.

Datasets

The framework was trained and evaluated on challenging mathematical reasoning tasks:

  • Training: DAPO-Math-17K, which consists of questions from past American Invitational Mathematics Examination (AIME) competitions alongside artificially generated difficult math problems.
  • Evaluation: The AIME 2024 benchmark, using a pass@32 evaluation setup averaged over 32 samples per question to ensure stability.

Key Insights and Ideas

  • Decoupling Policy and Value Paradigms: A key insight is that the policy model can safely learn from fragmented, ongoing rollouts using EGAE, but the value model shouldn't. By preserving a pure Monte Carlo training paradigm for the value function (only updating it on completed paths), they completely eliminate the systematic approximation bias that plagues temporal difference methods in sparse-reward settings.
  • Breaking the Memory-Bound Bottleneck: Roofline analysis reveals that standard PPO generation is highly memory-bound due to fragmented, synchronized generation. T-PPO pushes the computational intensity from 84 operations/byte up to 249 operations/byte, moving the workload significantly closer to the GPU's arithmetic peak.
Roofline model comparison showing T-PPO utilizing compute resources much better than standard PPO.
  • Non-Monotonic Length Trajectories: Interestingly, tracking the response length over training time shows a distinct wave pattern: length initially spikes (exploration), temporarily drops, and then recovers to surpass vanilla PPO. This indicates that T-PPO successfully navigates the transitional phase of CoT emergence without losing the model's ability to scale test-time compute.
Response length dynamics over training time for T-PPO vs baselines.

Key Results

Evaluated on a Qwen2.5-32B base model, T-PPO demonstrated substantial improvements in both accuracy and training speed:

  • Performance: T-PPO achieved a 61.88% pass@1 score on AIME 2024, outperforming DeepSeek-R1-Zero-Qwen-32B (47%) and other strong RL baselines like VAPO (60%) and PPO-EWMA (52%).
  • Efficiency: T-PPO delivered a 60% reduction in wall-clock training time compared to standard PPO, translating to a 2.5× training speedup.
AIME 2024 accuracy curves plotted against total training time.

As shown in the breakdown below, T-PPO dramatically shrinks the generation time (gen) per 1000 steps compared to vanilla PPO, matching the per-step speed of asynchronous methods while requiring significantly fewer total steps to converge.

Wall-clock time breakdown per 1000 steps across different algorithms.

Limitations and Future Work

The authors note that while T-PPO provides an excellent practical speedup without adding extra regularization constraints, it relies on a heuristic state-value assumption ($V(s_l) \approx V(s_{l-1})$) to make the truncated advantage estimation work. They suggest that future work should explore even more advanced truncated RL methods or formal mathematical bounds to further refine policy updates on incomplete sequences.

Summary updated

BibTeX
@misc{fan2025truncated,
  author = {Tiantian Fan and Lingjun Liu and Yu Yue and Jiaze Chen and Chengyi Wang and Qiying Yu and Chi Zhang and Zhiqi Lin and Ruofei Zhu and Yufeng Yuan and Xiaochen Zuo and Bole Ma and Mofan Zhang and Gaohong Liu and Ru Zhang and Haotian Zhou and Cong Xie and Ruidong Zhu and Zhi Zhang and Xin Liu and Mingxuan Wang and Lin Yan and Yonghui Wu},
  title = {{Truncated Proximal Policy Optimization}},
  year = {2025},
  eprint = {2506.15050},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.15050},
}
Figure