Bayesian synthesis of probabilistic programs for automatic data modeling
Authors:
Open Access
- 2 January 2019
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 3 (POPL) , 1-32
Abstract
We present new techniques for automatically constructing probabilistic programs for data analysis, interpretation, and prediction. These techniques work with probabilistic domain-specific data modeling languages that capture key properties of a broad class of data generating processes, using Bayesian inference to synthesize probabilistic programs in these modeling languages given observed data. We provide a precise formulation of Bayesian synthesis for automatic data modeling that identifies sufficient conditions for the resulting synthesis procedure to be sound. We also derive a general class of synthesis algorithms for domain-specific languages specified by probabilistic context-free grammars and establish the soundness of our approach for these languages. We apply the techniques to automatically synthesize probabilistic programs for time series data and multivariate tabular data. We show how to analyze the structure of the synthesized programs to compute, for key qualitative properties of interest, the probability that the underlying data generating process exhibits each of these properties. Second, we translate probabilistic programs in the domain-specific language into probabilistic programs in Venture, a general-purpose probabilistic programming system. The translated Venture programs are then executed to obtain predictions of new time series data and new multivariate data records. Experimental results show that our techniques can accurately infer qualitative structure in multiple real-world data sets and outperform standard data analysis methods in forecasting and predicting new data.Keywords
All Related Versions
Funding Information
- Defense Advanced Research Projects Agency (FA8750-17-C-0239)
This publication has 27 references indexed in Scilit:
- Efficient synthesis of probabilistic programs2015
- Synthesizing data structure transformations from input-output examples2015
- Stochastic superoptimization2013
- Consistency of stochastic context-free grammarsMathematical and Computer Modelling, 2010
- Nonparametric estimation of regression functions with both categorical and continuous dataJournal of Econometrics, 2004
- Automated synthesis of analog electrical circuits by means of genetic programmingIEEE Transactions on Evolutionary Computation, 1997
- Markov Chains for Exploring Posterior DistributionsThe Annals of Statistics, 1994
- A Deductive Approach to Program SynthesisACM Transactions on Programming Languages and Systems, 1980
- A Transformation System for Developing Recursive ProgramsJournal of the ACM, 1977
- Über die Bausteine der mathematischen LogikMathematische Annalen, 1924