Contributions to the hierarchy of probabilistic languages
Abstract
We reconsider the theory of probabilistic formal languages generated by n-gram models and by probabilistic context-free grammars (PCFGs). The expected hierarchy of probabilistic grammars is established by proving that every probabilistic language generated by an n-gram model is also generated by some PCFG, while some probabilistic languages generated by PCFGs cannot be generated by any n-gram model. We introduce the notion of fully connected PCFGs, namely PCFGs in Chomsky normal form where every production rule only involving non-terminals has non-zero probability. Our main result shows that any probabilistic language generated by an n-gram model differs from any probabilistic language generated by a fully connected PCFG. Therefore, the class of probabilistic languages generated by n-gram models is not a subset of the class generated by fully connected PCFGs.
Related
- Tree languages and branched groups
- Recognizable Picture Languages: Separating UREC from coUREC via Communication Complexity
- Big Ramsey degrees and structures in relational languages
- Logical isomorphism and logical limit laws for small permutation classes and regular languages
- Internal Languages for Thin Epsilon-Hyperdoctrines: Soundness, Completeness, and Rocq Formalization
BibTeX
@misc{krapp2026contributions,
title = {{Contributions to the hierarchy of probabilistic languages}},
author = {Lothar Sebastian Krapp and Remo Nitschke},
howpublished = {arXiv},
year = {2026},
month = sep,
doi = {10.48550/arxiv.2609.23567},
eprint = {2609.23567},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2609.23567},
note = {CC BY-NC-ND 4.0},
}
RIS
TY - UNPB
TI - Contributions to the hierarchy of probabilistic languages
AU - Lothar Sebastian Krapp
AU - Remo Nitschke
PY - 2026
DA - 2026/09/20
PB - arXiv
DO - 10.48550/arxiv.2609.23567
UR - https://arxiv.org/abs/2609.23567
AB - We reconsider the theory of probabilistic formal languages generated by n-gram models and by probabilistic context-free grammars (PCFGs). The expected hierarchy of probabilistic grammars is established by proving that every probabilistic language generated by an n-gram model is also generated by some PCFG, while some probabilistic languages generated by PCFGs cannot be generated by any n-gram model. We introduce the notion of fully connected PCFGs, namely PCFGs in Chomsky normal form where every production rule only involving non-terminals has non-zero probability. Our main result shows that any probabilistic language generated by an n-gram model differs from any probabilistic language generated by a fully connected PCFG. Therefore, the class of probabilistic languages generated by n-gram models is not a subset of the class generated by fully connected PCFGs.
ER -