TL;DR
Latent Chain-of-Thought (CoT) promises the best of both worlds: giving AI models extra "thinking time" using silent, continuous vectors instead of slow, verbose text. By peering inside these silent thoughts, the authors discover that models only reason step-by-step on short, simple tasks—as problems get longer or mathematically incompressible, the models abandon full step-by-step rollouts in favor of clever algebraic shortcuts, or suffer a total collapse in reasoning.
What Problem Does This Paper Address?
When an LLM writes out a Chain-of-Thought ("First I multiply A by B, then add C..."), it gets better at multi-step reasoning, and humans get a readable window into its process. The catch? Generating all those words is computationally slow.
Enter Latent CoT. Instead of emitting English words, these models pass continuous, high-dimensional "thought vectors" back into themselves before answering. It’s fast and expressive, but completely opaque. Because we can't read vectors like text, we face a nagging question: Are latent-CoT models actually computing intermediate steps silently in their heads, or are they just learning sophisticated heuristics and shortcuts? Accuracy alone can't tell the difference, so the authors open the black box to find out.
Methods
The authors act as neuroscientists for small, 3-layer GPT-2–style transformers trained under two different latent-CoT paradigms:
- CODI (Continuous CoT via Self-Distillation): A teacher model writes out explicit step-by-step answers, while a student model uses a fixed budget of silent "thought tokens" (
[ℓ_1]...[ℓ_p]), aligning its internal state with the teacher right before the final answer. - Coconut: A curriculum-based model that progressively replaces explicit text steps with continuous thoughts during training.
To trace what happens inside those silent vectors, they deploy four standard mechanistic interpretability tools in a novel setting:
- Logit Lens & Linear Probes: Decoding hidden activations at each layer and thought token to see if and where true intermediate math results appear.
- Attention Maps & Knockouts: Seeing where tokens "look" (and severing connections) to trace how information flows to the final
[Ans]token. - Activation Patching: Swapping clean internal states into corrupted runs to prove causal responsibility—verifying that a decoded intermediate state is actually used to compute the answer, rather than just sitting there as an artifact.
Alongside empirical probing, the authors develop a new mathematical theory of task-level compressibility using ring theory and transition ranks to explain why latent reasoning shifts or breaks down.
Datasets
Because natural language math problems have messy, ambiguous intermediate steps, the authors use clean, synthetic algorithmic benchmarks where every ground-truth intermediate "bridge state" ($s_t$) is strictly known:
- Polynomial-Iteration Dataset: Adapted from prior interpretability work, the model receives inputs $x_1, \dots, x_{n+1}$ and repeatedly updates a state modulo $m$: $s_t = (s_{t-1} \cdot x_t + b) \pmod m$. They test hop depths $n$ from $2$ up to $31$, across both composite ($m=50$) and prime ($m=41$) moduli.
- Finite-State Function Composition (FSC) (Newly Introduced): To prove their findings aren't just quirks of modular arithmetic, the authors introduce FSC. The model tracks states across a library of functions where the ratio of bijective (one-to-one, information-preserving) vs. compressive (many-to-one, information-erasing) transitions is explicitly tuned.
Key Insights and Ideas
- A Two-Highway Division of Labor: On short tasks (2–3 hops), CODI genuinely forms the intermediate bridge state in its latent thoughts. However, it doesn't do the final step in the thought channel! Instead, it routes the final input ($x_{n+1}$) directly to the
[Ans]token via a copy-like attention head, fusing it with the latent bridge state at the very last moment. - Longer Tasks Trigger "Late-Bottleneck" Shortcuts: When hop counts grow ($n \ge 4$, even up to $n=31$), CODI stops computing $s_2, s_3, \dots$ sequentially in its latent tokens. Even if you give it 20 thought tokens, it ignores early steps and uses the latent channel solely to form and refine the final one or two intermediates ($s_n$).
- The Prime vs. Composite Cliff (Compressibility): Why can a model skip early steps when $m=50$, yet fail miserably when $m=41$? Algebraic compressibility! Under a composite modulus like $50$, multiplying by numbers that share factors with $50$ (like $2, 5, 10$) creates many-to-one contractions that erase old history—meaning the final answer mostly depends on a coarse summary plus the last few steps. Under a prime modulus like $41$, every nonzero multiplication is invertible (bijective). Nothing is ever forgotten; the entire history matters equally, overwhelming the fixed latent budget.
- Architecture Independence: Both CODI and Coconut exhibit this exact shift—partial late-intermediate shortcuts on compressible tasks and reasoning collapse on incompressible ones—proving this is a fundamental property of task structure meeting finite latent compute, not a quirk of how the model was trained.
Key Results
- Bridge State Localization (2-hop, $m=50$): Using Logit Lens, the intermediate bridge state $s_2$ becomes clearly decodable across latent tokens
[ℓ_1]–[ℓ_6]with mean probability between 0.359 and 0.709 (and linear probe confidence approaching 1.0). Meanwhile, final input $x_3$ isn't in the latent stream at all, appearing at[Ans]with ~0.85 probe probability.
- Causal Proof via Patching & Knockouts: Blocking
[Ans]from attending to latent thoughts collapses accuracy to 3.8%. In activation patching on corrupted $x_2$ runs, patching[BoT]at Layer 2 restores 100% accuracy (and ~77–86% at[ℓ_1]), while patching late thoughts ([ℓ_4]–[ℓ_6]) recovers 0%. Conversely, for $x_3$ corruptions, patching latent thoughts yields 0% recovery, while patching directly at[Ans]recovers 100%.
- Scale & Budget Ablations: Sweeping thought length ($p \in \{1 \dots 20\}$) and model size (2–7 layers, 2–8 heads) on 31-hop tasks fails to coax a full step-by-step rollout out of CODI. On prime moduli ($m=41$) and fully bijective FSC ($\alpha=1$), accuracy drops sharply and decodable latent intermediates vanish altogether.
Limitations and Future Work
- Model Architectures: The study focuses on autoregressive continuous-thought transformers (CODI and Coconut). Whether looped transformers, recurrent latent-state models, or hybrid text-latent systems behave the same way remains an open question.
- Synthetic vs. Real-World Reasoning: Polynomial iteration and finite-state machines offer crystal-clear ground-truth intermediates, but they are clean abstractions. A major next step is testing whether this compressibility principle predicts how larger LLMs reason over messy, naturalistic language tasks where redundancy and information bottlenecks arise organically.
Summary updated