Skip to main navigation Skip to search Skip to main content

Binarized neural networks

  • Itay Hubara
  • , Matthieu Courbariaux
  • , Daniel Soudry
  • , El-yaniv Ran
  • , Yoshua Bengio

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We introduce a method to train Binarized Neural Networks (BNNs) - neural networks with binary weights and activations at run-time. At train-time the binary weights and activations are used for computing the parameter gradients. During the forward pass, BNNs drastically reduce memory size and accesses, and replace most arithmetic operations with bit-wise operations, which is expected to substantially improve power-efficiency. To validate the effectiveness of BNNs, we conducted two sets of experiments on the Torch7 and Theano frameworks. On both, BNNs achieved nearly state-of-the-art results over the MNIST, CIFAR-10 and SVHN datasets. We also report our preliminary results on the challenging ImageNet dataset. Last but not least, we wrote a binary matrix multiplication GPU kernel with which it is possible to run our MNIST BNN 7 times faster than with an unoptimized GPU kernel, without suffering any loss in classification accuracy. The code for training and running our BNNs is available on-line.

Original languageEnglish
Title of host publication30th Annual Conference on Neural Information Processing Systems, NIPS 2016
Pages4114-4122
Number of pages9
StatePublished - 2016
Event30th Annual Conference on Neural Information Processing Systems, NIPS 2016 - Barcelona, Spain
Duration: 5 Dec 201610 Dec 2016

Conference

Conference30th Annual Conference on Neural Information Processing Systems, NIPS 2016
Country/TerritorySpain
CityBarcelona
Period5/12/1610/12/16

ASJC Scopus subject areas

  • Computer Networks and Communications
  • Information Systems
  • Signal Processing

Fingerprint

Dive into the research topics of 'Binarized neural networks'. Together they form a unique fingerprint.

Cite this