Skip to main content
QUICK REVIEW

[Paper Review] Mix-n-Match: Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learning

Jize Zhang, Bhavya Kailkhura|arXiv (Cornell University)|Mar 16, 2020
Anomaly Detection Techniques and ApplicationsComputer Science47 citations
TL;DR

This paper introduces Mix-n-Match calibration strategies that combine ensemble and composition techniques to achieve accurate, data-efficient, and expressive post-hoc calibration for deep classifiers, along with a data-efficient KDE-based evaluation method.

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.

Motivation & Objective

  • Define desiderata for uncertainty calibration (accuracy-preserving, data-efficient, expressive).
  • Propose Mix-n-Match strategies (ensemble and composition) that enhance calibration performance while preserving accuracy.
  • Develop a data-efficient kernel density estimator (KDE) for reliable calibration evaluation.
  • Demonstrate empirically that Mix-n-Match outperforms state-of-the-art calibration methods across datasets and models.

Proposed method

  • Introduce accuracy-preserving calibration maps based on a strictly isotonic function applied to predictions.
  • Propose parametric ensemble calibration (Ensemble Temperature Scaling, ETS) to increase expressivity while preserving accuracy and data-efficiency.
  • Develop a non-parametric multi-class isotonic regression with data ensemble (IRM) to improve data-efficiency and maintain accuracy.
  • Combine parametric and non-parametric calibrators compositionally (IROvA-TS) to leverage both strengths.
  • Provide KDE-based ECE estimator for reliable, data-efficient calibration evaluation with asymptotic unbiasedness and consistency.
  • Offer a dimensionality-independent calibration gain metric for robust method ranking.

Experimental results

Research questions

  • RQ1Can calibration methods preserve classifier accuracy while improving calibration quality and data efficiency?
  • RQ2How can ensemble and composition strategies be designed to enhance expressivity without sacrificing accuracy?
  • RQ3Is a data-efficient KDE-based estimator reliable for evaluating calibration, especially in small data regimes?
  • RQ4Does a hybrid parametric-nonparametric approach outperform existing methods across common benchmarks?

Key findings

  • Mix-n-Match strategies yield improved data-efficiency and expressivity while provably preserving accuracy across multiple datasets and model architectures.
  • Ensemble Temperature Scaling (ETS) enhances expressivity over standard Temperature Scaling (TS) with only two additional parameters, maintaining accuracy-preserving properties.
  • Multi-class isotonic regression with data ensemble (IRM) improves data efficiency and preserves accuracy compared to one-vs-all isotonic approaches.
  • Compositional method (IROvA-TS) combines non-parametric calibration with a TS baseline to achieve both accuracy preservation and improved calibration.
  • A KDE-based ECE estimator outperforms histogram-based estimators, particularly in small-sample regimes, and is proven asymptotically unbiased and consistent.
  • Experimental results on CIFAR-10/100 and ImageNet show Mix-n-Match methods achieving better calibration gains and comparable or superior accuracy relative to baselines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.