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

Jize Zhang, Bhavya Kailkhura, T. Yong-Jin Han
3/16/2020
cs.LGstat.ML

Official code: zhang64-llnl/Mix-n-Match-Calibration (38 stars, Python, MIT, last commit 2020-11-13).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT
384PythonJun 22, 20206 years agoMIT

Similar Papers

Cite this paper

@article{zhang2020mixnmatch,
  title  = {Mix-n-Match: Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learning},
  author = {Jize Zhang and Bhavya Kailkhura and T. Yong-Jin Han},
  year   = {2020},
  eprint = {2003.07329},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.07329}
}

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/2003.07329.svg)](https://codeofpaper.com/paper/2003.07329)

Discussion