Amortized Factor Inference Networks for Posterior Inference

Joohwan Ko, Justin Domke
5/26/2026
cs.LG
bayesian

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ko2026amortized,
  title  = {Amortized Factor Inference Networks for Posterior Inference},
  author = {Joohwan Ko and Justin Domke},
  year   = {2026},
  eprint = {2605.26419},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.26419v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.26419.svg)](https://codeofpaper.com/paper/2605.26419)

Discussion