Recurrent Neural Networks as Weighted Language Recognizers

By Yining Chen, Sorcha Gilroy, Andreas Maletti, Jonathan May, Kevin Knight. 2017

79 citations recorded by the source corpus.

We investigate the computational complexity of various problems for simple recurrent neural networks (RNNs) as formal models for recognizing weighted languages. We focus on the single-layer, ReLU-activation, rational-weight RNNs with softmax, which are commonly used in natural language processing applications. We show that most problems for such RNNs are undecidable, including consistency, equivalence, minimization, and the determination of the highest-weighted string. However, for consistent RNNs the last problem becomes decidable, although the solution length can surpass all computable bounds. If additionally the string is limited to polynomial length, the problem becomes NP-complete. In summary, this shows that approximations and heuristic algorithms are necessary in practical applications of those RNNs.

Subfields: Artificial Intelligence, Natural Language Processing

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

In Natural Language Processing

  1. Yejin Choi
  2. Noah A. Smith
  3. Luke S. Zettlemoyer
  4. Mohit Bansal
  5. Hannaneh Hajishirzi
  6. Percy Liang
  7. Yonatan Belinkov
  8. Yoav Goldberg

Citations in the corpus