Metraipolis › archive › dc_afd7b7e458b1

Prior-Amortized In-Context Bayesian Inference for Generalized Linear Mixed-Effects Models — arXiv:2609.24422

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.24422
License (as archived)
CC0-1.0
Archived
2026-10-09T07:07:45.873Z
SHA-256 of the archived text
1be653d792b612051237bdf18f08770391caa6fbd2b99ccb9f32c112326663c1
Stable URL of this page
https://metraipolis.com/documento/dc_afd7b7e458b1

How to cite

Prior-Amortized In-Context Bayesian Inference for Generalized Linear Mixed-Effects Models — arXiv:2609.24422 — arXiv (en), https://arxiv.org/abs/2609.24422 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_afd7b7e458b1 (Metraipolis archive dc_afd7b7e458b1, sha256 1be653d792b612051237bdf18f08770391caa6fbd2b99ccb9f32c112326663c1)
BibTeX
@misc{dcafd7b7e458b1,
  title = {Prior-Amortized In-Context Bayesian Inference for Generalized Linear Mixed-Effects Models — arXiv:2609.24422},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.24422},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_afd7b7e458b1; sha256 1be653d792b612051237bdf18f08770391caa6fbd2b99ccb9f32c112326663c1},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.24422. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Hierarchical data is ubiquitous in the empirical sciences and is most commonly analyzed with generalized linear mixed-effects models (GLMMs). Bayesian inference for GLMMs yields calibrated uncertainty but requires MCMC; the No-U-Turn Sampler (NUTS) is the gold standard but is slow and must restart from scratch for every new dataset, model and prior. We introduce metabeta, a pretrained neural network for prior-amortized in-context Bayesian inference over GLMMs. Unlike previous neural posterior estimators that fix the prior at training time, metabeta accepts prior families and hyperparameters as inputs at test time, enabling zero-shot generalization. Two set transformers and conditional normalizing flows mirror the posterior's two-level structure (global parameters shared across groups, local parameters per group). The model is trained on millions of realistic simulated datasets spanning continuous, binary, and count outcomes. By default, the flow posterior is refined by Independence Metropolis-Hastings against the unnormalized posterior, so its correctness rests on the sampler rather than the network; this yields tuning-free inference two to three orders of magnitude faster than NUTS. Alternatively, the flow can warm-start NUTS, giving nearly identical inference with substantially increased speed and stability. On controlled benchmarks with ground-truth parameters, metabeta matches NUTS in parameter recovery, calibration and out-of-sample prediction. On out-of-distribution real datasets, its posteriors closely match those of NUTS across all parameter types, and they remain faithful under misspecified likelihoods and priors, out-of-distribution predictors, collinear designs, and data-poor regimes. The model is open-source and open-weights and thus immediately deployable.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-22 in cs.LG).
Categorie arXiv: Machine Learning (cs.LG) ; Machine Learning (stat.ML).
Pagina del lavoro: https://arxiv.org/abs/2609.24422 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-09T06:58:09.415Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-22?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).