Spectral Characterizations and Resource Tradeoffs for Transformer Reasoning
We characterize exponential next-bit hardness for fixed-depth, fixed-fan-in hard attention by low-degree parity correlations of the input and supplied prefix. We also give an exact single-head tradeoff for linear prefixes and an application to binary population count. For softmax, we prove a tight width versus absolute head-output precision tradeoff for robust midpoint product-bit prediction. A deterministic floating-point construction distinguishes absolute error tolerance from significand precision. The supplement contains executable exact checks. Version 1.1 develops a general spectral and streaming framework for one-layer robustness. For genuine-prefix multiplication at linear value width it gives matching head-output error radii from the Euclidean norm through the sup norm with no diffuseness assumption. At depth two, scalar value heads attain logarithmic absolute precision under the stated positional and row-local model. The supplement contains exact checks of the arithmetic construction. Version 1.2 proves a general growing-fan-in spectral bound and fixed-depth softmax precision lower bound. It gives a joint width and perturbation-norm radius law at one layer, and a polarized Chinese remainder construction with adversarial radius of order B/N^2 at depth two. The construction has explicit scaled dot-product scores and polynomial-size shared ReLU updates. Version 1.3. A new polynomial-time block decoder achieves Euclidean head-output radius of order B sqrt(log N)/N. The paper gives a runtime and radius tradeoff and a reproducible finite check. Version 1.4. The paper proves a sharp one-layer robustness radius for parity and gives an end-to-end logarithmic-bit fixed-point implementation of the depth-two construction. The appendix reproduces both arithmetic proofs used for multiplication. Version 1.5. A general label-changing coupling theorem gives a sharp one-layer radius for population count with its genuine prefix. A quadratic-size realization of the two-layer construction preserves the robustness guarantee using two local ReLU stages in the first block. Version 1.6. Sharp one-layer robust radii cover the full family of perturbation norms. A block arithmetic construction improves the scalar two-layer radius, and an exhaustive-prefix-list lower bound identifies a computational obstruction to sharp-radius decoding. Version 1.7. The three robustness transfers share a common exposition and the two-layer bounded-logit precision is log2(N) plus a subpower of log log N. Addressed dyadic workers use logarithmic query, key and residual dimensions and near-linear parameter count. New results cover growing population-count digits and quadratic midpoint readouts. Version 1.8. Signed negacyclic projections improve bounded-logit two-layer scalar precision to log2(N) plus O(log log log N). The presentation emphasizes the spectral characterization and depth separation, and the appendix gives common worker aggregation and explicit resource accounting. Version 1.9. This revision gives explicit 256-bit decoding at radius B/339, exact finite robustness comparisons, and bounded-logit inverse-linear robust radius for terminal product bits. Version 1.10. A Walsh selector construction attains inverse-linear adversarial error radius with two scalar bounded-logit layers, matching the midpoint diffuse lower bound. The revision also extends the spectral criterion to fixed alphabets and certifies a 256-bit decoder at radius B/278. Version 1.11. A new converse shows that sublinear access among the lowest third of the genuine prefix cannot attain sharp Euclidean robustness at the midpoint. The finite decoder also has a 64-bit certificate at radius B/114. Version 1.12. This focused revision proves the optimal midpoint radius as a function of visible genuine prefix digits and consolidates alternative results in the extended supplement. Version 1.13. This focused revision foregrounds the prefix-access law, the softmax sampling reduction, diffuse robustness and architecture resource comparisons. It also provides an achievable joint width-prefix bound. Version 1.14. The radius law now tolerates adversarial errors in the supplied prefix. With the full visible prefix the sharp Euclidean radius survives order square root of N corrupted bits.
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.24510948
- Primary Topic
- Neural Networks and Applications
- Type
- preprint