On the Practical Computational Power of Finite Precision RNNs for Language Recognition

By Gail Weiss, Yoav Goldberg, Eran Yahav. 2018

300 citations recorded by the source corpus.

While Recurrent Neural Networks (RNNs) are famously known to be Turing complete, this relies on infinite precision in the states and unbounded computation time. We consider the case of RNNs with finite precision whose computation time is linear in the input length. Under these limitations, we show that different RNN variants have different computational power. In particular, we show that the LSTM and the Elman-RNN with ReLU activation are strictly stronger than the RNN with a squashing activation and the GRU. This is achieved because LSTMs and ReLU-RNNs can easily implement counting behavior. We show empirically that the LSTM does indeed learn to effectively use the counting mechanism.

Subfields: Artificial Intelligence, Model Architectures, Statistical Learning Theory

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. Yonatan Belinkov
  2. Mohit Bansal
  3. Percy Liang
  4. Noah A. Smith
  5. Luke S. Zettlemoyer
  6. Yejin Choi
  7. Yoav Goldberg
  8. Matt Gardner

In Model Architectures

  1. Yonatan Belinkov
  2. Christopher D. Manning
  3. Noah A. Smith
  4. Chris Dyer
  5. James R. Glass
  6. Percy Liang
  7. Yoav Goldberg
  8. Jacob Andreas

In Statistical Learning Theory

  1. Jean-Philippe Bernardy
  2. Yonatan Belinkov
  3. James R. Glass
  4. Michael Hahn
  5. Shaked Brody
  6. Uri Alon
  7. Noah A. Smith
  8. Eric Wallace

Citations in the corpus