arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.11961cs.LGstat.ML
收藏

推理编译注意事项

Attention for Inference Compilation

University of British Columbia(不列颠哥伦比亚大学);University of Oxford(牛津大学)

William Harvey, Andreas Munk, Atılım Güneş Baydin, Alexander Bergholm, Frank Wood

摘要:

我们提出了一种新的方法来自动摊销推理的通用概率程序,提高性能相比,目前的方法。我们的方法是推理编译(IC)的一种变体,它利用深度神经网络来近似概率程序中潜在变量的后验分布。现有IC网络架构的一个挑战是,它们可能无法对潜在变量之间的长期依赖关系进行建模。为了解决这个问题,我们引入了一个注意力机制,出席了最突出的变量,以前在执行概率程序。我们证明了注意力的加入可以使提案分布更好地匹配真实的后验分布,从而增强对模拟器中潜在变量的推断。

英文摘要:

We present a new approach to automatic amortized inference in universal probabilistic programs which improves performance compared to current methods. Our approach is a variation of inference compilation (IC) which leverages deep neural networks to approximate a posterior distribution over latent variables in a probabilistic program. A challenge with existing IC network architectures is that they can fail to model long-range dependencies between latent variables. To address this, we introduce an attention mechanism that attends to the most salient variables previously sampled in the execution of a probabilistic program. We demonstrate that the addition of attention allows the proposal distributions to better match the true posterior, enhancing inference about latent variables in simulators.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑