Deep Probabilistic Ensembles: Approximate Variational Inference through KL Regularization

Kashyap Chitta, José M. Álvarez, Adam LesnikowskiarXiv 2018

Abstract

Deep Probabilistic Ensembles (DPEs) provide a scalable framework for uncertainty estimation by integrating the training efficiency of deep ensembles with the theoretical foundations of Bayesian Neural Networks (BNNs). By incorporating a novel KL divergence regularization term into the ensemble objective, DPEs constrain ensemble members to function as approximate samples from a true posterior distribution. This approach significantly enhances performance in active learning tasks, achieving high accuracy with substantially reduced labeled data requirements.

Introduction

Standard deep learning models are frequently criticized for being "overconfident," providing point predictions without a reliable measure of uncertainty. While Bayesian Neural Networks (BNNs) offer a principled solution by treating weights as probability distributions, they are often difficult to optimize and computationally demanding. Practitioners typically favor deep ensembles as a scalable alternative; however, ensembles lack a formal Bayesian interpretation, and their variance may not accurately reflect true model uncertainty. Deep Probabilistic Ensembles (DPEs) address this gap by grounding ensemble training in Variational Inference (VI), offering the benefits of BNNs without sacrificing scalability.

Methodology

The core innovation of DPEs is a training objective derived from the Evidence Lower Bound (ELBO) in Variational Inference. Unlike standard ensembles that rely on random initialization for diversity, DPEs apply a KL divergence penalty to the collective distribution of parameters across all ensemble members.

Assuming a Gaussian distribution for the weights, the authors derive an analytical regularization term ($\Omega$) that serves three primary roles:

  1. Variance Control: It prevents excessive variance between ensemble members.
  2. Diversity Promotion: It penalizes variances that are too small, forcing members to explore different regions of the parameter space.
  3. Prior Alignment: It keeps the mean of the weights close to a specified prior, analogous to weight decay.

This framework allows each ensemble member to develop independent internal co-adaptations while remaining tethered to a collective posterior distribution. The implementation remains highly parallelizable and compatible with standard deep learning architectures, such as the ResNet-18 models used in the study.

Experimental Results

The performance of DPEs was evaluated on the CIFAR-10 and CIFAR-100 benchmarks within an active learning context. Starting with a small labeled seed (4%), the models iteratively selected the most informative samples for labeling based on uncertainty estimates.

Performance Across Data Budgets

DPEs consistently outperformed both random sampling and standard ensembles across various annotation budgets. As shown in the table below, DPEs achieved superior accuracy on both CIFAR-10 and CIFAR-100 at 8%, 16%, and 32% data levels.

Accuracy comparison on CIFAR-10 and CIFAR-100 across different data sampling budgets.

Comparison with State-of-the-Art

When compared to other active learning techniques like Core-set selection and standard deterministic networks, DPEs demonstrated remarkable data efficiency. On CIFAR-10, with only 20% of the training data labeled, DPEs reached an accuracy of 92%, significantly higher than the 74% achieved by Core-set and the 87.5% of a deterministic network. Notably, DPEs achieved 96.3% of the relative performance of a model trained on 100% of the data using only a fifth of the labels.

Comparison of DPE against state-of-the-art methods in active learning performance.

Discussion and Conclusion

DPEs represent a significant step toward practical Bayesian deep learning. By explicitly baking diversity into the loss function, the method ensures that ensemble members provide more reliable uncertainty estimates for downstream tasks like active learning. While DPEs require more computational resources than single models due to the ensemble size, they offer a more robust and theoretically grounded alternative to standard ensembles.

Future research may extend this approach to other domains requiring precise uncertainty quantification, such as out-of-distribution detection, safety-critical robotics, and medical imaging. The current results suggest that DPEs are a powerful tool for maximizing model performance in data-constrained environments.

Summary updated

BibTeX
@misc{chitta2018deep,
  author = {Kashyap Chitta and José M. Álvarez and Adam Lesnikowski},
  title = {{Deep Probabilistic Ensembles: Approximate Variational Inference through KL Regularization}},
  year = {2018},
  eprint = {1811.02640},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.02640},
}
Figure