Sparseout: Controlling Sparsity in Deep Networks

Najeeb Khan, Ian Stavness
4/17/2019
cs.LGcs.NEstat.ML

Official code: najeebkhan/sparseout (2 stars, Python, MIT, last commit 2019-06-02).

Abstract

Dropout is commonly used to help reduce overfitting in deep neural networks. Sparsity is a potentially important property of neural networks, but is not explicitly controlled by Dropout-based regularization.

Show full abstract

In this work, we propose Sparseout a simple and efficient variant of Dropout that can be used to control the sparsity of the activations in a neural network. We theoretically prove that Sparseout is equivalent to an $L_q$ penalty on the features of a generalized linear model and that Dropout is a special case of Sparseout for neural networks. We empirically demonstrate that Sparseout is computationally inexpensive and is able to control the desired level of sparsity in the activations. We evaluated Sparseout on image classification and language modelling tasks to see the effect of sparsity on these tasks. We found that sparsity of the activations is favorable for language modelling performance while image classification benefits from denser activations. Sparseout provides a way to investigate sparsity in state-of-the-art deep learning models. Source code for Sparseout could be found at \url{https://github.com/najeebkhan/sparseout}.

View on arXivView PDF

Code Implementations(1)

MIT

Sparseout: Controlling Sparsity in Deep Networks

22PythonMar 9, 20197 years agoMIT
deep-neural-networksdeeplearningdropoutregularizationsparsity

Similar Papers

Cite this paper

@article{khan2019sparseout,
  title  = {Sparseout: Controlling Sparsity in Deep Networks},
  author = {Najeeb Khan and Ian Stavness},
  year   = {2019},
  eprint = {1904.08050},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.08050}
}

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

Discussion