Source

Child et al. (2019), LIT-225 — ARXIV-1904.10509.

Split causal attention across p = 2 heads whose patterns, composed, connect every pair of positions within p + 1 steps. The first head is a local window — the previous l positions, with the stride l chosen close to sqrt(n). The second head is the escape, and it takes one of two shapes:

  • strided — attend to every l-th position — for data whose structure is periodic, which is images and some music;
  • fixed — cells at the end of each block of l summarize it and are visible to every later block, with c in {8, 16, 32} such cells for l in {128, 256} — for data that has no such periodicity, which is text.

Integrate them by alternating one pattern per residual block, by merging both into one head, or across the heads of a multi-head layer.

This is LIT-225’s own recommendation, stated by the paper that introduced the factorization, and its experiments showed sparse attention cheaper than dense and, on two of three comparisons, slightly better on loss. On enwik8 at 12,288 context the fixed pattern reached 0.99 bits per byte at 0.55 s/iter against dense attention’s 1.00 at 1.31; on CIFAR-10 strided reached 2.80 bits/dim at 0.38 s/iter against dense 2.82 at 0.54. The authors do not say whether that quality edge is an inductive bias or an optimisation problem in dense attention.

The condition, which is the part worth keeping

The window is half of the design and the paper says so. Its connectivity criterion — every pair connected within p + 1 steps — is what the second head exists to satisfy, and a stack of purely local layers is named in the text as a softening of that criterion, a possibly useful inductive bias rather than the thing being recommended.

Which escape you need is a property of the data, and getting it wrong costs more than not being sparse at all. On enwik8 at 12,288 context, strided attention reached 1.13 bits per byte where dense attention reached 1.00; the fixed pattern reached 0.99. The same strided pattern won on CIFAR-10 (2.80 against dense 2.82). One mechanism, two datasets, opposite verdicts — the failure is the escape’s shape against the data’s structure, and nothing about the window changed between them.

Why it is superseded, and by what

Two separate things replaced it and neither is “sparsity was wrong”:

  • Exact attention got fast. SOTA-086 and SOTA-087 made the quadratic kernel memory-efficient rather than approximating it, which removed most of the reason to accept an approximation at the lengths people actually train.
  • Sparsity came back learned. SOTA-138 trains the pattern with an indexer rather than fixing it in the architecture, which is the direct successor to this claim: same goal, and the pattern is no longer a hyperparameter chosen by inspecting the data.

The record holds one side of that disagreement. This practice is the other side, stated by the paper that ran it, and it is filed rather than omitted because the enwik8 result above is the cleanest evidence the corpus has for what a hand-chosen pattern risks — which is the argument for SOTA-138.

What did not get superseded

The window-plus-escape pairing. Every hybrid in this record is an instance of it, reached independently and with a different escape each time: designated global tokens (LIT-033), emergent attention sinks (LIT-191), NoPE global layers (SOTA-153), long-term slots under one softmax (SOTA-176), a gated linear-attention state (LIT-204). None of them is a stack of local layers, and this is the paper that says why none of them can be.

Known implementations

  • GPT-3, which reports “alternating dense and locally banded sparse attention patterns in the layers of the transformer, similar to the Sparse Transformer” (LIT-035). Adoption rather than evidence, per DP-005.