通过NumPyro为Stan自动生成指南
Automatic Guide Generation for Stan via NumPyro
摘要:
Stan是一种非常流行的概率语言,具有最先进的HMC采样器,但它只为黑盒变分推理提供了有限的算法选择。在本文中,我们表明,使用我们最近提出的编译器从Stan到Pyro,Stan用户可以很容易地尝试在Pyro中实现的黑盒变分推理算法集。我们在PosteriorDB上评估了我们的方法,这是一个Stan模型数据库,包含相应的数据和参考后验样本。结果表明,Pyro中可用的八种算法在复杂性和准确性之间提供了一系列可能的妥协。本文说明了将Stan编译为另一种概率语言可以用于为Stan用户利用新功能,并为实现这些新功能的语言开发人员提供大量示例。
英文摘要:
Stan is a very popular probabilistic language with a state-of-the-art HMC sampler but it only offers a limited choice of algorithms for black-box variational inference. In this paper, we show that using our recently proposed compiler from Stan to Pyro, Stan users can easily try the set of algorithms implemented in Pyro for black-box variational inference. We evaluate our approach on PosteriorDB, a database of Stan models with corresponding data and reference posterior samples. Results show that the eight algorithms available in Pyro offer a range of possible compromises between complexity and accuracy. This paper illustrates that compiling Stan to another probabilistic language can be used to leverage new features for Stan users, and give access to a large set of examples for language developers who implement these new features.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。