NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Circulant Binary Convolutional Networks: Enhancing the Performance of 1-Bit DCNNs With Circulant Back Propagation.

Chunlei Liu, Wenrui Ding, Xin Xia, Baochang Zhang, Jiaxin Gu, Jianzhuang Liu, Rongrong Ji, David S. Doermann · DOI

TL;DR

This paper introduces Circulant Binary Convolutional Networks (CBCNs) that significantly reduce the performance gap between 1-bit and full-precision deep learning models. By employing novel "circulant filters" (CiFs) and a "circulant back propagation" (CBP) method, CBCNs enhance the representational capacity of binarized networks, leading to improved accuracy and robustness, especially for rotated inputs.

What Problem Does This Paper Address?

Deep Convolutional Neural Networks (DCNNs) have revolutionized computer vision, but their large memory footprint and computational demands make them challenging to deploy on resource-constrained devices like smartphones. Binarizing network weights and activations to 1-bit (1-bit DCNNs) offers a promising solution for compression and efficiency. However, this extreme quantization often leads to a significant drop in performance, particularly in capturing variations like object rotations, due to the limited representational power of binarized filters. This paper aims to bridge this performance gap by enhancing the expressiveness of 1-bit DCNNs without sacrificing their efficiency.

Methods

The core innovation lies in two main components:

  • Circulant Filters (CiFs): Instead of using a single binarized filter, CBCNs generate multiple "circulant filters" from a single learned, full-precision filter. These CiFs are created by applying a circulant matrix transformation, which effectively generates rotated versions of the original filter. This increases the diversity of features extracted by the convolutional layer, making the network more robust to variations in input orientation.
  • Circulant Back Propagation (CBP): To train these CiFs effectively, the authors introduce a novel backpropagation algorithm. CBP leverages the inverse of the circulant transfer matrix to propagate gradients, ensuring that the learning process can adapt to the increased filter diversity introduced by CiFs. This method allows for end-to-end training of the CBCN architecture.

The authors also incorporate a Gaussian approximation for the sign function's derivative during backpropagation, which they found to be more effective than previous methods. Additionally, they explore the use of center loss and doubled shortcuts (similar to residual connections) to further boost performance.

Datasets

The proposed CBCNs were evaluated on several standard image classification datasets:

  • MNIST: A dataset of handwritten digits.
  • CIFAR10/100: Datasets of natural images with 10 and 100 classes, respectively.
  • ImageNet: A large-scale dataset for object recognition.

The authors also created rotated versions of MNIST and CIFAR10 (MNIST-rot, CIFAR10-rot) to specifically test the model's robustness to orientation variations.

Key Insights and Ideas

  • Filter Diversity is Key: The paper strongly suggests that the primary reason for performance degradation in 1-bit DCNNs is the lack of representational diversity in binarized filters. By generating multiple "views" of a learned filter through circulant transformations, the network gains the ability to capture more nuanced features.
  • Circulant Matrices as Orientation Encoders: The circulant matrix, when applied to filters, implicitly encodes positional and orientational information. This is a clever way to introduce rotation invariance without explicit data augmentation or complex architectural changes.
  • End-to-End Trainability: The development of the Circulant Back Propagation (CBP) algorithm is crucial, as it allows the entire CBCN architecture, including the generation and use of CiFs, to be trained efficiently and effectively in an end-to-end manner.
  • Minimal Overhead: The proposed CiFs and CBConv module can be seamlessly integrated into existing DCNN architectures (like ResNet and LeNet) by simply replacing the standard convolution operation. This makes the approach highly practical and adaptable.

Key Results

  • Performance Gap Reduction: CBCNs significantly reduce the accuracy gap between 1-bit and full-precision models. On ImageNet with a ResNet18 backbone, CBCNs achieve 61.4% top-1 accuracy, outperforming state-of-the-art methods like XNOR by up to 10%.
  • Rotation Robustness: On rotated datasets (MNIST-rot, CIFAR10-rot), CBCNs show substantial improvements over XNOR, demonstrating their enhanced ability to handle orientation variations. For instance, on MNIST-rot, CBCN achieved an 11.5% improvement over XNOR.
  • Efficiency: CBCNs achieve this improved performance while maintaining the significant memory reduction (32x) characteristic of 1-bit networks.
  • Faster Convergence: The CBP algorithm leads to faster convergence during training compared to standard backpropagation used in methods like XNOR, as evidenced by the training loss curves.
  • Ablation Study: The paper's ablation study confirms the effectiveness of individual components: CBConv itself provides an ~8% accuracy boost, doubling shortcuts adds ~4%, center loss improves by ~0.5%, and the Gaussian gradient function yields ~1.12% improvement.

Limitations and Future Work

  • Computational Cost of CiF Generation: While the overall network is efficient, the generation of CiFs involves matrix operations, which might add a slight computational overhead during training compared to simpler binarization methods. However, this is offset by the improved accuracy and faster convergence.
  • Hyperparameter Tuning: The performance of the Gaussian gradient approximation depends on its amplitude (A) and variance (σ), which are determined empirically.
  • Future Work: The authors suggest that the CBConv layer is a generic component that can be applied to various tasks beyond image classification. They also mention that further exploration of different circulant matrix structures and their impact on performance could be a fruitful direction.

Summary updated

BibTeX
@inproceedings{liu2019circulant,
  author = {Chunlei Liu and Wenrui Ding and Xin Xia and Baochang Zhang and Jiaxin Gu and Jianzhuang Liu and Rongrong Ji and David S. Doermann},
  title = {{Circulant Binary Convolutional Networks: Enhancing the Performance of 1-Bit DCNNs With Circulant Back Propagation.}},
  booktitle = {CVPR},
  year = {2019},
  doi = {10.1109/cvpr.2019.00280},
}
Figure