TL;DR
While Chain-of-Thought (CoT) prompting makes an LLM's reasoning steps visible on the surface, the actual internal computational effort expended on each step has remained a black box. This paper introduces Step-Aware Reasoning Energy (SARE), a geometric framework that uses Centered Kernel Alignment (CKA) to measure how much token relationships reorganize across transformer layers during individual reasoning steps. The authors discover that internal "reasoning energy" is highly non-uniform across different semantic tasks, and that sudden drops in energy at critical junctions strongly predict when a model is about to make a mistake.
What Problem Does This Paper Address?
When large language models (LLMs) generate a chain of thought, they break complex problems down into intermediate steps. However, current interpretability tools cannot tell us how hard the model is "thinking" during any specific step. Existing methods either look only at surface-level outputs (like token log-probabilities) or collapse the entire generation path into a single trajectory-level number. This leaves step-wise internal computational effort completely opaque and treats tokens independently, discarding the rich relational structure between tokens within a reasoning step.
This paper bridges the gap between text-level CoT analysis and token-level layer probing, allowing researchers to pinpoint exactly where and how much computational effort is allocated across a reasoning chain.
Methods
The authors propose Step-Aware Reasoning Energy (SARE), a geometry-grounded framework that quantifies step-level reasoning effort:
- Step Segmentation & Clustering: CoT trajectories are split into discrete steps using explicit delimiters. The final-layer hidden states of each step are projected and clustered via K-Means into latent semantic states (macro-states), identifying functional roles like problem framing, factual retrieval, or final verification.
- Layer-to-Layer Dissimilarity via CKA: For each step and each pair of adjacent transformer layers, the authors compute the Centered Kernel Alignment (CKA) between Gram matrices constructed from token hidden states. This measures how much the step's internal token relationship geometry reorganizes from one layer to the next.
- Total Step Energy: The total SARE for a step is the sum of these layer-to-layer geometric changes across the entire forward pass. A step that continuously reorganizes across many layers reflects high computational effort, while one that stabilizes early indicates minimal processing.
Datasets
The framework was evaluated across three open-weight LLMs (LLaMA-3.2-3B, Phi-4-mini, and Gemma-3-4B) across six established reasoning benchmarks:
- Math: GSM8K and MATH (numerical problem-solving).
- Commonsense: CSQA and StrategyQA (implicit factual deductions).
- Multi-Hop QA: HotpotQA and MuSiQue (multi-step factual inference over text).
Key Insights and Ideas
- Energy is Highly Non-Uniform: Computational effort is not distributed evenly. Early setup/information extraction steps and final synthesis steps anchor the energy extremes, while mid-trajectory factual retrieval steps exhibit stable, moderate energy.
- Energy-Based Signatures of Failure: Incorrect trajectories are systematically associated with lower reasoning energy at critical junctions—particularly during final verification and compositional reasoning states—long before the final wrong answer is generated.
- Model-Specific Energetic Profiles: The "dynamic range" of reasoning energy depends heavily on model architecture. For example, Gemma-3-4B utilizes a much wider energy spectrum (10.0–27.5) than LLaMA-3.2-3B (2.0–7.0), implying that larger or differently configured models engage in more intensive representational re-writing across layers.
Key Results
- Outperforming Surface Baselines: When evaluating offline reasoning failure detection, SARE features (combined with token count) consistently matched or outperformed traditional output-based confidence baselines like token log-probability, entropy, and perplexity.
- Robustness on Binary Tasks: On StrategyQA (a binary True/False task), standard probabilistic baselines completely collapse (F1 score of 0.000) because token-level probability distributions are near-uniform across both correct and incorrect paths. SARE bypasses this limitation, retaining solid predictive power with F1 scores between 0.459 and 0.526.
Limitations and Future Work
- Model Scale: All experiments were conducted on open-weight LLMs in the 3–4B parameter range. Whether these geometric energy profiles and failure-detection patterns generalize identically to massive models (e.g., 70B+) remains an open question.
- Computational Overhead: SARE requires extracting hidden states at every transformer layer for every reasoning step, making it computationally heavy and currently best suited for offline analysis. The authors note that layer subsampling or mini-batch CKA estimation could mitigate this cost.
- Future Applications: The authors suggest that SARE scores could be used as a training-time signal (similar to process-reward models) to encourage models to sustain higher geometric reorganization at critical junctions, or at inference time to trigger targeted resampling when energy dips unexpectedly.
Summary updated