cs.LGSep 11, 2026

Product-Aware Deterministic Rounding for Quantized Matrix Multiplication

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

Organizations: Oak Ridge National Laboratory, Oak Ridge, Tennessee 37831, USA

Abstract

Scalar rounding decisions interact through matrix multiplication. We study deterministic product-aware rounding after scales, clipping bounds, and grids are fixed, with each active scalar choosing between adjacent levels. For dynamic activation rounding, null-space reduction preserves the relaxed product while leaving at most rr fractional decisions, where rr is the rank of the active gap-weighted weight block. Conditional-expectation completion gives a deterministic polynomial-time algorithm with squared product error at most OPTdyn+rνmax⁡2/4 \mathrm{OPT}_{\mathrm{dyn}}+rν_{\max}^2/4, where OPTdyn\mathrm{OPT}_{\mathrm{dyn}} is the best admissible error and νmax⁡ν_{\max} is the largest row norm of that block. For reusable static weights, the exact expected product-loss metric is the uncentered input second moment with fixed output bias; free bias recalibration yields the centered covariance. Exact optimization is NP-hard even at rank one. In balanced blocks with K=1024K=1024 and r=16r=16, conditional- expectation completion attains a dither-normalized median error of 0.0100.010, compared with 0.8990.899 for round-to-nearest. Clipping-aware initialization reduces median normalized error by a factor of 43.443.4 at ten-percent clipping. Held-out Digits experiments show that retaining the input mean or correcting the output bias improves median product error over round-to-nearest in all four tested bit-width and calibration-size settings.

Figures & tables

Explore similar work

CardsList
  1. Contraction-Gauge Preconditioning for Quantized Matrix Multiplication

    Jul 21, 2026Piyush Sao, Narasinga Miniskar, Pedro Valero-Lara +2Post-Training QuantizationLow-Bit Quantization

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

    Sep 4, 2026Piyush Sao, Narasinga Miniskar, Pedro Valero-Lara +2Matrix Optimization