Abstract
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⊤ 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 |Ā|F,|B¯|F and |Ā⊤ B¯|F, where Ā, B¯ are versions of A, B with zerocentered columns, respectively. For iid Gaussian matrices our quantizer achieves the lower bound and is, thus, asymptotically optimal. In particular, we derive the rate-distortion function for matrix multiplication of iid Gaussian matrices, which exhibits an interesting phase-transition at R ≈ 0.906 bit/entry. An extended version of this paper is available in [1].
| Original language | English |
|---|---|
| Title of host publication | ISIT 2025 - 2025 IEEE International Symposium on Information Theory, Proceedings |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| ISBN (Electronic) | 9798331543990 |
| DOIs | |
| State | Published - 2025 |
| Event | 2025 IEEE International Symposium on Information Theory, ISIT 2025 - Ann Arbor, United States Duration: 22 Jun 2025 → 27 Jun 2025 |
Publication series
| Name | IEEE International Symposium on Information Theory - Proceedings |
|---|---|
| ISSN (Print) | 2157-8095 |
Conference
| Conference | 2025 IEEE International Symposium on Information Theory, ISIT 2025 |
|---|---|
| Country/Territory | United States |
| City | Ann Arbor |
| Period | 22/06/25 → 27/06/25 |
Bibliographical note
Publisher Copyright:© 2025 IEEE.