Quantization and Training of Low Bit-Width Convolutional Neural Networks for Object Detection
arXiv:1612.06052
Abstract
We present LBW-Net, an efficient optimization based method for quantization and training of the low bit-width convolutional neural networks (CNNs). Specifically, we quantize the weights to zero or powers of two by minimizing the Euclidean distance between full-precision weights and quantized weights during backpropagation. We characterize the combinatorial nature of the low bit-width quantization problem. For 2-bit (ternary) CNNs, the quantization of weights can be done by an exact formula in complexity. When the bit-width is three and above, we further propose a semi-analytical thresholding scheme with a single free parameter for quantization that is computationally inexpensive. The free parameter is further determined by network retraining and object detection tests. LBW-Net has several desirable advantages over full-precision CNNs, including considerable memory savings, energy efficiency, and faster deployment. Our experiments on PASCAL VOC dataset show that compared with its 32-bit floating-point counterpart, the performance of the 6-bit LBW-Net is nearly lossless in the object detection tasks, and can even do better in some real world visual scenes, while empirically enjoying more than 4 faster deployment.
References in corpus (5)
- Very Deep Convolutional Networks for Large-Scale Image Recognition
- Binarized Neural Networks: Training Deep Neural Networks with Weights and Activations Constrained to +1 or -1
- Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activations
- Ternary Weight Networks
- Trained Ternary Quantization
Cited by in corpus (5)
- Understanding Straight-Through Estimator in Training Activation Quantized Neural Nets
- SquishedNets: Squishing SqueezeNet further for edge device scenarios via deep evolutionary synthesis
- Deep Learning for Real-Time Crime Forecasting and its Ternarization
- BitNet: Bit-Regularized Deep Neural Networks
- Median Binary-Connect Method and a Binary Convolutional Neural Nework for Word Recognition