Skip to main content
QUICK REVIEW

[Paper Review] MoBiNet: A Mobile Binary Network for Image Classification

Hai Thanh Phan, Dang Huynh|arXiv (Cornell University)|Jul 29, 2019
Advanced Neural Network ApplicationsComputer Science60 references15 citations
TL;DR

MoBiNet proposes a novel mobile binary neural network that binarizes MobileNet's depthwise and pointwise convolutions for efficient inference on mobile devices. By introducing skip connections via Pre-block, Mid-block, and Post-block designs and using K-dependency to enhance feature correlation, MoBiNet achieves 54.40% top-1 accuracy on ImageNet with 3.13× speedup and 1.34× model compression, training from scratch without pre-trained weights.

ABSTRACT

MobileNet and Binary Neural Networks are two among the most widely used techniques to construct deep learning models for performing a variety of tasks on mobile and embedded platforms.In this paper, we present a simple yet efficient scheme to exploit MobileNet binarization at activation function and model weights. However, training a binary network from scratch with separable depth-wise and point-wise convolutions in case of MobileNet is not trivial and prone to divergence. To tackle this training issue, we propose a novel neural network architecture, namely MoBiNet - Mobile Binary Network in which skip connections are manipulated to prevent information loss and vanishing gradient, thus facilitate the training process. More importantly, while existing binary neural networks often make use of cumbersome backbones such as Alex-Net, ResNet, VGG-16 with float-type pre-trained weights initialization, our MoBiNet focuses on binarizing the already-compressed neural networks like MobileNet without the need of a pre-trained model to start with. Therefore, our proposal results in an effectively small model while keeping the accuracy comparable to existing ones. Experiments on ImageNet dataset show the potential of the MoBiNet as it achieves 54.40% top-1 accuracy and dramatically reduces the computational cost with binary operators.

Motivation & Objective

  • To develop a lightweight, binary neural network tailored for mobile and embedded inference with minimal computational cost.
  • To address the challenge of training binary networks with depthwise separable convolutions, which are prone to vanishing gradients and information loss.
  • To eliminate the need for pre-trained float-weights by enabling end-to-end training from scratch on binarized MobileNet architectures.
  • To improve feature representation in binary networks by introducing K-dependency across separable convolution layers.
  • To achieve high accuracy and efficiency comparable to state-of-the-art binary networks while maintaining a small model size.

Proposed method

  • Proposes MoBiNet, a binary neural network that binarizes both weights and activations in MobileNet’s depthwise and pointwise convolutions.
  • Introduces three block designs—Pre-block, Mid-block, and Post-block—to stabilize training via skip connections that mitigate vanishing gradients.
  • Employs K-dependency to enhance cross-channel correlation in separable convolutions, improving feature representation without increasing FLOPs significantly.
  • Uses a novel training scheme that avoids pre-trained models, enabling full training from random initialization.
  • Leverages binary operators (XNOR and popcount) to accelerate inference and reduce memory usage.
  • Applies channel-wise scaling and residual connections to preserve both original and transformed features across layers.

Experimental results

Research questions

  • RQ1Can a binary neural network be effectively trained from scratch on a depthwise separable convolution architecture like MobileNet without pre-trained weights?
  • RQ2How do skip connections in different configurations (Pre-, Mid-, Post-block) affect training stability and model accuracy in binary MobileNet?
  • RQ3What is the impact of K-dependency on feature representation and accuracy in binarized separable convolutions?
  • RQ4How does MoBiNet compare in accuracy and efficiency to existing state-of-the-art binary networks like Bi-RealNet and XNOR-Net?
  • RQ5Can a fully binarized MobileNet achieve competitive performance with minimal computational cost and model size?

Key findings

  • MoBiNet achieves 54.40% top-1 accuracy on ImageNet with a Mid-block design and K=4, outperforming most prior binary networks except Bi-RealNet.
  • The model achieves a 3.13× speedup over Bi-RealNet-18 and a 1.34× model compression factor, with only a 2% accuracy gap.
  • Training from scratch is feasible and effective, eliminating the need for pre-trained float-weights, which is a key advantage over most existing binary networks.
  • The Mid-block design yields the highest accuracy due to its ability to preserve both original and scaled features through skip connections.
  • K-dependency significantly improves feature correlation and accuracy, with K=4 producing the best performance among tested configurations.
  • MoBiNet reduces FLOPs to 0.52×10⁸, achieving a 12× speedup over full-precision MobileNet, demonstrating strong efficiency gains.

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.