Reproduce “Tractable Function-Space Variational Inference in Bayesian Neural Networks” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Tim G. J. Rudner, Zonghao Chen, Yee Whye Teh, Yarin Gal

FSVI trains Bayesian neural networks to match distributions over input-to-output functions, using context inputs to shape uncertainty. It uses linearization and context sets. On FashionMNIST, KMNIST context improves out-of-distribution separation, measured by area under the receiver-operating-characteristic curve, over random-monochrome context. On CIFAR-10, detection scores are close to a deep ensemble, but accuracy is lower; benefits are task-dependent, not guaranteed.

Key insights

  • Function-space inference provides a more principled and interpretable way to define prior distributions, directly reflecting desired functional properties rather than abstract parameter values.
  • Local linearization combined with selective covariance computation and Monte Carlo estimation of context points can effectively make function-space variational inference tractable and scalable for complex deep learning models.
  • Leveraging carefully chosen context distributions during training can significantly improve a model's ability to detect out-of-distribution inputs and yield well-calibrated uncertainty estimates, enhancing AI reliability.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.