Consistency-Guided Temperature Scaling Using Style and Content Information for Out-of-Domain Calibration

Wonjeong Choi, Jungwuk Park, Dong-Jun Han, Younghyun Park, Jaekyun Moon
2/22/2024
cs.LGcs.AIstat.ML

No official code found. Best implementation: wonjeongchoi/CTS (0 stars, last commit 2024-06-24).

Abstract

Research interests in the robustness of deep neural networks against domain shifts have been rapidly increasing in recent years. Most existing works, however, focus on improving the accuracy of the model, not the calibration performance which is another important requirement for trustworthy AI systems. Temperature scaling (TS), an accuracy-preserving post-hoc calibration method, has been proven to be effective in in-domain settings, but not in out-of-domain (OOD) due to the difficulty in obtaining a validation set for the unseen domain beforehand. In this paper, we propose consistency-guided temperature scaling (CTS), a new temperature scaling strategy that can significantly enhance the OOD calibration performance by providing mutual supervision among data samples in the source domains. Motivated by our observation that over-confidence stemming from inconsistent sample predictions is the main obstacle to OOD calibration, we propose to guide the scaling process by taking consistencies into account in terms of two different aspects -- style and content -- which are the key components that can well-represent data samples in multi-domain settings. Experimental results demonstrate that our proposed strategy outperforms existing works, achieving superior OOD calibration performance on various datasets. This can be accomplished by employing only the source domains without compromising accuracy, making our scheme directly applicable to various trustworthy AI systems.

View on arXivView PDF

Code Implementations(1)

wonjeongchoi/CTSCommunity100%

Official implementation for paper titled "Consistency-Guided Temperature Scaling Using Style and Content Information for Out-of-Domain Calibration" accepted at AAAI 2024

00Dec 19, 20232 years ago

Similar Papers

Cite this paper

@article{choi2024consistencyguided,
  title  = {Consistency-Guided Temperature Scaling Using Style and Content Information for Out-of-Domain Calibration},
  author = {Wonjeong Choi and Jungwuk Park and Dong-Jun Han and Younghyun Park and Jaekyun Moon},
  year   = {2024},
  eprint = {2402.15019},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.15019v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.15019.svg)](https://codeofpaper.com/paper/2402.15019)

Discussion