High-Rate Quantized Matrix Multiplication: Theory and Practice
Published 23 Jan 2026 in cs.IT and cs.AI | (2601.17187v1)
Abstract: This work investigates the problem of quantized matrix multiplication (MatMul), which has become crucial for the efficient deployment of LLMs. We consider two settings: 1) Generic MatMul, where both matrices must be quantized (weight+activation quantization); and 2) weight-only quantization, where the second matrix is only known through covariance matrix ΣX of its columns. For each setting, we first review the fundamental information-theoretic tradeoff between quantization rate and distortion (high-rate theory), and then analyze the performance of several popular quantization schemes, comparing them to these fundamental limits. Specifically, we discuss rate loss (compared to information theoretic optima) of absmax INT and floating-point (FP) quantization, for which we also derive remarkably accurate heuristic approximations. Weight-only quantization is related to the problem of weighted mean squared error (WMSE) source coding, whose classical (reverse) waterfilling solution dictates how one should distribute rate between coordinates of the vector. We show how waterfilling can be used to improve practical LLM quantization algorithms (GPTQ), which at present allocate rate equally. This new scheme (termed ``WaterSIC'') only uses scalar INT quantizers, but its high-rate performance is basis free (it depends only on the determinant of ΣX and, thus, unlike existing schemes, is immune to applying random rotations) and is within a multiplicative factor of 122πe (or 0.25 bit/entry) of the information-theoretic distortion limit (!). GPTQ's performance is affected by the choice of basis, but for a random rotation and actual ΣX from Llama-3-8B we find GPTQ to be within 0.1 bit (depending on the layer type) of WaterSIC, suggesting that GPTQ with random rotation is also near optimal (for high-rate quantization).
The paper presents high-rate quantization benchmarks for matrix multiplication addressing both generic and weight-only quantization settings.
Generic MatMul quantization benchmarks are achieved through random rotation and nested lattice quantization, showing INT and FP format performance with specific effective rates.
A close connection between GPTQ and WaterfIC is demonstrated, with WaterSIC achieving near-optimal distortion and proving rotation-invariant in theory and practice.
Overview
This survey by Ordentlich and Polyanskiy develops information-theoretic benchmarks for quantized matrix multiplication (MatMul) and uses them to audit widely deployed LLM quantization methods. The paper treats two settings. In generic MatMul (weight-plus-activation quantization), no statistics of the matrices are available at quantizer design time; here the high-rate fundamental limit is Dij∗=n∥ai∥2∥bj∥2⋅2⋅2−2R for the (i,j) entry of A⊤B. In weight-only quantization, only one factor is compressed and its quantizer may exploit the activation covariance ΣX estimated from a calibration set; here the limit is governed by reverse waterfilling over ΣX, yielding D≈∣ΣX∣1/n2−2R in the high-rate regime. Throughout, "rate" is used in the information-theoretic sense (NR bits jointly dependent on all entries), in contrast to entrywise scalar formats such as INT8/FP8, and the analysis restricts attention to the high-resolution regime where quantization error behaves like additive uniform noise.
Fundamental limits for generic MatMul
For rate-R schemes with encoders, decoder, and shared randomness ω, the worst-case distortion over matrices with unit-norm columns admits a scheme based on random rotation plus nested lattice quantization achieving, uniformly over all inputs,
Two negative results motivate the need for randomization: any non-randomized deterministic scheme suffers (i,j)0 distortion due to adversarial alignment between one matrix and the other's quantization noise, and single-sketch Johnson–Lindenstrauss estimators also incur (i,j)1 distortion from estimator variance. For iid Gaussian inputs, the exact finite-rate limit was previously established: distortion (i,j)2 with a phase transition at critical rate (i,j)3, below which optimal schemes must combine sketching with vector quantization. In the high-rate regime this collapses to (i,j)4, matching the universal achievability bound — so the benchmark above is essentially tight and cannot be improved beyond lower-order terms.
Effective rates of INT and FP multipliers
The paper derives closed-form high-rate approximations for absmax-scaled scalar constellations, validated empirically on activations of Llama-3-8B layer 15 as "remarkably accurate." Under an additive uniform-noise model, INT(i,j)5 with absmax scaling achieves distortion
(i,j)6
where (i,j)7 involves per-vector (i,j)8 ratios and can be as large as (i,j)9 for aligned data — a multiplicative gap to optimality that random rotation reduces to at most A⊤B0. Consequently, under Hadamard rotation the effective rate is
A⊤B1
e.g., A⊤B2 bits for A⊤B3: roughly 1.25 of every 8 bits are lost to the per-vector scale.
The FP analysis appears to be new. Introducing an "infinite-exponent independent noise" (IEIN) model with dithered absmax scaling, the authors obtain A⊤B4 — FP buys about 2.24 free bits relative to INT at equal bit count, because its geometric spacing matches the signal's scale-invariance. Notably, the FP penalty factor A⊤B5 has expectation exactly 1 for iid data and at most 3 under random rotation, but can be below 1 on real Llama-3-8B matrices without rotation. This yields a somewhat contrarian practical conclusion: full-vector Hadamard rotation is unnecessary and actually harmful for FP8 quantization of these layers, whereas it is crucial for INT — providing what the authors argue is the first rigorous explanation of prior empirical observations that rotations hurt FP quantization.
For 4-bit formats, both absmax INT4 and FP4 degrade severely (overload errors dominate for E2M1), motivating multi-scaling: NVINT4 and NVFP4 use block scales of 8/16 bits per block of 16 entries (effective rate 4.5 bits). A heuristic argument shows NVFP4's distortion is typically bounded by the IEIN prediction for A⊤B6. Experiments at A⊤B7 bits show NestQuant with A⊤B8 scales outperforming NVINT4/NVFP4 by roughly 0.6 effective bits, attributed to better lattice shaping (replacing the cubic cells of A⊤B9) and multi-scale overload control.
Weight-only quantization: waterfilling limits
Weight-only quantization with objective ΣX0 is a weighted-MSE source coding problem. For Gaussian weights, a data-processing argument gives the classical reverse-waterfilling solution, whose high-rate form is ΣX1. An isotropic codebook with ΣX2-oblivious encoding achieves only ΣX3 (arithmetic mean of eigenvalues); the gain from optimal allocation equals half the AM–GM log-gap, illustrated across all Llama-3-8B layers. Two structural observations sharpen the picture:
Informed vs. uninformed decoding: since dequantization must run online without access to ΣX4, the practically relevant constraint is a ΣX5-oblivious decoder with adaptive encoding. Citing forthcoming work, the paper reports that even an isotropic Gaussian codebook with ΣX6-aware nearest-codeword rounding attains the waterfilling distortion up to higher-order terms, universally over ΣX7 (within 0.1 bit at all rates). The dominant loss in naive schemes therefore comes from suboptimal rounding, not suboptimal codebooks — but solving that rounding exactly is a closest vector problem, known to be NP-hard.
Cholesky interpretation: writing ΣX8 with upper-triangular ΣX9, the diagonal entries ΣX0 are the variances of orthogonal innovations of the activation process, and they replace eigenvalues as the objects controlling achievable distortion.
GPTQ as successive cancellation and the WaterSIC algorithm
The paper recasts GPTQ/LDLQ as successive interference cancellation (equivalently Babai's nearest-plane algorithm, or V-BLAST-style filtering): quantize coordinates sequentially from last to first, feeding back partially cancelled contributions. With uniform spacing ΣX1, SIC's decision region is a rectangular box with side lengths ΣX2, giving distortion proportional to the arithmetic mean of squared Cholesky diagonals,
ΣX3
which is basis-dependent. The proposed WaterSIC variant instead chooses per-coordinate spacings ΣX4, equalizing each coordinate's contribution. Its distortion becomes
ΣX5
since ΣX6. Because this expression depends on ΣX7 only through its determinant, WaterSIC is provably immune to random rotations, unlike GPTQ. It uses only scalar integer quantizers plus entropy coding or shaping, yet sits within a multiplicative factor ΣX8 of the information-theoretic optimum — equivalently within Koshelev's celebrated 0.25-bit constant. This is the paper's central theoretical claim: a trivial modification of GPTQ (per-coordinate scales derived from Cholesky diagonals, amortizable over the many output neurons of a layer) closes essentially the entire gap between current practice and the waterfilling limit.
Empirical findings on Llama-3-8B
Three experimental results stand out. First, normalized-error tables confirm the INT8 and FP8 distortion formulas to within hundredths of a bit of predicted effective rate. Second, comparing GPTQ and WaterSIC with entropy coding against the exact finite-ΣX9 waterfilling curve confirms the asymptotic D≈∣ΣX∣1/n2−2R0 ratio. Third, and most consequential, when GPTQ is applied after a random rotation its actual distortion comes within roughly 0.1 bit of WaterSIC on real Llama-3-8B covariances — implying that GPTQ with random rotation is already near-optimal for high-rate weight quantization, even though its guarantee is basis-dependent. The residual basis dependence is explained via the innovation-energy identity: GPTQ's cost is the arithmetic mean of D≈∣ΣX∣1/n2−2R1, minimized in the PCA basis but improved by rotation because the natural (Adam-induced, axis-aligned-outlier) basis is "privileged" relative to random bases. The paper further derives an accurate spectrum-only approximation to rotated Cholesky diagonals, interpolating smoothly from arithmetic to harmonic mean of the eigenvalues, enabling performance prediction of rotated GPTQ without computing decompositions.
Limitations and open questions
The authors are explicit about several caveats. All analyses assume the high-resolution regime and become unreliable below roughly 2 bits per entry, where sketching, shrinkage, and weight structure matter; extending waterfilling-based guarantees to low rates is left open. Entropy coding, required to realize WaterSIC's guarantee, decompresses about an order of magnitude slower than raw loads on GPUs, so its deployment value is uncertain, while GPU-friendly shaping (rectangular or coset-based) is either suboptimal or computationally hard. The D≈∣ΣX∣1/n2−2R2 gap itself could be shrunk by joint quantization over higher-dimensional lattices (down to D≈∣ΣX∣1/n2−2R3), at the cost of harder entropy coding. WaterSIC's per-coordinate scales must be communicated and amortize only when D≈∣ΣX∣1/n2−2R4; behavior for narrow layers is unaddressed. Finally, the near-equivalence of rotated GPTQ and WaterSIC is established only empirically for Llama-3-8B covariances, and bounding the worst-case gap over admissible spectra remains an open problem.
Conclusion
The paper supplies a unified high-rate theory connecting information-theoretic optima for quantized MatMul to the practical formats and algorithms used in LLM inference. Its main deliverables are: tight benchmarks showing INT loses ~1.24 bits to scaling and FP gains ~2.24 bits relative to INT; a demonstration that rotation helps INT but hurts FP on realistic activations; proof that a waterfilled-spacing variant of GPTQ (WaterSIC) is within 0.25 bits of the optimal weight-only distortion while being rotation-invariant; and evidence that vanilla GPTQ with random rotation is already nearly optimal in practice. The remaining open territory lies chiefly in low-rate regimes, GPU-compatible shaping, and closing the final sub-bit gaps identified by the theory.