Beyond Correctness: Harmonizing Process and Outcome Rewards through RL Training

Chenlu Ye, Zhou Yu, Ziji Zhang, Hao Chen, Narayanan Sadagopan, Jing Huang, Tong Zhang, Anurag Beniwal · OpenReview

Abstract

Reinforcement learning with verifiable rewards (RLVR) has emerged to be a predominant paradigm for mathematical reasoning tasks, offering stable improvements in reasoning ability. However, Outcome Reward Models (ORMs) in RLVR are too coarse-grained to distinguish flawed reasoning within correct answers or valid reasoning within incorrect answers. This lack of granularity introduces noisy and misleading gradients significantly and hinders further progress in reasoning process quality. While Process Reward Models (PRMs) offer fine-grained guidance for intermediate steps, they frequently suffer from inaccuracies and are susceptible to reward hacking. To resolve this dilemma, we introduce PRocess cOnsistency Filter (PROF), an effective data process curation method that harmonizes noisy, fine-grained process rewards with accurate, coarse-grained outcome rewards. Rather than naively blending PRM and ORM in the objective function, PROF leverages their complementary strengths through consistency-driven sample selection. Our approach retains correct responses with higher averaged process values and incorrect responses with lower averaged process values, while maintaining positive/negative training sample balance. Extensive experiments demonstrate that our method not only consistently improves the final accuracy over 4% compared to the blending approaches, but also strengthens the quality of intermediate reasoning steps.

Introduction

The advancement of Large Language Models (LLMs) in complex reasoning domains like mathematics and programming has largely been driven by Reinforcement Learning with Verifiable Rewards (RLVR). Traditionally, these systems rely on Outcome Reward Models (ORMs) that provide binary feedback based on the final answer's correctness. While effective for final results, ORMs are inherently "blind" to the logical path taken. This leads to the "lucky guess" phenomenon, where a model arrives at the correct answer through flawed or hallucinated reasoning. Training on such examples introduces noise into the policy gradients, limiting the model's ability to generalize.

Process Reward Models (PRMs) were introduced to address this by providing feedback at each intermediate step. However, PRMs are prone to "reward hacking"—a failure mode where the model learns to exploit the reward model's biases (e.g., by increasing verbosity or repeating steps) to gain higher scores without improving actual reasoning. The central challenge lies in harmonizing the accuracy of outcome rewards with the granularity of process rewards.

Methodology: The PRocess cOnsistency Filter (PROF)

We propose PROF (PRocess cOnsistency Filter), a modular framework designed to act as a consistency gatekeeper within the RL training loop. PROF is integrated into the Group Relative Policy Optimization (GRPO) algorithm to curate high-quality training data from model rollouts.

The PROF framework curates rollouts by filtering for consistency between process and outcome rewards. Analysis shows that 30.1% of correct responses filtered out contained flawed reasoning.

The PROF pipeline operates as follows:

  1. Over-sampling: For each prompt, the model generates $n$ rollouts (e.g., $n=8$).
  2. Dual Scoring: Each rollout is evaluated by an ORM for final correctness and a pre-trained PRM for step-by-step quality.
  3. Consistency Filtering: Rollouts are partitioned into "Correct" and "Incorrect" groups. Within the Correct group, PROF retains only those with the highest PRM scores, effectively filtering out "lucky guesses." Conversely, in the Incorrect group, it retains those with the lowest PRM scores to filter out "near-misses" where the reasoning was sound but the final calculation failed.
  4. Balanced Update: The method maintains a balance between positive and negative samples to ensure stable gradient updates, using only the $m$ curated samples (e.g., $m=4$) to update the policy.

Experimental Results

We evaluated PROF using Qwen2.5-Math and LLaMA-3.2 base models on the Numina-Math dataset. Performance was measured across five benchmarks, including Math500 and AIME24.

Performance and Robustness

PROF-GRPO consistently outperformed both standard GRPO and "Blending" methods (which simply sum PRM and ORM scores). For instance, on Qwen2.5-Math-7B, PROF achieved an average accuracy of 51.7%, compared to 49.9% for standard GRPO and 47.3% for Blending.

A critical advantage of PROF is its robustness against reward hacking. In many PRM-based RL setups, models learn to "game" the reward by producing excessively long responses. As shown in our analysis, the Blending approach leads to an explosion in response length, whereas PROF maintains stable, concise reasoning paths.

Comparison of response lengths during training. Unlike the Blending approach, PROF avoids the length explosion associated with reward hacking.

Qualitative Improvements

Beyond numerical accuracy, PROF-trained models produce superior reasoning chains. In evaluations using Claude-3.7-Sonnet as a judge, PROF's step-by-step solutions were preferred for their completeness and logical clarity. By filtering out flawed reasoning during training, the model learns to prioritize "easy-to-verify" steps, leading to more interpretable outputs.

Conclusion and Future Work

PROF demonstrates that process rewards are most effective when used as a filter for data curation rather than a direct optimization target. This approach successfully mitigates the noise of ORMs and the hacking susceptibility of PRMs. While PROF introduces some computational overhead due to over-sampling, the gains in accuracy and reasoning quality are substantial. Future work will explore extending PROF to other verifiable domains such as code generation and multi-step tool use.

Summary updated

BibTeX
@inproceedings{ye2025beyond,
  author = {Chenlu Ye and Zhou Yu and Ziji Zhang and Hao Chen and Narayanan Sadagopan and Jing Huang and Tong Zhang and Anurag Beniwal},
  title = {{Beyond Correctness: Harmonizing Process and Outcome Rewards through RL Training}},
  booktitle = {MATH-AI @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=i6lySxAqe4},
}
Figure