Rational Recurrences
Not on the map. Why?
Abstract (arXiv)
Despite the tremendous empirical success of neural models in natural language processing, many of them lack the strong intuitions that accompany classical machine learning approaches. Recently, connections have been shown between convolutional neural networks (CNNs) and weighted finite state automata (WFSAs), leading to new interpretations and insights. In this work, we show that some recurrent neural networks also share this connection to WFSAs. We characterize this connection formally, defining rational recurrences to be recurrent hidden state update functions that can be written as the Forward calculation of a finite set of WFSAs. We show that several recent neural models use rational recurrences. Our analysis provides a fresh view of these models and facilitates devising new neural architectures that draw inspiration from WFSAs. We present one such model, which performs better than two recent baselines on language modeling and text classification. Our results demonstrate that transferring intuitions from classical models like WFSAs can be an effective approach to designing and understanding neural models.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Aug 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 3; 2023: 5; 2024: 4; 2025: 1; 2026: 1.
18 papers.
Sort:
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2021Random Feature Attentioncited by 350
- 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 137
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
- 2021ABC: Attention with Bounded-memory Controlcited by 36
- 2023Average-Hard Attention Transformers are Constant-Depth Uniform Threshold Circuitscited by 26
- 2023Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensionscited by 20
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languagescited by 20
- 2022A Call for Clarity in Beam Search: How It Works and When It Stopscited by 10
- 2021Formal Language Theory Meets Modern NLPcited by 9
- 2026Why Are Linear RNNs More Parallelizable?cited by 7
- 2022The Surprising Computational Power of Nondeterministic Stack RNNscited by 6
6 more
- 2023Recurrent Neural Language Models as Probabilistic Finite-state Automatacited by 6
- 2024Lower Bounds on the Expressivity of Recurrent Neural Language Modelscited by 4
- 2023Algorithms for Acyclic Weighted Finite-State Automata with Failure Arcscited by 1
- 2024Interpretable Predictive Models for Healthcare via Rational Logistic Regressioncited by 1
- 2025Aligning Brain Activity with Advanced Transformer Models: Exploring the Role of Punctuation in Semantic Processingcited by 1
- 2023Learning Transductions and Alignments with RNN Seq2seq Modelscited by 0
- 2026Why Are Linear RNNs More Parallelizable?4 Mar 2026
- 2025Aligning Brain Activity with Advanced Transformer Models: Exploring the Role of Punctuation in Semantic Processing10 Jan 2025
- 2024Interpretable Predictive Models for Healthcare via Rational Logistic Regression5 Nov 2024
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Length10 Jun 2024
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languages6 Jun 2024
- 2024Lower Bounds on the Expressivity of Recurrent Neural Language Models29 May 2024
- 2023Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensions24 Oct 2023
- 2023Recurrent Neural Language Models as Probabilistic Finite-state Automata8 Oct 2023
- 2023Average-Hard Attention Transformers are Constant-Depth Uniform Threshold Circuits6 Aug 2023
- 2023Learning Transductions and Alignments with RNN Seq2seq Models13 Mar 2023
- 2023Algorithms for Acyclic Weighted Finite-State Automata with Failure Arcs17 Jan 2023
- 2022The Surprising Computational Power of Nondeterministic Stack RNNs4 Oct 2022
6 more
- 2022A Call for Clarity in Beam Search: How It Works and When It Stops11 Apr 2022
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval28 Jan 2022
- 2021ABC: Attention with Bounded-memory Control6 Oct 2021
- 2021Saturated Transformers are Constant-Depth Threshold Circuits30 Jun 2021
- 2021Random Feature Attention3 Mar 2021
- 2021Formal Language Theory Meets Modern NLP19 Feb 2021
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2021Random Feature Attentioncited by 350
- 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 137
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
- 2021ABC: Attention with Bounded-memory Controlcited by 36
- 2023Average-Hard Attention Transformers are Constant-Depth Uniform Threshold Circuitscited by 26
- 2023Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensionscited by 20
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languagescited by 20
- 2022A Call for Clarity in Beam Search: How It Works and When It Stopscited by 10
- 2021Formal Language Theory Meets Modern NLPcited by 9
- 2026Why Are Linear RNNs More Parallelizable?cited by 7
- 2022The Surprising Computational Power of Nondeterministic Stack RNNscited by 6
12 most cited of 18 All 18 (JSON)
- 2026Why Are Linear RNNs More Parallelizable?4 Mar 2026
- 2025Aligning Brain Activity with Advanced Transformer Models: Exploring the Role of Punctuation in Semantic Processing10 Jan 2025
- 2024Interpretable Predictive Models for Healthcare via Rational Logistic Regression5 Nov 2024
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Length10 Jun 2024
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languages6 Jun 2024
- 2024Lower Bounds on the Expressivity of Recurrent Neural Language Models29 May 2024
- 2023Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensions24 Oct 2023
- 2023Recurrent Neural Language Models as Probabilistic Finite-state Automata8 Oct 2023
- 2023Average-Hard Attention Transformers are Constant-Depth Uniform Threshold Circuits6 Aug 2023
- 2023Learning Transductions and Alignments with RNN Seq2seq Models13 Mar 2023
- 2023Algorithms for Acyclic Weighted Finite-State Automata with Failure Arcs17 Jan 2023
- 2022The Surprising Computational Power of Nondeterministic Stack RNNs4 Oct 2022
12 newest of 18 All 18 (JSON)