paper-with-me

Papers

On the Computational Complexity and Formal Hierarchy of Second Order Recurrent Neural Networks

2023-09-26 · Ankur Mali, Alexander Ororbia, Daniel Kifer, Lee Giles

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 $2^{nd}$-order recurrent network ($2^{nd}$ RNN) and prove there exists a class of a $2^{nd}$ 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 $2$nd order RNNs, without memory, under bounded weights and time constraints, outperform modern-day models such as vanilla RNNs and gated recurrent units in recognizing regular grammars. We provide an upper bound and a stability analysis on the maximum number of neurons required by $2$nd order RNNs to recognize any class of regular grammar. Extensive experiments on the Tomita grammars support our findings, demonstrating the importance of tensor connections in crafting computationally efficient RNNs. Finally, we show $2^{nd}$ order RNNs are also interpretable by extraction and can extract state machines with higher success rates as compared to first-order RNNs. Our results extend the theoretical foundations of RNNs and offer promising avenues for future explainable AI research.

📄 PDF Abstract BibTeX arXiv:2309.14691

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Hallucination as a Computational Boundary: A Hierarchy of Inevitability and the Oracle Escape

2025-08-10 · Wang Xi, Quan Shi, Zenghui Ding, Jianqing Gao 외 arxiv

The illusion phenomenon of large language models (LLMs) is the core obstacle to their reliable deployment. This article formalizes the large language model as a probabilistic Turing machine by constructing a "computation…

Conformal Prediction in Hierarchical Classification

2025-01-31 · Thomas Mortier, Alireza Javanmardi, Yusuf Sale, Eyke Hüllermeier 외

Conformal prediction has emerged as a widely used framework for constructing valid prediction sets in classification and regression tasks. In this work, we extend the split conformal prediction framework to hierarchical …

ClassificationConformal PredictionPredictionvalid

Evaluating the Formal Reasoning Capabilities of Large Language Models through Chomsky Hierarchy

2026-04-03 · Yihong Dong, Jianha Xiao, Xue Jiang, Xuyuan Guo 외 arxiv

The formal reasoning capabilities of LLMs are crucial for advancing automated software engineering. However, existing benchmarks for LLMs lack systematic evaluation based on computation and complexity, leaving a critical…

A Formal Hierarchy of RNN Architectures

2020-04-18 · ACL 2020 6 · William Merrill, Gail Weiss, Yoav Goldberg, Roy Schwartz 외

We develop a formal hierarchy of the expressive capacity of RNN architectures. The hierarchy is based on two formal properties: space complexity, which measures the RNN's memory, and rational recurrence, defined as wheth…

Parameterized Complexity of Logic-Based Argumentation in Schaefer's Framework

2021-02-23 · Yasir Mahmood, Arne Meier, Johannes Schmidt

Logic-based argumentation is a well-established formalism modelling nonmonotonic reasoning. It has been playing a major role in AI for decades, now. Informally, a set of formulas is the support for a given claim if it is…