arXiv · 2611.35367
The Scratchpad Complexity of Autoregressive Multiplication with Hard Attention
Abstract
How many auxiliary tokens does a causal hard-attention transformer need to multiply two $N$-bit integers? First, we resolve the true-prefix parity conjecture of Amiri Bavandpour et al. on independent uniform $N$-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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Kundan Baliga, Ryan Kim. 2026-11-26. The Scratchpad Complexity of Autoregressive Multiplication with Hard Attention. https://arxiv.science/abs/2611.35367
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.