TL;DR
What if a Large Language Model (LLM) already "knows" when it’s generating high-quality text versus garbage, and you can read that signal directly from the geometry of its internal activations? Researchers found that measuring the stable rank—the effective dimensionality of an LLM's final-layer hidden states—serves as a remarkably accurate, zero-shot proxy for response quality. By plugging this purely geometric, annotation-free signal into reinforcement learning (SR-GRPO), models can align themselves and boost reasoning without a single human preference label or external verifier.
What Problem Does This Paper Address?
Teaching LLMs to produce helpful, accurate, and coherent answers—known as alignment—traditionally relies on external supervision. Reinforcement Learning from Human Feedback (RLHF) needs human-annotated preference datasets, which are expensive and subjective, plus trained reward models that LLMs inevitably learn to "hack" (for instance, by generating endlessly verbose fluff).
Alternative workarounds have their own catches: programmatic verifiers only work in domains with clear right-or-wrong answers like math and code, while "LLM-as-a-Judge" self-evaluation methods are sensitive to prompt phrasing and often fail on smaller models. All these methods judge text from the outside, ignoring the rich computational traces happening inside the model as it generates a response. The authors ask: can we extract a reliable quality signal directly from the internal geometry of the model's hidden states?
Methods
When an LLM processes a sequence of $T$ response tokens, its final hidden layer produces an activation matrix $\mathbf{H} \in \mathbb{R}^{T \times d}$. Prior theory suggests that good language generation navigates a rich, high-dimensional semantic space, whereas degraded or repetitive text suffers from "representation collapse," clustering into a narrow cone.
To measure this, the authors use a classic matrix-theoretic metric called stable rank: $$\text{SR}(\mathbf{H}) = \frac{\|\mathbf{H}\|_F^2}{\|\mathbf{H}\|_2^2} = \frac{\sum_i \sigma_i^2}{\sigma_1^2}$$ Simply put, it is the ratio of total variance across all directions (Frobenius norm squared) to the variance along the single most dominant direction (spectral norm squared). If all token representations collapse onto one direction, stable rank drops toward $1$. If information spreads evenly across many semantic dimensions, stable rank grows higher. Crucially, computing this takes $O(Td)$ time, adding negligible overhead to a standard forward pass.
Building on standard Group Relative Policy Optimization (GRPO)—an RL algorithm that scores a group of sampled responses relative to each other—the authors introduce SR-GRPO. What's new is the reward source: for each prompt, the policy generates $K$ candidate responses, and their stable ranks are computed using a frozen reference model. Using a frozen model is vital; if the policy were scored on its own shifting activations, it could easily cheat by artificially inflating its activation variance without improving actual text quality.
Datasets
No new benchmarks were introduced.
- Zero-Shot Evaluation & Correlation Analysis: RewardBench (2,985 human preference pairs across Chat, Chat-Hard, Safety, Code, and Math).
- RL Training: Prompts from SmolTalk2 (strictly prompts—no preference labels or ground-truth answers are used).
- Downstream Evaluation: STEM tasks (GPQA, MMLU-redux), Mathematical Reasoning (MATH500, AIME25, OlympiadBench, AMC23), and Open-ended Chat (WildBench, judged by GPT-4o mini).
Key Insights and Ideas
- Immunity to length bias: A notorious failure mode in RLHF is length hacking, where models write bloated essays to please reward models. Stable rank naturally correlates negatively with token count ($\rho = -0.294$) and positively with lexical diversity and compression ratio. Repetitive fluff crowds into the same representational directions, driving down the stable rank.
- Geometry reflects coherence and logic: Correlating stable rank against 37 text metrics revealed that it rewards smooth topic progression and penalizes erratic jumps between sentences. Interestingly, it penalizes overusing structural filler words ("moreover", "first", "then"), while showing positive sensitivity to the presence of key logical turning points ("however", "because").
- Tiny models punch above their weight: Small models (like 0.6B or 1.5B parameters) are notoriously terrible at self-evaluation via prompting because they struggle to follow complex rubric instructions. Because stable rank bypasses prompting altogether and reads the raw activations, it works reliably even on tiny LLMs.
Key Results
- Zero-Shot Reward Proxy: On RewardBench, stable rank achieves 84.04% accuracy with Qwen3-8B, beating generative LLM-as-a-Judge baselines. On smaller models like Qwen2.5-1.5B-Instruct, it hits 75.95%, outperforming the best self-evaluation baseline by 10.1 percentage points.
- Test-Time Best-of-N Scaling: Selecting the response with the highest stable rank out of $N=16$ samples consistently beats greedy decoding across four model families—boosting accuracy by +20.5% on Llama-3.2-1B and +17.0% on Qwen2.5-1.5B.
- Annotation-Free RL (SR-GRPO): Without any external labels, SR-GRPO improves Qwen2.5-1.5B-Instruct's average math score from 28.0% to 32.4% (~16% relative gain, and up to 19% over learned reward model baselines) and boosts WildBench chat Elo by +26.2 points. On the already strong DeepSeek-R1-Distill-Qwen-1.5B, SR-GRPO pushes OlympiadBench performance from 43.6% to 58.5%, outperforming a 1.7B Skywork learned reward model and all self-reward baselines.
Limitations and Future Work
Because stable rank requires direct access to hidden-state matrices, it is strictly a white-box metric—you cannot use it to score closed-source, API-only models that only return text. Furthermore, while the authors demonstrate strong empirical correlations between high stable rank and text quality, the exact mechanistic reason why valid reasoning spreads variance more evenly across dimensions warrants deeper theoretical investigation. Future work will explore scaling SR-GRPO to larger model families and longer, sustained RL training runs to see how far purely geometric self-alignment can go.
Summary updated