On the Computational Complexity and Formal Hierarchy of Second Order Recurrent Neural Networks
Ankur Mali, Alexander Ororbia, Daniel Kifer, Lee Giles

TL;DR
This paper establishes that second-order recurrent neural networks can be Turing-complete within bounded time and precision, outperforming first-order models in recognizing regular languages and enabling interpretable, efficient computation.
Contribution
It proves the Turing-completeness of bounded second-order RNNs, introduces a transition table encoding method, and demonstrates superior performance and interpretability over first-order RNNs.
Findings
Second-order RNNs can recognize any regular grammar within bounded time.
They outperform vanilla RNNs and GRUs in recognizing regular languages under constraints.
Second-order RNNs can extract higher success rate state machines, enhancing interpretability.
Abstract
Artificial neural networks (ANNs) with recurrence and self-attention have been shown to be Turing-complete (TC). However, existing work has shown that these ANNs require multiple turns or unbounded computation time, even with unbounded precision in weights, in order to recognize TC grammars. However, under constraints such as fixed or bounded precision neurons and time, ANNs without memory are shown to struggle to recognize even context-free languages. In this work, we extend the theoretical foundation for the -order recurrent network ( RNN) and prove there exists a class of a RNN that is Turing-complete with bounded time. This model is capable of directly encoding a transition table into its recurrent weights, enabling bounded time computation and is interpretable by design. We also demonstrate that nd order RNNs, without memory, under bounded weights and…
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
TopicsFerroelectric and Negative Capacitance Devices · Topic Modeling · Machine Learning in Materials Science
