Transformers converge to invariant algorithmic cores
arXiv:2602. 22600v2 Announce Type: replace-cross Abstract: Training selects for behavior, not circuitry: many weight configurations can implement the same function.
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.
arXiv:2602. 22600v2 Announce Type: replace-cross Abstract: Training selects for behavior, not circuitry: many weight configurations can implement the same function.
arXiv:2605. 28854v2 Announce Type: replace-cross Abstract: Large language models (LLMs) exhibit remarkable flexibility in adapting to novel tasks from in-context examples without parameter updates, a capability known as in-context learning (ICL).
arXiv:2507. 01414v2 Announce Type: replace Abstract: We introduce a new family of toy problems that combine features of linear-regression-style continuous in-context learning (ICL) with discrete associative recall.
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.
arXiv:2607. 11875v1 Announce Type: cross Abstract: We present a theoretical framework to explain the emergence of inductive reasoning abilities in Transformer language models.
The paper investigates how the choice of graph tokenization affects transformer expressivity. It analyzes three tokenization families—spectral, random‑walk, and adjacency—showing that each induces different depth requirements and that some tokenizations are inherently lossy or ill‑conditioned for certain tasks. The authors prove lower bounds and impossibility results for converting between tokenizations and validate these findings with experiments on synthetic and real‑world data.
arXiv:2610.07562v1 Announce Type: cross Abstract: Learning an ensemble of GFlowNets to sample from a discrete target distribution has become a common approach for achieving better state space explora...
The paper investigates when stacking multiple attention‑feedforward layers in transformers benefits in‑context learning. It develops a theory of distributed inference for generalized linear attention transformers, showing that deeper models can progressively refine latent context variables through internal representations called function vectors. Experiments on linear regression tasks confirm that one‑layer transformers are optimal for Gaussian priors, while multi‑layer transformers outperform them for non‑Gaussian, tree‑like priors, and causal key‑patching demonstrates that intermediate layers mediate adaptive information routing.
arXiv:2607. 00479v1 Announce Type: new Abstract: Transformer-based large models have demonstrated remarkable generalization abilities across different tasks by leveraging a context-aware attention module for in-context learning.
arXiv:2609.36448v1 Announce Type: new Abstract: Transformers have demonstrated remarkable in-context learning (ICL) capabilities, enabling them to perform new tasks without additional fine-tuning. Ho...
arXiv:2607. 22646v1 Announce Type: new Abstract: Large language models (LLMs) display a striking ability to predict next observations from Hidden Markov Models (HMMs) via in-context learning (ICL), but the algorithm underlying this capability remains undetermined: prior work has proposed several candidates without consensus, and none has been grounded in the model's internal activations.
The paper investigates memorization versus generalization in in-context learning (ICL) by analyzing how rotation‑invariant kernel machines solve a linear regression ICL task. By decomposing the task in the kernel eigenbasis, it shows that as more samples are added, the model first captures low‑degree components that generalize, then progressively learns higher‑degree components that lead to memorization. The study concludes that feature learning is not essential for ICL and that transformers exhibit memorization patterns predicted by the kernel theory.