SpeCal: Spectral Calibration for Unsupervised RLVR

Kai Tang, Xing Zheng, Haobo Wang, Guangcheng Zhu, Shenzhi Yang, Zhengqing Zang, Yingfan Ma, Cheng Peng, Bowen Song, Weiqiang WangarXiv 2026 · arXiv

TL;DR

SpeCal is a new framework that makes unsupervised Reinforcement Learning with Verifiable Rewards (RLVR) significantly more reliable by analyzing the "geometry" of a model's internal hidden states. By using spectral analysis to weight training updates based on the coherence and support of reasoning paths, it achieves state-of-the-art results on math benchmarks—sometimes even outperforming fully supervised methods.

What Problem Does This Paper Address?

Reinforcement Learning with Verifiable Rewards (RLVR) has been the "secret sauce" behind recent breakthroughs in LLM reasoning (like DeepSeek-R1 and OpenAI’s o1). Usually, this requires a massive dataset of questions paired with ground-truth answers or executable code to verify if the model is correct.

However, we have a nearly infinite supply of unlabeled reasoning problems. "Unsupervised RLVR" tries to use this data by letting the model grade itself—for example, using majority voting (if 5 out of 8 rollouts reach the same answer, that answer is likely correct). The problem is that these "endpoint signals" are shallow. They tell you what the model produced, but not how it got there. A model might reach the right answer through a lucky hallucination or a fragmented reasoning path, leading to "reward hacking" where the model learns to be confident for the wrong reasons.

Methods

The authors propose SpeCal (Spectral Calibration), which looks "under the hood" at the model's hidden states during the reasoning process. Instead of just looking at the final text, SpeCal treats a group of model responses as a cloud of points in high-dimensional space and analyzes their spectral geometry.

The framework operates at two levels:

  1. Group-Level Calibration: It calculates the Spectral Mass (total variation) and Effective Rank (how many "dimensions" the variation covers) of a group of responses to a single question. It uses a "Gaussian band-pass gate" to favor groups in a "Goldilocks zone"—not too collapsed (where the model is just repeating one boring idea) and not too fragmented (where the model is just outputting noise).
  2. Rollout-Level Calibration: For each individual response, SpeCal builds a "denoised subspace" using all the other responses in the group. It then measures Conditional Spectral Support—essentially checking if this specific reasoning path is supported by the collective structure of its peers. If a response is a weird, idiosyncratic outlier, its influence on the training update is downweighted.

These spectral weights are then used to calibrate the advantages in the GRPO (Group Relative Policy Optimization) algorithm, ensuring the model learns most from high-quality, structurally sound reasoning.

Datasets

The authors evaluated SpeCal using two 8B-parameter backbones (Qwen3-8B-Base and DeepSeek-R1-Distill-Llama-8B) across a wide array of benchmarks:

  • Training: A challenging subset of DeepMath-103K.
  • In-Domain (Math Reasoning): AIME 2024/2025, MATH-500, Minerva, AMC, and OlympiadBench.
  • Out-of-Domain (General Reasoning): ARC-c, GPQA-Diamond, and MMLU-Pro.

Key Insights and Ideas

  • Hidden States are Richer than Text: The core "aha moment" is that the internal representations of an LLM contain structural information about the reliability of a thought process that is discarded once the text is decoded.
  • The Geometry of Reliability: Reliable reasoning tends to form a coherent geometric structure. By measuring how much a single "thought" is supported by the "subspace" of other thoughts, we can filter out hallucinations without needing an answer key.
  • Plug-and-Play Calibration: SpeCal doesn't redefine the reward; it calibrates existing ones. This means it can be added on top of majority voting, entropy-based rewards, or any other unsupervised scheme to make it more robust.

Key Results

  • Consistent Gains: SpeCal improved the strongest unsupervised baselines by an average of 2.7 points in-domain and 1.1 points out-of-domain.
  • Beating Supervision: In several settings (like the AMC benchmark with the Qwen backbone), SpeCal actually outperformed fully supervised RLVR, suggesting that internal geometric signals can sometimes be more informative than binary "correct/incorrect" labels.
  • Efficiency: Despite the complex math (SVDs and Gram matrices), SpeCal only adds about 3% runtime overhead compared to simple majority voting, making it highly practical for large-scale training.

Limitations and Future Work

  • White-Box Requirement: SpeCal requires access to the model's internal hidden states (activations). This makes it unusable for black-box models accessed via API (like GPT-4).
  • Layer Selection: The performance depends on which layers you extract hidden states from. While the authors found that a uniform sampling across the model works well, there might be more optimal ways to select these "representation anchors."
  • Scaling to 70B+: The experiments were conducted on 8B models. While the theory should hold, the behavior of hidden state spectra in much larger models remains an area for future exploration.

For more details, you can find the full paper under the title "SpeCal: Spectral Calibration for Unsupervised RLVR" (arXiv:2611.20691v1).

Summary updated

Abstract

Reinforcement learning with verifiable rewards (RLVR) has substantially improved the reasoning abilities of large language models, but its dependence on ground-truth answers or external verifiers limits its ability to exploit abundant unlabeled reasoning data. Unsupervised RLVR alleviates this bottleneck by deriving scalar rewards from the model's own rollouts. However, the reliability of such self-generated supervision varies substantially across rollout groups and individual responses, while existing methods construct or refine their rewards mainly from decoded outcomes and reward statistics. These endpoint signals reveal what answers the model produces, but provide limited information about whether the underlying rollout representations form a reliable structure for learning. Our key observation is that hidden-state spectra offer a complementary view of supervision reliability by characterizing both the organization of a rollout group and the support received by each rollout within that group. Based on this observation, we propose SpeCal, a bi-level spectral calibration framework for unsupervised RLVR. At the group level, SpeCal combines spectral mass with a Gaussian band-pass gate over normalized entropy-based effective rank, favoring rollout groups with substantial representation variation whose effective dimensionality lies in a preferred regime. At the rollout level, the same group effective rank determines how many dominant directions are retained in a leave-one-out spectral subspace formed by the remaining rollouts, within which the conditional support of each held-out rollout is measured. The resulting signals calibrate the original reward-induced advantages at the group and rollout levels without redefining the underlying unlabeled reward.
BibTeX
@misc{tang2026specal,
  author = {Kai Tang and Xing Zheng and Haobo Wang and Guangcheng Zhu and Shenzhi Yang and Zhengqing Zang and Yingfan Ma and Cheng Peng and Bowen Song and Weiqiang Wang},
  title = {{SpeCal: Spectral Calibration for Unsupervised RLVR}},
  year = {2026},
  eprint = {2611.20691},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20691},
}
Figure