LGSTMLJun 6, 2024

Reassessing How to Compare and Improve the Calibration of Machine Learning Models

arXiv:2406.04068v25 citations
Originality Incremental advance
AI Analysis

This work addresses a critical issue in evaluating model calibration for researchers and practitioners, highlighting pitfalls in existing literature and offering tools for more robust assessment.

The paper reassesses calibration metric reporting in machine learning, showing that trivial recalibration methods can appear state-of-the-art without proper generalization metrics, and introduces a new visualization to detect calibration-generalization trade-offs.

A machine learning model is calibrated if its predicted probability for an outcome matches the observed frequency for that outcome conditional on the model prediction. This property has become increasingly important as the impact of machine learning models has continued to spread to various domains. As a result, there are now a dizzying number of recent papers on measuring and improving the calibration of (specifically deep learning) models. In this work, we reassess the reporting of calibration metrics in the recent literature. We show that there exist trivial recalibration approaches that can appear seemingly state-of-the-art unless calibration and prediction metrics (i.e. test accuracy) are accompanied by additional generalization metrics such as negative log-likelihood. We then use a calibration-based decomposition of Bregman divergences to develop a new extension to reliability diagrams that jointly visualizes calibration and generalization error, and show how our visualization can be used to detect trade-offs between calibration and generalization. Along the way, we prove novel results regarding the relationship between full calibration error and confidence calibration error for Bregman divergences. We also establish the consistency of the kernel regression estimator for calibration error used in our visualization approach, which generalizes existing consistency results in the literature.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes