Saved in:
Bibliographic Details
Main Authors: Chen, Jinggang, Li, Junjie, Qu, Xiaoyang, Wang, Jianzong, Wan, Jiguang, Xiao, Jing
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2311.09620
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913198083407872
author Chen, Jinggang
Li, Junjie
Qu, Xiaoyang
Wang, Jianzong
Wan, Jiguang
Xiao, Jing
author_facet Chen, Jinggang
Li, Junjie
Qu, Xiaoyang
Wang, Jianzong
Wan, Jiguang
Xiao, Jing
contents Detecting out-of-distribution (OOD) examples is crucial to guarantee the reliability and safety of deep neural networks in real-world settings. In this paper, we offer an innovative perspective on quantifying the disparities between in-distribution (ID) and OOD data -- analyzing the uncertainty that arises when models attempt to explain their predictive decisions. This perspective is motivated by our observation that gradient-based attribution methods encounter challenges in assigning feature importance to OOD data, thereby yielding divergent explanation patterns. Consequently, we investigate how attribution gradients lead to uncertain explanation outcomes and introduce two forms of abnormalities for OOD detection: the zero-deflation abnormality and the channel-wise average abnormality. We then propose GAIA, a simple and effective approach that incorporates Gradient Abnormality Inspection and Aggregation. The effectiveness of GAIA is validated on both commonly utilized (CIFAR) and large-scale (ImageNet-1k) benchmarks. Specifically, GAIA reduces the average FPR95 by 23.10% on CIFAR10 and by 45.41% on CIFAR100 compared to advanced post-hoc methods.
format Preprint
id arxiv_https___arxiv_org_abs_2311_09620
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle GAIA: Delving into Gradient-based Attribution Abnormality for Out-of-distribution Detection
Chen, Jinggang
Li, Junjie
Qu, Xiaoyang
Wang, Jianzong
Wan, Jiguang
Xiao, Jing
Machine Learning
Detecting out-of-distribution (OOD) examples is crucial to guarantee the reliability and safety of deep neural networks in real-world settings. In this paper, we offer an innovative perspective on quantifying the disparities between in-distribution (ID) and OOD data -- analyzing the uncertainty that arises when models attempt to explain their predictive decisions. This perspective is motivated by our observation that gradient-based attribution methods encounter challenges in assigning feature importance to OOD data, thereby yielding divergent explanation patterns. Consequently, we investigate how attribution gradients lead to uncertain explanation outcomes and introduce two forms of abnormalities for OOD detection: the zero-deflation abnormality and the channel-wise average abnormality. We then propose GAIA, a simple and effective approach that incorporates Gradient Abnormality Inspection and Aggregation. The effectiveness of GAIA is validated on both commonly utilized (CIFAR) and large-scale (ImageNet-1k) benchmarks. Specifically, GAIA reduces the average FPR95 by 23.10% on CIFAR10 and by 45.41% on CIFAR100 compared to advanced post-hoc methods.
title GAIA: Delving into Gradient-based Attribution Abnormality for Out-of-distribution Detection
topic Machine Learning
url https://arxiv.org/abs/2311.09620