@albinzehe

Recurrent Neural Networks as Weighted Language Recognizers

, , , , and . Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), page 2261--2271. New Orleans, Louisiana, Association for Computational Linguistics, (June 2018)
DOI: 10.18653/v1/N18-1205

Abstract

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.

Links and resources

Tags

community

  • @albinzehe
  • @dblp
@albinzehe's tags highlighted