Learning Compact Representations of Neural Networks using DiscriminAtive Masking (DAM)

Jie Bu, Arka Daw, M. Maruf, Anuj Karpatne
10/1/2021
cs.LGcs.AI
quantization-pruning

Official code: jayroxis/dam-pytorch (13 stars, Jupyter Notebook, MIT, last commit 2024-08-28).

Abstract

A central goal in deep learning is to learn compact representations of features at every layer of a neural network, which is useful for both unsupervised representation learning and structured network pruning. While there is a growing body of work in structured pruning, current state-of-the-art methods suffer from two key limitations: (i) instability during training, and (ii) need for an additional step of fine-tuning, which is resource-intensive.

Show full abstract

At the core of these limitations is the lack of a systematic approach that jointly prunes and refines weights during training in a single stage, and does not require any fine-tuning upon convergence to achieve state-of-the-art performance. We present a novel single-stage structured pruning method termed DiscriminAtive Masking (DAM). The key intuition behind DAM is to discriminatively prefer some of the neurons to be refined during the training process, while gradually masking out other neurons. We show that our proposed DAM approach has remarkably good performance over various applications, including dimensionality reduction, recommendation system, graph representation learning, and structured pruning for image classification. We also theoretically show that the learning objective of DAM is directly related to minimizing the L0 norm of the masking layer.

View on arXivView PDF

Code Implementations(1)

MIT

PyTorch Official Implementation of DiscriminAtive Masking (NeurIPS 2021)

134Jupyter Notebook, PythonSep 30, 20212 years agoMIT

Similar Papers

Cite this paper

@article{bu2021learning,
  title  = {Learning Compact Representations of Neural Networks using DiscriminAtive Masking (DAM)},
  author = {Jie Bu and Arka Daw and M. Maruf and Anuj Karpatne},
  year   = {2021},
  eprint = {2110.00684},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.00684}
}

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/2110.00684.svg)](https://codeofpaper.com/paper/2110.00684)

Discussion