How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Hard-attention depth reduction under input restrictions
Statement
Fix a finite content alphabet with , a hard-attention model with fixed heads per position and layers, and an integer . At length , the model input is , with the end marker fixed at position . An input restriction assigns each content position either (free) or a fixed symbol of ; its free positions are precisely the content positions marked . Say that a layer-zero activation, including the activation at the end-marker position, depends on at most free positions if, with the restriction fixed, its value is determined by at most of the remaining free input symbols. Suppose the current restriction leaves at least content positions free for every sufficiently large , where , and every layer-zero activation depends on at most free positions. For every , there are an integer and a refinement, for every sufficiently large , that leaves at least content positions free and preserves the model's output on every completion, while absorbing the first remaining attention layer into new layer-zero activations that each depend on at most original content positions. Repeating this conclusion through the fixed layers gives a restriction with at least free content positions on which the output depends on at most a constant number of original content positions. The constants and the length threshold may depend on the fixed model, , but not on .
Statement references
Facts & Assumptions
Given: A fixed hard-attention model, a current input restriction, and the free-input and -dependence hypotheses in the Statement.
Every hard-attention head selects the earliest key position attaining its maximal score, and each positionwise update is shared across positions and depends on its skip input and selected head values (Hard and soft attention sequence models).
For a finite event family with dependency digraph , if and for every event, then the probability that all events are avoided is positive (The asymmetric Lovász Local Lemma for finitely many events).
In the probabilistic restriction stage, every still-free input symbol is independently fixed to each with probability , and left as with probability ; the finite input-coordinate sample space has the corresponding product law.
Proof
Choose so that , then choose and so that . Put and regard as an integer parameter whose finitely many lower bounds will be fixed after the local-lemma estimates. For each position , choose a support of at most currently free input positions determining its layer-zero activation. There are at most incidences between supports and positions. Fix every free input position occurring in more than supports, using any fixed symbol. At most positions are fixed; afterwards every free input position belongs to at most supports.
For a current restriction and query triple , where is a head at position and is a possible layer-zero activation at , at most key positions have supports intersecting ; call these exceptional. For every other key position , its support is disjoint from , so the maximum score for query value is attainable by assigning its free support. Order these eligible positions by decreasing , breaking ties by position, and put . For all sufficiently large , at least eligible positions exist. Greedily select among the first with pairwise disjoint supports: each choice removes at most candidates because its support has at most symbols and each symbol occurs in at most supports. Record for each selected position a support assignment attaining its maximum.
If a selected support is fixed to its recorded maximum-attaining assignment, that key's score is at least . Every eligible position after the first has maximum score at most ; equality is resolved in favor of a position among the first by the chosen tie order. Hence a head's winner lies among the exceptional positions or the first eligible positions. The first-layer output at position is therefore determined by and the supports of at most candidate key positions, one set for each possible query activation, head, and key. It depends on at most original input positions.
Starting from the restriction in step 1.1, repeatedly recompute the candidate sets in step 2.1 for every still-uncaptured triple. When a triple is captured, retain its current exceptional set and first- eligible positions as its candidate set. Its assigned cutoff key remains at least as highly scored as every later position in the old eligible ordering, since refinements leave its score fixed and can only decrease other attainable maxima; any position that later leaves the eligible set was already in the retained exceptional set. If some key activation is selected in more than uncaptured triples, one of its at most possible values is a recorded maximum for more than of them. Fix its at most free input symbols to a support assignment producing that value. The query values of those triples remain unchanged, so all become captured. There are at most triples, so this process has at most refinements and fixes at most additional symbols. Require large enough that . At termination at least inputs remain free, and each key activation is selected in at most uncaptured triples.
For each uncaptured triple , let be the event that none of its selected supports is fixed to its recorded maximum-attaining assignment by the random restriction [A1]. An assignment on free symbols has probability . The selected supports are pairwise disjoint, so these assignment events are independent and , where .
Let be the number of free inputs after step 3.2 and let be the event that more than of them are fixed by [A1]. For and , exponential Markov at gives . The middle inequality uses . For the last, has and on , since . Consequently , where .
For each event , take its defining-coordinate set to be the union of its query support and its selected key supports. Join two events when these sets overlap, and join to every . Each coordinate occurs in at most query supports: at most position supports contain it, and each such position has at most head-and-query-value triples. It occurs in at most selected key supports: each of at most position supports has at most possible key activations, and each activation is selected in at most triples by step 3.2. Each event uses at most coordinates, so its degree is at most . Non-neighbours' defining-coordinate sets are disjoint from the event's set; product independence therefore gives independence from every conjunction of their complements, as required by [F2]. Set and . Since and , the quantity is bounded below by a positive constant times for large , whereas decays exponentially. Thus the local-lemma condition holds for every once is sufficiently large.
There are at most events other than . Its local-lemma condition follows if . Choose large enough that ; the inequality then holds for all sufficiently large . The stage-two, local-event, and requirements are finitely many eventual lower bounds on , so they hold simultaneously for sufficiently large . By [F2], a refinement avoiding and every exists.
Avoiding leaves at least free inputs by the choices in step 1.1. Avoiding every captures each remaining triple. For a captured triple, its retained cutoff key and candidate set from step 3.2 continue to block every later eligible position; for an uncaptured triple, step 6.1 fixes a cutoff key from its final candidate set. Step 3.1 therefore confines each head's winner to at most candidate positions for each query value. Taking the union over at most query values and heads, together with the query support, gives the dependence bound . Replacing each layer-zero activation by its first-layer output absorbs one layer while preserving the model's restricted computation.
Apply the one-layer reduction successively to the fixed layers, choosing intermediate fractions . Each stage has a finite dependence bound and a finite length threshold. Since is finite, their maximum threshold is finite; beyond it, the final restriction leaves at least inputs free and the final output depends on a bounded number of original inputs. This proves the Statement.
Depends on
Used by
Dependency tree · two levels
7 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Hahn, Theoretical Limitations of Self-Attention in Neural Sequence Models, §5.1 (standard reference, not scraped)