High-Rate Quantized Matrix Multiplication I

Or Ordentlich, Yury PolyanskiyarXiv 2026

TL;DR

This paper establishes the first rigorous information-theoretic benchmarks for "generic" quantized matrix multiplication (MatMul), where both weights and activations are compressed without any prior calibration data. By evaluating popular integer (INT) and floating-point (FP) formats against this fundamental limit, the authors uncover a striking paradox: while random structural rotations are vital for protecting INT quantization from outliers, they are actually harmful when using FP quantization.

What Problem Does This Paper Address?

To run Large Language Models (LLMs) efficiently on modern hardware, researchers routinely compress matrices using quantization—reducing full-precision numbers to low-bit formats (like INT8, FP8, or INT4). This slashes memory bandwidth bottlenecks and speeds up compute.

However, most quantization strategies are engineered heuristically. This paper tackles a fundamental gap: What are the absolute mathematical limits of how well we can perform MatMul under a strict bit budget?

The authors focus on the "Generic MatMul" setting ($A^\top B$), meaning both matrices must be quantized on the fly without any prior statistical profiling or calibration data. They also bridge the divide between the theoretical ideals of information theorists (who assume complex vector quantization) and the practical constraints of hardware engineers (who rely on simple scalar formats).

Methods

To make the complex mathematics tractable, the authors employ high-rate quantization theory, which assumes that the quantization noise is significantly weaker than the underlying signal. This allows them to model quantization errors as additive, independent, uniform noise and ignore minor "shrinkage" effects.

Using this framework, they analyze and compare:

  1. The Theoretical Optimum: Derived using advanced lattice-based quantization schemes combined with random rotations and dithering.
  2. INT Multipliers (with absmax scaling): Standard integer quantization where values are scaled relative to the maximum absolute value in a vector or block.
  3. Floating-Point (FP) Multipliers: Analyzed using a novel Infinite-Exponent Independent Noise (IEIN) model developed by the authors to accurately capture how FP formats distribute precision across different scales.
  4. Micro-scaled Formats (e.g., NVFP4): Practical intermediate formats where a shared scale factor is applied to small blocks (e.g., 16 or 32 entries).
  5. NestQuant: A recent practical framework that uses the highly efficient $E_8$ lattice geometry to pack information more tightly than standard cubic INT/FP grids.

Datasets

To validate their theoretical models in a realistic scenario, the authors extracted real data from a state-of-the-art open LLM:

  • Model Layer: The $W_v$ (value projection) matrix from the 15th layer of Llama3-8B (dimension $n=4096, a=1024$).
  • Activations: Generated by running 5 different prompts through the model, sampling a matrix of $b=10,000$ activation vectors.
  • Synthetic Baseline: The real-world data was contrasted against synthetic iid Gaussian matrices to verify average-case performance.

Key Insights and Ideas

  • The Rotation Paradox: In INT quantization, a few large "outlier" features can ruin the scale for an entire vector. Applying a random orthogonal rotation (like a randomized Hadamard transform) spreads this energy out, "Gaussianizing" the data and drastically reducing error. However, the authors prove that for FP quantization, rotation is harmful. Because FP formats inherently handle multiple scales gracefully via their exponent bits, forcing the data into a uniform Gaussian distribution destroys the natural efficiency of the format.
  • The Effective Bit Rate of FP: The authors show that an FP format with $M$ mantissa bits achieves an effective rate of $R_{eff} \approx M + 2.2356$ bits. For instance, an FP8 format (specifically E4M3, which has 3 mantissa bits) behaves as if it has roughly 5.2 effective bits under high-rate conditions.
  • The Geometry of Quantization Cells: Standard INT formats create cubic quantization zones, which are mathematically inefficient at packing high-dimensional space. Moving to non-cubic geometries (like the $E_8$ lattice used in NestQuant) yields immediate, significant accuracy gains for the same bit budget.

Key Results

The authors' analytical formulas for INT and FP distortion proved to be incredibly accurate, precisely matching the empirical root-mean-squared error (RMSE) observed on the Llama3-8B data.

When comparing different formats restricted to a strict budget of 4.5 bits per entry:

  • Standard micro-scaled integer formats (NVINT4 with Hadamard rotation) and floating-point formats (NVFP4 without rotation) performed similarly.
  • NestQuant significantly outperformed both practical hardware formats, reclaiming roughly 0.6 bits of accuracy and pushing much closer to the absolute information-theoretic limit.

Limitations and Future Work

  • The High-Rate Bound: The clean, elegant formulas derived in this paper rely on the assumption that the quantization rate $R$ is relatively high (typically $R \ge 2$ bits per entry). For ultra-low-bit regimes (e.g., binary or ternary quantization where $R < 2$), the uniform noise model breaks down, and linear shrinkage effects can no longer be ignored.
  • No Calibration Data: This paper strictly covers the "generic" case where nothing is known about the matrices beforehand. In actual LLM deployment, the weight matrices are static and known ahead of time. The authors note that Part II of this paper series will address this "weight-only" quantization setup, utilizing second-order activation statistics to push the boundaries even further.

Summary updated

BibTeX
@misc{ordentlich2026high,
  author = {Or Ordentlich and Yury Polyanskiy},
  title = {{High-Rate Quantized Matrix Multiplication I}},
  year = {2026},
  eprint = {2601.17187},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.17187},
}
Figure