Optimizing Estimators of Squared Calibration Errors in Classification
Abstract
In this work, we propose a mean-squared error-based risk that enables the comparison and optimization of estimators of squared calibration errors in practical settings. Improving the calibration of classifiers is crucial for enhancing the trustworthiness and interpretability of machine learning models, especially in sensitive decision-making scenarios. Although various calibration (error) estimators exist in the current literature, there is a lack of guidance on selecting the appropriate estimator and tuning its hyperparameters. By leveraging the bilinear structure of squared calibration errors, we reformulate calibration estimation as a regression problem with independent and identically distributed (i.i.d.) input pairs. This reformulation allows us to quantify the performance of different estimators even for the most challenging calibration criterion, known as canonical calibration. Our approach advocates for a training-validation-testing pipeline when estimating a calibration error on an evaluation dataset. We demonstrate the effectiveness of our pipeline by optimizing existing calibration estimators and comparing them with novel kernel ridge regression-based estimators on standard image classification tasks.
Cite
Text
Gruber and Bach. "Optimizing Estimators of Squared Calibration Errors in Classification." Transactions on Machine Learning Research, 2025.Markdown
[Gruber and Bach. "Optimizing Estimators of Squared Calibration Errors in Classification." Transactions on Machine Learning Research, 2025.](https://mlanthology.org/tmlr/2025/gruber2025tmlr-optimizing/)BibTeX
@article{gruber2025tmlr-optimizing,
title = {{Optimizing Estimators of Squared Calibration Errors in Classification}},
author = {Gruber, Sebastian Gregor and Bach, Francis R.},
journal = {Transactions on Machine Learning Research},
year = {2025},
url = {https://mlanthology.org/tmlr/2025/gruber2025tmlr-optimizing/}
}