Skip to main content
QUICK REVIEW

[Paper Review] STAPO: Stabilizing Reinforcement Learning for LLMs by Silencing Rare Spurious Tokens

Shiqi Liu, Zeyu He|arXiv (Cornell University)|Feb 17, 2026
Topic ModelingComputer Science0 citations
TL;DR

STAPO identifies a tiny set of spurious tokens that cause unstable RL updates in LLM fine-tuning and silences their gradient contributions, yielding more stable entropy and improved reasoning accuracy across multiple benchmarks and model scales.

ABSTRACT

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. Our analysis shows that the magnitude of token-wise policy gradients in RL is negatively correlated with token probability and local policy entropy. We find that training instability can be caused by a tiny fraction of tokens, approximately 0.01%, which we term spurious tokens. When such tokens appear in correct responses, they contribute little to the reasoning outcome but inherit the full sequence-level reward, leading to abnormally amplified gradient updates. To mitigate this instability, we design an S2T (silencing spurious tokens) mechanism to efficiently identify spurious tokens through characteristic signals with low probability, low entropy, and positive advantage, and then suppress their gradient perturbations during optimization. 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 7.13% ($ρ_{\mathrm{T}}$=1.0, top-p=1.0) and 3.69% ($ρ_{\mathrm{T}}$=0.7, top-p=0.9) over GRPO, 20-Entropy, and JustRL.

Motivation & Objective

  • Explain why RL instability in LLMs arises at the token level during policy updates.
  • Identify spurious tokens that receive disproportionately large gradients yet contribute little to reasoning.
  • Develop S2T (silencing spurious tokens) to suppress harmful gradient updates.
  • Incorporate S2T into a group-based objective to form STAPO for stable large-scale refinement.
  • Empirically validate STAPO across multiple model sizes and six math reasoning benchmarks.

Proposed method

  • Analyze token-level gradients, entropy, and probability to derive a stability framework.
  • Define spurious tokens as low-probability, low-entropy tokens with positive advantage in correct responses.
  • Introduce S2T to mask gradient contributions from spurious tokens using a binary mask.
  • Form STAPO by applying S2T within a group-relative policy optimization objective.
  • Provide adaptive thresholds for entropy and a fixed probability threshold to identify spurious tokens.
  • Evaluate STAPO on six benchmarks across three Qwen base-model scales (1.7B, 8B, 14B).

Experimental results

Research questions

  • RQ1What token-level properties drive instability in RL fine-tuning of LLMs?
  • RQ2Can a tiny fraction of spurious tokens be reliably detected and masked to stabilize training without harming learning?
  • RQ3Does STAPO improve entropy stability and reasoning accuracy across model sizes and decoding settings?
  • RQ4How do STAPO and baseline methods compare on six mathematical reasoning benchmarks?
  • RQ5What are the sensitivity characteristics of STAPO’s masking thresholds?

Key findings

  • Spurious tokens are extremely rare (about 0.01%) but trigger disproportionately large gradient updates.
  • STAPO stabilizes policy entropy across model scales while yielding higher training rewards and accuracy.
  • STAPO achieves state-of-the-art performance on six math benchmarks under training-aligned settings across 1.7B, 8B, and 14B Qwen models.
  • Masking only spurious tokens (via S2T) consistently improves STAPO performance compared to GRPO, 20-Entropy, and JustRL.
  • STAPO maintains stability under different evaluation configurations (training-aligned and JustRL), showing robustness to decoding strategies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.