The Scratchpad Complexity of Autoregressive Multiplication with Hard Attention
Abstract
How many auxiliary tokens does a causal hard-attention transformer need to multiply two -bit integers? First, we resolve the true-prefix parity conjecture of Amiri Bavandpour et al. on independent uniform -bit operands. The correlation bound permits any bounded test of each operand and every earlier product-bit parity. Second, we give a task-independent transfer from low-degree correlation bounds to causal hard-attention lower bounds. Position-union approximation verifies which keys win, and marked replay counts possible scratch traces using their positions. Third, at fixed depth, head count, and number of selected keys, the probability of generating the product with a sufficiently small linear scratch and edit budget is exponentially small even with a growing vocabulary. A one-head, one-layer packed FFT attains linear scratch with linear vocabulary and constant hidden dimension.
Create a lesson
Metadata
- Categories
- cs.CC, cs.LG
- Comments
- 52 pages, including appendices
Related papers
The multiplicative complexity of the three-bit low-half multiplier
Shared title terminologycs.CCBshara Alhodali, Gregory Morse
Constant-Factor Hardness of Treewidth and Related Parameters
Shared title terminologycs.CCÉdouard Bonnet
Deterministic vs. randomized query complexity
Shared title terminologycs.CCRobin Kothari
Reopening Pandora's Box: Complexity Results of Shift-Addition/Subtraction Sequences
Shared title terminologycs.CCNicolai Fiege, Théo Cantaloube, Martin Lange et al.
Coefficient-space computation and arithmetic tensor complexity: Deterministic algorithms, integral descent, and smoothability
Shared title terminologycs.CCKarthik Sheshadri
Improved Bounds on Half-Duplex Communication Complexity
Shared title terminologycs.CCYuriy Dementiev, Artur Ignatiev, Anna Kogan et al.