paper-with-me

Papers

A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attacks

2018-07-10 · NeurIPS 2018 12 · Kimin Lee, Kibok Lee, Honglak Lee, Jinwoo Shin

Detecting test samples drawn sufficiently far away from the training distribution statistically or adversarially is a fundamental requirement for deploying a good classifier in many real-world machine learning applications. However, deep neural networks with the softmax classifier are known to produce highly overconfident posterior distributions even for such abnormal samples. In this paper, we propose a simple yet effective method for detecting any abnormal samples, which is applicable to any pre-trained softmax neural classifier. We obtain the class conditional Gaussian distributions with respect to (low- and upper-level) features of the deep models under Gaussian discriminant analysis, which result in a confidence score based on the Mahalanobis distance. While most prior methods have been evaluated for detecting either out-of-distribution or adversarial samples, but not both, the proposed method achieves the state-of-the-art performances for both cases in our experiments. Moreover, we found that our proposed method is more robust in harsh cases, e.g., when the training dataset has noisy labels or small number of samples. Finally, we show that the proposed method enjoys broader usage by applying it to class-incremental learning: whenever out-of-distribution samples are detected, our classification rule can incorporate new classes well without further training deep models.

📄 PDF Abstract BibTeX arXiv:1807.03888

Code (4)

pokaxpoka/deep_Mahalanobis_detector 공식 구현 pytorch
caotians1/OD-test-master pytorch
kimjeyoung/Mahalanobis-BERT pytorch
lancopku/avg-avg pytorch

Tasks

class-incremental learningClass Incremental LearningIncremental LearningOut-of-Distribution Detection

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Unified Entropy Optimization for Open-Set Test-Time Adaptation

2024-04-09 · CVPR 2024 1 · Zhengqing Gao, Xu-Yao Zhang, Cheng-Lin Liu

Test-time adaptation (TTA) aims at adapting a model pre-trained on the labeled source domain to the unlabeled target domain. Existing methods usually focus on improving TTA performance under covariate shifts, while negle…

Test-time Adaptation

OpenMix: Exploring Outlier Samples for Misclassification Detection

2023-03-30 · CVPR 2023 1 · Fei Zhu, Zhen Cheng, Xu-Yao Zhang, Cheng-Lin Liu

Reliable confidence estimation for deep neural classifiers is a challenging yet fundamental requirement in high-stakes applications. Unfortunately, modern deep neural networks are often overconfident for their erroneous …

World Knowledge

A View on Out-of-Distribution Identification from a Statistical Testing Theory Perspective

2024-05-05 · Alberto Caron, Chris Hicks, Vasilios Mavroudis

We study the problem of efficiently detecting Out-of-Distribution (OOD) samples at test time in supervised and unsupervised learning contexts. While ML models are typically trained under the assumption that training and …

Multi-Layer Confidence Scoring for Detection of Out-of-Distribution Samples, Adversarial Attacks, and In-Distribution Misclassifications

2025-12-22 · Lorenzo Capelli, Leandro de Souza Rosa, Gianluca Setti, Mauro Mangia 외 arxiv

The recent explosive growth in Deep Neural Networks applications raises concerns about the black-box usage of such models, with limited trasparency and trustworthiness in high-stakes domains, which have been crystallized…

Detecting Out-Of-Distribution Samples Using Low-Order Deep Features Statistics

2019-05-01 · ICLR 2019 5 · Igor M. Quintanilha, Roberto de M. E. Filho, José Lezama, Mauricio Delbracio 외

The ability to detect when an input sample was not drawn from the training distribution is an important desirable property of deep neural networks. In this paper, we show that a simple ensembling of first and second ord…

Benchmarking