Encapsulating models and approximate inference programs in probabilistic modules [article]

Marco F. Cusumano-Towner, Vikash K. Mansinghka
2017 arXiv   pre-print
This paper introduces the probabilistic module interface, which allows encapsulation of complex probabilistic models with latent variables alongside custom stochastic approximate inference machinery, and provides a platform-agnostic abstraction barrier separating the model internals from the host probabilistic inference system. The interface can be seen as a stochastic generalization of a standard simulation and density interface for probabilistic primitives. We show that sound approximate
more » ... ence algorithms can be constructed for networks of probabilistic modules, and we demonstrate that the interface can be implemented using learned stochastic inference networks and MCMC and SMC approximate inference programs.
arXiv:1612.04759v2 fatcat:a6q5x5qchjg7lpcr7mtsnccks4