arXiv:2609.05641cs.ITSep 2026

Manuscript Offprint

arXiv:2609.05641

A Nuclear-Norm Lower Bound for Dithered Scalar Quantization of Matrix Products

Piyush Sao, Narasinga Miniskar, Pedro Valero-Lara, Keita Teranishi, Sudip Seal

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

When computing a low-precision matrix product C=ABC = AB, scalar quantization rounds the entries of the two input factors. The resulting error is sensitive to how CC is factorized: a product-preserving transformation can change the largest absolute entries—the ranges—of the factor rows and columns. These ranges set the quantization grid steps, so the transformation can change the error without changing CC. We ask for the smallest leading contribution to the expected squared error over all invertible inner changes of basis and orthogonal outer rotations. Under independent, zero-mean subtractive-dither noise on an unbounded lattice, we derive an output-only lower bound for the leading expected squared error:

Elead≥cA+cBK∥AB∥∗2.E_{\mathrm{lead}}\geq \frac{c_{A}+c_{B}}{K}\|AB\|_{*}^{2}.

Here KK is the shared inner dimension, cA,cBc_A, c_B are normalized noise variances set by the two factor grids, and the nuclear norm ∥AB∥∗\|AB\|_* is the sum of the output singular values. Although the bound composes two standard inequalities, their composition is tight. At any dimension admitting a Hadamard matrix—including every power of two—an SVD-aligned construction makes the infimum equal to the bound; for every KK, an SVD-aligned DCT construction comes within a factor of two. If outer rotations are unavailable, balancing the Gram matrices A⊤AA^\top A and BB⊤BB^\top determines the optimal factorization energy, and finite-set flattening reaches the lower bound within a factor Clog⁡(K(m+n))C \log(K(m+n)). For power-of-two KK, the conditional-expectation method implements the Hadamard sign-selection stage deterministically in O((m+n)K2)O((m+n)K^2) exact-real arithmetic operations. Synthetic experiments check the Hadamard full-gauge and inner-only constructions and illustrate the instance-specific tradeoff between regularization and transform conditioning. Together, these results characterize the full-gauge optimum and quantify the inner-only cost of keeping row and column indices fixed.

1 Introduction

Low-precision matrix multiplication is a central kernel in machine-learning inference and, increasingly, in scientific computing. For A∈Rm×KA \in \mathbb{R}^{m \times K} and B∈RK×nB \in \mathbb{R}^{K \times n}, a scalar scheme rounds the factors before accumulating their KK-term inner products. Here KK is the shared inner dimension of C=ABC = AB. The quantization error depends on how CC is factorized, though CC itself does not. We ask: what is the smallest leading error achievable over all product-preserving transformations?

An error in AikA_{ik} is multiplied by the row Bk:,B_{k:,}, and an error in BkjB_{kj} is multiplied by the column A:,kA_{:,k}. An entrywise error metric therefore fails to measure what matters. Meanwhile, a scalar grid sets its step from a row or column range: the vector's largest absolute entry. The companion transform study [14] develops this product-weighted error analysis and compares practical transform families. We instead seek a lower bound over a broad product-preserving class.

For UL∈O(m)U_L \in \mathrm{O}(m), T∈GL(K)T \in \mathrm{GL}(K), and UR∈O(n)U_R \in \mathrm{O}(n), consider

(A,B)⟼(ULAT,T−1BUR).(A,B) \longmapsto (U_L A T, T^{-1} B U_R).

We call the triple (UL,T,UR)(U_L, T, U_R) a gauge; a quantity is gauge-invariant if it depends only on ABAB. Operationally, the factors are transformed, A~=ULAT\widetilde{A} = U_L A T is quantized row-wise and B~=T−1BUR\widetilde{B} = T^{-1} B U_R column-wise, the quantized factors are multiplied, and the outer rotations are undone:

C^=UL⊤(A~+EA)(B~+EB)UR⊤.\widehat{C}=U_{L}^{\top}(\widetilde{A}+E_{A})(\widetilde{B}+E_{B})U_{R}^{\top}.

*This manuscript has been authored by UT-Battelle, LLC under Contract No. DE-AC05-00OR22725 with the U.S. Department of Energy. The publisher, by accepting the article for publication, acknowledges that the United States Government retains a non-exclusive, paid-up, irrevocable, world-wide license to publish or reproduce the published form of this manuscript, or allow others to do so, for United States Government purposes. The Department of Energy will provide public access to these results of federally sponsored research in accordance with the DOE Public Access Plan (https://www.energy.gov/doe-public-access-plan).

†^{\dagger}Corresponding author: saopk@ornl.gov

The singular values of the output govern the answer. Under the model of Assumption 3.1, no gauge can push the leading expected squared error below

Elead≥cA+cBK∥AB∥∗2.(1)E_{\mathrm{lead}}\geq\frac{c_{A}+c_{B}}{K}\left\|A B\right\|_{*}^{2}. \tag{1}

The constants cA,cBc_A, c_B are normalized entrywise variances from the two grid steps; for a signed bb-bit nominal grid, c=1/[12(2b−1−1)2]c = 1/[12(2^{b-1}-1)^2]. The nuclear norm ∥AB∥∗\|AB\|_* is the sum of the output singular values. We call (1) the independent-noise floor: a lower bound invariant under refactorization.

The lower bound follows by composing two standard inequalities: a squared grid range must cover the average squared energy of the vector it quantizes, and a Frobenius product must dominate the nuclear norm of its product. Its primary value is not the novelty of these inequalities but the tightness of their composition. At a Hadamard dimension—an order KK admitting a K×KK \times K Hadamard matrix, including every power of two—an SVD-aligned construction makes the infimum equal to (1). For every other dimension, a normalized DCT-II construction remains within a factor of two. Thus the floor is both cheap to compute—it reads only the output singular values—and impossible to undercut.

A two-by-two instance traces the whole argument. Take A=diag(4,1)A = \mathrm{diag}(4,1) and B=diag(1,4)B = \mathrm{diag}(1,4), so C=diag(4,4)C = \mathrm{diag}(4,4) and ∥C∥∗=8\|C\|_* = 8. Quantizing the factors as given, the leading objective is 289(cA+cB)289(c_A + c_B), roughly nine times the floor 32(cA+cB)32(c_A + c_B). The diagonal balance T=diag(1/2,2)T = \mathrm{diag}(1/2,2) equalizes both factors to diag(2,2)\mathrm{diag}(2,2) and reduces the leading objective to 64(cA+cB)64(c_A + c_B): the factorization energy now matches the nuclear value, but each row concentrates its energy in one coordinate, so the grid ranges still exceed the average energy. Composing with the normalized 2×22 \times 2 Hadamard rotation spreads every row and column evenly, and the objective reaches 32(cA+cB)32(c_A + c_B): the floor, exactly, with no outer rotation. The three stages—floor, balancing, flattening—are the three sections that follow, and the two loss mechanisms that the example separates are exactly the two places where the proof of (1) could be loose.

Over the full gauge, the infimum equals the lower bound at Hadamard dimensions and is within a universal factor of two for every KK. Outer rotations align the free indices with the output singular vectors, while an inner orthogonal matrix spreads each retained singular direction. A normalized type-II discrete cosine transform (DCT-II) gives the factor-two bound. When free indices carry meaning—tokens, batch items, or output channels—outer rotations may be unavailable. In that inner-only setting, Gram-matrix balancing closes the factorization-energy loss. We then choose one rotation after seeing the m+nm+n rows and columns to quantize, which closes the remaining peak-to-average gap within a logarithmic factor. This guarantee applies to the observed finite set; uniform control over every input is a separate requirement, and the gap between the two is where the Kashin theory of redundant representations enters (Section 8).

We make five contributions.

  1. We prove the gauge-invariant lower bound (1) under independent, zero-mean per-vector noise, and show that its two constituent inequalities are individually sharp.

  2. We prove that the factorization-energy infimum equals ∥AB∥∗2\|AB\|_*^2 for arbitrary factors and give an explicit balancing transform for positive-definite Gram matrices.

  3. We show that, over the full gauge, an SVD-aligned construction makes the infimum equal to the lower bound at Hadamard dimensions and comes within a factor of two for every KK; the floor is therefore a characterization, not merely a bound.

  4. We show that, for inner-only transforms, finite-set flattening gives an O(log⁡(K(m+n)))O(\log(K(m+n))) upper factor; for power-of-two KK, conditional expectations give a deterministic O((m+n)K2)O((m+n)K^2) exact-real sign-selection procedure for the Hadamard flattening stage.

  5. We express the inner-only loss as a peak-to-average comparison and connect its uniform, all-input form to Kashin representations.

Recent product-aware methods address complementary quantization settings. Ordentlich and Polyanskiy analyze direct coding limits for matrix products [12, 10], while WUSH derives data-dependent transforms for RTN AbsMax block quantizers from a first-order stochastic surrogate [2]. Practical activation and weight transformations include SmoothQuant, QuaRot, SpinQuant, and AffineQuant [17, 1, 6, 8]. These works study coding limits or practical transforms under different finite-rate constraints; here we identify and characterize a gauge-invariant floor for product-weighted quantization error.

Section 2 develops the error analysis and notation. Section 3 states the stochastic model and second-moment identity. Sections 4 and 5 prove the lower bound and close its factorization-energy component. Section 6 gives full-gauge constant achievability and the inner-only logarithmic construction; Section 7 derandomizes the latter. Section 8 gives the peak-to-average interpretation, and Section 9 evaluates the proved quantities.

Relation to companion work. The three manuscripts share the matrix-product setting but answer different questions; neither companion is a logical premise for the results below. Table 1 states the separation.

Table 1: Separation from companion work.

ManuscriptPrimary scope
This paperIndependent-noise lower bounds over the full gauge, exact or constant full-gauge achievability, and inner-only logarithmic achievability.
Metric companion [15]Coordinated deterministic choices on fixed grids, formulated as dynamic and static metric-discrepancy problems with complexity results.
Transform companion [14]Product-weighted error analysis, practical transform families, and empirical preconditioning comparisons for quantized matrix multiplication.

Together, the lower bound and the constructions give a usable certificate for transform design: the nuclear floor measures unavoidable leading error, while finite-set flatness measures the additional cost of preserving application-visible indices.