Skip to main content
QUICK REVIEW

[Paper Review] ReActNet: Towards Precise Binary Neural Network with Generalized Activation Functions

Zechun Liu, Zhiqiang Shen|arXiv (Cornell University)|Mar 7, 2020
Advanced Neural Network ApplicationsComputer Science44 references30 citations
TL;DR

ReActNet introduces a strong baseline binary network built on MobileNetV1 with activation distribution shaping via generalized ReAct-Sign and ReAct-PReLU, plus a distributional loss to closely mimic real-valued outputs, achieving state-of-the-art ImageNet accuracy for 1-bit CNNs with substantially lower computation.

ABSTRACT

In this paper, we propose several ideas for enhancing a binary network to close its accuracy gap from real-valued networks without incurring any additional computational cost. We first construct a baseline network by modifying and binarizing a compact real-valued network with parameter-free shortcuts, bypassing all the intermediate convolutional layers including the downsampling layers. This baseline network strikes a good trade-off between accuracy and efficiency, achieving superior performance than most of existing binary networks at approximately half of the computational cost. Through extensive experiments and analysis, we observed that the performance of binary networks is sensitive to activation distribution variations. Based on this important observation, we propose to generalize the traditional Sign and PReLU functions, denoted as RSign and RPReLU for the respective generalized functions, to enable explicit learning of the distribution reshape and shift at near-zero extra cost. Lastly, we adopt a distributional loss to further enforce the binary network to learn similar output distributions as those of a real-valued network. We show that after incorporating all these ideas, the proposed ReActNet outperforms all the state-of-the-arts by a large margin. Specifically, it outperforms Real-to-Binary Net and MeliusNet29 by 4.0% and 3.6% respectively for the top-1 accuracy and also reduces the gap to its real-valued counterpart to within 3.0% top-1 accuracy on ImageNet dataset. Code and models are available at: https://github.com/liuzechun/ReActNet.

Motivation & Objective

  • Close the accuracy gap between binary and real-valued networks on ImageNet without extra computation.
  • Design a high-performance baseline binary network leveraging a compact real-valued backbone with identity shortcuts.
  • Investigate activation distribution effects and introduce learnable generalized activation functions to reshape distributions.
  • Use a distributional loss to align binary network outputs with real-valued networks.

Proposed method

  • Construct a baseline binary network by binarizing MobileNetV1 with parameter-free shortcuts that bypass intermediate convolutions.
  • Replace downsampling blocks with a concatenation-based design to maintain equal input/output channels and enable binarized shortcuts.
  • Introduce ReAct-Sign (RSign) and ReAct-PReLU (RPReLU) to learn channel-wise distribution reshaping and shifting at near-zero cost.
  • Incorporate a distributional loss that minimizes KL divergence between real-valued and binary network output distributions.
  • Evaluate on ImageNet and compare to state-of-the-art binary networks and real-valued baselines.

Experimental results

Research questions

  • RQ1How far can a 1-bit CNN approach the accuracy of its real-valued counterpart on ImageNet with minimal computational overhead?
  • RQ2Can learning distribution-shaping activations and a distributional loss significantly boost binary network performance without additional FLOPs?
  • RQ3What is the impact of downsampling design and activation distribution on binary network accuracy on large-scale datasets?

Key findings

  • The proposed baseline achieves 61.1% top-1 accuracy on ImageNet with ~0.87e9 BOPs, outperforming many prior binary networks at half the cost.
  • Adding RSign and RPReLU boosts accuracy by 4.9% and 3.6% respectively over the baseline; using both (ReActNet-A) yields 69.4% top-1, within 3% of the real-valued network.
  • A distributional loss further improves accuracy by ~1% in addition to activation shaping.
  • ReActNet-C reaches 71.4% top-1 accuracy with substantially lower OPs than competing methods, surpassing MeliusNet59 while being more efficient.
  • The baseline under concatenated downsampling and 1-bit convolutions with shortcuts reduces computational cost and improves accuracy compared to prior designs.
  • Visualization shows learned activation-shifting coefficients resemble real-valued network distributions and lead to more balanced activation maps.

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.