计算机科学 > 形式语言与自动机理论
[提交于 2025年12月15日]
标题:Probabilistic Programming Meets Automata Theory: Exact Inference using Weighted Automata
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Probabilistic programs encode stochastic models as ordinary-looking programs with primitives for sampling numbers from predefined distributions and conditioning. Their applications include, among many others, machine learning and modeling of autonomous systems. The analysis of probabilistic programs is often quantitative - it involves reasoning about numerical properties like probabilities and expectations. A particularly important quantitative property of probabilistic programs is their posterior distribution, i.e., the distribution over possible outputs for a given input (or prior) distribution. Computing the posterior distribution exactly is known as exact inference. We present our current research using weighted automata, a generalization of the well-known finite automata, for performing exact inference in a restricted class of discrete probabilistic programs. This is achieved by encoding distributions over program variables - possibly with infinite support - as certain weighted automata. The semantics of our programming language then corresponds to common automata-theoretic constructions, such as product, concatenation, and others.
提交历史
来自:Dominik Geißler[v1] 2025年12月15日 星期一 10:49:52 UTC