Optimal Quantization for Matrix Multiplication
Not on the map. Why?
Abstract (arXiv)
Recent work in machine learning community proposed multiple methods for performing lossy compression (quantization) of large matrices. This quantization is important for accelerating matrix multiplication (main component of large language models), which is often bottlenecked by the speed of loading these matrices from memory. Unlike classical vector quantization and rate-distortion theory, the goal of these new compression algorithms is to be able to approximate not the matrices themselves, but their matrix product. Specifically, given a pair of real matrices A,B an encoder (compressor) is applied to each of them independently producing descriptions with R bits per entry. These representations subsequently are used by the decoder to estimate matrix product A^top B. In this work, we provide a non-asymptotic lower bound on the mean squared error of this approximation (as a function of rate R) for the case of matrices A,B with iid Gaussian entries. Algorithmically, we construct a universal quantizer based on nested lattices with an explicit guarantee of approximation error for any (non-random) pair of matrices A, B in terms of only Frobenius norms |barA|F, |barB|F and |barA^top barB|F, where barA,barB are versions of A,B with zero-centered columns, respectively. For iid Gaussian matrices our quantizer achieves the lower bound and is, thus, asymptotically optimal. A practical low-complexity version of our quantizer achieves performance quite close to optimal. In addition, we derive rate-distortion function for matrix multiplication of iid Gaussian matrices, which exhibits an interesting phase-transition at R≈ 0.906 bit/entry, showing necessity of Johnson-Lindestrauss dimensionality reduction (sketching) in the low-rate regime.
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 18 of its 78 references that are in the map. First posted on arXiv 17 Oct 2024.
Builds on
18 of 78 references.
References · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 634
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
- 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 426
- 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
- 2024QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebookscited by 378
- 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 308
- 2016Dynamic Network Surgery for Efficient DNNscited by 233
- 2014Compressing Deep Convolutional Networks using Vector Quantizationcited by 195
- 2024QTIP: Quantization with Trellises and Incoherence Processingcited by 91
6 more
- 2019And the Bit Goes Down: Revisiting the Quantization of Neural Networkscited by 78
- 2023New Bounds for Matrix Multiplication: from Alpha to Omegacited by 34
- 2021Multiplying Matrices Without Multiplyingcited by 30
- 2015Quantization based Fast Inner Product Searchcited by 29
- 2022Faster Matrix Multiplication via Asymmetric Hashingcited by 19
- 2020Gaussian Approximation of Quantization Error for Estimation from Compressed Datacited by 4
Built on by
Citing papers per year: 2026: 14.
14 papers.
Sort:
By area:
- 2026Provable Quantization with Randomized Hadamard Transformcited by 8
- 2026High-Rate Quantized Matrix Multiplication Icited by 7
- 2026Quantizing With Randomized Hadamard Transforms: Efficient Heuristic Now Provencited by 6
- 2026High-Rate Quantized Matrix Multiplication IIcited by 4
- 2026Optimal Scalar Quantization for Matrix Multiplication: Closed-Form Density and Phase Transitioncited by 2
- 2026Contraction-Gauge Preconditioning for Quantized Matrix Multiplicationcited by 2
- 2026Price of metric universality in vector quantization is at most 0.11 bitcited by 1
- 2026A Nuclear-Norm Lower Bound for Dithered Scalar Quantization of Matrix Productscited by 1
- 2026Fast Matrix Multiplication in fp8: Certified Coefficient Optimization and Measured Errorcited by 1
- 2026Understanding Behavior Cloning with Action Quantizationcited by 0
- 2026Transforms for LLM Quantization: The Great Inversion and Format Co-Designcited by 0
- 2026Product-Aware Deterministic Rounding for Quantized Matrix Multiplicationcited by 0
- 2026Fast Quantized Johnson-Lindenstrauss Transforms12 Oct 2026
- 2026When Does Compensating Inherited Quantization Error Help? Mean-Square Guarantees for Layer-Wise Quantization and Their Limits12 Oct 2026
- 2026Product-Aware Deterministic Rounding for Quantized Matrix Multiplication11 Sep 2026
- 2026A Nuclear-Norm Lower Bound for Dithered Scalar Quantization of Matrix Products4 Sep 2026
- 2026Transforms for LLM Quantization: The Great Inversion and Format Co-Design25 Aug 2026
- 2026Fast Matrix Multiplication in fp8: Certified Coefficient Optimization and Measured Error4 Aug 2026
- 2026Contraction-Gauge Preconditioning for Quantized Matrix Multiplication21 Jul 2026
- 2026Provable Quantization with Randomized Hadamard Transform13 May 2026
- 2026High-Rate Quantized Matrix Multiplication II13 May 2026
- 2026Quantizing With Randomized Hadamard Transforms: Efficient Heuristic Now Proven7 May 2026
- 2026Understanding Behavior Cloning with Action Quantization20 Mar 2026
- 2026Optimal Scalar Quantization for Matrix Multiplication: Closed-Form Density and Phase Transition20 Mar 2026
2 more
- 2026Price of metric universality in vector quantization is at most 0.11 bit5 Feb 2026
- 2026High-Rate Quantized Matrix Multiplication I23 Jan 2026
- 2026Understanding Behavior Cloning with Action Quantizationcited by 0
- 2026Understanding Behavior Cloning with Action Quantization20 Mar 2026
- 2026High-Rate Quantized Matrix Multiplication Icited by 7
- 2026High-Rate Quantized Matrix Multiplication IIcited by 4
- 2026Optimal Scalar Quantization for Matrix Multiplication: Closed-Form Density and Phase Transitioncited by 2
- 2026Contraction-Gauge Preconditioning for Quantized Matrix Multiplicationcited by 2
- 2026Price of metric universality in vector quantization is at most 0.11 bitcited by 1
- 2026A Nuclear-Norm Lower Bound for Dithered Scalar Quantization of Matrix Productscited by 1
- 2026Fast Matrix Multiplication in fp8: Certified Coefficient Optimization and Measured Errorcited by 1
- 2026Transforms for LLM Quantization: The Great Inversion and Format Co-Designcited by 0
- 2026Product-Aware Deterministic Rounding for Quantized Matrix Multiplicationcited by 0
- 2026When Does Compensating Inherited Quantization Error Help? Mean-Square Guarantees for Layer-Wise Quantization and Their Limitscited by 0
- 2026Fast Quantized Johnson-Lindenstrauss Transformscited by 0
- 2026Fast Quantized Johnson-Lindenstrauss Transforms12 Oct 2026
- 2026When Does Compensating Inherited Quantization Error Help? Mean-Square Guarantees for Layer-Wise Quantization and Their Limits12 Oct 2026
- 2026Product-Aware Deterministic Rounding for Quantized Matrix Multiplication11 Sep 2026
- 2026A Nuclear-Norm Lower Bound for Dithered Scalar Quantization of Matrix Products4 Sep 2026
- 2026Transforms for LLM Quantization: The Great Inversion and Format Co-Design25 Aug 2026
- 2026Fast Matrix Multiplication in fp8: Certified Coefficient Optimization and Measured Error4 Aug 2026
- 2026Contraction-Gauge Preconditioning for Quantized Matrix Multiplication21 Jul 2026
- 2026High-Rate Quantized Matrix Multiplication II13 May 2026
- 2026Optimal Scalar Quantization for Matrix Multiplication: Closed-Form Density and Phase Transition20 Mar 2026
- 2026Price of metric universality in vector quantization is at most 0.11 bit5 Feb 2026
- 2026High-Rate Quantized Matrix Multiplication I23 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025Learning Grouped Lattice Vector Quantizers for Low-Bit LLM Compression
- 2023Matrix Compression via Randomized Low Rank and Low Precision Factorization
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Rate
- 2024Quantization-aware Matrix Factorization for Low Bit Rate Image Compression
- 2024Correlated Quantization for Faster Nonconvex Distributed Optimization
- 2024Lessons Learned on the Path to Guaranteeing the Error Bound in Lossy Quantizers
- 2023Quantization Aware Factorization for Deep Neural Network Compression
- 2025NestQuant: Nested Lattice Quantization for Matrix Products and LLMs