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 worst-case total storage bound is optimal in $\varepsilon$ up to a $\log(1/\varepsilon)$ factor among fixed-architecture finite-bit parameterizations of this target class. These guarantees concern parameter storage under exact forward evaluation. As an application, empirical risk minimization with $m$ samples over a structured finite-precision Transformer class achieves expected squared prediction risk $O((\log(em)/m)^{2λ/(2λ+D)})$ under sub-Gaussian noise, matching the classical Hölder minimax exponent up to a logarithmic factor, and the same rate bound holds when the estimator is constrained to satisfy the prescribed $\ell^1$-Hölder bound.
Authors
- Yuchen Luo (ORCID: https://orcid.org/0009-0004-9990-230X)
- Jerry Zhijian Yang (ORCID: https://orcid.org/0000-0002-0402-4056)
- Wei Shao
- Yuling Jiao
- Huazhen Lin
Institutions
- Southwestern University of Finance and Economics (CN)
- Huawei Technologies (China) (CN)
- Wuhan University (CN)
Publication Details
- Journal
- arXiv
- Published
- 2026-12-02
- DOI
- https://doi.org/10.48550/arxiv.2612.04218
- Primary Topic
- Stochastic Gradient Optimization Techniques
- Type
- preprint