Pith. sign in

REVIEW 1 cited by

Recurrent Neural Language Models as Probabilistic Finite-state Automata

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2310.05161 v4 pith:4N6QQXBA submitted 2023-10-08 cs.CL cs.CCcs.LG

classification cs.CLcs.CCcs.LG
keywords finite-statedistributionsmodelsprobabilityrepresentallowsalphabetautomata
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

Studying language models (LMs) in terms of well-understood formalisms allows us to precisely characterize their abilities and limitations. Previous work has investigated the representational capacity of recurrent neural network (RNN) LMs in terms of their capacity to recognize unweighted formal languages. However, LMs do not describe unweighted formal languages -- rather, they define \emph{probability distributions} over strings. In this work, we study what classes of such probability distributions RNN LMs can represent, which allows us to make more direct statements about their capabilities. We show that simple RNNs are equivalent to a subclass of probabilistic finite-state automata, and can thus model a strict subset of probability distributions expressible by finite-state models. Furthermore, we study the space complexity of representing finite-state LMs with RNNs. We show that, to represent an arbitrary deterministic finite-state LM with $N$ states over an alphabet $\alphabet$, an RNN requires $\Omega\left(N |\Sigma|\right)$ neurons. These results present a first step towards characterizing the classes of distributions RNN LMs can represent and thus help us understand their capabilities and limitations.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. On the Expressiveness and Length Generalization of Selective State-Space Models on Regular Languages

    cs.LG 2024-12 conditional novelty 6.0 of 10

    SD-SSM, a single-layer selective SSM with softmax-weighted dense transition matrices, achieves near-perfect length generalization on seven finite-state automaton tasks, while diagonal selective SSMs are shown to be li...

Pith tools