Input Adaptive Bayesian Model Averaging
Yuli Slavutsky, Sebastian Salazar, David M. Blei
TL;DR
IA-BMA reframes model averaging as input-dependent Bayesian model selection, enabling per-input weighting of multiple predictors. It introduces an input-adaptive prior using an energy-based formulation and learns an amortized variational posterior to estimate $p(J=j|D,x)$, yielding a Bayes-optimal input-specific mixture $p(y|x,D)=\sum_j f_j(y|x)\,p(J(x)=j|D,x)$. Theoretical results establish strong likelihood-type guarantees for the posterior-weights predictor relative to any per-input single model, with penalties vanishing as the posterior sharpens. Empirically, IA-BMA improves accuracy and calibration across regression and classification tasks, including personalized cancer drug response, credit-card fraud detection, and standard UCI benchmarks, outperforming both non-adaptive baselines and existing adaptive methods. The approach is scalable, provides principled uncertainty quantification, and offers practical benefits for heterogeneous data settings.
Abstract
This paper studies prediction with multiple candidate models, where the goal is to combine their outputs. This task is especially challenging in heterogeneous settings, where different models may be better suited to different inputs. We propose input adaptive Bayesian Model Averaging (IA-BMA), a Bayesian method that assigns model weights conditional on the input. IA-BMA employs an input adaptive prior, and yields a posterior distribution that adapts to each prediction, which we estimate with amortized variational inference. We derive formal guarantees for its performance, relative to any single predictor selected per input. We evaluate IABMA across regression and classification tasks, studying data from personalized cancer treatment, credit-card fraud detection, and UCI datasets. IA-BMA consistently delivers more accurate and better-calibrated predictions than both non-adaptive baselines and existing adaptive methods.
