cs.LGApr 3, 2026

The Spectral Geometry of Thought: Phase Transitions, Instruction Reversal, Token-Level Dynamics, and Perfect Correctness Prediction in How Transformers Reason

Authors: Yi Liu

Abstract

We discover that large language models exhibit spectral phase transitions in their hidden activation spaces when engaging in reasoning versus factual recall. Through systematic spectral analysis across 11 models spanning 5 architecture families (Qwen, Pythia, Phi, Llama, DeepSeek-R1), we identify seven core phenomena: (1)Reasoning Spectral Compression -- 9/11 models show significantly lower αα for reasoning (p<0.05p < 0.05), with larger effects in stronger models; (2)Instruction Tuning Spectral Reversal -- base models show reasoning α<α< factual αα, while instruction-tuned models reverse this relationship; (3)Architecture-Dependent Generation Taxonomy -- prompt-to-response shifts partition into expansion, compression, and equilibrium regimes; (4)Spectral Scaling Law -- αreasoning∝−0.074ln⁡Nα_\text{reasoning} \propto -0.074 \ln N across 4 Qwen base models (R2=0.46R^2 = 0.46); (5)Token-Level Spectral Cascade -- per-token alpha tracking reveals local synchronization that decays exponentially with layer distance, and is weaker for reasoning than factual tasks; (6)Reasoning Step Spectral Punctuation -- phase-transition signatures align with reasoning step boundaries; and (7)~Spectral Correctness Prediction -- spectral αα alone achieves AUC =1.000= 1.000 (Qwen2.5-7B, late layers) and mean AUC =0.893= 0.893 across 6 models in predicting correctness before the final answer is generated. Together, these findings establish a comprehensive spectral theory of reasoning in transformers, revealing that the geometry of thought is universal in direction, architecture-specific in dynamics, and predictive of outcome.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Geometric Signatures of Reasoning: A Spectral Perspective on Task Hardness

    Jul 2, 2026Aria Masoomi, Mahsa Bazzaz, Adel Javanmard +1LLM EvaluationRepresentation Geometry in Language Models

  2. Spatiotemporal Hidden-State Dynamics as a Signature of Internal Reasoning in Large Language Models

    May 3, 2026Kotaro Furuya, Takahito TanimuraTransformer InterpretabilityLLM Evaluation

  3. Quantifying the Stability of Multi-Step Reasoning via Error Amplification

    Oct 5, 2026Dongyue Li, Ziniu Zhang, Minxuan Duan +1Efficient Language Model ReasoningCoT Compression