Binarizing by Classification: Is soft function really necessary?
Not on the map. Why?
Abstract (arXiv)
Binary neural networks leverage Sign function to binarize weights and activations, which require gradient estimators to overcome its non-differentiability and will inevitably bring gradient errors during backpropagation. Although many hand-designed soft functions have been proposed as gradient estimators to better approximate gradients, their mechanism is not clear and there are still huge performance gaps between binary models and their full-precision counterparts. To address these issues and reduce gradient error, we propose to tackle network binarization as a binary classification problem and use a multi-layer perceptron (MLP) as the classifier in the forward pass and gradient estimator in the backward pass. Benefiting from the MLP's theoretical capability to fit any continuous function, it can be adaptively learned to binarize networks and backpropagate gradients without any prior knowledge of soft functions. From this perspective, we further empirically justify that even a simple linear function can outperform previous complex soft functions. Extensive experiments demonstrate that the proposed method yields surprising performance both in image classification and human pose estimation tasks. Specifically, we achieve 65.7% top-1 accuracy of ResNet-34 on ImageNet dataset, with an absolute improvement of 2.6%. Moreover, we take binarization as a lightweighting approach for pose estimation models and propose well-designed binary pose estimation networks SBPN and BHRNet. When evaluating on the challenging Microsoft COCO keypoint dataset, the proposed method enables binary networks to achieve a mAP of up to 60.6 for the first time. Experiments conducted on real platforms demonstrate that BNN achieves a better balance between performance and computational complexity, especially when computational resources are extremely low.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 41 of its 67 references that are in the map. First posted on arXiv 16 May 2022.
Builds on
41 of 67 references.
References · 41
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
- 2018Rethinking the Value of Network Pruningcited by 595
- 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 557
- 2019Importance Estimation for Neural Network Pruningcited by 531
- 2018Simple Baselines for Human Pose Estimation and Trackingcited by 502
- 2018Soft Filter Pruning for Accelerating Deep Convolutional Neural Networkscited by 313
29 more
- 2021Distilling Knowledge via Knowledge Reviewcited by 285
- 2018LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networkscited by 272
- 2019HigherHRNet: Scale-Aware Representation Learning for Bottom-Up Human Pose Estimationcited by 247
- 2019Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networkscited by 234
- 2020ReActNet: Towards Precise Binary Neural Network with Generalized Activation Functionscited by 183
- 2019Forward and Backward Information Retention for Accurate Binary Neural Networkscited by 169
- 2020Training Binary Neural Networks with Real-to-Binary Convolutionscited by 111
- 2021Distilling Object Detectors via Decoupled Featurescited by 105
- 2019XNOR-Net++: Improved Binary Neural Networkscited by 94
- 2017Towards Effective Low-bitwidth Convolutional Neural Networkscited by 76
- 2021How Do Adam and Training Strategies Help BNNs Optimization?cited by 46
- 2018Bi-Real Net: Binarizing Deep Network Towards Real-Network Performancecited by 42
- 2018Real-time 2D Multi-Person Pose Estimation on CPU: Lightweight OpenPosecited by 42
- 2020Training Binary Neural Networks through Learning with Noisy Supervisioncited by 39
- 2018Binary Ensemble Neural Network: More Bits per Network or More Networks per Bit?cited by 38
- 2018Structured Binary Neural Networks for Accurate Image Classification and Semantic Segmentationcited by 37
- 2020High-Capacity Expert Binary Networkscited by 34
- 2020BiDet: An Efficient Binarized Object Detectorcited by 33
- 2018Accelerator-Aware Pruning for Convolutional Neural Networkscited by 22
- 2019Improved training of binary networks for human pose estimation and image recognitioncited by 22
- 2022Lite Pose: Efficient Architecture Design for 2D Human Pose Estimationcited by 16
- 2021Binary Complex Neural Network Acceleration on FPGAcited by 14
- 2020EfficientHRNet: Efficient Scaling for Lightweight High-Resolution Multi-Person Pose Estimationcited by 12
- 2018A Main/Subsidiary Network Framework for Simplifying Binary Neural Networkcited by 11
- 2021AdaSTE: An Adaptive Straight-Through Estimator to Train Binary Neural Networkscited by 11
- 2020Layer-specific Optimization for Mixed Data Flow with Mixed Precision in FPGA Design for CNN-based Object Detectorscited by 8
- 2019Efficient Convolutional Neural Networks for Depth-Based Multi-Person Pose Estimationcited by 6
- 2021Self-Distribution Binary Neural Networkscited by 4
- 2020QuantNet: Learning to Quantize by Learning within Fully Differentiable Frameworkcited by 2
Built on by
Citing papers per year: 2022: 1; 2023: 1.
2 papers.
- 2023BiHRNet: A Binary high-resolution network for Human Pose Estimation17 Nov 2023
- 2022BiViT: Extremely Compressed Binary Vision Transformer14 Nov 2022