On the Computational Power of RNNs
Samuel A. Korsky, Robert C. Berwick

TL;DR
This paper investigates the computational capabilities of RNNs and GRUs, establishing their equivalence to finite automata and pushdown automata under various precision and activation conditions.
Contribution
It provides formal proofs characterizing the computational power of RNNs and GRUs with different precision levels and activation functions.
Findings
Finite precision RNNs and GRUs with one hidden layer are as powerful as finite automata.
Arbitrary precision RNNs can simulate pushdown automata.
Infinite precision and nonlinear outputs enable GRUs to simulate pushdown automata.
Abstract
Recent neural network architectures such as the basic recurrent neural network (RNN) and Gated Recurrent Unit (GRU) have gained prominence as end-to-end learning architectures for natural language processing tasks. But what is the computational power of such systems? We prove that finite precision RNNs with one hidden layer and ReLU activation and finite precision GRUs are exactly as computationally powerful as deterministic finite automata. Allowing arbitrary precision, we prove that RNNs with one hidden layer and ReLU activation are at least as computationally powerful as pushdown automata. If we also allow infinite precision, infinite edge weights, and nonlinear output activation functions, we prove that GRUs are at least as computationally powerful as pushdown automata. All results are shown constructively.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and Algorithms · semigroups and automata theory · Ferroelectric and Negative Capacitance Devices
Methods*Communicated@Fast*How Do I Communicate to Expedia?
