Unconditional Ω(log k) depth lower bound for k-hop induction heads in narrow transformers
On this page16 sections
Difficulty 66: the conditional answer has been known since 2024, but unconditional lower bounds for transformers stop at constant depth, and the wide regime is blocked by the MPC/circuit barrier; the narrow regime is a sharp thesis target with no technique yet. Placed below perfect matching in NC (74) and above planted clique (64). Application value 30: it would ground depth and chain-of-thought trade-offs in long-context models, but not change systems directly, so it ranks well below the retired broad subquadratic-attention entry (74). Leverage 34: it organises the expressivity theory of transformers and ties it to MPC lower bounds, a modest literature.
The problem
How many layers must a small transformer have to follow a chain of k references? No proof yet.
- 1Task: follow k chained look-ups
- 2Doubling jumps need about log k layers
- 3Is there a shallower trick?
- 4Proof known only given a conjecture
- 5Open: prove it for narrow transformers
The task. For a sequence of length define as the position right after the most recent earlier occurrence of the symbol (or if none). Iterate this times to get , and let . The -hop induction heads task asks a causally masked transformer with layers, heads per layer, embedding dimension and bits of numerical precision to output at every position. For this is the classic induction head behaviour seen in trained language models: copy what followed the last time this token appeared.
Known results.
- Upper bound. Sanford, Hsu and Telgarsky (ICML 2024) proved that a transformer with , a single head and layers suffices. The intuition is pointer doubling: after layer each position can jump hops.
- Conditional lower bound. They also showed that is needed when , but conditional on the one-versus-two-cycles conjecture from Massively Parallel Computation (MPC), a model of distributed computing. The connection is that a constant number of attention layers can simulate and be simulated by a constant number of MPC rounds.
- Unconditional but weaker. Chen, Peng and Wu (2024) proved that for each constant , an -layer decoder needs model dimension to compose functions in sequence. It does not give depth growing with . A 2026 preprint proves unconditional bounds when the stored memory of earlier tokens (the KV cache) is compressed.
The problem. Prove unconditionally in the narrow regime with , or construct narrow transformers with depth . Even an unconditional for polynomial would be new.
Why only narrow models. Extending to wider models would imply new circuit lower bounds, which hits known barriers. Recurrent and state-space models are an easier case: one-pass communication arguments already show they need memory proportional to the input for such recall tasks, for any depth.
Meaning. A tight bound would formalise that multi-step retrieval forces depth to grow with the number of steps unless width grows polynomially, informing the trade-off between depth, width and written-out reasoning (chain of thought).
Go deeper
The full technical text.
For let , , and (or if the index is 0). The -hop induction-heads task asks a causally masked transformer with layers, heads, embedding dimension and -bit precision to output at every position . Sanford, Hsu and Telgarsky proved that , and suffice, and that, assuming the one-versus-two-cycles conjecture for Massively Parallel Computation, every such transformer with and , , needs . Problem: prove unconditionally in the narrow regime (with ), or construct transformers of depth in that regime. Even an unconditional lower bound for any would be new. Extending the bound to the full regime runs into a known circuit-complexity barrier (see bottlenecks), which is why the problem is stated for narrow models.
Words on this page (11)
- transformer
- The attention-based network design behind modern language models.
- attention head
- One parallel part of an attention layer that learns to look at certain other positions in the text.
- induction head
- A pattern in language models where, on seeing a token, the model copies what followed it last time.
- lower bound
- A proof that no method of a given kind can do a task with fewer than some amount of resources.
- causal mask
- A rule that stops each position from looking at later positions, as when generating text word by word.
- Massively Parallel Computation
- A model of many machines with limited memory each, working in rounds, that mimics big-data systems.
- conjecture
- A statement believed true by experts but not yet proved.
- circuit complexity
- The study of how big a network of simple logic gates must be to compute a function.
- communication complexity
- Counting how many bits parties must exchange to compute something together.
- embedding dimension
- The length of the vector of numbers the transformer keeps for each position; a measure of the model's width.
- KV cache
- Stored keys and values of earlier tokens that a transformer looks back at; compressing it limits what the model can retrieve.
New to this? Read first (3)
- Transformer (deep learning architecture) (Wikipedia)Background on layers, heads and attention.
- Representational Strengths and Limitations of Transformers (Sanford, Hsu, Telgarsky)An accessible earlier paper on what attention can and cannot do.
- Transformers, parallel computation, and logarithmic depth (Sanford, Hsu, Telgarsky)The paper that introduced the k-hop task and the log-depth results.
Path to understanding
foundations → problemThe research entries this problem rests on, in the order to read them. Each links to its explainer.
- Start with
- Step 2
- Fast matrix multiplicationAlgorithm
- Step 3
- The transformer architectureAlgorithm · host
- Then
- Unconditional Ω(log k) depth lower bound for k-hop induction heads in narrow transformersThe problem
State of the art
Upper bound and conditional lower bound. Sanford, Hsu and Telgarsky (arXiv:2402.09268, ICML 2024) show that a constant number of attention layers can simulate, and be simulated by, a constant number of MPC rounds; they solve with , , (Theorem 4.2), and prove for conditional on the one-versus-two-cycles conjecture (Corollary 4.3). Their experiments find that trained transformers also need roughly logarithmic depth in .
Unconditional multi-layer bounds. Chen, Peng and Wu (arXiv:2412.02975, 2024) prove the first unconditional lower bound against multi-layer decoder-only transformers: for every constant , an -layer decoder needs model dimension to compose functions sequentially, via a multi-party autoregressive communication model. Their bounds hold for constant and do not give depth growing with . For transformers with a compressed KV cache of size , X. Wang (arXiv:2604.17935, April 2026, preprint) proves the unconditional bound for -hop pointer chasing, conjectures the product form, and identifies a bandwidth barrier for counting-based arguments once .
Why recurrent models are not the open case. A stack of recurrent or state-space layers with -bit states processes the input in one left-to-right pass with bits of memory, so one-way communication lower bounds (INDEX) already force for associative recall with the query at the end, for any depth. Separations of this type are proved by Sanford, Hsu and Telgarsky (arXiv:2306.02896, 2023), Jelassi et al. (arXiv:2402.01032, copying) and Arora et al. (arXiv:2312.04927, Zoology). The open question is whether attention depth can be traded against width.
Different question: time to compute attention. SETH-based results (Keles–Wijewardena–Hegde 2022; Alman–Song, NeurIPS 2023; Gupta et al., arXiv:2505.14840, 2025) concern the running time of computing exact attention, not what a transformer of given depth can express.
Realistic applications
A tight unconditional bound would show that multi-step retrieval and reasoning tasks force depth to grow with the number of steps unless width grows polynomially, informing how depth, width and chain-of-thought are traded in long-context models. It yields no faster model by itself, and the bounds are asymptotic, so practical design will still depend on benchmarks.
What counts as solved
A proof that every causally masked transformer with , and that computes has depth , or an explicit family of such transformers with depth . An unconditional depth lower bound, or an bound for a restricted model (hard attention, KV-cache-limited, or decoder-only with bounded heads), is partial progress.
How it gets verified
To verify: Expert reviewOnly expert review of the argument is possible today.
The claim is a circuit-style lower bound (depth Omega(log k) for causally masked transformers with the stated width and precision) or a matching construction. Making it checkable needs a formal transformer model and communication-complexity machinery that Mathlib lacks. Experts review the proof, and the constructive direction can be sanity-checked by running small instances.
Claims
No claimed results on this problem.
Where the work is
A lower-bound proof in communication complexity; synthetic-task experiments only suggest conjectures.
Connected problems
No connected problems.
Progress
- Apr 20, 2026Depth–cache trade-offs (preprint)source
X. Wang proved unconditional max-type depth bounds for KV-compressed transformers on pointer chasing and conjectured the product form. Not refereed.
- Dec 4, 2024First unconditional multi-layer transformer lower boundsource
Chen, Peng and Wu proved that constant-depth decoder-only transformers need polynomial width for sequential function composition.
- Feb 14, 2024Log-depth transformers for k-hop induction headssource
Sanford, Hsu and Telgarsky gave a ⌊log₂ k⌋+2-layer construction and an Ω(log k) lower bound conditional on the one-versus-two-cycles conjecture.
- Nov 22, 2018Barrier for MPC round lower boundssource
Roughgarden, Vassilvitskii and Wang showed that super-constant round lower bounds for problems in P in the MPC model would imply new circuit lower bounds (J. ACM 2018; SPAA 2016).