BAMSProd: A Step towards Generalizing the Adaptive Optimization Methods to Deep Binary Model
Open Access
- 1 June 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 2880-2889
Abstract
Recent methods have significantly reduced the performance degradation of Binary Neural Networks (BNNs), but guaranteeing the effective and efficient training of BNNs is an unsolved problem. The main reason is that the estimated gradients produced by the Straight-Through-Estimator (STE) mismatches with the gradients of the real derivatives. In this paper, we provide an explicit convex optimization example where training the BNNs with the traditionally adaptive optimization methods still faces the risk of non-convergence, and identify that constraining the range of gradients is critical for optimizing the deep binary model to avoid highly suboptimal solutions. Besides, we propose a BAMSProd algorithm with a key observation that the convergence property of optimizing deep binary model is strongly related to the quantization errors. In brief, it employs an adaptive range constraint via an errors measurement for smoothing the gradients transition while follows the exponential moving strategy from AMSGrad to avoid errors accumulation during the optimization. The experiments verify the corollary of theoretical convergence analysis, and further demonstrate that our optimization method can speed up the convergence about 1.2× and boost the performance of BNNs to a significant level than the specific binary optimizer about 3.7%, even in a highly non-convex optimization problem.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Proximal Mean-Field for Neural Network Quantization2019
- Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networks2019
- Knowledge Representing: Efficient, Sparse Representation of Prior Knowledge for Knowledge Distillation2019
- Regularizing Activation Distribution for Training Binarized Deep Networks2019
- Learning to Quantize Deep Networks by Optimizing Quantization Intervals With Task Loss2019
- MobileNetV2: Inverted Residuals and Linear Bottlenecks2018
- YOLO9000: Better, Faster, Stronger2017
- Deep Learning with Low Precision by Half-Wave Gaussian Quantization2017
- Deep Residual Learning for Image Recognition2016
- Some methods of speeding up the convergence of iteration methodsUSSR Computational Mathematics and Mathematical Physics, 1964