[Paper Review] Training Compact Neural Networks with Binary Weights and Low Precision Activations
This paper proposes Group-Net, a compact neural network architecture that uses binary weights and low-precision activations for efficient inference on mobile devices. By employing a group-wise feature approximation strategy with multi-branch low-precision bases, it achieves near-lossless quantization and outperforms prior binary networks on ImageNet with over 5× reduction in FLOPs on ResNet-18 and ResNet-50.
In this paper, we propose to train a network with binary weights and low-bitwidth activations, designed especially for mobile devices with limited power consumption. Most previous works on quantizing CNNs uncritically assume the same architecture, though with reduced precision. However, we take the view that for best performance it is possible (and even likely) that a different architecture may be better suited to dealing with low precision weights and activations. Specifically, we propose a "network expansion" strategy in which we aggregate a set of homogeneous low-precision branches to implicitly reconstruct the full-precision intermediate feature maps. Moreover, we also propose a group-wise feature approximation strategy which is very flexible and highly accurate. Experiments on ImageNet classification tasks demonstrate the superior performance of the proposed model, named Group-Net, over various popular architectures. In particular, with binary weights and activations, we outperform the previous best binary neural network in terms of accuracy as well as saving more than 5 times computational complexity on ImageNet with ResNet-18 and ResNet-50.
Motivation & Objective
- Address the challenge of deploying accurate, low-complexity neural networks on mobile devices with strict energy and memory constraints.
- Overcome the accuracy drop caused by accumulated quantization error in existing low-precision networks that optimize only local reconstruction.
- Design a new network architecture specifically tailored for binary and low-precision inference, rather than directly quantizing full-precision models.
- Enable end-to-end training that jointly optimizes feature reconstruction and final classification loss, improving generalization over layer-wise quantization.
- Develop a flexible, hardware-friendly structure that supports parallel inference and can be applied to various architectures like ResNet and VGGNet.
Proposed method
- Proposes a network expansion strategy using multiple homogeneous low-precision branches per group to implicitly reconstruct full-precision feature maps.
- Introduces a group-wise feature approximation method that models intermediate features as a weighted sum of binary bases, enabling accurate and differentiable reconstruction.
- Employs a learnable aggregation mechanism via trainable coefficients $\theta_m^p$ to combine outputs from multiple low-precision branches within each group.
- Uses a differentiable quantization function for weights (Eq. 1) and activations (Eq. 2), allowing backpropagation through the quantization process.
- Applies batch normalization and activation quantization after each low-precision convolution, with final output quantization before passing to the next group.
- Trains the entire network end-to-end using SGD, with separate optimization of base weights $\mathbf{w}_{mi}^p$, binary weights $\mathbf{b}_{mi}^p$, and aggregation coefficients $\theta_m^p$.
Experimental results
Research questions
- RQ1Can a restructured network architecture with low-precision components outperform direct quantization of full-precision models in terms of accuracy and efficiency?
- RQ2Does a group-wise feature approximation strategy reduce quantization error accumulation compared to layer-wise quantization in binary neural networks?
- RQ3How does the number of low-precision bases per group affect the trade-off between accuracy and computational complexity?
- RQ4Can the proposed method generalize across different network architectures, including plain networks like AlexNet and residual networks like ResNet?
- RQ5To what extent can the model maintain high accuracy with binary weights and low-bitwidth activations while reducing FLOPs by over 5× on ImageNet?
Key findings
- Group-Net achieves a top-1 accuracy of 57.3% on ImageNet with binary weights and activations, outperforming the previous best binary network.
- On ResNet-18 and ResNet-50, the proposed method reduces FLOPs by more than 5× while maintaining or improving accuracy compared to full-precision baselines.
- The group-wise strategy significantly outperforms layer-wise quantization, with a 3% top-1 accuracy gain on AlexNet (57.3% vs. 54.2%) and faster convergence.
- The method generalizes well to different architectures, including plain networks (AlexNet) and residual networks (ResNet-18, ResNet-50), demonstrating broad applicability.
- Ablation studies confirm that increasing the number of bases improves accuracy, and the group-wise approach is more robust than layer-wise quantization under low-precision settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.