Recurrent Neural Networks With Limited Numerical Precision

Joachim Ott, Zhouhan Lin, Ying Zhang, Shih-Chii Liu, Yoshua Bengio
11/21/2016
82 citations
cs.NE

Official code: ottj/QuantizedRNN (13 stars, Python, GPL-3.0, last commit 2017-05-25).

Abstract

Recurrent Neural Networks (RNNs) produce state-of-art performance on many machine learning tasks but their demand on resources in terms of memory and computational power are often high. Therefore, there is a great interest in optimizing the computations performed with these models especially when considering development of specialized low-power hardware for deep networks.

Show full abstract

One way of reducing the computational needs is to limit the numerical precision of the network weights and biases, and this will be addressed for the case of RNNs. We present results from the use of different stochastic and deterministic reduced precision training methods applied to two major RNN types, which are then tested on three datasets. The results show that the stochastic and deterministic ternarization, pow2- ternarization, and exponential quantization methods gave rise to low-precision RNNs that produce similar and even higher accuracy on certain datasets, therefore providing a path towards training more efficient implementations of RNNs in specialized hardware.

View on arXivView PDF

Code Implementations(1)

ottj/QuantizedRNNOfficial100%
GPL-3.0

Recurrent Neural Networks With Limited Numerical Precision

135PythonFeb 26, 20179 years agoGPL-3.0

Similar Papers

Cite this paper

@article{ott2016recurrent,
  title  = {Recurrent Neural Networks With Limited Numerical Precision},
  author = {Joachim Ott and Zhouhan Lin and Ying Zhang and Shih-Chii Liu and Yoshua Bengio},
  year   = {2016},
  eprint = {1611.07065},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1611.07065}
}

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

Discussion