A Bop and Beyond: A Second Order Optimizer for Binarized Neural Networks
Not on the map. Why?
Abstract (arXiv)
The optimization of Binary Neural Networks (BNNs) relies on approximating the real-valued weights with their binarized representations. Current techniques for weight-updating use the same approaches as traditional Neural Networks (NNs) with the extra requirement of using an approximation to the derivative of the sign function - as it is the Dirac-Delta function - for back-propagation; thus, efforts are focused adapting full-precision techniques to work on BNNs. In the literature, only one previous effort has tackled the problem of directly training the BNNs with bit-flips by using the first raw moment estimate of the gradients and comparing it against a threshold for deciding when to flip a weight (Bop). In this paper, we take an approach parallel to Adam which also uses the second raw moment estimate to normalize the first raw moment before doing the comparison with the threshold, we call this method Bop2ndOrder. We present two versions of the proposed optimizer: a biased one and a bias-corrected one, each with its own applications. Also, we present a complete ablation study of the hyperparameters space, as well as the effect of using schedulers on each of them. For these studies, we tested the optimizer in CIFAR10 using the BinaryNet architecture. Also, we tested it in ImageNet 2012 with the XnorNet and BiRealNet architectures for accuracy. In both datasets our approach proved to converge faster, was robust to changes of the hyperparameters, and achieved better accuracy values.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 21 of its 29 references that are in the map. First posted on arXiv 11 Apr 2021.
Builds on
21 of 29 references.
References · 21
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2018YOLOv3: An Incremental Improvementcited by 2,652
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
- 2014Deep Learning in Neural Networks: An Overviewcited by 765
- 2015BinaryConnect: Training Deep Neural Networks with binary weights during propagationscited by 571
- 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 225
- 2020Binary Neural Networks: A Surveycited by 184
- 2016Binarized Neural Networks: Training Deep Neural Networks with Weights and Activations Constrained to +1 or -1cited by 102
- 2019Latent Weights Do Not Exist: Rethinking Binarized Neural Network Optimizationcited by 58
- 2018Bi-Real Net: Binarizing Deep Network Towards Real-Network Performancecited by 42
- 2020Exploring the Connection Between Binary and Spiking Neural Networkscited by 33
9 more
- 2019Back to Simplicity: How to Train Accurate BNNs from Scratch?cited by 24
- 2017The High-Dimensional Geometry of Binary Neural Networkscited by 22
- 2018Probabilistic Binary Neural Networkscited by 20
- 2018Regularized Binary Network Trainingcited by 13
- 2018Energy Efficient Hadamard Neural Networkscited by 12
- 2019ReStoCNet: Residual Stochastic Binary Convolutional Spiking Neural Network for Memory-Efficient Neuromorphic Computingcited by 12
- 2019Self-Binarizing Networkscited by 11
- 2019Variation-aware Binarized Memristive Networkscited by 4
- 2018Binary Weighted Memristive Analog Deep Neural Network for Near-Sensor Edge Processingcited by 2
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 1.
3 papers.