Rethinking Early Stopping: Refine, Then Calibrate
cs.LG, cs.AI
Submitted: 2025-01-31
Updated: 2026-12-03
Comments: Accepted at SIAM Journal on Mathematics of Data Science (SIMODS)
Code: https://github.com/dholzmueller/probmetrics
License: http://creativecommons.org/licenses/by/4.0/
The gist: Machine learning classifiers often produce probabilistic predictions that are critical for accurate and interpretable decision-making in various domains.
Terminology
Abstract
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.
Sources
- Post-Hoc Reversal: Are We Selecting Models Prematurely?
- The Murphy Decomposition and the Calibration-Resolution Principle: A New Perspective on Forecast Evaluation
- Evaluating Posterior Probabilities: Decision Theory, Proper Scoring Rules, and Calibration
- Reassessing How to Compare and Improve the Calibration of Machine Learning Models
- The Calibration Generalization Gap
- AutoGluon-Tabular: Robust and Accurate AutoML for Structured Data
- Wide Residual Networks
- Improved Regularization of Convolutional Neural Networks with Cutout
- A Closer Look at Deep Learning Methods on Tabular Datasets
- The Hyperfitting Phenomenon: Sharpening and Stabilizing LLMs for Open-Ended Text Generation
- Line Search for Convex Minimization
Related papers
- Biologically Inspired Coordination of Parameter Selection and Update Strength for Language Model Adaptation
- Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerability
- The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning
- On the notion of missingness for path attribution explainability methods in medical settings: Guiding the selection of medically meaningful baselines
- Variable-Length Generative Protein Design via Generalized Poisson Flow
- UniCon: Unified Framework for Efficient Contrastive Alignment via Kernels