Proceedings of the ACM on Programming Languages · 2019 · 30 citations · 32 references
ComputingComputer ScienceFormal MethodsProbability TheoryProgramming LanguagesAutomated ReasoningBayesian InferenceMarkov Chain Monte CarloStatistical InferenceType CheckingType SystemsImportance SamplingMarkov Chain Monte Carlo InferenceProbabilistic ComputationProbabilistic ProgrammingProbabilistic SemanticsSoundnessTrace SemanticsType Soundness
Modern probabilistic programming languages aim to formalize and automate key aspects of probabilistic modeling and inference. Many languages provide constructs for programmable inference that enable developers to improve inference speed and accuracy by tailoring an algorithm for use with a particular model or dataset. Unfortunately, it is easy to use these constructs to write unsound programs that appear to run correctly but produce incorrect results. To address this problem, we present a denotational semantics for programmable inference in higher-order probabilistic programming languages, along with a type system that ensures that well-typed inference programs are sound by construction. A central insight is that the type of a probabilistic expression can track the space of its possible execution traces, not just the type of value that it returns, as these traces are often the objects that inference algorithms manipulate. We use our semantics and type system to establish soundness properties of custom inference programs that use constructs for variational, sequential Monte Carlo, importance sampling, and Markov chain Monte Carlo inference.
32
Sebastian Thrun · Communications of the ACM · 2002 · 8K citations
<i>Stan</i> : A Probabilistic Programming Language
Bob Carpenter, Andrew Gelman, Matthew D. Hoffman et al. · Journal of Statistical Software · 2017 · 7.4K citations · Full text
An Introduction to MCMC for Machine Learning
Christophe Andrieu, Nando de Freitas, Arnaud Doucet et al. · Machine Learning · 2003 · 2.4K citations · Full text