The paper investigates how Transformer-based language models learn inside‑outside parsing algorithms by training on synthetic context‑free grammars with variable parse tree topologies. It shows that the learning process unfolds in clear, analytically tractable stages, each linked to the representation of a hidden latent tree variable that resolves ambiguity and leverages broader context. Probing the model’s representations reveals a gradual emergence of inside‑outside computation: early layers capture local bigram/trigram patterns, while deeper layers develop an encoder‑decoder structure that encodes abstract latent information in the middle and refines token predictions in the later layers, mirroring patterns seen in real‑world LLMs.
By Jack T. Parley
arXiv:2610.20337v1 Announce Type: new
Abstract: The success of transformers is attributed to several factors, including their capacity to express formal languages over variable-length inputs, and abi...
By Yaomengxi Han, Debarghya Ghoshdastidar
arXiv:2602. 22600v2 Announce Type: replace-cross Abstract: Training selects for behavior, not circuitry: many weight configurations can implement the same function.
By Joshua S. Schiffman
arXiv:2602.05896v3 Announce Type: replace-cross
Abstract: Understanding what neural architectures can and cannot compute is a central challenge in the theory of AI. One of the fundamental problems in...
By Alexander Kozachinskiy, Tomasz Steifer, Przemys{\l}aw Wa{\l}\c{e}ga
The paper demonstrates that Large Language Models, despite their non‑linear components, exhibit a fundamental linearity property: when inputs from two distinct text streams are linearly combined, the model outputs a superposition of the individual next‑token distributions. This "Superposition Linearity Hypothesis" appears to be an intrinsic feature of the Transformer architecture, tends to weaken during pretraining, but can be largely restored with lightweight fine‑tuning. The authors also present a guided decoding method that separates the superposed outputs, allowing two coherent continuations to be generated from a single forward pass.
By Pavel Tikhonov, Anton Korznikov, Matvey Mikhalchuk, Nikita Dragunov, Temurbek Rahmatullaev, Polina Druzhinina, Anton Razzhigaev, Ivan Oseledets, Elena Tutubalina
arXiv:2607. 13047v1 Announce Type: new Abstract: Parameter decomposition (PD) decomposes neural networks into interpretable computational components that faithfully reflect the original network's operations.
By Antoine Vigouroux, Lee Sharkey
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:2507. 16003v4 Announce Type: replace-cross Abstract: One of the most striking features of Large Language Models (LLMs) is their ability to learn in-context.
By Benoit Dherin, Michael Munn, Hanna Mazzawi, Michael Wunder, Javier Gonzalvo
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
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
arXiv:2607. 02964v1 Announce Type: cross Abstract: A central goal of mechanistic interpretability is to understand how neural networks work and what each individual component does.
By Arnau Marin-Llobet, Stefan Heimersheim
arXiv:2607. 11875v1 Announce Type: cross Abstract: We present a theoretical framework to explain the emergence of inductive reasoning abilities in Transformer language models.
By Tiberiu Musat, Tiago Pimentel, Nicholas Zucchet, Thomas Hofmann