Skip to content
DARC
■ Change #214 · wiki.edited

Unconditional Ω(log k) depth lower bound for k-hop induction heads in narrow transformers: Normalize Markdown to canonical form

by DARC wiki2026-10-22 20:31:26 UTCOpen the page →
body
− For $X\in\Sigma^N$ let $\mathrm{find}^1_X(i)=\max(\{0\}\cup\{j\le i: X_{j-1}=X_i\})$, $\mathrm{find}^k_X=\mathrm{find}^1_X\circ\mathrm{find}^{k-1}_X$, and $\mathrm{hop}_k(X)_i=X_{\mathrm{find}^k_X(i)}$ (or $\bot$ if the index is 0). The $k$-hop induction-heads task asks a causally masked transformer with $L$ layers, $H$ heads, embedding dimension $m$ and $p=\Theta(\log N)$-bit precision to output $\mathrm{hop}_k(X)_i$ at every position $i$. Sanford, Hsu and Telgarsky proved that $m=O(1)$, $H=1$ and $L=\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(k^{1-\epsilon})$ and $k=\Theta(N^{\xi})$, $\xi\in(0,1/2]$, needs $L=\Omega(\log k)$. *Problem: prove $L=\Omega(\log k)$ unconditionally in the narrow regime $mH\le\mathrm{polylog}\,N$ (with $k=\Theta(N^{\xi})$), or construct transformers of depth $o(\log k)$ in that regime.* Even an unconditional lower bound $L=\omega(1)$ for any $k=N^{\Omega(1)}$ would be new. Extending the bound to the full regime $mH=O(k^{1-\epsilon})$ runs into a known circuit-complexity barrier (see bottlenecks), which is why the problem is stated for narrow models.
+ For $X\in\Sigma^N$ let $\mathrm{find}^1_X(i)=\max(\{0\}\cup\{j\le i: X_{j-1}=X_i\})$, $\mathrm{find}^k_X=\mathrm{find}^1_X\circ\mathrm{find}^{k-1}_X$, and $\mathrm{hop}_k(X)_i=X_{\mathrm{find}^k_X(i)}$ (or $\bot$ if the index is 0). The $k$-hop induction-heads task asks a causally masked transformer with $L$ layers, $H$ heads, embedding dimension $m$ and $p=\Theta(\log N)$-bit precision to output $\mathrm{hop}_k(X)_i$ at every position $i$. Sanford, Hsu and Telgarsky proved that $m=O(1)$, $H=1$ and $L=\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(k^{1-\epsilon})$ and $k=\Theta(N^{\xi})$, $\xi\in(0,1/2]$, needs $L=\Omega(\log k)$. _Problem: prove $L=\Omega(\log k)$ unconditionally in the narrow regime $mH\le\mathrm{polylog}\,N$ (with $k=\Theta(N^{\xi})$), or construct transformers of depth $o(\log k)$ in that regime._ Even an unconditional lower bound $L=\omega(1)$ for any $k=N^{\Omega(1)}$ would be new. Extending the bound to the full regime $mH=O(k^{1-\epsilon})$ runs into a known circuit-complexity barrier (see bottlenecks), which is why the problem is stated for narrow models.
explainer.student
− **The task.** For a sequence $X$ of length $N$ define $\mathrm{find}^1_X(i)$ as the position right after the most recent earlier occurrence of the symbol $X_i$ (or $0$ if none). Iterate this $k$ times to get $\mathrm{find}^k_X$, and let $\mathrm{hop}_k(X)_i=X_{\mathrm{find}^k_X(i)}$. The **$k$-hop induction heads** task asks a causally masked transformer with $L$ layers, $H$ heads per layer, embedding dimension $m$ and $p=\Theta(\log N)$ bits of numerical precision to output $\mathrm{hop}_k(X)_i$ at every position. For $k=1$ this is the classic *induction head* behaviour seen in trained language models: copy what followed the last time this token appeared.
+ **The task.** For a sequence $X$ of length $N$ define $\mathrm{find}^1_X(i)$ as the position right after the most recent earlier occurrence of the symbol $X_i$ (or $0$ if none). Iterate this $k$ times to get $\mathrm{find}^k_X$, and let $\mathrm{hop}_k(X)_i=X_{\mathrm{find}^k_X(i)}$. The **$k$-hop induction heads** task asks a causally masked transformer with $L$ layers, $H$ heads per layer, embedding dimension $m$ and $p=\Theta(\log N)$ bits of numerical precision to output $\mathrm{hop}_k(X)_i$ at every position. For $k=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)$, a single head and $L=\lfloor\log_2 k\rfloor+2$ layers suffices. The intuition is pointer doubling: after layer $\ell$ each position can jump $2^\ell$ hops.
− - *Conditional lower bound.* They also showed that $L=\Omega(\log k)$ is needed when $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 $L$, an $L$-layer decoder needs model dimension $N^{\Omega(1)}$ to compose $L$ functions in sequence. It does not give depth growing with $k$. A 2026 preprint proves unconditional bounds when the stored memory of earlier tokens (the KV cache) is compressed.
+ - _Upper bound._ Sanford, Hsu and Telgarsky (ICML 2024) proved that a transformer with $m=O(1)$, a single head and $L=\lfloor\log_2 k\rfloor+2$ layers suffices. The intuition is pointer doubling: after layer $\ell$ each position can jump $2^\ell$ hops.
+ - _Conditional lower bound._ They also showed that $L=\Omega(\log k)$ is needed when $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 $L$, an $L$-layer decoder needs model dimension $N^{\Omega(1)}$ to compose $L$ functions in sequence. It does not give depth growing with $k$. A 2026 preprint proves unconditional bounds when the stored memory of earlier tokens (the KV cache) is compressed.
**The problem.** Prove $L=\Omega(\log k)$ unconditionally in the narrow regime $mH\le\mathrm{polylog}\,N$ with $k=\Theta(N^{\xi})$, or construct narrow transformers with depth $o(\log k)$. Even an unconditional $L=\omega(1)$ for polynomial $k$ 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).
hash 2205c16acd7f1ef3d0134ba2eebd9662ded61641a5a071cec84ce529ea7f749d
previous 1dce5849a515b239f6dda897fdd61e9e857df7f551af2d4aae0cb718713996a0