Skip to content
DAH

Unconditional Ω(log k) depth lower bound for k-hop induction heads in narrow transformers

OpenTo verify: Expert reviewPosed by Sanford, Hsu and Telgarsky (arXiv:2402.09268, ICML 2024), who proved the log-depth upper bound and a lower bound conditional on the one-versus-two-cycles MPC conjecture
AI-reviewed
On this page16 sections
Difficulty
66/100Research-grade
How far from a resolution. P vs NP = 100
Application value
30/100Indirect
Realistic practical impact if resolved. P vs NP = 100
Leverage
34/100Local
How much other knowledge hinges on it. P vs NP = 100

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.

  1. 1Task: follow k chained look-ups
  2. 2Doubling jumps need about log k layers
  3. 3Is there a shallower trick?
  4. 4Proof known only given a conjecture
  5. 5Open: prove it for narrow transformers

The task. For a sequence XX of length NN define findX1(i)\mathrm{find}^1_X(i) as the position right after the most recent earlier occurrence of the symbol XiX_i (or 00 if none). Iterate this kk times to get findXk\mathrm{find}^k_X, and let hopk(X)i=XfindXk(i)\mathrm{hop}_k(X)_i=X_{\mathrm{find}^k_X(i)}. The kk-hop induction heads task asks a causally masked transformer with LL layers, HH heads per layer, embedding dimension mm and p=Θ(log⁡N)p=\Theta(\log N) bits of numerical precision to output hopk(X)i\mathrm{hop}_k(X)_i at every position. For k=1k=1 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 m=O(1)m=O(1), a single head and L=⌊log⁡2k⌋+2L=\lfloor\log_2 k\rfloor+2 layers suffices. The intuition is pointer doubling: after layer ℓ\ell each position can jump 2ℓ2^\ell hops.
  • Conditional lower bound. They also showed that L=Ω(log⁡k)L=\Omega(\log k) is needed when mH=O(k1−ϵ)mH=O(k^{1-\epsilon}), 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 LL, an LL-layer decoder needs model dimension NΩ(1)N^{\Omega(1)} to compose LL functions in sequence. It does not give depth growing with kk. A 2026 preprint proves unconditional bounds when the stored memory of earlier tokens (the KV cache) is compressed.

The problem. Prove L=Ω(log⁡k)L=\Omega(\log k) unconditionally in the narrow regime mH≤polylog NmH\le\mathrm{polylog}\,N with k=Θ(Nξ)k=\Theta(N^{\xi}), or construct narrow transformers with depth o(log⁡k)o(\log k). Even an unconditional L=ω(1)L=\omega(1) for polynomial kk 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 X∈ΣNX\in\Sigma^N let findX1(i)=max⁡({0}∪{j≤i:Xj−1=Xi})\mathrm{find}^1_X(i)=\max(\{0\}\cup\{j\le i: X_{j-1}=X_i\}), findXk=findX1∘findXk−1\mathrm{find}^k_X=\mathrm{find}^1_X\circ\mathrm{find}^{k-1}_X, and hopk(X)i=XfindXk(i)\mathrm{hop}_k(X)_i=X_{\mathrm{find}^k_X(i)} (or ⊥\bot if the index is 0). The kk-hop induction-heads task asks a causally masked transformer with LL layers, HH heads, embedding dimension mm and p=Θ(log⁡N)p=\Theta(\log N)-bit precision to output hopk(X)i\mathrm{hop}_k(X)_i at every position ii. Sanford, Hsu and Telgarsky proved that m=O(1)m=O(1), H=1H=1 and L=⌊log⁡2k⌋+2L=\lfloor\log_2k\rfloor+2 suffice, and that, assuming the one-versus-two-cycles conjecture for Massively Parallel Computation, every such transformer with mH=O(k1−ϵ)mH=O(k^{1-\epsilon}) and k=Θ(Nξ)k=\Theta(N^{\xi}), ξ∈(0,1/2]\xi\in(0,1/2], needs L=Ω(log⁡k)L=\Omega(\log k). Problem: prove L=Ω(log⁡k)L=\Omega(\log k) unconditionally in the narrow regime mH≤polylog NmH\le\mathrm{polylog}\,N (with k=Θ(Nξ)k=\Theta(N^{\xi})), or construct transformers of depth o(log⁡k)o(\log k) in that regime. Even an unconditional lower bound L=ω(1)L=\omega(1) for any k=NΩ(1)k=N^{\Omega(1)} would be new. Extending the bound to the full regime mH=O(k1−ϵ)mH=O(k^{1-\epsilon}) runs into a known circuit-complexity barrier (see bottlenecks), which is why the problem is stated for narrow models.

Words on this page (11)
Words on this page
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)
New to this? Read first

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. 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 hopk\mathrm{hop}_k with L=⌊log⁡2k⌋+2L=\lfloor\log_2 k\rfloor+2, H=1H=1, m=O(1)m=O(1) (Theorem 4.2), and prove L=Ω(log⁡k)L=\Omega(\log k) for mH=O(k1−ϵ)mH=O(k^{1-\epsilon}) conditional on the one-versus-two-cycles conjecture (Corollary 4.3). Their experiments find that trained transformers also need roughly logarithmic depth in kk.

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 LL, an LL-layer decoder needs model dimension NΩ(1)N^{\Omega(1)} to compose LL functions sequentially, via a multi-party autoregressive communication model. Their bounds hold for constant LL and do not give depth growing with kk. For transformers with a compressed KV cache of size ss, X. Wang (arXiv:2604.17935, April 2026, preprint) proves the unconditional bound L=Ω(max⁡(⌈k/s⌉,log⁡N/(Hmp)))L=\Omega(\max(\lceil k/s\rceil,\log N/(Hmp))) for kk-hop pointer chasing, conjectures the product form, and identifies a bandwidth barrier for counting-based arguments once Hmp≥log⁡2NHmp\ge\log_2N.

Why recurrent models are not the open case. A stack of LL recurrent or state-space layers with ss-bit states processes the input in one left-to-right pass with LsLs bits of memory, so one-way communication lower bounds (INDEX) already force Ls=Ω(N)Ls=\Omega(N) 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 p=O(log⁡N)p=O(\log N), mH≤polylog NmH\le\mathrm{polylog}\,N and k=Θ(Nξ)k=\Theta(N^{\xi}) that computes hopk\mathrm{hop}_k has depth Ω(log⁡k)\Omega(\log k), or an explicit family of such transformers with depth o(log⁡k)o(\log k). An unconditional ω(1)\omega(1) depth lower bound, or an Ω(log⁡k)\Omega(\log k) 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 review

Only 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

Theory
95%
New mathematical or conceptual ideas
Engineering
0%
Building instruments, chips, systems, software, formal proofs
Compute
3%
Raw computation, search, simulation
Empirical
2%
Observation, experiment, data collection

A lower-bound proof in communication complexity; synthetic-task experiments only suggest conjectures.

Connected problems

No connected problems.

Progress

  1. Apr 20, 2026
    Depth–cache trade-offs (preprint)

    X. Wang proved unconditional max-type depth bounds for KV-compressed transformers on pointer chasing and conjectured the product form. Not refereed.

    source
  2. Dec 4, 2024
    First unconditional multi-layer transformer lower bound

    Chen, Peng and Wu proved that constant-depth decoder-only transformers need polynomial width for sequential function composition.

    source
  3. Feb 14, 2024
    Log-depth transformers for k-hop induction heads

    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.

    source
  4. Nov 22, 2018
    Barrier for MPC round lower bounds

    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).

    source