English

metabeta -- A fast neural model for Bayesian mixed-effects regression

Machine Learning 2026-02-05 v2 Machine Learning

Abstract

Hierarchical data with multiple observations per group is ubiquitous in empirical sciences and is often analyzed using mixed-effects regression. In such models, Bayesian inference gives an estimate of uncertainty but is analytically intractable and requires costly approximation using Markov Chain Monte Carlo (MCMC) methods. Neural posterior estimation shifts the bulk of computation from inference time to pre-training time, amortizing over simulated datasets with known ground truth targets. We propose metabeta, a neural network model for Bayesian mixed-effects regression. Using simulated and real data, we show that it reaches stable and comparable performance to MCMC-based parameter estimation at a fraction of the usually required time, enabling new use cases for Bayesian mixed-effects modeling.

Keywords

Cite

@article{arxiv.2510.07473,
  title  = {metabeta -- A fast neural model for Bayesian mixed-effects regression},
  author = {Alex Kipnis and Marcel Binz and Eric Schulz},
  journal= {arXiv preprint arXiv:2510.07473},
  year   = {2026}
}

Comments

19 pages, 9 main text, 8 figures

R2 v1 2026-07-01T06:25:00.038Z