Reinforcement learning (RL) is effective in enhancing the accuracy of large language models in complex reasoning tasks. Existing RL policy optimization frameworks rely on final-answer correctness as feedback signals and rarely capture the internal logical structure of the reasoning process. Consequently, the models would generate fluent and semantically relevant responses but logically inconsistent, structurally erratic, or redundant. To this end, we propose StaRPO, a stability-augmented reinforcement learning framework that explicitly incorporates reasoning stability into the optimization objective. Our StaRPO decomposes stability into two computable lightweight metrics: the Autocorrelation Function (ACF) to evaluate local step-to-step coherence, and Path Efficiency (PE) to evaluate global goal-directedness of the reasoning trajectory. These stability rewards are combined with task rewards to provide complementary and process-aware feedback. We validate the effectiveness of using ACF and PE rewards by showing their correlation with logic errors on two backbone models. Experiments on four reasoning benchmarks show that StaRPO consistently outperforms compared baselines and can enhance both final-answer accuracy and logical stability.
Figures & tables
Figure 1: Example of three types of logical errors.
Figure 2: Logical-stable space in token generation space for a reasoning trajectory. From a query x , the LLM generates a sequence of token-level transitions targeting the correct answer region A step-by-step. Incorrect logic may result in three types of errors.
Model
Method
GSM8K
MATH
GPQA
AIME
Avg.
Result
Process
Result
Process
Result
Process
Result
Process
Result
Process
Qwen 1.5B
Original
55.72
52.39
47.73
43.94
19.19
16.67
3.33
3.33
31.49
29.08
CPPO
76.80
73.62
54.55
52.08
34.85
28.79
13.33
10.00
44.88
41.12
λ –GRPO
78.17
76.95
53.98
52.65
33.33
30.81
6.67
6.67
43.04
41.77
GRPO
73.92
72.02
53.60
49.62
26.77
23.23
10.00
10.00
41.07
38.72
Entropy
65.05
64.29
52.65
50.57
25.25
23.23
6.67
6.67
37.41
36.20
Table 1: Performance comparison across four tasks. The best and second-best performance is set in dark and light blue. Superscript † denotes significant improvements with paired t-test at p<0.05 over GRPO.
Figure 3: Example of logical reasoning errors on Game of 24 .
Error Type
ACF Low
ACF High
PE (t-test)
PE (M-W)
Semantic Drift
0.0217*
0.0207*
0.0358*
0.1363
Logical Leap
0.0063**
0.0011**
0.0251*
0.0483*
Repetition
0.2158
0.0297*
0.0408*
0.0379*
Table 2: Significance test between reasoning errors and stability metrics. Superscript * and ** denotes p<0.05 and p<0.01 , respectively.
Figure 4: Ablation studies with result and process accuracy across different model variants on two datasets.
Reinforcement Learning (RL) has significantly improved large language model reasoning, but existing RL fine-tuning methods rely heavily on heuristic techniques such as entropy regularization and reweighting to maintain stability. In practice, they often suffer from late-stage performance collapse, leading to degraded reasoning quality and unstable training. We identify a key factor behind this instability: a small fraction of tokens, termed spurious tokens (around 0.01%), which contribute little to the reasoning outcome but receive disproportionately amplified gradient updates due to inheriting the full sequence-level reward. We present a unified framework for evaluating token-level optimization impacts across spurious risk, gradient norms, and entropy changes. Building on the analysis of token characteristics that severely disrupt optimization, we propose the Silencing Spurious Tokens (S2T) mechanism to efficiently suppress their gradient perturbations. Incorporating this mechanism into a group-based objective, we propose Spurious-Token-Aware Policy Optimization (STAPO), which promotes stable and effective large-scale model refinement. Across six mathematical reasoning benchmarks using Qwen 1.7B, 8B, and 14B base models, STAPO consistently demonstrates superior entropy stability and achieves an average performance improvement of 11.49% (ρT=1.0, top-p=1.0) and 3.73% (ρT=0.7, top-p=0.9) over GRPO, 20-Entropy, and JustRL.
Shiqi Liu, Zeyu He, Guojian Zhan +10
School of Vehicle and Mobility & College of AI, Tsinghua University · Didi Voyager Labs, DiDi Autonomous Driving
Reinforcement learning with verifiable rewards (RLVR) has improved the reasoning capabilities of large language models (LLMs), yet their predictions remain sensitive to task-irrelevant prompt features. We investigate this sensitivity through semifactual prompt interventions that preserve the underlying problem and its answer. Our analysis reveals substantial variation in token-level sensitivity and shows that suppressing high-drift token candidates during decoding improves reasoning accuracy without updating model weights. These findings highlight a limitation of Group Relative Policy Optimization (GRPO), which assigns the same outcome-derived advantage to every response token and may reinforce potential spurious dependence alongside useful reasoning. Motivated by this observation, we introduce Semifactual Credit-Augmented Policy Optimization (SCAPO), a causally inspired variant of GRPO that incorporates semifactual stability into token-level credit assignment. SCAPO measures token probability drift for fixed responses under semifactual interventions and uses normalized stability scores to reduce advantages for relatively unstable tokens during early training, while granting no additional credit for stability alone. On Qwen3-4B-Base and Qwen3-1.7B-Base, SCAPO improves AIME 2024-2026 accuracy over GRPO by 5.63 and 4.17 percentage points, respectively. At both model scales, SCAPO achieves the best results on most evaluated mathematics benchmarks and all evaluated out-of-distribution benchmarks among the compared methods. These results suggest that semifactual stability provides an effective training signal for improving reasoning and generalization through finer-grained credit assignment in RLVR. The code is available at https://github.com/DtYXs/SCAPO.
Junshu Pan, Zhizhang Fu, Shulin Huang +5
Zhejiang University · Westlake University · Shanghai Innovation Institute +1
On-policy reinforcement learning has become a central paradigm for improving the reasoning abilities of large language models. However, its effectiveness is often limited by reward sparsity: when a model fails to discover correct trajectories for difficult problems, the optimization process receives little useful signal and may stagnate. Existing approaches mitigate this issue by incorporating off-policy demonstrations, expert traces, or model-generated solutions, but they typically require the auxiliary data to match the format of the reinforcement-learning task, often relying on rejection sampling from stronger models to obtain suitable training trajectories. We introduce Rationale-Guided Policy Optimization (RGPO), a framework that adaptively leverages ground-truth rationale information according to the model's current capability while preserving its freedom to explore. Rather than treating reference solutions as fixed imitation targets, RGPO uses them as temporary scaffolds: rationales help the model generate improved responses, after which only higher-reward, model-generated solutions are transferred back to the original unguided setting. This design allows training to exploit available ground-truth information without requiring off-policy data to follow the same format as the RL task. Across both language-only and vision-language reasoning settings, RGPO consistently improves performance over RLVR baselines, and ablation studies show that adaptive rationale guidance is a key contributor to these gains. These results suggest that RGPO offers a practical and general approach for reducing reward sparsity, stabilizing reinforcement learning, and improving reasoning performance in both text-only and multimodal models.
Hoang Phan, Minh Pham, Chau Pham +3
New York University · University at Buffalo · Monash University