Surprisal-Triggered Conditional Computation with Neural Networks

Loren Lugosch, Derek Nowrouzezahrai, Brett H. Meyer
6/2/2020
cs.LGstat.ML

Official code: lorenlugosch/conditional-computation-using-surprisal (4 stars, Python, Apache-2.0, last commit 2020-07-10).

Abstract

Autoregressive neural network models have been used successfully for sequence generation, feature extraction, and hypothesis scoring. This paper presents yet another use for these models: allocating more computation to more difficult inputs.

Show full abstract

In our model, an autoregressive model is used both to extract features and to predict observations in a stream of input observations. The surprisal of the input, measured as the negative log-likelihood of the current observation according to the autoregressive model, is used as a measure of input difficulty. This in turn determines whether a small, fast network, or a big, slow network, is used. Experiments on two speech recognition tasks show that our model can match the performance of a baseline in which the big network is always used with 15% fewer FLOPs.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
41PythonJan 3, 20206 years agoApache-2.0

Similar Papers

Cite this paper

@article{lugosch2020surprisaltriggered,
  title  = {Surprisal-Triggered Conditional Computation with Neural Networks},
  author = {Loren Lugosch and Derek Nowrouzezahrai and Brett H. Meyer},
  year   = {2020},
  eprint = {2006.01659},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.01659}
}

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

Discussion