Linear Chain-of-Thought Complexity of Autoregressive Multiplication with Hard Attention
We prove tight linear scratchpad complexity for exact autoregressive binary multiplication in fixed-depth, fixed-fan-in hard attention with a polynomial-size vocabulary. A short additive Fourier proof and position-union encoding give exponential failure with a short scratchpad. The lower bound also covers a small linear edit budget in every fixed radix. A packed fixed-point FFT achieves the matching binary token bound with one head and one layer. The first appendix gathers complete proofs of the main results. Further results characterize a restricted two-layer attention threshold and give conditions for stable softmax. The supplement reproduces finite certificates, executable packed FFT weights, and Lean checks of encoding lemmas. Version 1.1 updates the circuit-complexity context for constant-alphabet, fixed-routing scratchpads. It cites the published O(N log N) construction and the conditional lower bound, and records a recent unrefereed sub-N log N circuit claim as background. This release uses the compact 42-page manuscript, with the same flagship linear scratchpad result. Version 1.2 replaces the earlier diffuse-softmax sampling estimate with a sharp linear gain threshold for diffuse attention on genuine multiplication prefixes. The new proof couples operands with the same prefix and opposite target bits. It also gives the sharp inverse-linear radius for adversarial additive head-output errors in that class. The hard-attention scratchpad and discrepancy results are unchanged. Version 1.3 gives a polynomial-size logarithmic-depth ReLU realization of the sharp diffuse-softmax upper bound. It also gives a finite one-head scratchpad bound at 1,024 bits, compares the results with prior work, and moves the explicit growing-resource formulas and standalone rounded softmax analysis to supporting sections. Version 1.4 leads with the conjecture resolution and makes the general attention transfer and diffuse threshold visible in the main text. Vocabulary-independent joint enumeration sharpens finite one-layer scratchpad bounds. The sharp diffuse-softmax upper bound now has a globally Lipschitz constant-depth ReLU readout. Version 1.5 proves exponential discrepancy for all masks whose final bit is a fixed fractional distance from both product ends. The analytic proof uses a whole-mask Fourier estimate and a Type II bound. The main text restores the predecessor comparison and promotes the sharp diffuse-softmax and finite one-layer results. The supplement gives certified finite full-product bounds for two layers and input-selected scratchpad lengths. Version 1.6. The exact one-operand midpoint Bayes limit and the two-layer capacity threshold are now in the paper. The extended supplement proves a square-root threshold for a broader class of losing comparisons. Version 1.7. The review draft clarifies the hard-attention model, presents a worked carryless-multiplication transfer, and explains the approximation and replay arguments in three steps. Version 1.8. The main text states the general autoregressive scratchpad transfer and the proof shares a common block-moment estimate. The supplement states the imported Type II bound and explains how each hypothesis applies. Version 1.9. The extended proof appendix establishes a near square-root two-layer fan-in threshold when candidate scores can read both operands and the late genuine prefix. Queries and payloads can read the entire prefix. Version 1.10. The autoregressive correlation criterion now gives free-running edit hardness over fixed alphabets. The packed construction gives a matching linear token bound in every fixed radix. The main text compares architectural scope and highlights sampled softmax. Version 1.11. The main text leads with the conjecture resolution and the strict-prefix separation. A systematic error-correcting encoding application uses the common alignment proof with a dual-distance moment bound. Version 1.12. This revision expresses the sampled softmax assumptions in operator norms of dot-product blocks and states the edit guarantee for operands with nonzero leading digits. Version 1.13. This revision states low-degree position-union approximation and gives a dual-distance criterion for systematic encoding and a diffuse sampled-generation bound uniform in scratchpad length. Version 1.14. This focused revision adds low-degree transfer, reverse-order multiplication, an intermediate-vocabulary schedule, and a larger certified finite scratchpad budget. Version 1.15. This revision unifies low-degree prediction and generation transfer and proves both-order fixed-radix next-digit hardness without the dense-mask estimate. Version 1.16. The growing-fan-in and growing-depth prediction bounds now cover both digit orders in every fixed radix using only elementary sparse masks. Version 1.17. States and proves the growing-resource low-degree transfer for arbitrary task distributions and clarifies the companion paper division.
Authors
- Kundan Baliga
Institutions
- University of Illinois Urbana-Champaign (US)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-24
- DOI
- https://doi.org/10.5281/zenodo.24493045
- Citations
- 1
- Primary Topic
- Complexity and Algorithms in Graphs
- Type
- preprint