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

Local Binary Convolutional Neural Networks

Felix Juefei-Xu, Vishnu Naresh Boddeti, Marios Savvides

Abstract

We propose local binary convolution (LBC), an efficient alternative to convolutional layers in standard convolutional neural networks (CNN). The design principles of LBC are motivated by local binary patterns (LBP). The LBC layer comprises of a set of fixed sparse pre-defined binary convolutional filters that are not updated during the training process, a non-linear activation function and a set of learnable linear weights. The linear weights combine the activated filter responses to approximate the corresponding activated filter responses of a standard convolutional layer. The LBC layer affords significant parameter savings, 9x to 169x in the number of learnable parameters compared to a standard convolutional layer. Furthermore, the sparse and binary nature of the weights also results in up to 9x to 169x savings in model size compared to a standard convolutional layer. We demonstrate both theoretically and experimentally that our local binary convolution layer is a good approximation of a standard convolutional layer. Empirically, CNNs with LBC layers, called local binary convolutional neural networks (LBCNN), achieves performance parity with regular CNNs on a range of visual datasets (MNIST, SVHN, CIFAR-10, and ImageNet) while enjoying significant computational savings.

Introduction

Standard Convolutional Neural Networks (CNNs) have revolutionized computer vision but remain computationally intensive. Their reliance on millions of learnable parameters leads to significant computational expense, large memory footprints that hinder deployment on mobile or IoT devices, and a susceptibility to overfitting on smaller datasets. While previous attempts to binarize networks (restricting weights to -1 and 1) improved efficiency, they often resulted in substantial accuracy drops.

This paper introduces Local Binary Convolutional Neural Networks (LBCNN), an architectural shift that drastically reduces learnable parameters without sacrificing representational power. By decoupling spatial feature detection from feature combination, LBCNNs achieve massive efficiency gains.

The Local Binary Convolution (LBC) Layer

The core innovation is the LBC layer, which replaces standard learnable convolutional filters with a set of fixed, sparse, binary "anchor" filters. In a standard CNN layer, every value in a spatial filter (e.g., $3 \times 3$) is learned. In contrast, the LBC layer splits this process into three distinct stages:

  1. Fixed Anchors: The layer uses $m$ pre-defined, sparse, binary filters containing only -1, 0, and 1. These are generated randomly and remain frozen throughout the training process.
  2. Activation: The input is convolved with these fixed filters, producing a "Difference Map," which is then passed through a non-linear activation function (such as ReLU or Sigmoid) to create a "Bit Map."
  3. Learnable Mixing: A learnable $1 \times 1$ convolution ($V_l$) combines these activated responses into the final feature map.
Comparison of standard CNN and LBCNN modules.

By restricting learning to the $1 \times 1$ mixing stage, the network does not learn what spatial features to look for; instead, it learns how to weigh and combine the features detected by the fixed binary anchors.

Inspiration and Mechanism

The design is inspired by Local Binary Patterns (LBP), a classic texture descriptor that encodes local image patches by comparing a center pixel to its neighbors. LBCNN generalizes this by using multiple binary filters to extract diverse local descriptors simultaneously.

Visualizing the LBC process: fixed binary filters generate bit maps which are then linearly combined to form the final feature map.

This approach suggests that exact spatial weights are less critical than having a sufficiently diverse set of random binary detectors. Because the anchor filters are binary and sparse, the initial convolution can be implemented using only additions and subtractions, bypassing expensive floating-point multiplications.

Experimental Evaluation

The authors evaluated LBCNN against standard CNN baselines and other efficiency-focused methods like BinaryConnect and BNN across several benchmarks:

  • Performance Parity: On MNIST, SVHN, and CIFAR-10, LBCNNs achieved nearly identical accuracy to standard CNNs while using a fraction of the learnable parameters.
  • ImageNet Efficiency: Applied to AlexNet on the full ImageNet dataset, LBCNN achieved 54.9% accuracy (vs. 56.7% baseline) with a $6.6\times$ reduction in learnable parameters within the convolutional layers.
  • Parameter Savings: The reduction is proportional to the filter size. For $3 \times 3$ filters, parameters are reduced by $9\times$; for $13 \times 13$ filters, the saving reaches $169\times$.
  • NetEverest: To demonstrate extreme scalability, the authors trained an 8,848-layer deep network on a single GPU, a feat impossible for standard CNNs due to memory constraints.

Conclusion

LBCNNs provide a powerful middle ground between the heavy computation of standard CNNs and the accuracy loss of fully binarized networks. By utilizing fixed binary anchors, they offer natural regularization and significant hardware-friendly efficiency. Future work may focus on binarizing the $1 \times 1$ mixing weights and developing custom hardware kernels to fully realize the speedup potential of sparse binary additions.

Summary updated

BibTeX
@inproceedings{juefeixu2017local,
  author = {Felix Juefei-Xu and Vishnu Naresh Boddeti and Marios Savvides},
  title = {{Local Binary Convolutional Neural Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  url = {https://openreview.net/forum?id=BkZGTAWuZH},
}
Figure