[Paper Review] FiLM-Ensemble: Probabilistic Deep Learning via Feature-wise Linear Modulation
FiLM-Ensemble proposes a computationally efficient, implicit deep ensemble method for probabilistic deep learning by using feature-wise linear modulation (FiLM) to create diverse model members within a single network. By modulating activations with learnable parameters, it achieves uncertainty estimates nearly matching explicit ensembles while using a fraction of the memory and compute, outperforming other implicit ensemble methods in calibration and predictive performance.
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. 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.
Motivation & Objective
- To address the high computational and memory cost of explicit deep ensembles in real-world deployment.
- To improve uncertainty calibration in deep neural networks without increasing inference or training overhead significantly.
- To explore whether feature-wise linear modulation (FiLM), originally used in multi-task learning, can implicitly create diverse, well-calibrated model members.
- To develop a method that matches or exceeds the performance of explicit ensembles while drastically reducing resource demands.
Proposed method
- The method uses a single shared deep neural network with multiple FiLM modules, each applying learnable scale and shift parameters to activations.
- Each FiLM module acts as an independent model member, generating diverse predictions through distinct modulation parameters.
- All network weights are shared across members, while only the FiLM parameters are trained separately per member, minimizing additional parameters.
- The ensemble is formed by aggregating predictions from multiple FiLM-modulated forward passes, each with different modulation vectors.
- The approach enables Monte Carlo sampling over model space implicitly, without storing or computing separate networks.
- The method is compatible with standard training procedures and can be applied to various architectures, including ResNets.
Experimental results
Research questions
- RQ1Can feature-wise linear modulation (FiLM) be used to implicitly create a diverse ensemble of deep neural networks with minimal computational overhead?
- RQ2How does the uncertainty calibration of FiLM-Ensemble compare to explicit deep ensembles and other implicit ensemble methods?
- RQ3To what extent can FiLM-Ensemble match or surpass the predictive performance and uncertainty calibration of explicit ensembles while using significantly less memory and compute?
- RQ4Does the use of FiLM for ensemble creation generalize across different architectures and datasets?
Key findings
- FiLM-Ensemble achieves uncertainty calibration and predictive performance that is on par with or even exceeds that of explicit deep ensembles, particularly on image classification benchmarks.
- The method reduces memory cost by a factor of 16 compared to an explicit ensemble of 16 networks, while maintaining or improving calibration metrics.
- On CIFAR-10 and CIFAR-100, FiLM-Ensemble outperforms other implicit ensemble methods such as BatchEnsemble and MIMO in both accuracy and uncertainty calibration.
- The model demonstrates strong generalization under distribution shift, with uncertainty estimates that reliably reflect prediction error rates.
- The method shows robustness across different network architectures, including ResNet-18, and maintains high diversity among ensemble members through FiLM modulation.
- Empirical results show that FiLM-Ensemble can achieve better epistemic uncertainty estimates than explicit ensembles in some settings, suggesting potential advantages in model diversity and generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.