arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.26419cs.LG
收藏

摊销因子推理网络用于后验推理

Amortized Factor Inference Networks for Posterior Inference

Manning College of Information and Computer Sciences(Manning信息与计算机科学学院);University of Massachusetts Amherst(马萨诸塞大学阿姆赫斯特分校)

Joohwan Ko, Justin Domke

AI总结:

提出摊销因子推理网络(AFINs),通过编码-合并-解码架构实现跨不同先验、似然和维度的后验推理泛化,在保持后验精度的同时大幅降低测试时计算量。

摘要:

摊销推理承诺快速的测试时贝叶斯推理,但现有方法固有地依赖于固定模型。将摊销扩展到未见过的模型通常需要重新训练或昂贵的测试时微调。在本文中,我们提出:是否可能构建一个能够跨不同先验、似然和维度进行泛化的单一推理网络?我们引入了摊销因子推理网络(AFINs),这是一类基于维度无关模块的编码-合并-解码推理网络,将模型规范及其观测映射到变分后验的参数。实验表明,单个训练好的AFIN在达到与NUTS和几种变分推理方法相当的后验精度的同时,测试时计算量减少了2到4个数量级。代码可在 https://github.com/joohwanko/AFINs 获取。

英文摘要:

Amortized inference promises fast test-time Bayesian inference, but existing methods typically target a fixed model or a restricted model family. Extending amortization to new model families often requires retraining or test-time fine-tuning. In this paper, we ask: is it possible to build a single inference network capable of generalizing across varying priors, likelihoods, latent dimensions, and observation counts? We introduce Amortized Factor Inference Networks (AFINs), which describe a model as a list of typed prior and likelihood factors and map this description, together with the observations, to a Gaussian posterior approximation through an encode--merge--decode network whose learned parameters do not depend on the latent dimension or the number of observations. Experiments on synthetic and real-data benchmarks show that a single trained AFIN provides competitive posterior approximations at substantially lower test-time cost than NUTS and per-task variational inference. Optional importance sampling can further improve accuracy.

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

↑