LLM Reasoning as Trajectories: Step-Specific Representation Geometry and Correctness Signals
Organizations: Microsoft
Abstract
This work characterizes large language models' chain-of-thought generation as a structured trajectory through representation space. We show that mathematical reasoning traverses functionally ordered, step-specific subspaces that become increasingly separable with layer depth. This structure already exists in base models, while reasoning training primarily accelerates convergence toward termination-related subspaces rather than introducing new representational organization. While early reasoning steps follow similar trajectories, correct and incorrect solutions diverge systematically at late stages. This late-stage divergence enables mid-reasoning prediction of final-answer correctness with ROC-AUC up to 0.87. Furthermore, we introduce trajectory-based steering, an inference-time intervention framework that enables reasoning correction and length control based on derived ideal trajectories. Together, these results establish reasoning trajectories as a geometric lens for interpreting, predicting, and controlling LLM reasoning behavior.
Figures & tables
| Probe | Eval. | Step | Final Ans. | |||
| From | On | 2 | 3 | 4 | 5 | Marker |
| Instruct | R1-Dist. | 0.99 L18 | 0.93 L19 | 0.87 L12 | 0.91 L18 | 0.87 L23 |
| Base | 1.00 L12 | 0.97 L08 | 0.95 L08 | 0.93 L18 | 0.97 L21 | |
| R1-Dist. | Instruct | 1.00 L03 | 0.92 L08 | 0.88 L07 | 0.93 L27 | 0.98 L19 |
| Base | 1.00 L06 | 0.94 L04 | 0.89 L30 | 0.91 L08 | 0.96 L19 | |
| Base | Instruct | 1.00 L21 | 0.98 L18 | 0.97 L18 | 0.97 L23 | 1.00 L31 |
| Format Category | Count | % | Segments |
| Step X: | 4,820 | 64.5 | 4.6 steps |
| \n\n -sep. paragraphs | 838 | 11.2 | 5.6 paragraphs |
| \n -separated lines | 687 | 9.2 | 7.6 lines |
| Single block | 662 | 8.9 | 7.7 sentences |
| Numbered list (1./1)) | 467 | 6.2 | 4.4 items |
| Method | Best-layer AUC |
| Step-count only | |
| LogitLens (best config) | |
| Trajectory features (ours) |
| Intervention | Always | Gated | Gain vs Always |
| Step | |||
| Check | |||
| Wait | |||
| Hmm | |||
| Prolong (Last) | |||
| Prolong (Mid) |
| Eval. Dataset | Step | Ans. | ||||
| 1 | 2 | 3 | 4 | 5 | Marker | |
| MATH-500 | 1.00 | 1.00 | 0.98 | 0.91 | 0.85 | 0.99 |
| MMLU | 1.00 | 1.00 | 0.98 | 0.92 | 0.89 | 0.98 |
| Freeform GSM8K | 0.93 | 0.84 | 0.83 | 0.84 | 0.88 | 0.92 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Probe | Eval. | Step | Final Ans. | ||||
| From | On | 1 | 2 | 3 | 4 | 5 | Marker |
| Instruct | Base | 0.9976 | 0.9689 | 0.9182 | 0.8099 | 0.8785 | 0.8800 |
| R1-Dist. | 0.9998 | 0.9753 | 0.8579 | 0.7705 | 0.8511 | 0.7826 | |
| R1-Dist. | Base | 0.9977 | 0.9381 | 0.8651 | 0.8344 | 0.8516 | 0.9102 |
| Instruct | 1.0000 | 0.9057 | 0.7988 | 0.8065 | 0.8730 | 0.8819 | |
| Base | Instruct | 1.0000 | 0.9900 | 0.9063 | 0.8714 | 0.8794 | 0.9197 |
| Category | Step 1 | Step 2 | Step 3 | Step 4 | Step 5 | Answer |
| Step X: | 0.96 (0.98 @ L1) | 0.83 (0.85 @ L19) | 0.81 (0.84 @ L28) | 0.72 (0.83 @ L10) | 0.71 (0.88 @ L30) | 0.86 (0.93 @ L20) |
| Non- Step X: | 0.85 (0.86 @ L1) | 0.82 (0.85 @ L18) | 0.79 (0.84 @ L7) | 0.77 (0.85 @ L10) | 0.75 (0.88 @ L25) | 0.86 (0.92 @ L10) |
| Numbered list | 0.82 (0.91 @ L1) | 0.83 (0.89 @ L18) | 0.81 (0.83 @ L30) | 0.75 (0.85 @ L10) | 0.73 (0.89 @ L24) | 0.86 (0.95 @ L10) |
| \n\n paragraphs | 0.82 (0.82 @ L1) | 0.75 (0.81 @ L14) | 0.79 (0.83 @ L30) | 0.82 (0.86 @ L10) | 0.81 (0.91 @ L22) | 0.81 (0.96 @ L23) |
| \n lines | 0.87 (0.87 @ L0) | 0.82 (0.87 @ L18) | 0.77 (0.86 @ L0) | 0.75 (0.86 @ L10) | 0.79 (0.90 @ L30) | 0.89 (0.94 @ L10) |
| Single block | 0.87 (0.88 @ L1) | 0.87 (0.87 @ L18) | 0.81 (0.87 @ L30) | 0.74 (0.85 @ L30) | 0.67 (0.85 @ L31) | 0.87 (0.94 @ L6) |
| Component | Result |
| Linear probes (best-layer acc.) | across all steps |
| Correctness pred. (Final State) | (L29) |
| Correctness pred. (Final State PCA) | (L19) |
| Correctness pred. (Late Steps PCA) | (L21) |
| Operation | Per-call | Total |
| PCA projection + divergence check | s | s |
| Low-rank update ( ) | s | s |
| Trajectory steering (combined) | — | s |
| Prolong (per-token all timesteps) | s | s |
| Instruct | Base | R1-Distill | |
| Mean | 4.5 | 6.6 | 6.9 |
| Median | 4 | 6 | 5 |
| 70.5% | 33.4% | 52.1% |
LLM Reasoning
Large language model reasoning studies how models solve multi-step problems, verify intermediate steps, and use computation or tools reliably.
See all 913 papers