Probabilistic programming is a rapidly developing programming paradigm which enables the formulation of Bayesian models as programs and the automation of posterior inference. It facilitates the development of models and conducting Bayesian inference, which makes these techniques available to practitioners from multiple fields. Nevertheless, probabilistic programming is notoriously difficult as identifying and repairing issues with inference requires a lot of time and deep knowledge. Through this work, we introduce a novel approach to debugging Bayesian inference that reduces time and required knowledge significantly. We discuss several requirements a Bayesian inference debugging framework has to fulfill, and propose a new tool that meets these key requirements directly within the development environment. We evaluate our results in a study with 18 experienced participants and show that our approach to online and interactive debugging of Bayesian inference significantly reduces time and difficulty on inference debugging tasks.
翻译:概率编程是一种快速发展的编程范式,它将贝叶斯模型表述为程序并实现后验推断的自动化。该范式促进了模型的开发与贝叶斯推断的实施,使得多领域实践者能够运用这些技术。然而,概率编程因其推断问题的识别与修复需耗费大量时间且依赖深厚专业知识而著称。本研究提出一种创新的贝叶斯推断调试方法,可显著降低时间成本与知识门槛。我们探讨了贝叶斯推断调试框架需满足的若干要求,并开发了一种在开发环境中直接满足这些核心需求的新工具。通过对18位经验丰富的参与者开展研究评估,我们证明这种在线交互式贝叶斯推断调试方法能显著降低推断调试任务的时间消耗与操作难度。