Save the Good Prefix: Precise Error Penalization via Process-Supervised RL to Enhance LLM Reasoning
Haolin Liu, Dian Yu, Sidi Lu, Yujun Zhou, Rui Liu, Zhenwen Liang, Haitao Mi, Chen-Yu Wei, Dong Yu
TL;DR
This work tackles the sparse-reward credit assignment problem in RL for complex LLM reasoning by introducing Verifiable Prefix Policy Optimization (VPPO). VPPO uses a fixed Process Reward Model (PRM) to locate the first incorrect step in a reasoning trajectory, preserves the correct prefix up to that point, and applies an additional reward to tokens within a reward prefix, while penalizing only the erroneous suffix. A shorten-prefix strategy is proposed to avoid artificial inflation of reasoning steps, and a RELU variant is explored for high-capability models to stabilize learning. Empirically, VPPO with shorten-prefix outperforms GRPO and prior PRM-guided approaches across a range of benchmarks (e.g., AIME, MATH, Minerva, HMMT) in both Pass@1 and Pass@K, demonstrating improved credit assignment, exploration, and learning signal quality for LLM reasoning.
Abstract
Reinforcement learning (RL) has emerged as a powerful framework for improving the reasoning capabilities of large language models (LLMs). However, most existing RL approaches rely on sparse outcome rewards, which fail to credit correct intermediate steps in partially successful solutions. Process reward models (PRMs) offer fine-grained step-level supervision, but their scores are often noisy and difficult to evaluate. As a result, recent PRM benchmarks focus on a more objective capability: detecting the first incorrect step in a reasoning path. However, this evaluation target is misaligned with how PRMs are typically used in RL, where their step-wise scores are treated as raw rewards to maximize. To bridge this gap, we propose Verifiable Prefix Policy Optimization (VPPO), which uses PRMs only to localize the first error during RL. Given an incorrect rollout, VPPO partitions the trajectory into a verified correct prefix and an erroneous suffix based on the first error, rewarding the former while applying targeted penalties only after the detected mistake. This design yields stable, interpretable learning signals and improves credit assignment. Across multiple reasoning benchmarks, VPPO consistently outperforms sparse-reward RL and prior PRM-guided baselines on both Pass@1 and Pass@K.
