Learning Discrete Weights and Activations Using the Local Reparameterization Trick

Guy Berger, Aviv Navon, Ethan Fetaya
7/4/2023
cs.LGcs.AIcs.CV

No confident code implementation found for this paper.

Abstract

In computer vision and machine learning, a crucial challenge is to lower the computation and memory demands for neural network inference. A commonplace solution to address this challenge is through the use of binarization. By binarizing the network weights and activations, one can significantly reduce computational complexity by substituting the computationally expensive floating operations with faster bitwise operations. This leads to a more efficient neural network inference that can be deployed on low-resource devices. In this work, we extend previous approaches that trained networks with discrete weights using the local reparameterization trick to also allow for discrete activations. The original approach optimized a distribution over the discrete weights and uses the central limit theorem to approximate the pre-activation with a continuous Gaussian distribution. Here we show that the probabilistic modeling can also allow effective training of networks with discrete activation as well. This further reduces runtime and memory footprint at inference time with state-of-the-art results for networks with binary activations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{berger2023learning,
  title  = {Learning Discrete Weights and Activations Using the Local Reparameterization Trick},
  author = {Guy Berger and Aviv Navon and Ethan Fetaya},
  year   = {2023},
  eprint = {2307.01683},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.01683v1}
}

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/2307.01683.svg)](https://codeofpaper.com/paper/2307.01683)

Discussion