Compressing Neural Networks: Towards Determining the Optimal Layer-wise Decomposition
Lucas Liebenwein, Alaa Maalouf, Dan Feldman, Daniela Rus
Abstract
We present a novel global compression framework for deep neural networks that automatically analyzes each layer to identify the optimal per-layer compression ratio, while simultaneously achieving the desired overall compression. Our algorithm hinges on the idea of compressing each convolutional (or fully-connected) layer by slicing its channels into multiple groups and decomposing each group via low-rank decomposition. At the core of our algorithm is the derivation of layer-wise error bounds from the Eckart Young Mirsky theorem. We then leverage these bounds to frame the compression problem as an optimization problem where we wish to minimize the maximum compression error across layers and propose an efficient algorithm towards a solution. Our experiments indicate that our method outperforms existing low-rank compression approaches across a wide range of networks and data sets. We believe that our results open up new avenues for future research into the global performance-size trade-offs of modern neural networks. Our code is available at https://github.com/lucaslie/torchprune.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Model Preserving Compression for Neural Networks cites Provable Filter Pruning for Efficient Neural Networks
- Neural Pruning via Growing Regularization cites Dynamic Model Pruning with Feedback
- Neural Pruning via Growing Regularization cites Provable Filter Pruning for Efficient Neural Networks
- Sparse Flows: Pruning Continuous-depth Models cites Provable Filter Pruning for Efficient Neural Networks
- Provable Filter Pruning for Efficient Neural Networks cites Dynamic Model Pruning with Feedback
- Provable Filter Pruning for Efficient Neural Networks cites MetaPruning: Meta Learning for Automatic Neural Network Channel Pruning
- Provable Filter Pruning for Efficient Neural Networks cites Learning Filter Basis for Convolutional Neural Network Compression
- Pruning Neural Networks via Coresets and Convex Geometry: Towards No Assumptions cites Dynamic Model Pruning with Feedback
- Pruning Neural Networks via Coresets and Convex Geometry: Towards No Assumptions cites MetaPruning: Meta Learning for Automatic Neural Network Channel Pruning
- Pruning Neural Networks via Coresets and Convex Geometry: Towards No Assumptions cites Learning Filter Basis for Convolutional Neural Network Compression
- Pruning Neural Networks via Coresets and Convex Geometry: Towards No Assumptions cites Provable Filter Pruning for Efficient Neural Networks
Cited by top-tier papers13
- SPDY: Accurate Pruning with Speedup GuaranteesElias Frantar, Dan AlistarhICML 2022 · 45 citations
- HALOC: Hardware-Aware Automatic Low-Rank Compression for Compact Neural NetworksJinqi Xiao, Chengming Zhang, Yu Gong, Miao Yin et al.AAAI 2023 · 35 citations
- Pruning Neural Networks via Coresets and Convex Geometry: Towards No AssumptionsMurad Tukan, Loay Mualem, Alaa MaaloufNeurIPS 2022 · 29 citations
- Sparse Flows: Pruning Continuous-depth ModelsLucas Liebenwein, Ramin M. Hasani, Alexander Amini, Daniela RusNeurIPS 2021 · 21 citations
- Model Preserving Compression for Neural NetworksJerry Chee, Megan Flynn, Anil Damle, Christopher De SaNeurIPS 2022 · 19 citations
Builds on12
- MetaPruning: Meta Learning for Automatic Neural Network Channel PruningZechun Liu, Haoyuan Mu, Xiangyu Zhang, Zichao Guo et al.ICCV 2019 · 633 citations
- Dynamic Model Pruning with FeedbackTao Lin, Sebastian U. Stich, Luis Barba, Daniil Dmitriev et al.ICLR 2020 · 229 citations
- Neural Pruning via Growing RegularizationHuan Wang, Can Qin, Yulun Zhang, Yun FuICLR 2021 · 188 citations
- Provable Filter Pruning for Efficient Neural NetworksLucas Liebenwein, Cenk Baykal, Harry Lang, Dan Feldman et al.ICLR 2020 · 161 citations
- Learning Filter Basis for Convolutional Neural Network CompressionYawei Li, Shuhang Gu, Luc Van Gool, Radu TimofteICCV 2019 · 106 citations
Related papers
- Towards Compact CNNs via Collaborative CompressionYuchao Li, Shaohui Lin, Jianzhuang Liu, Qixiang Ye et al.CVPR 2021
- Group Sparsity: The Hinge Between Filter Pruning and Decomposition for Network CompressionYawei Li, Shuhang Gu, Christoph Mayer, Luc Van Gool et al.CVPR 2020
- Automatic Neural Network Compression by Sparsity-Quantization Joint Learning: A Constrained Optimization-Based ApproachHaichuan Yang, Shupeng Gui, Yuhao Zhu, Ji LiuCVPR 2020
- Distribution-Aware Tensor Decomposition for Compression of Convolutional Neural NetworksAlper Kalle, Théo Rudkiewicz, Mohamed Ouerfelli, Mohamed TamaazoustiNeurIPS 2025 · 2 citations
- Efficient Joint Optimization of Layer-Adaptive Weight Pruning in Deep Neural NetworksKaixin Xu, Zhe Wang, Xue Geng, Min Wu et al.ICCV 2023 · 24 citations
