Interpreting Latent CoT Reasoning as Dynamical Systems

Shreya Sanjay Boyane, Sabari Iyyappan Duraipandian, Manju Nagesh, Jerome Francis, Archana Vaidheeswaran, Kevin Zhu

TL;DR

This paper pulls back the curtain on "Latent Chain-of-Thought" (CoT) models—which reason in hidden vector spaces rather than through text—by treating their internal processes as dynamical systems. The researchers discover that different latent reasoning models follow fundamentally different "physics": CODI acts as a stable attractor that converges on solutions, while COCONUT acts as an unstable expanding system that explores multiple paths simultaneously.

What Problem Does This Paper Address?

Large Language Models (LLMs) usually reason by "thinking out loud" (explicit CoT), which is transparent but computationally expensive. To save tokens, researchers developed Latent CoT (like CODI and COCONUT), where the model performs reasoning steps entirely within its hidden layers.

The problem? These hidden steps are a "black box." While we know they work, we don't know how the reasoning evolves from step to step. Previous interpretability methods (like looking at attention maps) show where the model looks, but they don't explain the trajectory of the thought process. Furthermore, these models often suffer from "latent instability," where the internal representations collapse or become chaotic as the reasoning chain gets longer.

Methods

The authors propose a framework to analyze latent reasoning as a trajectory in representation space. They use a suite of tools borrowed from dynamical systems and high-dimensional data analysis:

  • Quantitative Metrics:
    • Step-to-step change: Measuring the "distance" moved in vector space between reasoning steps.
  • Direction consistency: Checking if the model is moving in a straight line or making sharp "pivots."
    • Lyapunov Sensitivity: A classic physics metric used to determine if a system is stable (converging) or chaotic (diverging).
  • Arc Length: The total "distance" traveled by a thought, representing reasoning effort.
  • Qualitative Projections: To visualize these high-dimensional paths, they use DMD (Dynamic Mode Decomposition) and PHATE, which are better at preserving temporal trajectories than standard tools like t-SNE or PCA.

Datasets

The study uses the GSM8K (Grade School Math 8K) benchmark, a collection of 8,792 word problems requiring multi-step arithmetic. The problems are categorized into seven math concepts (e.g., Geometry, Money & Pricing, Logic) to see if reasoning dynamics change based on the topic.

Key Insights and Ideas

  • Two Distinct "Species" of Reasoning:
    • CODI follows a classification strategy. Its trajectories are stable attractors that converge toward two distinct "modes" or lobes in the latent space. It essentially "narrows down" the answer.
  • COCONUT follows a computation strategy. It behaves like an unstable, expanding system (a "butterfly" pattern), exploring a wide breadth of candidate reasoning paths simultaneously before settling.
  • The "Physics" of Correctness: The authors found that correct answers generally have slightly longer arc lengths (more internal "work" done) and are more robust to noise than incorrect ones.
  • SIM-CoT as a "Stabilizer": SIM-CoT is a training method that aligns latent steps with real text. The paper shows that SIM-CoT doesn't change a model's fundamental geometry (a butterfly stays a butterfly), but it "tightens" the trajectory, making the reasoning more deterministic and less prone to drifting into "chaos."
  • Shortcuts and Compression: Visualization via PHATE revealed that COCONUT sometimes creates "shortcut pathways" where early reasoning steps bridge directly to late-stage representations, bypassing intermediate logic.

Key Results

  • Stability Profiles: CODI showed consistently negative Lyapunov values (indicating convergence), while COCONUT showed a sharp positive spike at the mid-chain transition (indicating a phase of active exploration/divergence).
  • Geometric Clustering: UMAP and DMD plots showed that COCONUT maintains very distinct regions for each reasoning step (step-specific roles), whereas CODI’s representations are more interleaved and diffuse.
  • Perturbation Sensitivity: When noise was injected into the model, incorrect reasoning paths diverged much faster than correct ones, suggesting that "certainty" in a model is tied to the stability of its dynamical trajectory.

Limitations and Future Work

  • Model Scale: The experiments were conducted on GPT-2 Small (124M parameters). It remains to be seen if massive models like Llama 3 or DeepSeek exhibit the same "attractor vs. expander" dynamics.
  • Fixed Reasoning Length: The study used a fixed sequence of $T=6$ latent steps. Real-world problems might require much longer or variable-length trajectories.
  • Dataset Diversity: While GSM8K is a standard for math, the authors suggest future work should explore more complex reasoning tasks like Strategy-QA or the harder MATH dataset.
  • Interventions: A promising next step is using these dynamical insights to "steer" models in real-time—intervening in the latent space to push a diverging (likely incorrect) trajectory back toward a stable, correct attractor.

Summary updated

BibTeX
@inproceedings{boyane2026interpreting,
  author = {Shreya Sanjay Boyane and Sabari Iyyappan Duraipandian and Manju Nagesh and Jerome Francis and Archana Vaidheeswaran and Kevin Zhu},
  title = {{Interpreting Latent CoT Reasoning as Dynamical Systems}},
  booktitle = {FoGen @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=ZAGsOMAwBV},
}
Figure