Typicalness-Aware Learning for Failure Detection

Yijun Liu, Jiequan Cui, Zhuotao Tian, Senqiao Yang, Qingdong He +2 more
2/3/2026

No official code found. Best implementation: liuyijungoon/TAL (4 stars, MIT, last commit 2024-12-30).

Abstract

Deep neural networks (DNNs) often suffer from the overconfidence issue, where incorrect predictions are made with high confidence scores, hindering the applications in critical systems. In this paper, we propose a novel approach called Typicalness-Aware Learning (TAL) to address this issue and improve failure detection performance. We observe that, with the cross-entropy loss, model predictions are optimized to align with the corresponding labels via increasing logit magnitude or refining logit direction. However, regarding atypical samples, the image content and their labels may exhibit disparities. This discrepancy can lead to overfitting on atypical samples, ultimately resulting in the overconfidence issue that we aim to address. To tackle the problem, we have devised a metric that quantifies the typicalness of each sample, enabling the dynamic adjustment of the logit magnitude during the training process. By allowing atypical samples to be adequately fitted while preserving reliable logit direction, the problem of overconfidence can be mitigated. TAL has been extensively evaluated on benchmark datasets, and the results demonstrate its superiority over existing failure detection methods. Specifically, TAL achieves a more than 5% improvement on CIFAR100 in terms of the Area Under the Risk-Coverage Curve (AURC) compared to the state-of-the-art. Code is available at https://github.com/liuyijungoon/TAL.

View on arXivView PDF

Code Implementations(1)

liuyijungoon/TALCommunity100%
MIT
40Shell, PythonOct 29, 20241 years agoMIT

Similar Papers

Cite this paper

@article{liu2026typicalnessaware,
  title  = {Typicalness-Aware Learning for Failure Detection},
  author = {Yijun Liu and Jiequan Cui and Zhuotao Tian and Senqiao Yang and Qingdong He and Xiaoling Wang and Jingyong Su},
  year   = {2026},
  eprint = {2411.01981},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2411.01981},
  url    = {https://arxiv.org/abs/2411.01981},
  journal = {NEURIPS 2024 2024}
}

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/2411.01981.svg)](https://codeofpaper.com/paper/2411.01981)

Discussion