Process supervision has emerged as a promising approach for enhancing LLM reasoning, yet existing methods fail to distinguish meaningful progress from mere verbosity, leading to limited reasoning capabilities and unresolved token inefficiency. To address this, we propose Stage-aware Hierarchical Advantage via Potential Estimation (SHAPE), a framework that formalizes reasoning as a trajectory through a state space of empirical solvability. SHAPE introduces a hierarchical credit assignment mechanism: at the segment level, it employs a stage-aware advantage function to prioritize efficient breakthroughs in low-potential states; at the token level, it utilizes entropy-driven redistribution to sharpen execution signals. Extensive experiments in math reasoning across three base models and five benchmarks demonstrate that SHAPE achieves an average accuracy gain of 3% with 30% reduced token consumption.
Figures & tables
Figure 1: Illustration of optimal reasoning path. Segment s2 ranks lowest due to insufficient Potential Gain ( Δ=0.1 ). While s1 and s3 share identical gain ( Δ=0.3 ), s1 achieves the highest rank by jointly satisfying Stage Awareness (breaking through from a harder state Φ=0 ) and Efficiency (shorter length L1<L3 ).
Figure 2: Overview of the SHAPE framework. The pipeline consists of three steps: (A) decomposing reasoning to estimate state potentials (§ 4.1 ); (B) computing stage-aware segment-level advantages (§ 4.2 ); and (C) redistributing credit to sharpen token-level learning signals (§ 4.3 ).
AIME 24
AIME 25
AMC 23
MATH500
Minerva
Overall
Method
Acc
Tokens
Acc
Tokens
Acc
Tokens
Acc
Tokens
Acc
Tokens
Acc
Tokens
DeepSeek-R1-Distill-Qwen-1.5B
GRPO
34.7
8772
27.5
8109
79.1
5091
84.8
3354
34.2
5228
52.1
6111
MRT
33.1
6577
28.6
6085
79.3
4058
85.0
2734
33.6
3705
51.9
4632
SHAPE
37.1 +2.4
6164 -29.7%
31.8 +4.3
5425 -33.1%
81.5 +2.4
3612 -29.1%
87.8 +3.0
2415 -28.0%
35.5 +1.3
3207 -38.7%
54.7 +2.6
4165 -31.8%
DeepScaleR-1.5B-Preview
Table 1: Main results on mathematical reasoning benchmarks. We report Pass@1 accuracy (%) and average generated token counts across five datasets. Blue indicates improvement (Acc ↑ or Tokens ↓ ) of SHAPE over GRPO. Compared to GRPO and MRT baselines, SHAPE consistently establishes a new Pareto frontier across all three base models, achieving superior accuracy while significantly reducing token consumption.
Figure 3: Performance of DS-R1-Distill-Qwen-1.5B.
Method
AIME 24
AIME 25
Acc
Tokens
Acc
Tokens
GRPO
34.7
8772
27.5
8109
SHAPE (Ours)
37.1
6164
31.8
5425
Component Analysis
w/o EBS
36.8 -0.3
6380 +3.5%
31.6 -0.2
5590 +3.0%
w/o TCR
36.2 -0.9
6080 -1.4%
29.8 -2.0
5250 -3.2%
Table 2: Ablation study. Subscripts indicate gaps relative to SHAPE ( blue : improvement; red : degradation).
Figure 4: Marginal effect of potential gains. The steeper regression slope for the Low Start group confirms that improvements in adverse states are more critical for final success.
Figure 5: Distribution of potential gain contributions. SHAPE shifts the focus towards the Low Start regime ( 44.4% vs. MRT’s 40.6% ), validating its capability to rectify reasoning paths from poor initial states.
Figure 6: Potential drop rate during training. The curves depict the proportion of adjacent segment transitions where potential decreases ( Φ(sk+1)<Φ(sk) ).
Figure 7: Granularity trade-off. Accuracy (lines) saturates after K=8 , while training cost (bars) scales linearly. K=8 represents the optimal balance between performance gains and computational overhead.
Figure 8: Response length vs. Problem difficulty. SHAPE exhibits a steeper scaling slope and lower variance compared to GRPO, indicating precise resource allocation based on problem hardness.
Figure 9: Token length distributions. SHAPE (top) shows a smooth long-tail distribution, while GRPO (bottom) exhibits anomalous spikes near the 32k context limit, indicating degenerate behavior on hard problems. MRT (middle) reduces but does not eliminate such spikes.
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
γ
γ⋅Φk+1
Φk
F
1.0
0.875
0.625
+ 0.250
0.9
0.788
0.625
+ 0.163
0.8
0.700
0.625
+ 0.075
0.7
0.613
0.625
− 0.013
0.6
0.525
0.625
− 0.100
Appendix
Table 3: Shaping reward F=γ⋅Φk+1−Φk for a positive reasoning step ( Φk=5/8,Φk+1=7/8 ).
Hyperparameter
Value
Global Batch Size
128
Mini-Batch Size
32
Gradient Accumulation Steps
4
Learning Rate
1×10−6
Warmup Ratio
0.1
Total Epochs
1
Appendix
Table 4: Detailed training hyperparameters.
Benchmark
# Probs
Samples ( N )
Total Resps.
AIME 2024
30
32
960
AIME 2025
30
32
960
AMC 2023
40
32
1,280
MinervaMATH
272
4
1,088
MATH-500
500
2
1,000
Appendix
Table 5: Evaluation dataset specifications and sampling configurations.
Graduate School of Data Science, Seoul National University, Seoul, Korea · Department of Mathematics Education, Seoul National University, Seoul, Korea