Data-Efficient Structured Pruning via Submodular Optimization

Marwa El Halabi, Suraj Srinivas, Simon Lacoste-Julien
3/9/2022
cs.LGcs.AIcs.DM
quantization-pruning

Official code: SamsungSAILMontreal/subpruning (9 stars, Jupyter Notebook, MIT, last commit 2023-05-05).

Abstract

Structured pruning is an effective approach for compressing large pre-trained neural networks without significantly affecting their performance. However, most current structured pruning methods do not provide any performance guarantees, and often require fine-tuning, which makes them inapplicable in the limited-data regime.

Show full abstract

We propose a principled data-efficient structured pruning method based on submodular optimization. In particular, for a given layer, we select neurons/channels to prune and corresponding new weights for the next layer, that minimize the change in the next layer's input induced by pruning. We show that this selection problem is a weakly submodular maximization problem, thus it can be provably approximated using an efficient greedy algorithm. Our method is guaranteed to have an exponentially decreasing error between the original model and the pruned model outputs w.r.t the pruned size, under reasonable assumptions. It is also one of the few methods in the literature that uses only a limited-number of training data and no labels. Our experimental results demonstrate that our method outperforms state-of-the-art methods in the limited-data regime.

View on arXivView PDF

Code Implementations(1)

MIT

Code for "Data-Efficient Structured Pruning via Submodular Optimization" [NeurIPS 2022]

92Jupyter Notebook, C++Mar 8, 20223 years agoMIT

Similar Papers

Cite this paper

@article{halabi2022dataefficient,
  title  = {Data-Efficient Structured Pruning via Submodular Optimization},
  author = {Marwa El Halabi and Suraj Srinivas and Simon Lacoste-Julien},
  year   = {2022},
  eprint = {2203.04940},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.04940}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.04940.svg)](https://codeofpaper.com/paper/2203.04940)

Discussion