Rethinking Early Stopping: Refine, Then Calibrate

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Berta, Eugène, Holzmüller, David, Jordan, Michael I., Bach, Francis
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915357923475456
author Berta, Eugène
Holzmüller, David
Jordan, Michael I.
Bach, Francis
author_facet Berta, Eugène
Holzmüller, David
Jordan, Michael I.
Bach, Francis
contents Machine learning classifiers often produce probabilistic predictions that are critical for accurate and interpretable decision-making in various domains. The quality of these predictions is generally evaluated with proper losses, such as cross-entropy, which decompose into two components: calibration error assesses general under/overconfidence, while refinement error measures the ability to distinguish different classes. In this paper, we present a novel variational formulation of the calibration-refinement decomposition that sheds new light on post-hoc calibration, and enables rapid estimation of the different terms. Equipped with this new perspective, we provide theoretical and empirical evidence that calibration and refinement errors are not minimized simultaneously during training. Selecting the best epoch based on validation loss thus leads to a compromise point that is suboptimal for both terms. To address this, we propose minimizing refinement error only during training (Refine,...), before minimizing calibration error post hoc, using standard techniques (...then Calibrate). Our method integrates seamlessly with any classifier and consistently improves performance across diverse classification tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2501_19195
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Rethinking Early Stopping: Refine, Then Calibrate
Berta, Eugène
Holzmüller, David
Jordan, Michael I.
Bach, Francis
Machine Learning
Artificial Intelligence
Machine learning classifiers often produce probabilistic predictions that are critical for accurate and interpretable decision-making in various domains. The quality of these predictions is generally evaluated with proper losses, such as cross-entropy, which decompose into two components: calibration error assesses general under/overconfidence, while refinement error measures the ability to distinguish different classes. In this paper, we present a novel variational formulation of the calibration-refinement decomposition that sheds new light on post-hoc calibration, and enables rapid estimation of the different terms. Equipped with this new perspective, we provide theoretical and empirical evidence that calibration and refinement errors are not minimized simultaneously during training. Selecting the best epoch based on validation loss thus leads to a compromise point that is suboptimal for both terms. To address this, we propose minimizing refinement error only during training (Refine,...), before minimizing calibration error post hoc, using standard techniques (...then Calibrate). Our method integrates seamlessly with any classifier and consistently improves performance across diverse classification tasks.
title Rethinking Early Stopping: Refine, Then Calibrate
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2501.19195