Lune

CVPR2022Top-tier venue

Fire Together Wire Together: A Dynamic Pruning Approach with Self-Supervised Mask Prediction

Sara Elkerdawy, Mostafa Elhoushi, Hong Zhang, Nilanjan Ray

Abstract

Dynamic model pruning is a recent direction that allows for the inference of a different sub-network for each input sample during deployment. However, current dynamic methods rely on learning a continuous channel gating through regularization by inducing sparsity loss. This formulation introduces complexity in balancing different losses (e.g task loss, regularization loss). In addition, regularization based methods lack transparent tradeoff hyperparameter selection to realize a computational budget. Our contribution is two-fold: 1) decoupled task and pruning losses. 2) Simple hyperparameter selection that enables FLOPs reduction estimation before training. Inspired by the Hebbian theory in Neuroscience: "neurons that fire together wire together", we propose to predict a mask to process k filters in a layer based on the activation of its previous layer. We pose the problem as a self-supervised binary classification problem. Each mask predictor module is trained to predict if the log-likelihood for each filter in the current layer belongs to the top-k activated filters. The value k is dynamically estimated for each input based on a novel criterion using the mass of heatmaps. We show experiments on several neural architectures, such as VGG, ResNet and MobileNet on CIFAR and ImageNet datasets. On CIFAR, we reach similar accuracy to SOTA methods with 15% and 24% higher FLOPs reduction. Similarly in ImageNet, we achieve lower drop in accuracy with up to 13% improvement in FLOPs reduction. Code is available at https://github.com/selkerdawy/FTWT

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.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • BilevelPruning: Unified Dynamic and Static Channel Pruning for Convolutional Neural Networks cites SCOP: Scientific Control for Reliable Neural Network Pruning
  • SCOP: Scientific Control for Reliable Neural Network Pruning cites Provable Filter Pruning for Efficient Neural Networks
  • PDP: Parameter-free Differentiable Pruning is All You Need cites Additive Powers-of-Two Quantization: An Efficient Non-uniform Discretization for Neural Networks
  • Jointly Training and Pruning CNNs via Learnable Agent Guidance and Alignment cites SCOP: Scientific Control for Reliable Neural Network Pruning
  • Jointly Training and Pruning CNNs via Learnable Agent Guidance and Alignment cites Provable Filter Pruning for Efficient Neural Networks
  • Automatic Network Pruning via Hilbert-Schmidt Independence Criterion Lasso under Information Bottleneck Principle cites SCOP: Scientific Control for Reliable Neural Network Pruning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Automatic Network Pruning via Hilbert-Schmidt Independence Criterion Lasso under Information Bottleneck PrincipleSong Guo, Lei Zhang, Xiawu Zheng, Yan Wang et al.ICCV 2023 · 30 citations
  2. PDP: Parameter-free Differentiable Pruning is All You NeedMinsik Cho, Saurabh Adya, Devang NaikNeurIPS 2023 · 24 citations
  3. MODeL: Memory Optimizations for Deep LearningBenoit Steiner, Mostafa Elhoushi, Jacob Kahn, James HegartyICML 2023 · 17 citations
  4. BilevelPruning: Unified Dynamic and Static Channel Pruning for Convolutional Neural NetworksShangqian Gao, Yanfu Zhang, Feihu Huang, Heng HuangCVPR 2024
  5. Jointly Training and Pruning CNNs via Learnable Agent Guidance and AlignmentAlireza Ganjdanesh, Shangqian Gao, Heng HuangCVPR 2024

Builds on5

  1. Once-for-All: Train One Network and Specialize it for Efficient DeploymentHan Cai, Chuang Gan, Tianzhe Wang, Zhekai Zhang et al.ICLR 2020 · 1,522 citations
  2. Additive Powers-of-Two Quantization: An Efficient Non-uniform Discretization for Neural NetworksYuhang Li, Xin Dong, Wei WangICLR 2020 · 315 citations
  3. SCOP: Scientific Control for Reliable Neural Network PruningYehui Tang, Yunhe Wang, Yixing Xu, Dacheng Tao et al.NeurIPS 2020 · 208 citations
  4. Provable Filter Pruning for Efficient Neural NetworksLucas Liebenwein, Cenk Baykal, Harry Lang, Dan Feldman et al.ICLR 2020 · 161 citations
  5. Dynamic Network Pruning with Interpretable Layerwise Channel SelectionYulong Wang, Xiaolu Zhang, Xiaolin Hu, Bo Zhang et al.AAAI 2020 · 44 citations

Related papers

  1. DPFPS: Dynamic and Progressive Filter Pruning for Compressing Convolutional Neural Networks from ScratchXiaofeng Ruan, Yufan Liu, Bing Li, Chunfeng Yuan et al.AAAI 2021 · 49 citations
  2. DMCP: Differentiable Markov Channel Pruning for Neural NetworksShaopeng Guo, Yujie Wang, Quanquan Li, Junjie YanCVPR 2020
  3. Automatic Channel Pruning with Hyper-parameter Search and Dynamic MaskingBaopu Li, Yanwen Fan, Zhihong Pan, Yuchen Bian et al.ACM MM 2021 · 3 citations
  4. Manifold Regularized Dynamic Network PruningYehui Tang, Yunhe Wang, Yixing Xu, Yiping Deng et al.CVPR 2021
  5. Dynamic Structure Pruning for Compressing CNNsJun-Hyung Park, Yeachan Kim, Junho Kim, Joon-Young Choi et al.AAAI 2023 · 24 citations
Dusk over the sea between two cliffs drawn in fine vertical lines