Marginal Inference queries in Hidden Markov Models under context-free grammar constraints
Not on the map. Why?
Abstract (arXiv)
The primary use of any probabilistic model involving a set of random variables is to run inference and sampling queries on it. Inference queries in classical probabilistic models is concerned by the computation of marginal or conditional probabilities of events given as an input. When the probabilistic model is sequential, more sophisticated marginal inference queries involving complex grammars may be of interest in fields such as computational linguistics and NLP. In this work, we address the question of computing the likelihood of context-free grammars (CFGs) in Hidden Markov Models (HMMs). We provide a dynamic algorithm for the exact computation of the likelihood for the class of unambiguous context-free grammars. We show that the problem is NP-Hard, even with the promise that the input CFG has a degree of ambiguity less than or equal to 2. We then propose a fully polynomial randomized approximation scheme (FPRAS) algorithm to approximate the likelihood for the case of polynomially-bounded ambiguous CFGs.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 1 of its 15 references that are in the map. First posted on arXiv 26 Jun 2022.
Builds on
1 of 15 references.
References · 1
Built on by
Citing papers per year: 2024: 1; 2025: 1.
2 papers.
- 2024Restructuring Tractable Probabilistic Circuitscited by 7
- 2025Learning Tractable Distributions Of Language Model Continuationscited by 0
- 2025Learning Tractable Distributions Of Language Model Continuations20 Nov 2025
- 2024Restructuring Tractable Probabilistic Circuits19 Nov 2024