analiza aiqbench
This research establishes a theoretical lower bound for error in dithered scalar quantization of matrix products, offering new mathematical limits for low-precision linear algebra operations. By optimizing over product-preserving transformations like SVD-aligned Hadamard constructions, the study provides concrete methods to minimize rounding errors without altering the final result. These findings are critical for advancing the efficiency and accuracy of large-scale AI models that rely heavily on quantized matrix multiplications.
A Nuclear-Norm Lower Bound for Dithered Scalar Quantization of Matrix Products
De la arXiv
Text integralWe consider the problem of minimizing error in quantized matrix multiplication . Scalar quantization of the factors introduces rounding errors whose scale depends on the maximum absolute entries – the ranges – of their rows and columns. These ranges determine the quantization grid steps. To reduce the error, we optimize over product-preserving transformations that alter the factor ranges and grid steps without changing . Specifically, we seek the smallest leading expected squared error over invertible inner changes of basis and orthogonal outer rotations.
Under independent, zero-mean subtractive dither noise on an unbounded lattice, we prove the output-only bound , where is the inner dimension, and are normalized noise variances, and is the nuclear norm. The bound is tight: an SVD-aligned Hadamard construction attains the infimum whenever a Hadamard matrix of order exists, including every power of two, while an SVD-aligned DCT construction is within a factor of two for every .
Without outer rotations, Gram-matrix balancing minimizes factorization energy, and finite-set flattening achieves the bound within . For power-of-two , conditional expectations deterministically select the Hadamard signs in exact-real operations. Synthetic experiments verify both constructions and illustrate the tradeoff between regularization and conditioning. These results characterize the full-gauge optimum and quantify the cost of preserving row and column indices.
Text integral sub licența deschisă a publicației · 221 cuvinte