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

近似概率推理的基础后验

Foundation Posteriors for Approximate Probabilistic Inference

Stanford University(斯坦福大学)

Mike Wu, Noah Goodman

摘要:

概率程序为生成模型提供了一种表达性的表示语言。给定一个概率程序,我们对后验推理的任务感兴趣:在给定一组观测变量的情况下估计一个潜在变量。用于概率程序中的推理的现有技术通常需要选择许多超参数,在计算上是昂贵的,和/或仅适用于有限类别的程序。在这里,我们将推理公式化为掩码语言建模:给定一个程序,我们生成一个变量和赋值的监督数据集,并随机掩码赋值的子集。然后,我们训练一个神经网络来揭开随机值,定义一个近似的后验分布。通过在一系列程序中优化单个神经网络,我们分摊了训练成本,产生了一个“基础”后验模型,能够为新程序进行zero-shot推理。基础后验也可以通过优化变分推理目标来针对特定程序和数据集进行微调。我们在STAN程序的基准测试中展示了该方法(zero-shot和微调)的有效性。

英文摘要:

Probabilistic programs provide an expressive representation language for generative models. Given a probabilistic program, we are interested in the task of posterior inference: estimating a latent variable given a set of observed variables. Existing techniques for inference in probabilistic programs often require choosing many hyper-parameters, are computationally expensive, and/or only work for restricted classes of programs. Here we formulate inference as masked language modeling: given a program, we generate a supervised dataset of variables and assignments, and randomly mask a subset of the assignments. We then train a neural network to unmask the random values, defining an approximate posterior distribution. By optimizing a single neural network across a range of programs we amortize the cost of training, yielding a "foundation" posterior able to do zero-shot inference for new programs. The foundation posterior can also be fine-tuned for a particular program and dataset by optimizing a variational inference objective. We show the efficacy of the approach, zero-shot and fine-tuned, on a benchmark of STAN programs.

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

↑