Low-Rank Compression of Neural Nets: Learning the Rank of Each Layer
Yerlan Idelbayev, Miguel Á. Carreira-Perpiñán
摘要
Neural net compression can be achieved by approximating each layer's weight matrix by a low-rank matrix. The real difficulty in doing this is not in training the resulting neural net (made up of one low-rank matrix per layer), but in determining what the optimal rank of each layer iseffectively, an architecture search problem with one hyperparameter per layer. We show that, with a suitable formulation, this problem is amenable to a mixed discretecontinuous optimization jointly over the ranks and over the matrix elements, and give a corresponding algorithm. We show that this indeed can select ranks much better than existing approaches, making low-rank compression much more attractive than previously thought. For example, we can make a VGG network faster than a ResNet and with nearly the same classification error.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 41 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ReLoRA: High-Rank Training Through Low-Rank Updates 引用了 Low-rank lottery tickets: finding efficient low-rank neural networks via matrix differential equations
- Low-rank lottery tickets: finding efficient low-rank neural networks via matrix differential equations 引用了 Initialization and Regularization of Factorized Neural Layers
引用它的顶会 Paper41
- ReLoRA: High-Rank Training Through Low-Rank UpdatesVladislav Lialin, Sherin Muckatira, Namrata Shivagunde, Anna RumshiskyICLR 2024 · 214 次引用
- Lisa: Lazy Safety Alignment for Large Language Models against Harmful Fine-tuning AttackTiansheng Huang, Sihao Hu, Fatih Ilhan, Selim F. Tekin 等NeurIPS 2024 · 113 次引用
- Initialization and Regularization of Factorized Neural LayersMikhail Khodak, Neil A. Tenenholtz, Lester Mackey, Nicolò FusiICLR 2021 · 74 次引用
- Low-rank lottery tickets: finding efficient low-rank neural networks via matrix differential equationsSteffen Schotthöfer, Emanuele Zangrando, Jonas Kusch, Gianluca Ceruti 等NeurIPS 2022 · 66 次引用
- Compressing Neural Networks: Towards Determining the Optimal Layer-wise DecompositionLucas Liebenwein, Alaa Maalouf, Dan Feldman, Daniela RusNeurIPS 2021 · 60 次引用
相关 Paper
- HALOC: Hardware-Aware Automatic Low-Rank Compression for Compact Neural NetworksJinqi Xiao, Chengming Zhang, Yu Gong, Miao Yin 等AAAI 2023 · 35 次引用
- Group Sparsity: The Hinge Between Filter Pruning and Decomposition for Network CompressionYawei Li, Shuhang Gu, Christoph Mayer, Luc Van Gool 等CVPR 2020
- Geometry-aware training of factorized layers in tensor Tucker formatEmanuele Zangrando, Steffen Schotthöfer, Gianluca Ceruti, Jonas Kusch 等NeurIPS 2024 · 20 次引用
- Discrete Model Compression With Resource Constraint for Deep Neural NetworksShangqian Gao, Feihu Huang, Jian Pei, Heng HuangCVPR 2020
- Automatic Neural Network Compression by Sparsity-Quantization Joint Learning: A Constrained Optimization-Based ApproachHaichuan Yang, Shupeng Gui, Yuhao Zhu, Ji LiuCVPR 2020
