Papers › Typicalness-Aware Learning for Failure Detection

Typicalness-Aware Learning for Failure Detection

4 Nov 2024arXiv:2411.01981archive 2025-07-28

Yijun Liu, Jiequan Cui, Zhuotao Tian, Senqiao Yang, Qingdong He, Xiaoling Wang, Jingyong Su

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2411.01981")

Code

Syntology Ran 7 of 12 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · honoured contract; 2 ran · our draft was wrong; 2 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

liuyijungoon/tal officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 7 ran; 2 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
2ran · our draft was wrong
2ran · fixture could not drive it
1ran
5unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from liuyijungoon/tal. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

sigmoid_rampup liuyijungoon/tal/trainer/train_TAL.py official repository ran · honoured contract fingerprinted MIT (permissive) · 3fb68ed6809a8085 · report
AverageMeter liuyijungoon/tal/trainer/train_TAL.py official repository ran MIT (permissive) · e2ff478922f1aa7e · report
ConvMixer liuyijungoon/TAL/model/convmixer.py official repository ran · our draft was wrong MIT (permissive) · a7690d61376264fc · report
accuracy liuyijungoon/tal/trainer/train_TAL.py official repository ran · fixture could not drive it MIT (permissive) · 67a13c0cb19afb83 · report
conv3x3 liuyijungoon/TAL/model/resnet.py official repository ran · our draft was wrong MIT (permissive) · 6af95ebe99af2e36 · report
get_current_consistency_weight liuyijungoon/tal/trainer/train_TAL.py official repository ran · honoured contract fingerprinted MIT (permissive) · 93b5d8a8dc36d1ca · report
pca_torch liuyijungoon/tal/trainer/train_TAL.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 225bd91e98982a6f · report
ResNet18 liuyijungoon/TAL/model/resnet18.py official repository unverified MIT (permissive) · f72c08537f7bcb61 · report
ResNet50 liuyijungoon/TAL/model/resnet18.py official repository unverified MIT (permissive) · fe6282e5693bcf7f · report
efficientnet liuyijungoon/TAL/model/efficientnet.py official repository unverified MIT (permissive) · 4fa7bc5b18c28b84 · report
mobilenet liuyijungoon/TAL/model/mobilenet.py official repository unverified MIT (permissive) · 9b3e549e56ca87bb · report
train liuyijungoon/tal/trainer/train_TAL.py official repository unverified MIT (permissive) · 1c7f6c7e81a98693 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections