SixthSense: Debugging Convergence Problems in Probabilistic Programs via Program Representation Learning
SixthSense: Debugging Convergence Problems in Probabilistic Programs via Program Representation Learning
复制标题
SixthSense:通过程序表示学习调试概率程序中的收敛问题
DOI:
10.1007/978-3-030-99429-7_7
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
Misailovic, Sasa
中科院分区:
文献类型:
--
作者:
Dutta, Saikat;Huang, Zixin;Misailovic, Sasa
Probabilistic programming aims to open the power of Bayesian reasoning to software developers and scientists, but identification of problems during inference and debugging are left entirely to the developers and typically require significant statistical expertise. A common class of problems when writing probabilistic programs is the lack of convergence of the probabilistic programs to their posterior distributions. We present SixthSense, a novel approach for predicting probabilistic program convergence ahead of run and its application to debugging convergence problems in probabilistic programs. SixthSense’s training algorithm learns a classifier that can predict whether a previously unseen probabilistic program will converge. It encodes the syntax of a probabilistic program as motifs–fragments of the syntactic program paths. The decisions of the classifier are interpretable and can be used to suggest the program features that contributed significantly to program convergence or non-convergence. We also present an algorithm for augmenting a set of training probabilistic programs that uses guided mutation.We evaluated SixthSense on a broad range of widely used probabilistic programs. Our results show that SixthSense features are effective in predicting convergence of programs for given inference algorithms. SixthSense obtained Accuracy of over 78% for predicting convergence, substantially above the state-of-the-art techniques for predicting program properties Code2Vec and Code2Seq. We show the ability of SixthSense to guide the debugging of convergence problems, which pinpoints the causes of non-convergence significantly better by Stan’s built-in warnings.
登录
查看更多内容
DOI:
10.1007/978-3-030-88885-5_16
发表时间:
2021
期刊:
2021 in Automated Technology for Verification and Analysis
影响因子:
--
作者:
Huang, Zixin;Dutta, Saikat;Misailovic, Sasa
通讯作者:
Misailovic, Sasa
DOI:
--
发表时间:
2020
期刊:
European Workshop on Probabilistic Graphical Models
影响因子:
--
作者:
N. Tehrani;Nimar S. Arora;David Noursi;Michael Tingley;Narjes Torabi;Eric Lippert
通讯作者:
Eric Lippert
影响因子:
5.8
作者:
Carpenter, Bob;Gelman, Andrew;Riddell, Allen
通讯作者:
Riddell, Allen
DOI:
10.1145/3088525.3088564
发表时间:
2017
期刊:
Proceedings of the 1st ACM SIGPLAN International Workshop on Machine Learning and Programming Languages
影响因子:
--
作者:
Chandrakana Nandi;D. Grossman;Adrian Sampson;Todd Mytkowicz;K. McKinley
通讯作者:
K. McKinley
影响因子:
22.7
作者:
Andoni, Alexandr;Indyk, Piotr
通讯作者:
Indyk, Piotr