Multiplying Matrices Without Multiplying
Davis W. Blalock, John V. Guttag
摘要
Multiplying matrices is among the most fundamental and compute-intensive operations in machine learning. Consequently, there has been significant work on efficiently approximating matrix multiplies. We introduce a learning-based algorithm for this task that greatly outperforms existing methods. Experiments using hundreds of matrices from diverse domains show that it often runs faster than exact matrix products and faster than current approximate methods. In the common case that one matrix is known ahead of time, our method also has the interesting property that it requires zero multiply-adds. These results suggest that a mixture of hashing, averaging, and byte shufflingthe core operations of our methodcould be a more promising building block for machine learning than the sparsified, factorized, and/or scalar quantized matrix products that have recently been the focus of substantial research and hardware investment.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- T-MAC: CPU Renaissance via Table Lookup for Low-Bit LLM Deployment on Edge 引用了 LUT-NN: Empower Efficient Neural Network Inference with Centroid Learning and Table Lookup
- PIM-DL: Expanding the Applicability of Commodity DRAM-PIMs for Deep Learning via Algorithm-System Co-Optimization 引用了 LUT-NN: Empower Efficient Neural Network Inference with Centroid Learning and Table Lookup
引用它的顶会 Paper10
- Extreme Compression of Large Language Models via Additive QuantizationVage Egiazarian, Andrei Panferov, Denis Kuznedelev, Elias Frantar 等ICML 2024 · 187 次引用
- T-MAC: CPU Renaissance via Table Lookup for Low-Bit LLM Deployment on EdgeJianyu Wei, Shijie Cao, Ting Cao, Lingxiao Ma 等EuroSys 2025 · 30 次引用
- LUT-NN: Empower Efficient Neural Network Inference with Centroid Learning and Table LookupXiaohu Tang, Yang Wang, Ting Cao, Li Lyna Zhang 等MobiCom 2023 · 29 次引用
- PIM-DL: Expanding the Applicability of Commodity DRAM-PIMs for Deep Learning via Algorithm-System Co-OptimizationCong Li, Zhe Zhou, Yang Wang, Fan Yang 等ASPLOS 2024 · 27 次引用
- NoMAD-Attention: Efficient LLM Inference on CPUs Through Multiply-add-free AttentionTianyi Zhang, Jonah Yi, Bowen Yao, Zhaozhuo Xu 等NeurIPS 2024 · 25 次引用
相关 Paper
- Few-Shot Data-Driven Algorithms for Low Rank ApproximationPiotr Indyk, Tal Wagner, David P. WoodruffNeurIPS 2021 · 12 次引用
- WISE: Predicting the Performance of Sparse Matrix Vector Multiplication with Machine LearningSerif Yesil, Azin Heidarshenas, Adam Morrison, Josep TorrellasPPoPP 2023 · 33 次引用
- What if Neural Networks had SVDs?Alexander Mathiasen, Frederik Hvilshøj, Jakob Rødsgaard Jørgensen, Anshul Nasery 等NeurIPS 2020 · 12 次引用
- SPALM: A Sparsity-Pattern-Adaptive Library for MatricesJunyoung Kim, Kenneth A. RossSIGMOD 2026
- Efficient Execution of SpGEMM on Long Vector ArchitecturesValentin Le Fèvre, Marc CasasHPDC 2023 · 9 次引用
