LoSparse: Structured Compression of Large Language Models based on Low-Rank and Sparse Approximation
Yixiao Li, Yifan Yu, Qingru Zhang, Chen Liang, Pengcheng He, Weizhu Chen, Tuo Zhao
摘要
Transformer models have achieved remarkable results in various natural language tasks, but they are often prohibitively large, requiring massive memories and computational resources. To reduce the size and complexity of these models, we propose LoSparse (Low-Rank and Sparse approximation), a novel model compression technique that approximates a weight matrix by the sum of a low-rank matrix and a sparse matrix. Our method combines the advantages of both low-rank approximations and pruning, while avoiding their limitations. Low-rank approximation compresses the coherent and expressive parts in neurons, while pruning removes the incoherent and non-expressive parts in neurons. Pruning enhances the diversity of low-rank approximations, and low-rank approximation prevents pruning from losing too many expressive neurons. We evaluate our method on natural language understanding, question answering, and natural language generation tasks. We show that it significantly outperforms existing compression methods. Our code is publicly available at https://github.com/yxli2123/LoSparse
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 38 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy 引用了 Language Models are Few-Shot Learners
- SLTrain: a sparse plus low rank approach for parameter and memory efficient pretraining 引用了 Language Models are Few-Shot Learners
- Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications 引用了 Language Models are Few-Shot Learners
- PiSSA: Principal Singular Values and Singular Vectors Adaptation of Large Language Models 引用了 LoftQ: LoRA-Fine-Tuning-aware Quantization for Large Language Models
- PiSSA: Principal Singular Values and Singular Vectors Adaptation of Large Language Models 引用了 DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing
- Movement Pruning: Adaptive Sparsity by Fine-Tuning 引用了 Reducing Transformer Depth on Demand with Structured Dropout
- Movement Pruning: Adaptive Sparsity by Fine-Tuning 引用了 Language Models are Few-Shot Learners
- LoftQ: LoRA-Fine-Tuning-aware Quantization for Large Language Models 引用了 BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension
- LoftQ: LoRA-Fine-Tuning-aware Quantization for Large Language Models 引用了 DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing
- DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharing 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper38
- PiSSA: Principal Singular Values and Singular Vectors Adaptation of Large Language ModelsFanxu Meng, Zhaohui Wang, Muhan ZhangNeurIPS 2024 · 374 次引用
- LoftQ: LoRA-Fine-Tuning-aware Quantization for Large Language ModelsYixiao Li, Yifan Yu, Chen Liang, Nikos Karampatziakis 等ICLR 2024 · 217 次引用
- Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank ModificationsBoyi Wei, Kaixuan Huang, Yangsibo Huang, Tinghao Xie 等ICML 2024 · 215 次引用
- Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing PolicyPingzhi Li, Zhenyu Zhang, Prateek Yadav, Yi-Lin Sung 等ICLR 2024 · 97 次引用
- SLTrain: a sparse plus low rank approach for parameter and memory efficient pretrainingAndi Han, Jiaxiang Li, Wei Huang, Mingyi Hong 等NeurIPS 2024 · 54 次引用
它引用的 Paper12
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad 等ACL 2020 · 1,224 次引用
- Reducing Transformer Depth on Demand with Structured DropoutAngela Fan, Edouard Grave, Armand JoulinICLR 2020 · 695 次引用
- Movement Pruning: Adaptive Sparsity by Fine-TuningVictor Sanh, Thomas Wolf, Alexander M. RushNeurIPS 2020 · 656 次引用
- DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding SharingPengcheng He, Jianfeng Gao, Weizhu ChenICLR 2023 · 394 次引用
相关 Paper
- Low-Rank Approximation for Sparse Attention in Multi-Modal LLMsLin Song, Yukang Chen, Shuai Yang, Xiaohan Ding 等CVPR 2024 · 8 次引用
- Large Language Model Compression with Global Rank and Sparsity OptimizationChanghai Zhou, Qian Qiao, Yuhua Zhou, Yuxin Wu 等ICLR 2026 · 6 次引用
- LoRAP: Transformer Sub-Layers Deserve Differentiated Structured Compression for Large Language ModelsGuangyan Li, Yongqiang Tang, Wensheng ZhangICML 2024 · 11 次引用
- 1+1>2: A Synergistic Sparse and Low-Rank Compression Method for Large Language ModelsZeliang Zong, Kai Zhang, Zheyang Li, Wenming Tan 等EMNLP Findings 2025
- Adaptive Feature-based Low-Rank Compression of Large Language Models via Bayesian OptimizationYixin Ji, Yang Xiang, Juntao Li, Qingrong Xia 等EMNLP Findings 2024 · 4 次引用
