paper-with-me

Papers

Model compression as constrained optimization, with application to neural nets. Part II: quantization

2017-07-13 · Miguel Á. Carreira-Perpiñán, Yerlan Idelbayev

We consider the problem of deep neural net compression by quantization: given a large, reference net, we want to quantize its real-valued weights using a codebook with $K$ entries so that the training loss of the quantized net is minimal. The codebook can be optimally learned jointly with the net, or fixed, as for binarization or ternarization approaches. Previous work has quantized the weights of the reference net, or incorporated rounding operations in the backpropagation algorithm, but this has no guarantee of converging to a loss-optimal, quantized net. We describe a new approach based on the recently proposed framework of model compression as constrained optimization \citep{Carreir17a}. This results in a simple iterative "learning-compression" algorithm, which alternates a step that learns a net of continuous weights with a step that quantizes (or binarizes/ternarizes) the weights, and is guaranteed to converge to local optimum of the loss for quantized nets. We develop algorithms for an adaptive codebook or a (partially) fixed codebook. The latter includes binarization, ternarization, powers-of-two and other important particular cases. We show experimentally that we can achieve much higher compression rates than previous quantization work (even using just 1 bit per weight) with negligible loss degradation.

📄 PDF Abstract BibTeX arXiv:1707.04319

Code (1)

UCMerced-ML/LC-model-compression 공식 구현 pytorch

Tasks

BinarizationModel CompressionQuantization

Similar Papers 제목 키워드 기반

Model compression as constrained optimization, with application to neural nets. Part I: general framework

2017-07-05 · Miguel Á. Carreira-Perpiñán

Compressing neural nets is an active research problem, given the large size of state-of-the-art nets for tasks such as object recognition, and the computational limits imposed by mobile devices. We give a general formula…

Model CompressionObject RecognitionQuantization

Model compression as constrained optimization, with application to neural nets. Part V: combining compressions

2021-07-09 · Miguel Á. Carreira-Perpiñán, Yerlan Idelbayev

Model compression is generally performed by using quantization, low-rank approximation or pruning, for which various algorithms have been researched in recent years. One fundamental question is: what types of compression…

Additive modelsLow-rank compressionModel CompressionNetwork Pruning+1

EAST: Encoding-Aware Sparse Training for Deep Memory Compression of ConvNets

2019-12-20 · Matteo Grimaldi, Valentino Peluso, Andrea Calimera

The implementation of Deep Convolutional Neural Networks (ConvNets) on tiny end-nodes with limited non-volatile memory space calls for smart compression strategies capable of shrinking the footprint yet preserving predic…

Quantization

Wide Compression: Tensor Ring Nets

2018-02-25 · CVPR 2018 6 · Wenqi Wang, Yifan Sun, Brian Eriksson, Wenlin Wang 외

Deep neural networks have demonstrated state-of-the-art performance in a variety of real-world applications. In order to obtain performance gains, these networks have grown larger and deeper, containing millions or even …

image-classificationImage Classification

Constrained Deep Learning using Conditional Gradient and Applications in Computer Vision

2018-03-17 · Sathya N. Ravi, Tuan Dinh, Vishnu Sai Rao Lokhande, Vikas Singh

A number of results have recently demonstrated the benefits of incorporating various constraints when training deep architectures in vision and machine learning. The advantages range from guarantees for statistical gener…

Image Inpainting