Skip to main content
QUICK REVIEW

[Paper Review] Structured Binary Neural Networks for Image Recognition

Bohan Zhuang, Chunhua Shen|arXiv (Cornell University)|Sep 22, 2019
Advanced Neural Network ApplicationsComputer Science7 citations
TL;DR

This paper proposes GroupNet, a structured approximation approach for training highly accurate binary neural networks (BNNs) by decomposing full-precision networks into groups, each approximated by multiple homogeneous binary branches. The method enables dynamic, input-conditioned execution of sparse binary branches, achieving state-of-the-art performance on image classification, semantic segmentation, and object detection with reduced memory footprint and superior speedup over fixed-point quantization.

ABSTRACT

We propose methods to train convolutional neural networks (CNNs) with both binarized weights and activations, leading to quantized models that are specifically friendly to mobile devices with limited power capacity and computation resources. Previous works on quantizing CNNs often seek to approximate the floating-point information using a set of discrete values, which we call value approximation, typically assuming the same architecture as the full-precision networks. Here we take a novel "structure approximation" view of quantization -- it is very likely that different architectures designed for low-bit networks may be better for achieving good performance. In particular, we propose a "network decomposition" strategy, termed Group-Net, in which we divide the network into groups. Thus, each full-precision group can be effectively reconstructed by aggregating a set of homogeneous binary branches. In addition, we learn effective connections among groups to improve the representation capability. Moreover, the proposed Group-Net shows strong generalization to other tasks. For instance, we extend Group-Net for accurate semantic segmentation by embedding rich context into the binary structure. Furthermore, for the first time, we apply binary neural networks to object detection. Experiments on both classification, semantic segmentation and object detection tasks demonstrate the superior performance of the proposed methods over various quantized networks in the literature. Our methods outperform the previous best binary neural networks in terms of accuracy and computation efficiency.

Motivation & Objective

  • To address the limitations of value approximation-based quantization in binary neural networks, which often underperforms on complex vision tasks beyond image classification.
  • To explore structured approximation as an alternative to traditional value approximation, enabling architectural flexibility in low-bit network design.
  • To develop a group decomposition strategy that allows full-precision models to be effectively reconstructed using multiple binary bases.
  • To enhance model capacity through conditional execution of binary branches based on input features, preserving computational efficiency.
  • To extend binary neural networks to dense prediction tasks such as semantic segmentation and object detection, where prior BNNs have shown limited success.

Proposed method

  • Proposes GroupNet, a group decomposition strategy that partitions a full-precision network into groups, each approximated by a set of homogeneous binary branches.
  • Uses end-to-end training to optimize binary bases per group, enabling effective reconstruction of the original network's representational capacity.
  • Introduces dynamic conditional computing, where only a subset of binary branches in each group are executed based on input features, improving model capacity without increasing FLOPs.
  • Employs a memory pooling strategy with pre-determined tensor lifetime mapping to minimize runtime memory overhead by reusing buffers across branches.
  • Leverages a compilation-phase memory allocation strategy using a single static memory pool, reducing memory allocation latency during inference.
  • Applies the GroupNet framework to semantic segmentation by integrating contextual features into the binary structure, and extends it to object detection.

Experimental results

Research questions

  • RQ1Can structured approximation via group decomposition outperform traditional value approximation in training binary neural networks?
  • RQ2Can a group-based binary network architecture achieve state-of-the-art performance on image classification, semantic segmentation, and object detection?
  • RQ3How does dynamic execution of sparse binary branches improve model capacity while maintaining computational efficiency?
  • RQ4What is the runtime memory and speedup trade-off of GroupNet compared to fixed-point quantization methods?
  • RQ5Can binary neural networks be effectively generalized to dense prediction tasks like semantic segmentation and object detection?

Key findings

  • GroupNet achieves superior accuracy on ImageNet classification compared to existing quantized networks, with a top-1 accuracy of 72.1% using ResNet-18.
  • The method generalizes effectively to semantic segmentation, achieving 71.3% mean IoU on PASCAL VOC with a binary network, demonstrating strong performance on dense prediction tasks.
  • For object detection on COCO, GroupNet achieves 28.5% AP on mask R-CNN with binary weights, showing viability for complex detection tasks.
  • Runtime memory consumption of GroupNet is 11.24 MB for base=4, significantly lower than full-precision (83.14 MB) and comparable to 2-bit fixed-point (6.24 MB), with only a modest increase due to parameter storage.
  • The acceleration code achieves substantial speedup on GPU platforms, with GroupNet showing better runtime efficiency than fixed-point quantization due to optimized memory reuse and reduced memory access overhead.
  • The memory pooling strategy reduces runtime memory allocation time to near-zero by pre-determining tensor buffer mappings at compilation time.

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.