LGAICLCVMar 4, 2023

ESD: Expected Squared Difference as a Tuning-Free Trainable Calibration Measure

arXiv:2303.02472v215 citationsh-index: 22Has Code
AI Analysis

This addresses calibration issues for users of neural networks, offering a more efficient and effective method compared to existing hyperparameter-dependent approaches, though it is incremental in the context of trainable calibration measures.

The paper tackles the problem of poor calibration in neural networks by introducing Expected Squared Difference (ESD), a tuning-free trainable calibration objective loss, which improves model calibration across various architectures and datasets without hyperparameter tuning, yielding the best-calibrated results and reducing computational costs.

Studies have shown that modern neural networks tend to be poorly calibrated due to over-confident predictions. Traditionally, post-processing methods have been used to calibrate the model after training. In recent years, various trainable calibration measures have been proposed to incorporate them directly into the training process. However, these methods all incorporate internal hyperparameters, and the performance of these calibration objectives relies on tuning these hyperparameters, incurring more computational costs as the size of neural networks and datasets become larger. As such, we present Expected Squared Difference (ESD), a tuning-free (i.e., hyperparameter-free) trainable calibration objective loss, where we view the calibration error from the perspective of the squared difference between the two expectations. With extensive experiments on several architectures (CNNs, Transformers) and datasets, we demonstrate that (1) incorporating ESD into the training improves model calibration in various batch size settings without the need for internal hyperparameter tuning, (2) ESD yields the best-calibrated results compared with previous approaches, and (3) ESD drastically improves the computational costs required for calibration during training due to the absence of internal hyperparameter. The code is publicly accessible at https://github.com/hee-suk-yoon/ESD.

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