Preserving Regularity in Finite-Precision Transformer Approximation
Quantitative Transformer approximation theory predominantly treats weights as unconstrained real numbers, leaving a gap between theoretical guarantees and the finite-precision representations used in low-bit deployment. Quantization can also increase a model's sensitivity to small input perturbations even when the approximation error remains small. We study whether finite-precision Transformers can simultaneously achieve accurate approximation, controlled storage complexity, and preservation of a prescribed regularity bound. For $0<λ\le 1$, we construct a finite-precision Transformer for matrix-valued targets on $[0,1]^{d\times n}$ whose components satisfy $\|f_{pq}\|_{C^{0,λ}}\le L$, while preserving the prescribed componentwise $\ell^1$-Hölder bound $L$. The hidden weights of its underlying feature network take values in $\{0,\pm1,\pm1/2\}$ and are target-independent, while target dependence is confined to the output coefficients. For $D=dn$, the resulting Transformer achieves uniform error $\varepsilon$ with $O(\varepsilon^{-D/λ})$ nonzero parameters and a common $O(\log(1/\varepsilon))$-bit fixed-point format for all parameters. For fixed $d$, $n$, $L$, and $λ$, the…
- arXiv
- 2612.04218
- Authors
- Yuling Jiao, Huazhen Lin, Yuchen Luo, Wei Shao, Jerry Zhijian Yang
- Categories
- cs.LG · stat.ML