Soft Weight-Sharing for Neural Network Compression
Karen Ullrich, Edward Meeds, Max Welling
TL;DR
This paper introduces soft weight-sharing with a learnable Gaussian mixture prior to compress neural networks by inducing weight clustering, enabling simultaneous pruning and quantization. Framed within the minimum description length (MDL) perspective, weights are learned alongside mixture components to balance data fit and model cost, achieving competitive compression without post-hoc pruning steps. Empirically, the method demonstrates strong compression on MNIST models and scales to a light ResNet, while highlighting challenges in hyper-parameter optimization and computational cost. The approach offers a principled path toward on-device CNN compression with potential extensions to richer priors and structured pruning schemes.
Abstract
The success of deep learning in numerous application domains created the de- sire to run and train them on mobile devices. This however, conflicts with their computationally, memory and energy intense nature, leading to a growing interest in compression. Recent work by Han et al. (2015a) propose a pipeline that involves retraining, pruning and quantization of neural network weights, obtaining state-of-the-art compression rates. In this paper, we show that competitive compression rates can be achieved by using a version of soft weight-sharing (Nowlan & Hinton, 1992). Our method achieves both quantization and pruning in one simple (re-)training procedure. This point of view also exposes the relation between compression and the minimum description length (MDL) principle.
