mlsanityData to 14 Oct 2026

Optimal Quantization for Matrix Multiplication

arXiv 2410.13780 ↗First posted 17 Oct 2024cs.IT cs.AI cs.CLcited by 14

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
  3. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  4. 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 634
  5. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
  6. 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 426
  7. 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
  8. 2024QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebookscited by 378
  9. 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 308
  10. 2016Dynamic Network Surgery for Efficient DNNscited by 233
  11. 2014Compressing Deep Convolutional Networks using Vector Quantizationcited by 195
  12. 2024QTIP: Quantization with Trellises and Incoherence Processingcited by 91
6 more
  1. 2019And the Bit Goes Down: Revisiting the Quantization of Neural Networkscited by 78
  2. 2023New Bounds for Matrix Multiplication: from Alpha to Omegacited by 34
  3. 2021Multiplying Matrices Without Multiplyingcited by 30
  4. 2015Quantization based Fast Inner Product Searchcited by 29
  5. 2022Faster Matrix Multiplication via Asymmetric Hashingcited by 19
  6. 2020Gaussian Approximation of Quantization Error for Estimation from Compressed Datacited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 14.

14 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025Learning Grouped Lattice Vector Quantizers for Low-Bit LLM Compression
  2. 2023Matrix Compression via Randomized Low Rank and Low Precision Factorization
  3. 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Rate
  4. 2024Quantization-aware Matrix Factorization for Low Bit Rate Image Compression
  5. 2024Correlated Quantization for Faster Nonconvex Distributed Optimization
  6. 2024Lessons Learned on the Path to Guaranteeing the Error Bound in Lossy Quantizers
  7. 2023Quantization Aware Factorization for Deep Neural Network Compression
  8. 2025NestQuant: Nested Lattice Quantization for Matrix Products and LLMs