Abstract
Rectified Binary Convolutional Networks (RBCNs) are proposed to bridge the performance gap between ultra-efficient 1-bit networks and their full-precision counterparts. By employing a Generative Adversarial Network (GAN) framework to "rectify" 1-bit feature maps and utilizing a learnable scaling matrix for kernels, RBCNs achieve state-of-the-art accuracy. This approach maintains the massive memory and speed benefits inherent to binarization while significantly improving the representational power of the model.
Introduction
Deep Convolutional Neural Networks (DCNNs) have revolutionized computer vision but remain computationally expensive, hindering deployment on resource-constrained devices. Binarized Convolutional Neural Networks (BCNNs) offer a potential solution by quantizing weights and activations to 1-bit, potentially reducing memory usage by ~32x and speeding up computation by ~60x. However, the extreme information loss during binarization typically leads to a significant drop in accuracy. RBCN addresses this by leveraging the rich information from full-precision "teacher" models to guide the training of 1-bit "student" models.
Methodology
The RBCN framework introduces two primary mechanisms to rectify the binarization process without sacrificing inference speed:
1. Kernel Approximation with Learnable Matrices
Standard binarization often uses a simple sign function. RBCN introduces a learnable matrix $C$ to scale binarized filters $\hat{W}$ so they more closely approximate full-precision filters $W$. During training, the network minimizes the Mean Squared Error (MSE) between $W$ and $C\hat{W}$. To maintain efficiency during inference, this matrix is averaged into a single scalar $C^*$, allowing the network to continue using high-speed XNOR-based bitwise operations.
2. GAN-based Feature Rectification
The most significant innovation is treating the 1-bit network as a Generator within a GAN framework. Multiple Discriminators are employed to distinguish between "real" feature maps from a pre-trained full-precision model and "fake" feature maps from the 1-bit model. This adversarial process forces the 1-bit network to produce feature distributions that mimic the texture and statistical properties of high-quality full-precision features.
Experiments and Results
The authors evaluated RBCNs across diverse tasks, including image classification (MNIST, CIFAR-10/100, ImageNet) and object tracking (GOT-10K, OTB).
Performance on ImageNet
On the challenging ImageNet dataset using a ResNet18 backbone, RBCN achieved a 59.5% Top-1 accuracy. This significantly outperforms previous state-of-the-art binarization methods such as Bi-Real Net (56.4%) and PCNN (57.3%). Furthermore, the training curves demonstrate that the rectification process leads to substantially faster convergence compared to standard XNOR-Net baselines.
Efficiency Gains
Despite the improved accuracy, RBCN retains the core benefits of binarization. Compared to a full-precision ResNet18, the model provides an 11.10x reduction in memory and a 10.86x speedup in FLOPs. The use of multi-cue information—rectifying both weights and activations—is key to achieving these results.
Conclusion
RBCNs successfully narrow the performance gap between 1-bit and full-precision DCNNs. By shifting the focus from matching individual pixel values to matching feature distributions via GANs, and refining kernels through learnable matrices, RBCN provides a robust framework for deploying high-performance AI on edge devices. Future work may explore scaling this approach to even more compact, information-dense architectures like MobileNets.
Summary updated