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.
The paper investigates why transformer language models, like GPT‑2, struggle with compositional generalization when faced with out‑of‑distribution (OOD) knowledge. By training a GPT‑2‑like model from scratch in a controlled two‑hop reasoning task and aligning the presentation of both in‑distribution (ID) and OOD atomic facts with the second‑hop retrieval step of a known compositional circuit, the authors demonstrate that the model can transfer its learned ID compositional behavior to OOD facts. This intervention closes the compositionality gap without altering the model architecture or adding explicit OOD supervision, suggesting that the gap is not an inherent architectural limitation but can be mitigated through informed training distribution design.
The paper examines the compositionality gap in GPT‑2‑like transformers, where models can combine known facts in‑distribution but fail to generalize to out‑of‑distribution knowledge. By aligning the training distribution so that both ID and OOD atomic facts appear in the same positional format as the second‑hop retrieval step of a known compositional circuit, the authors show that the model can transfer its learned compositional behavior to unseen OOD facts. This demonstrates that the gap is not an inherent architectural limitation but can be addressed through targeted training distribution design.
By Davide Venuto, Leonardo Venuto
The paper investigates how transformers perform in-context learning by training them on a finite set of discrete Markov chains. It identifies four distinct algorithmic phases—based on memorization versus generalization and on using 1-point versus 2-point statistics—each implemented by specific multi-layer subcircuits. The study shows that transitions between these phases are governed by data diversity thresholds and a representational bottleneck, and it provides a symmetry-constrained theory explaining the sharp shift from 1-point to 2-point generalization.
By Cole Gibson, Wenping Cui, Gautam Reddy
arXiv:2510. 25013v2 Announce Type: replace-cross Abstract: Mechanistic interpretability aims to reverse-engineer large language models (LLMs) into human-understandable computational circuits.
By Rabin Adhikari
The paper investigates how transformer models learn latent structure by training a small decoder-only transformer on three variants of the Alchemy benchmark. It finds that the model acquires different components of latent structure in discrete stages, with a notable asymmetry: it robustly composes fundamental transitions but struggles to decompose complex examples into atomic transitions. Layer‑specific causal interventions reveal plasticity windows where freezing layers delays or prevents stage completion, offering a detailed view of capability evolution during training.
By Rohan Saha, Farzane Aminmansour, Alona Fyshe
Large language models can solve complex multi‑hop tasks but often fail on simple two‑hop queries, even when each hop is individually correct. In a controlled symbolic setting, the authors find that models generalize reliably when the second hop follows the training distribution, but always fail when it deviates. Mechanistic analysis shows that successful generalization relies on consistent intermediate representations across contexts, whereas failures arise from a mismatch between lower‑layer representation construction and upper‑layer mapping to outputs. The study proposes a recurrent‑style training strategy that improves out‑of‑distribution two‑hop generalization.
By Zili Zhang, Yilin Wang, Heng Wang, Herun Wan, Minnan Luo
arXiv:2601. 15158v4 Announce Type: replace-cross Abstract: Transformers trained via Reinforcement Learning (RL) with outcome-based supervision can spontaneously develop the ability to generate intermediate reasoning steps (Chain-of-Thought).
By Yuval Ran-Milo, Yotam Alexander, Shahar Mendel, Nadav Cohen
arXiv:2604. 07822v2 Announce Type: replace-cross Abstract: We study implicit reasoning, i.
By Harsh Kohli, Srinivasan Parthasarathy, Huan Sun, Yuekun Yao
The paper investigates how transformers can learn to perform in-context weight prediction for linear regression beyond simply mimicking a gradient‑descent teacher. After initial supervision, additional trajectory‑level supervision with true regression weights causes the model to discover and implement the Heavy‑Ball method, achieving faster convergence. This demonstrates that transformer reasoning can uncover new algorithms through training rather than just imitate the supervising algorithm.
arXiv:2607. 15178v1 Announce Type: cross Abstract: Transformer reasoning is limited by autoregressive decoding, which repeat edly compresses rich hidden computation through token space and makes it difficult for intermediate reasoning states to persist across time.
By Ziyang Cai, Xingyu Zhu, Yihe Dong, Yinghui He, Sanjeev Arora
arXiv:2609.08981v1 Announce Type: cross
Abstract: A growing body of work establishes that large language models are not mere statistical memorizers, but are capable of in-context learning: performing...
By Arman Adibi, Alireza Jafari, Mohammad Ghavamzadeh, Hadi Daneshmand