Invariant Learning Dynamics of Transformers in Inductive Reasoning Tasks
Summary
Defines the Invariant Manifold of Inductive Reasoning (IMIR): a low-dimensional subspace that gradient descent never leaves on a block-list task class unifying in-context n-grams, k-hop induction, and associative recall. QK and output weights stay in a span of interpretable token/position selection and action bases. In a 2-layer 1-head model the IMIR is 28-dimensional; ICL (alpha, beta, gamma induction head) competes with IWL (delta). IWL emerges first and multiplies ICL gradients by a data-dependent factor; burstiness multiplies the ICL gradient. In 3-layer models, initialization selects among three induction-head circuits with sharp cooperative/competitive phase boundaries. Projecting trained weights onto the IMIR recovers two-hop induction circuits including extra aiding directions. Analysis is attention-only with fixed orthogonal OV maps and merged QK; FFN/LN extensions are sketched. No official code on the abs page.
- Venue
- arXiv / ETH Zurich
- Source
- arxiv
- Access
- free
- License
- CC BY 4.0
- License family
- Permissive
- Language
- en
- Purpose
- Prove that Transformer training on a unified class of inductive tasks stays on a low-dimensional invariant manifold
- Scale
- Synthetic block-list tasks; 2-layer 1-head (28-dim IMIR); 3-layer competing induction heads; deep single-head two-hop induction for auto circuit detection
- Used for
- Unknown
- Time period
- 2026-07-13 (arXiv 2607.11875 v1); last revised 2026-07-14 (v2)
- Author type
- human
- Added
- Aug 14, 2026
- Verified
- Aug 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Jul 13, 2026
- Last revised
- Jul 14, 2026
- arXiv categories
- cs.LG, cs.AI
- Citations
- 1
- References
- 50
Abstract (from arXiv)
We present a theoretical framework to explain the emergence of inductive reasoning abilities in Transformer language models. While previous works on Transformer learning dynamics have so far been mostly tied to specific tasks, we study a generalized class of inductive tasks that unifies several synthetic tasks known in the literature, including in-context n-grams and multi-hop reasoning. In this class, we theoretically prove that the training dynamics of attention models can be confined to a highly interpretable, low-dimensional invariant manifold. On this manifold, the learning dynamics are captured by a handful of interpretable coordinates rather than millions of parameters, making both theoretical and empirical analysis more tractable. Using this framework, we characterize how data statistics govern the competition between in-context and in-weights learning, we study how random initializations determine the `winning' circuit when multiple solutions are possible, and we demonstrate that the coordinate frame associated with the manifold can be used to automatically detect which circuits have been learned in trained models. By casting circuit formation as a low-dimensional dynamical phenomenon, we take a step toward a predictive theory of how Transformers learn.
Tags
Topics
interpretability, learning dynamics, transformers
Research notes
- Primary: arxiv abs (CC BY 4.0, cs.LG). Correspondence tiberiu@musat.ai, tiago.pimentel@inf.ethz.ch. ETH Zurich; Zucchet at Stanford. No official code on abs. HF has no paper page (404). Discord posted abs link. Synthetic tasks only; no datasets_local row.
Similar entries
- Paper Ceiling of a Task: When Can a Transformer Succeed Without Its Chain of Thought?
- Paper Harness Learning Enables Generalizable Test-Time Adaptation
- Post The Atlas Neuron (Arth Singh: continual learning with no backprop, no replay, no task labels)
- Paper How Likely Do LLMs with CoT Mimic Human Reasoning?
- Paper LoopFormer: Elastic-Depth Looped Transformers for Latent Reasoning via Shortcut Modulation
- Paper Loop, Think, & Generalize: Implicit Reasoning in Recurrent-Depth Transformers