Optimizing data-flow in Binary Neural Networks
Not on the map. Why?
Abstract (arXiv)
Binary Neural Networks (BNNs) can significantly accelerate the inference time of a neural network by replacing its expensive floating-point arithmetic with bitwise operations. Most existing solutions, however, do not fully optimize data flow through the BNN layers, and intermediate conversions from 1 to 16/32 bits often further hinder efficiency. We propose a novel training scheme that can increase data flow and parallelism in the BNN pipeline; specifically, we introduce a clipping block that decreases the data-width from 32 bits to 8. Furthermore, we reduce the internal accumulator size of a binary layer, usually kept using 32-bit to prevent data overflow without losing accuracy. Additionally, we provide an optimization of the Batch Normalization layer that both reduces latency and simplifies deployment. Finally, we present an optimized implementation of the Binary Direct Convolution for ARM instruction sets. Our experiments show a consistent improvement of the inference speed (up to 1.91 and 2.73x compared to two state-of-the-art BNNs frameworks) with no drop in accuracy for at least one full-precision model.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 35 of its 40 references that are in the map. First posted on arXiv 3 Apr 2023.
Builds on
35 of 40 references.
References · 35
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2014Going Deeper with Convolutionscited by 4,231
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
- 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 557
23 more
- 2016Learning Structured Sparsity in Deep Neural Networkscited by 538
- 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 456
- 2018LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networkscited by 272
- 2019Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networkscited by 234
- 2018Bi-Real Net: Enhancing the Performance of 1-bit CNNs With Improved Representational Capability and Advanced Training Algorithmcited by 233
- 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
- 2019XNOR-Net++: Improved Binary Neural Networkscited by 94
- 2020Rotated Binary Neural Networkcited by 77
- 2019Regularizing Activation Distribution for Training Binarized Deep Networkscited by 61
- 2019Latent Weights Do Not Exist: Rethinking Binarized Neural Network Optimizationcited by 58
- 2021ReCU: Reviving the Dead Weights in Binary Neural Networkscited by 51
- 2021PokeBNN: A Binary Pursuit of Lightweight Accuracycited by 48
- 2021How Do Adam and Training Strategies Help BNNs Optimization?cited by 46
- 2020High-Capacity Expert Binary Networkscited by 34
- 2018Projection Convolutional Neural Networks for 1-bit CNNs via Discrete Back Propagationcited by 29
- 2019daBNN: A Super Fast Inference Framework for Binary Neural Networks on ARM devicescited by 27
- 2019Back to Simplicity: How to Train Accurate BNNs from Scratch?cited by 24
- 2020Larq Compute Engine: Design, Benchmark, and Deploy State-of-the-Art Binarized Neural Networkscited by 20
- 2018High Performance Zero-Memory Overhead Direct Convolutionscited by 14
- 2018A Main/Subsidiary Network Framework for Simplifying Binary Neural Networkcited by 11
- 2022RepBNN: towards a precise Binary Neural Network with Enhanced Feature Map via Repeatingcited by 2
Built on by
Citing papers per year: 2023: 1; 2024: 1.
2 papers.
- 2024Enabling On-device Continual Learning with Binary Neural Networkscited by 4
- 2023On-Device Learning with Binary Neural Networkscited by 3
- 2024Enabling On-device Continual Learning with Binary Neural Networks18 Jan 2024
- 2023On-Device Learning with Binary Neural Networks29 Aug 2023