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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Yoon, Hee Suk, Tee, Joshua Tian Jin, Yoon, Eunseop, Yoon, Sunjae, Kim, Gwangsu, Li, Yingzhen, Yoo, Chang D.
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910300093022208
author Yoon, Hee Suk
Tee, Joshua Tian Jin
Yoon, Eunseop
Yoon, Sunjae
Kim, Gwangsu
Li, Yingzhen
Yoo, Chang D.
author_facet Yoon, Hee Suk
Tee, Joshua Tian Jin
Yoon, Eunseop
Yoon, Sunjae
Kim, Gwangsu
Li, Yingzhen
Yoo, Chang D.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2303_02472
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle ESD: Expected Squared Difference as a Tuning-Free Trainable Calibration Measure
Yoon, Hee Suk
Tee, Joshua Tian Jin
Yoon, Eunseop
Yoon, Sunjae
Kim, Gwangsu
Li, Yingzhen
Yoo, Chang D.
Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
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.
title ESD: Expected Squared Difference as a Tuning-Free Trainable Calibration Measure
topic Machine Learning
Artificial Intelligence
Computation and Language
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2303.02472