๐ฎ
๐ฎ
The Ethereal
Weighted Automata for Exact Inference in Discrete Probabilistic Programs
September 18, 2025 ยท The Ethereal ยท ๐ International Colloquium on Theoretical Aspects of Computing
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Dominik Geiรler, Tobias Winkler
arXiv ID
2509.15074
Category
cs.FL: Formal Languages
Cross-listed
cs.PL
Citations
1
Venue
International Colloquium on Theoretical Aspects of Computing
Last Checked
2 months ago
Abstract
In probabilistic programming, the inference problem asks to determine a program's posterior distribution conditioned on its "observe" instructions. Inference is challenging, especially when exact rather than approximate results are required. Inspired by recent work on probability generating functions (PGFs), we propose encoding distributions on $\mathbb{N}^k$ as weighted automata over a commutative alphabet with $k$ symbols. Based on this, we map the semantics of various imperative programming statements to automata-theoretic constructions. For a rich class of programs, this results in an effective translation from prior to posterior distribution, both encoded as automata. We prove that our approach is sound with respect to a standard operational program semantics.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Formal Languages
๐ฎ
๐ฎ
The Ethereal
Supervisor Synthesis to Thwart Cyber Attack with Bounded Sensor Reading Alterations
๐ฎ
๐ฎ
The Ethereal
An Abstraction-Based Framework for Neural Network Verification
๐ฎ
๐ฎ
The Ethereal
Recurrent Neural Networks as Weighted Language Recognizers
๐ฎ
๐ฎ
The Ethereal
TeSSLa: Temporal Stream-based Specification Language
๐ฎ
๐ฎ
The Ethereal