mlsanityData to 7 Oct 2026

Optimizing data-flow in Binary Neural Networks

arXiv 2304.00952 ↗First posted 3 Apr 2023cs.LG cs.AIcited by 2

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  3. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  4. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  5. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  6. 2014Going Deeper with Convolutionscited by 4,231
  7. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  8. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  9. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  10. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
  11. 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
  12. 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 557
23 more
  1. 2016Learning Structured Sparsity in Deep Neural Networkscited by 538
  2. 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 456
  3. 2018LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networkscited by 272
  4. 2019Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networkscited by 234
  5. 2018Bi-Real Net: Enhancing the Performance of 1-bit CNNs With Improved Representational Capability and Advanced Training Algorithmcited by 233
  6. 2020ReActNet: Towards Precise Binary Neural Network with Generalized Activation Functionscited by 183
  7. 2019Forward and Backward Information Retention for Accurate Binary Neural Networkscited by 169
  8. 2020Training Binary Neural Networks with Real-to-Binary Convolutionscited by 111
  9. 2019XNOR-Net++: Improved Binary Neural Networkscited by 94
  10. 2020Rotated Binary Neural Networkcited by 77
  11. 2019Regularizing Activation Distribution for Training Binarized Deep Networkscited by 61
  12. 2019Latent Weights Do Not Exist: Rethinking Binarized Neural Network Optimizationcited by 58
  13. 2021ReCU: Reviving the Dead Weights in Binary Neural Networkscited by 51
  14. 2021PokeBNN: A Binary Pursuit of Lightweight Accuracycited by 48
  15. 2021How Do Adam and Training Strategies Help BNNs Optimization?cited by 46
  16. 2020High-Capacity Expert Binary Networkscited by 34
  17. 2018Projection Convolutional Neural Networks for 1-bit CNNs via Discrete Back Propagationcited by 29
  18. 2019daBNN: A Super Fast Inference Framework for Binary Neural Networks on ARM devicescited by 27
  19. 2019Back to Simplicity: How to Train Accurate BNNs from Scratch?cited by 24
  20. 2020Larq Compute Engine: Design, Benchmark, and Deploy State-of-the-Art Binarized Neural Networkscited by 20
  21. 2018High Performance Zero-Memory Overhead Direct Convolutionscited by 14
  22. 2018A Main/Subsidiary Network Framework for Simplifying Binary Neural Networkcited by 11
  23. 2022RepBNN: towards a precise Binary Neural Network with Enhanced Feature Map via Repeatingcited by 2

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 1.

2 papers.