XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks

Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, Ali Farhadi
3/16/2016
4,949 citations
cs.CV

No official code found. Best implementation: penpaperkeycode/XNOR-Net-PyTorch-Jupyter (5 stars). 1 more below.

Abstract

We propose two efficient approximations to standard convolutional neural networks: Binary-Weight-Networks and XNOR-Networks. In Binary-Weight-Networks, the filters are approximated with binary values resulting in 32x memory saving.

Show full abstract

In XNOR-Networks, both the filters and the input to convolutional layers are binary. XNOR-Networks approximate convolutions using primarily binary operations. This results in 58x faster convolutional operations and 32x memory savings. XNOR-Nets offer the possibility of running state-of-the-art networks on CPUs (rather than GPUs) in real-time. Our binary networks are simple, accurate, efficient, and work on challenging visual tasks. We evaluate our approach on the ImageNet classification task. The classification accuracy with a Binary-Weight-Network version of AlexNet is only 2.9% less than the full-precision AlexNet (in top-1 measure). We compare our method with recent network binarization methods, BinaryConnect and BinaryNets, and outperform these methods by large margins on ImageNet, more than 16% in top-1 accuracy.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
penpaperkeycode/XNOR-Net-PyTorch-JupyterCommunity5–––
ssaru/pytorch-XNOR-NetCommunity3–––

Implementation of "XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks"

51

XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks

31

Similar Papers

Cite this paper

@article{rastegari2016xnornet,
  title  = {XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks},
  author = {Mohammad Rastegari and Vicente Ordonez and Joseph Redmon and Ali Farhadi},
  year   = {2016},
  eprint = {1603.05279},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1603.05279}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1603.05279.svg)](https://codeofpaper.com/paper/1603.05279)

Discussion