Mix-N-Match : Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learning

Abstract

This paper studies the problem of post-hoc calibration of machine learning classifiers. We introduce the following desiderata for uncertainty calibration: (a) accuracy-preserving, (b) data-efficient, and (c) high expressive power. We show that none of the existing methods satisfy all three requirements, and demonstrate how Mix-n-Match calibration strategies (i.e., ensemble and composition) can help achieve remarkably better data-efficiency and expressive power while provably maintaining the classification accuracy of the original classifier. Mix-n-Match strategies are generic in the sense that they can be used to improve the performance of any off-the-shelf calibrator. We also reveal potential issues in standard evaluation practices. Popular approaches (e.g., histogram-based expected calibration error (ECE)) may provide misleading results especially in small-data regime. Therefore, we propose an alternative data-efficient kernel density-based estimator for a reliable evaluation of the calibration performance and prove its asymptotically unbiasedness and consistency. Our approaches outperform state-of-the-art solutions on both the calibration as well as the evaluation tasks in most of the experimental settings. Our codes are available at https://github.com/zhang64- llnl/Mix-n-Match-Calibration.

Cite

Text

Zhang et al. "Mix-N-Match : Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learning." International Conference on Machine Learning, 2020.

Markdown

[Zhang et al. "Mix-N-Match : Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learning." International Conference on Machine Learning, 2020.](https://mlanthology.org/icml/2020/zhang2020icml-mixnmatch/)

BibTeX

@inproceedings{zhang2020icml-mixnmatch,
  title     = {{Mix-N-Match : Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learning}},
  author    = {Zhang, Jize and Kailkhura, Bhavya and Han, T. Yong-Jin},
  booktitle = {International Conference on Machine Learning},
  year      = {2020},
  pages     = {11117-11128},
  volume    = {119},
  url       = {https://mlanthology.org/icml/2020/zhang2020icml-mixnmatch/}
}