Proximal Mean-field for Neural Network Quantization

Thalaiyasingam Ajanthan, Puneet K. Dokania, Richard Hartley, Philip H. S. Torr
12/11/2018
cs.CVcs.LG
quantization-pruning

Official code: tajanthan/pmf (21 stars, Python, last commit 2020-04-09).

Abstract

Compressing large Neural Networks (NN) by quantizing the parameters, while maintaining the performance is highly desirable due to reduced memory and time complexity. In this work, we cast NN quantization as a discrete labelling problem, and by examining relaxations, we design an efficient iterative optimization procedure that involves stochastic gradient descent followed by a projection.

Show full abstract

We prove that our simple projected gradient descent approach is, in fact, equivalent to a proximal version of the well-known mean-field method. These findings would allow the decades-old and theoretically grounded research on MRF optimization to be used to design better network quantization schemes. Our experiments on standard classification datasets (MNIST, CIFAR10/100, TinyImageNet) with convolutional and residual architectures show that our algorithm obtains fully-quantized networks with accuracies very close to the floating-point reference networks.

View on arXivView PDF

Code Implementations(1)

tajanthan/pmfOfficial100%

Proximal Mean-field for Neural Network Quantization

214Python, ShellAug 7, 20196 years ago
binary-neural-networkscifarnetwork-quantizationrelaxation-labellingsoftmax

Similar Papers

Cite this paper

@article{ajanthan2018proximal,
  title  = {Proximal Mean-field for Neural Network Quantization},
  author = {Thalaiyasingam Ajanthan and Puneet K. Dokania and Richard Hartley and Philip H. S. Torr},
  year   = {2018},
  eprint = {1812.04353},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1812.04353}
}

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

Discussion