Skip to main content
QUICK REVIEW

[Paper Review] Build a Compact Binary Neural Network through Bit-level Sensitivity and Data Pruning

Yixing Li, Fengbo Ren|arXiv (Cornell University)|Feb 3, 2018
Advanced Neural Network ApplicationsComputer Science14 references5 citations
TL;DR

This paper proposes Compact Binarized Neural Networks (CBNNs) by applying bit-level sensitivity analysis and data pruning to reduce model size and inference latency. By identifying and removing redundant bit slices in input data and pruning less sensitive bits, the method achieves up to 3.9× smaller network size with ≤1% accuracy drop, reducing runtime by 2× compared to baseline BNNs and 9.9× compared to full-precision models.

ABSTRACT

Convolutional neural network (CNN) has been widely used for vision-based tasks. Due to the high computational complexity and memory storage requirement, it is hard to directly deploy a full-precision CNN on embedded devices. The hardware-friendly designs are needed for re-source-limited and energy-constrained embed-ded devices. Emerging solutions are adopted for the neural network compression, e.g., bina-ry/ternary weight network, pruned network and quantized network. Among them, Binarized Neural Network (BNN) is believed to be the most hardware-friendly framework due to its small network size and low computational com-plexity. No existing work has further shrunk the size of BNN. In this work, we explore the redun-dancy in BNN and build a compact BNN (CBNN) based on the bit-level sensitivity analy-sis and bit-level data pruning. The input data is converted to a high dimensional bit-sliced for-mat. In post-training stage, we analyze the im-pact of different bit slices to the accuracy. By pruning the redundant input bit slices and shrinking the network size, we are able to build a more compact BNN. Our result shows that we can further scale down the network size of the BNN up to 3.9x with no more than 1% accuracy drop. The actual runtime can be reduced up to 2x and 9.9x compared with the baseline BNN and its full-precision counterpart, respectively.

Motivation & Objective

  • To address the challenge of deploying large neural networks on resource-constrained embedded devices.
  • To reduce the size and computational cost of Binarized Neural Networks (BNNs), which are already hardware-friendly but still suboptimal in compactness.
  • To explore redundancy in BNNs at the bit level and exploit it for further compression.
  • To maintain high accuracy while drastically reducing model size and inference time through post-training pruning.

Proposed method

  • Convert input data into a high-dimensional bit-sliced format to enable per-bit analysis.
  • Perform bit-level sensitivity analysis to evaluate the contribution of each bit slice to network accuracy.
  • Prune redundant bit slices based on sensitivity scores, reducing input dimensionality.
  • Apply network pruning to shrink the BNN architecture after identifying less critical bits.
  • Use post-training quantization and pruning to maintain accuracy while minimizing model size.
  • Optimize the final network for inference by combining bit-level and data-level pruning strategies.

Experimental results

Research questions

  • RQ1Can redundancy in bit-level representations of input data be identified and removed without significant accuracy loss?
  • RQ2How does pruning individual bit slices affect the performance of a Binarized Neural Network?
  • RQ3To what extent can BNNs be compressed through bit-level sensitivity analysis and data pruning?
  • RQ4What is the trade-off between model size reduction and accuracy degradation in compact BNNs?
  • RQ5Can the resulting compact BNN achieve significant speedups in inference time on embedded devices?

Key findings

  • The proposed method reduces the network size of BNNs by up to 3.9× with no more than 1% accuracy drop.
  • Runtime is reduced by up to 2× compared to the baseline BNN and 9.9× compared to the full-precision counterpart.
  • Bit-level sensitivity analysis successfully identifies redundant bit slices in input data, enabling effective pruning.
  • The compact BNN maintains high accuracy while achieving substantial compression and speedup.
  • The approach enables further model compression beyond existing BNN frameworks, pushing the limits of hardware-friendly neural networks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.