SPINE: Token-Selective Test-Time Reinforcement Learning with Entropy-Band Regularization

Jianghao Wu, Yasmeen M. George, Jin Ye, Yicheng Wu, Daniel F. Schmidt, Jianfei CaiarXiv 2025 · DOI

Introduction: The Challenge of Test-Time Adaptation

Large Language Models (LLMs) often encounter out-of-distribution data during inference. Test-Time Reinforcement Learning (TTRL) has emerged as a promising paradigm for adapting models on-the-fly using self-consistency as a pseudo-reward. However, standard TTRL suffers from a critical failure mode: performance collapse. As the model iteratively trains on its own consensus, it often overfits to noisy pseudo-labels, leading to shorter, overconfident, and ultimately incorrect reasoning chains.

Overview of TTRL collapse and the concept of forking tokens.

As shown in Figure 1, standard TTRL (blue lines) initially improves but eventually sees a sharp decline in Pass@1 accuracy. This is attributed to a "structural mismatch" where reinforcement learning updates are applied uniformly across all tokens, failing to distinguish between critical decision points and deterministic "filler" text.

Methods: The SPINE Framework

To address these instabilities, the authors introduce SPINE (Selective Policy Improvements at Nodes of Entropy). SPINE refines the Grouped Relative Policy Optimization (GRPO) framework through three primary mechanisms:

  1. Distribution-Aware Forking Token Selection: SPINE identifies "forking tokens"—the high-entropy points where reasoning paths diverge. By applying Otsu’s method to the token-entropy distribution, the system automatically isolates these critical decision nodes from low-entropy "flowing tokens."
  2. Robust Entropy-Band Regularization: To prevent the model from becoming prematurely overconfident (entropy collapse) or excessively chaotic (noisy drift), SPINE enforces a data-driven entropy band. It calculates a target range based on the median and median absolute deviation of entropy, pushing the model back into a stable reasoning regime if it drifts.
  3. Masked KL Anchor: A Kullback–Leibler (KL) divergence penalty is applied specifically to forking tokens, preserving the model's base capabilities while allowing targeted adaptation.
The SPINE framework architecture featuring entropy-band regularization and token-selective gradients.

Experimental Evaluation

SPINE was evaluated across eight benchmarks spanning multimodal VQA (e.g., MathVision, SLAKE), text-only math (e.g., MATH-500, AIME), and general knowledge (e.g., GPQA, MMLU).

Key Results

  • Performance Gains: SPINE consistently outperformed standard TTRL, achieving an average gain of +2.8% in multimodal tasks and up to +7.6% on the MATH-500 benchmark using a Qwen2.5-Math-1.5B backbone.
  • Stability: Unlike standard methods that collapse after a few hundred steps, SPINE maintains high accuracy and stable response lengths throughout the training process.
  • Generalization: Models adapted on specific mathematical tasks showed positive transfer to unrelated scientific domains, suggesting that SPINE improves underlying reasoning rather than just memorizing task-specific patterns.

Discussion and Limitations

The core insight of SPINE is the "80/20 rule" of tokens: intelligence resides in the small subset of tokens where the model makes a choice. By focusing gradients on these "forking tokens," SPINE avoids the noise introduced by updating deterministic "filler" tokens.

However, several challenges remain. SPINE's reliance on self-consistency means it can reinforce systematic biases if the model consistently reaches the same incorrect conclusion. Additionally, the method assumes well-calibrated entropy; if a model is "confused" about irrelevant tokens, the selection process may be less effective. Finally, maintaining the entropy statistics and preventing response shortening results in a slightly higher computational and memory overhead compared to standard TTRL.

Summary updated

BibTeX
@misc{wu2025spine,
  author = {Jianghao Wu and Yasmeen M. George and Jin Ye and Yicheng Wu and Daniel F. Schmidt and Jianfei Cai},
  title = {{SPINE: Token-Selective Test-Time Reinforcement Learning with Entropy-Band Regularization}},
  year = {2025},
  eprint = {2511.17938},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.17938},
}
Figure