metabeta -- A fast neural model for Bayesian mixed-effects regression
2510.07473v1
cs.LG, stat.ML, 62J05, 62F15, 68T07, I.2.6; G.3
2025-10-11
Авторы:
Alex Kipnis, Marcel Binz, Eric Schulz
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
transformer-based 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.