Learning Sparse Neural Networks through L0 Regularization

By Christos Louizos, Max Welling, Diederik P. Kingma. 2017

1,332 citations recorded by the source corpus.

We propose a practical method for $L_0$ norm regularization for neural networks: pruning the network during training by encouraging weights to become exactly zero. Such regularization is interesting since (1) it can greatly speed up training and inference, and (2) it can improve generalization. AIC and BIC, well-known model selection criteria, are special cases of $L_0$ regularization. However, since the $L_0$ norm of weights is non-differentiable, we cannot incorporate it directly as a regularization term in the objective function. We propose a solution through the inclusion of a collection of non-negative stochastic gates, which collectively determine which weights to set to zero. We show that, somewhat surprisingly, for certain distributions over the gates, the expected $L_0$ norm of the resulting gated weights is differentiable with respect to the distribution parameters. We further propose the \emph{hard concrete} distribution for the gates, which is obtained by "stretching" a binary concrete distribution and then transforming its samples with a hard-sigmoid. The parameters of the distribution over the gates can then be jointly optimized with the original network parameters. As a result our method allows for straightforward and efficient learning of model structures with stochastic gradient descent and allows for conditional computation in a principled way. We perform various experiments to demonstrate the effectiveness of the resulting approach and regularizer.

Subfields: Artificial Intelligence, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Quoc V. Le
  4. Yoshua Bengio
  5. Jianfeng Gao
  6. Percy Liang
  7. Kyunghyun Cho
  8. Caiming Xiong

In Efficiency & Compression

  1. Dan Alistarh
  2. Tijmen Blankevoort
  3. Jonathan Frankle
  4. Alexander M. Rush
  5. Sara Hooker
  6. Luke S. Zettlemoyer
  7. Michael Carbin
  8. Sidak Pal Singh

Citations in the corpus