Modular Bayesian Foundation Models: Bayesian time series encoders for OOD detection, routing and forecasting
Mame Diarra ToureQuang Hung PhamMohamed Ryad ZemouriDavid StephensLuc VoulignyMartin Gagnon
Mame Diarra Toure
Quang Hung Pham
Mohamed Ryad Zemouri
David Stephens
Luc Vouligny
Martin Gagnon
+6
This paper proposes a modular foundation model framework for industrial time series that combines end-to-end Bayesian encoder training with uncertainty-based routing. Using Singular Bayesian Neural Networks, it builds compact Bayesian encoders whose epistemic uncertainty enables label-free expert selection, reducing storage by 63.8% versus deterministic counterparts. Across seven datasets, uncertainty-based routing performs comparably to distance-based routing in forecast MSE while lowering average ECE and NLL and raising PICP90. A model-family comparison shows the SBNN pipeline achieves competitive MSE with far fewer parameters than Bayes by Backprop, deep ensembles, and MC Dropout.

arXiv ·
· October 28, 2026