TL;DR
Teaching AI to reason step-by-step usually requires grading every single thought—a brutally expensive task using humans, rollouts, or biased LLM judges. SPRM bypasses this bottleneck entirely by treating a reasoning chain like a team sport: it takes a simple pass/fail score at the very end and uses game theory to mathematically figure out which individual steps actually pulled their weight. This gives us accurate, scalable step-level feedback for free, using only final answers.
What Problem Does This Paper Address?
When an LLM solves a complex math or coding problem, knowing whether the final answer is right isn't enough—we want to know which intermediate steps helped get it there, and where things went off the rails. Process Reward Models (PRMs) provide this step-by-step feedback, powering test-time search (like Best-of-$N$ sampling) and reinforcement learning.
The catch? Getting step-level training labels is a headache. As shown below, human grading doesn't scale, Monte Carlo (MC) rollouts (simulating dozens of futures from every step to estimate its value) burn massive compute, and "LLM-as-a-judge" setups suffer from prompt sensitivity and pretraining biases.
Furthermore, standard PRMs usually just ask if a step looks locally "correct." They struggle to distinguish between a decisive logical leap, a harmless restatement, and a useless detour—all of which end up paired with the same final pass/fail score. The authors ask: Can we extract fair, contribution-aware step credit directly from final outcome rewards alone, without any external judges or rollouts?
Methods
SPRM (Shapley-inspired Process Reward Model) reframes multi-step reasoning as a cooperative game. Each reasoning step is a player, and the final binary outcome ($0$ or $1$) is the shared prize. In game theory, Shapley values fairly divide a prize based on each player's marginal contribution across all possible team permutations.
However, reasoning steps have strict temporal and causal order—you can't shuffle Step 4 before Step 1. If you restrict discrete Shapley values to one fixed order, the math collapses into noisy step-by-step prefix differences. To fix this, SPRM moves to continuous space:
- Step Value Integration (SVI): SPRM encodes the question and steps into vector representations and trains a lightweight, differentiable trajectory value model to predict the final outcome. Using Aumann-Shapley attribution (specifically, Integrated Gradients), it integrates gradients along a straight-line path in embedding space—from an empty baseline vector to the actual trajectory—assigning continuous marginal credit to each step.
- Model-Counterfactual Consistency: Nonlinear neural networks can be locally noisy. SPRM double-checks each step's SVI credit by ablating (blanking out) that step—and pairs of nearby preceding steps—inside the value model. A step's label is kept for training only if its gradient credit agrees in sign with this ablation check.
- Cross-Trajectory Inherent (CTI) Score: Good steps sometimes appear after a fatal mistake earlier in the chain, unfairly tanking their local credit. CTI retrieves semantically similar steps across the entire dataset and calculates how often their trajectories succeed compared to the global average, providing a context-independent anchor.
- Dual-Head PRM: SVI and CTI scores are binarized to train a shared-backbone PRM with two heads—one for local trajectory credit, one for global inherent value—whose predictions are blended ($50/50$) at inference time.
Datasets
No new benchmarks are introduced; instead, SPRM repurposes existing datasets while stripping away any intermediate step labels:
- Math Training: Trained on Math-Shepherd trajectories using only terminal correctness rewards.
- Math Evaluation: ProcessBench (GSM8K, MATH, OlympiadBench, OmniMATH) for locating the first error; PRMBench for testing simplicity, soundness, and sensitivity; and AceMath-RewardBench (including CollegeMath, Gaokao 2023, MMLU-STEM) for Best-of-$N$ reranking.
- Code Transfer: Trained on function-segmented BigCodeBench trajectories (verified via unit tests) and evaluated on LiveCodeBench v6.
Key Insights and Ideas
- Continuous beats discrete for ordered credit: Computing step credit by subtracting discrete prefix predictions ($v(P_t) - v(P_{t-1})$) compounds estimation errors whenever the true difference is small. Integrating gradients over a single global outcome predictor (SVI) jumps ProcessBench F1 from 35.5 to 50.2.
- Don't forget the starting line: Encoding the question itself (
question_end) as a participant in the game absorbs baseline calibration mismatches; leaving it out dumps that error onto Step 1, tanking F1 back down to 36.1. - Internal consistency beats an external LLM judge: Filtering SVI labels with a heavyweight external model (DeepSeek-V3.2) makes error detection overly aggressive, hurting accuracy on valid chains. SPRM's lightweight internal ablation check preserves fluent reasoning chains while matching top F1 performance at a fraction of the cost.
- Local and global views need each other: Using global neighborhood statistics (CTI) alone fails (33.4 F1) because it ignores causal context, while SVI alone (55.4 F1) suffers from context variance. Blending them hits the sweet spot (60.0 F1).
Key Results
Built on a compact Qwen3-4B backbone, SPRM outperforms open-source 7B–8B PRMs trained on human annotations, MC rollouts, or outcome broadcasting:
- First-Error Localization (ProcessBench): Achieves 60.0 average F1, beating human-labeled
Qwen2.5-Math-7B-PRM800K(+5.0), rollout-trainedMath-Shepherd-7B(+28.1), and same-backbone outcome broadcastingOVM-Qwen3-4B(+24.5). - Contribution Sensitivity (PRMBench): Scores 62.4 overall—the highest among open PRMs—showing strong resistance to redundant steps and harmful perturbations.
- Best-of-$N$ Scaling: Scales smoothly as candidate pools grow to $k=64$ (reaching 72.0% on CollegeMath and 73.0% on Gaokao 2023), whereas outcome-broadcasting baselines degrade at larger search budgets.
- Code Generation Transfer: On LiveCodeBench Best-of-32 selection, SPRM reaches 52.1% accuracy, beating the base model (46.8%) and outcome broadcasting (48.6%).
Limitations and Future Work
SPRM relies on clean, verifiable terminal rewards (like exact math answers or unit tests) and depends on strong text embeddings to retrieve meaningful semantic neighbors for its CTI score. Extending this game-theoretic credit allocation to open-ended tasks—where final rewards are fuzzy, subjective, or noisy—remains an open challenge for future work.
Summary updated