Neural Arithmetic Logic Units

By Andrew Trask, Felix Hill, Scott E. Reed, Jack W. Rae, Chris Dyer, Phil Blunsom. 2018

224 citations recorded by the source corpus.

Neural networks can learn to represent and manipulate numerical information, but they seldom generalize well outside of the range of numerical values encountered during training. To encourage more systematic numerical extrapolation, we propose an architecture that represents numerical quantities as linear activations which are manipulated using primitive arithmetic operators, controlled by learned gates. We call this module a neural arithmetic logic unit (NALU), by analogy to the arithmetic logic unit in traditional processors. Experiments show that NALU-enhanced neural networks can learn to track time, perform arithmetic over images of numbers, translate numerical language into real-valued scalars, execute computer code, and count objects in images. In contrast to conventional architectures, we obtain substantially better generalization both inside and outside of the range of numerical values encountered during training, often extrapolating orders of magnitude beyond trained numerical ranges.

Subfields: Artificial Intelligence, Computational Theory and Mathematics, Statistical and Nonlinear Physics, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yoshua Bengio
  2. Mohit Bansal
  3. Percy Liang
  4. Sergey Levine
  5. Ruslan Salakhutdinov
  6. Quoc V. Le
  7. Luke S. Zettlemoyer
  8. Kyunghyun Cho

In Computational Theory and Mathematics

  1. Yuhuai Wu
  2. Wenda Li
  3. Tom Everitt
  4. Jan Leike
  5. Shane Legg
  6. Nicolas Manfred Otto Heess
  7. Rodrigo Nogueira
  8. Andrea Lodi

In Statistical and Nonlinear Physics

  1. Yoshua Bengio
  2. Hugo Larochelle
  3. Petar Velickovic
  4. Nicolas Manfred Otto Heess
  5. Yoav Goldberg
  6. Christopher R'e
  7. Daniel Tarlow
  8. Stefanie Sabrina Jegelka

In Model Architectures

  1. Yoshua Bengio
  2. Christopher R'e
  3. Tri Dao
  4. Albert Gu
  5. Atri Rudra
  6. Yoav Goldberg
  7. Nan Rosemary Ke
  8. Anirudh Goyal

Citations in the corpus