FiLM-Ensemble: Probabilistic Deep Learning via Feature-wise Linear Modulation

Mehmet Ozgur Turkoglu, Alexander Becker, Hüseyin Anil Gündüz, Mina Rezaei, Bernd Bischl +4 more
5/31/2022
cs.LG

Official code: prs-eth/FILM-Ensemble (28 stars, Python, MIT, PyTorch, last commit 2022-12-19).

Abstract

The ability to estimate epistemic uncertainty is often crucial when deploying machine learning in the real world, but modern methods often produce overconfident, uncalibrated uncertainty predictions. A common approach to quantify epistemic uncertainty, usable across a wide class of prediction models, is to train a model ensemble.

Show full abstract

In a naive implementation, the ensemble approach has high computational cost and high memory demand. This challenges in particular modern deep learning, where even a single deep network is already demanding in terms of compute and memory, and has given rise to a number of attempts to emulate the model ensemble without actually instantiating separate ensemble members. We introduce FiLM-Ensemble, a deep, implicit ensemble method based on the concept of Feature-wise Linear Modulation (FiLM). That technique was originally developed for multi-task learning, with the aim of decoupling different tasks. We show that the idea can be extended to uncertainty quantification: by modulating the network activations of a single deep network with FiLM, one obtains a model ensemble with high diversity, and consequently well-calibrated estimates of epistemic uncertainty, with low computational overhead in comparison. Empirically, FiLM-Ensemble outperforms other implicit ensemble methods, and it and comes very close to the upper bound of an explicit ensemble of networks (sometimes even beating it), at a fraction of the memory cost.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

[NeurIPS 2022] FiLM-Ensemble: Probabilistic Deep Learning via Feature-wise Linear Modulation

282PythonSep 29, 20223 years agoMIT
calibrationcifar10cifar100deep-learningece+8 more

Similar Papers

Cite this paper

@article{turkoglu2022filmensemble,
  title  = {FiLM-Ensemble: Probabilistic Deep Learning via Feature-wise Linear Modulation},
  author = {Mehmet Ozgur Turkoglu and Alexander Becker and Hüseyin Anil Gündüz and Mina Rezaei and Bernd Bischl and Rodrigo Caye Daudt and Stefano D'Aronco and Jan Dirk Wegner and Konrad Schindler},
  year   = {2022},
  eprint = {2206.00050},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.00050}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.00050.svg)](https://codeofpaper.com/paper/2206.00050)

Discussion