Matrix Compression via Randomized Low Rank and Low Precision Factorization
Rajarshi Saha, Varun Srivastava, Mert Pilanci
摘要
Matrices are exceptionally useful in various fields of study as they provide a convenient framework to organize and manipulate data in a structured manner. However, modern matrices can involve billions of elements, making their storage and processing quite demanding in terms of computational resources and memory usage. Although prohibitively large, such matrices are often approximately low rank. We propose an algorithm that exploits this structure to obtain a low rank decomposition of any matrix A as A ≈ LR, where L and R are the low rank factors. The total number of elements in L and R can be significantly less than that in A. Furthermore, the entries of L and R are quantized to low precision formats -compressing A by giving us a low rank and low precision factorization. Our algorithm first computes an approximate basis of the range space of A by randomly sketching its columns, followed by a quantization of the vectors constituting this basis. It then computes approximate projections of the columns of A onto this quantized basis. We derive upper bounds on the approximation error of our algorithm, and analyze the impact of target rank and quantization bit-budget. The tradeoff between compression ratio and approximation accuracy allows for flexibility in choosing these parameters based on specific application requirements. We empirically demonstrate the efficacy of our algorithm in image compression, nearest neighbor classification of image and text embeddings, and compressing the layers of LlaMa-7b. Our results illustrate that we can achieve compression ratios as aggressive as one bit per matrix coordinate, all while surpassing or maintaining the performance of traditional compression techniques. (3) This computes the projection of the columns of A onto the range space of Q(U k ). Suppose the resulting projection coefficients are further quantized to get Q ′ (Q(U k ) † A). Since X * is the solution of (3), for a sufficiently large value of B ′ , it is evident that Q F , and hence, better than direct-SVD quant. However, this approach of projecting onto the range space of Q(U k ) (which we refer to as LPLR-SVD and analyze in App. I), still requires the computation of U k , so we can replace U k by AS, i.e., an approximation of the
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LoRA: Low-Rank Adaptation of Large Language Models 引用了 Compacter: Efficient Low-Rank Hypercomplex Adapter Layers
- LQ-LoRA: Low-rank plus Quantized Matrix Decomposition for Efficient Language Model Finetuning 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- DecDEC: A Systems Approach to Advancing Low-Bit LLM Quantization 引用了 ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformers
- Compressing Large Language Models using Low Rank and Low Precision Decomposition 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Compressing Large Language Models using Low Rank and Low Precision Decomposition 引用了 LQ-LoRA: Low-rank plus Quantized Matrix Decomposition for Efficient Language Model Finetuning
引用它的顶会 Paper16
- LQ-LoRA: Low-rank plus Quantized Matrix Decomposition for Efficient Language Model FinetuningHan Guo, Philip Greengard, Eric P. Xing, Yoon KimICLR 2024 · 94 次引用
- Compressing Large Language Models using Low Rank and Low Precision DecompositionRajarshi Saha, Naomi Sagan, Varun Srivastava, Andrea Goldsmith 等NeurIPS 2024 · 74 次引用
- Reassessing Layer Pruning in LLMs: New Insights and MethodsYao Lu, Hao Cheng, Yujie Fang, Zeyu Wang 等ICLR 2026 · 24 次引用
- DecDEC: A Systems Approach to Advancing Low-Bit LLM QuantizationYeonhong Park, Jake Hyun, Hojoon Kim, Jae W. LeeOSDI 2025 · 9 次引用
- Context-Aware Hierarchical Taxonomy Generation for Scientific Papers via LLM-Guided Multi-Aspect ClusteringKun Zhu, Lizi Liao, Yuxuan Gu, Lei Huang 等EMNLP 2025 · 8 次引用
它引用的 Paper20
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Searching for MobileNetV3Andrew Howard, Ruoming Pang, Hartwig Adam, Quoc V. Le 等ICCV 2019 · 9,163 次引用
- ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale TransformersZhewei Yao, Reza Yazdani Aminabadi, Minjia Zhang, Xiaoxia Wu 等NeurIPS 2022 · 816 次引用
- Compacter: Efficient Low-Rank Hypercomplex Adapter LayersRabeeh Karimi Mahabadi, James Henderson, Sebastian RuderNeurIPS 2021 · 700 次引用
- K-Adapter: Infusing Knowledge into Pre-Trained Models with AdaptersRuize Wang, Duyu Tang, Nan Duan, Zhongyu Wei 等ACL Findings 2021 · 473 次引用
相关 Paper
- A3: an Analytical Low-Rank Approximation Framework for AttentionJeffrey T. H. Wong, Cheng Zhang, Xinye Cao, Pedro Gimenes 等ICML 2026 · 4 次引用
- Adaptive Feature-based Low-Rank Compression of Large Language Models via Bayesian OptimizationYixin Ji, Yang Xiang, Juntao Li, Qingrong Xia 等EMNLP Findings 2024 · 4 次引用
- Compress Large Language Models via Collaboration Between Learning and Matrix ApproximationYuesen Liao, Zhiwei Li, Binrui Wu, Zihao Cheng 等NeurIPS 2025 · 1 次引用
- MoDeGPT: Modular Decomposition for Large Language Model CompressionChi-Heng Lin, Shangqian Gao, James Seale Smith, Abhishek Patel 等ICLR 2025
- Towards Singular Value Decomposition for Rank-Deficient Matrices: An Efficient and Accurate Algorithm on GPU ArchitecturesLu Shi, Weiwei Xu, Shaoshuai ZhangPPoPP 2026 · 1 次引用
