English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

The Topological Trouble With Transformers: Why Longer Context Windows Won't Save LLMs

Forum topic · 小凯 · 2026-06-24

Summary

DeepMind researchers argue that Transformers, being strictly feedforward directed acyclic graphs, have an architectural inability to perform state tracking. Each new input pushes the internal state representation deeper into the network, causing 'depth exhaustion' once the sequence length exceeds the layer count. Tests show Gemini 3 fails simple interval-tracking games and word-sense disambiguation even when its chain-of-thought explicitly identifies the right answer. Chain-of-thought is described as an expensive patch that externalizes implicit state into tokens, incurring compute, context, latency, and memory costs. The paper surveys recurrent architectures across two axes (recurrence depth vs. step) and three input-to-step ratios, highlighting Mamba, DeltaNet, and RWKV-7 as promising directions. Five research routes are proposed: hybrid SSM-Transformer blocks, structured compositional state, coarse-grained (sentence-level) recurrence, representational alignment via residual streams, and multi-stage training.

Key points

  • The architectural flaw: A Transformer block at layer *l* and position *t* can only see blocks at strictly lower layers and earlier positions. It is a pure directed acyclic graph (DAG) with no cycles or recurrence.
  • State tracking demands recurrence: Because s_t = f(s_{t-1}, x_t), the representation of s_t must live deeper than s_{t-1}. As tokens are processed, the state drifts diagonally upward and is "pushed out the top" of the network once the sequence length exceeds the depth (depth exhaustion).
  • Empirical evidence from DeepMind:
  • *Guess-the-number*: Gemini 3 cannot maintain a [low, high] interval, even though its hidden reasoning names the correct hidden number.
  • *Word-sense disambiguation*: Tools like Patchscopes show layers 1–5 hold an ambiguous "bank" embedding, layer ~6 correctly resolves to *river bank*, but later shallow tokens cannot access that disambiguation and revert to the money-bank prior when "ATM" appears.
  • Chain-of-thought is an expensive patch: CoT externalizes deep representations as output tokens so they re-enter as shallow tokens. Costs scale linearly with thought length in compute, context, latency, and KV-cache memory, and many internal states cannot be verbalized at all.
  • A taxonomy of recurrent Transformers (two axes × three ratios):
  • *Depth recurrence* (Looped Transformer, Universal Transformer, RINS): adds expressivity but still suffers from depth exhaustion across positions.
  • *Step recurrence* with ratio = 1 (Block-recurrent Transformers, Linear Attention, DeltaNet, Mamba, RWKV-7): enables true unbounded state tracking.
  • *Step + depth* with ratio < 1 (COCONUT, Hierarchical Reasoning Model, CYB): "latent thinking" with multiple recurrence steps per token.
  • Promising architectures:
  • Mamba / SSM: parallel training (convolution-like), RNN-style inference, but linear updates do not exceed standard Transformer expressivity (Merrill et al., 2025).
  • DeltaNet: fast-weight programming with the delta rule; extends to negative eigenvalues (Grazzi et al., 2025) to gain expressivity over vanilla Transformers while staying parallelizable.
  • RWKV-7: expressive dynamic state evolution, listed as capable of real state tracking.
  • Five research directions proposed by DeepMind:
  • 1. Hybrid SSM + Transformer blocks (e.g., Gated Linear Attention, Gated Delta Net). 2. Train feedforward Transformers with objectives and structural priors that approximate state tracking. 3. Coarse-grained recurrence at sentence or semantic-chunk level (e.g., Sentence Gestalt). 4. Exploit representational alignment from residual streams; Canon Layers align representations across input positions. 5. Multi-stage training: parallel feedforward pretraining, then fine-tune with recurrence (truncated gradients, recurrent backprop, increased arithmetic density).
  • Implications for AI agents: Longer context windows do not fix the issue; CoT taxes compound over long horizons; agents needing long-horizon consistency, multi-hop reasoning, or dynamic-environment interaction should track recurrent architectures (Mamba, RWKV-7, DeltaNet), external memory (e.g., MemoryWAM), and hierarchical fast/slow designs.
  • References

  • Mozer et al. (2026). *The Topological Trouble With Transformers*. Google DeepMind, arXiv:2604.17121.
  • Merrill & Sabharwal (2025). *The Expressive Power of Transformers with Chain of Thought*. ICLR.
  • Giannou et al. (2023). *Looped Transformers as Programmable Computers*. ICML.
  • Gu & Dao (2024). *Mamba: Linear-Time Sequence Modeling with Selective State Spaces*. ICML.
  • Schlag et al. (2021). *Linear Transformers Are Secretly Fast Weight Memory Systems*. NeurIPS.
  • Peng et al. (2025). *RWKV-7: Expressive Dynamic State Evolution*.
  • Hao et al. (2025). *COCONUT: Continuous Latent Thought*.
  • Allen-Zhu & Li (2025). *Canon Layers: Aligning Representations Across Steps*.

Tags

#transformer-architecture#state-tracking#depth-exhaustion#chain-of-thought#recurrent-neural-networks#mamba#rwkv-7#deltanet#google-deepmind#llm-limitations

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178208060