Lune

NeurIPS2023Top-tier venue

GAIA: Delving into Gradient-based Attribution Abnormality for Out-of-distribution Detection

Jinggang Chen, Junjie Li, Xiaoyang Qu, Jianzong Wang, Jiguang Wan, Jing Xiao

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • On the Importance of Gradients for Detecting Distributional Shifts in the Wild cites Energy-based Out-of-distribution Detection
  • Splitting & Integrating: Out-of-Distribution Detection via Adversarial Gradient Attribution cites Energy-based Out-of-distribution Detection
  • Splitting & Integrating: Out-of-Distribution Detection via Adversarial Gradient Attribution cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
  • Splitting & Integrating: Out-of-Distribution Detection via Adversarial Gradient Attribution cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Splitting & Integrating: Out-of-Distribution Detection via Adversarial Gradient Attribution cites Detecting Out-of-Distribution Examples with Gram Matrices
  • CADRef: Robust Out-of-Distribution Detection via Class-Aware Decoupled Relative Feature Leveraging cites Energy-based Out-of-distribution Detection
  • CADRef: Robust Out-of-Distribution Detection via Class-Aware Decoupled Relative Feature Leveraging cites ReAct: Out-of-distribution Detection With Rectified Activations
  • ReAct: Out-of-distribution Detection With Rectified Activations cites Energy-based Out-of-distribution Detection
  • ReAct: Out-of-distribution Detection With Rectified Activations cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites Energy-based Out-of-distribution Detection
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
  • Out-of-Distribution Detection with Deep Nearest Neighbors cites ReAct: Out-of-distribution Detection With Rectified Activations
  • GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
  • GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection cites Detecting Out-of-Distribution Examples with Gram Matrices
  • GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • RUNA: Object-Level Out-of-Distribution Detection via Regional Uncertainty Alignment of Multimodal Representations cites Energy-based Out-of-distribution Detection
  • RUNA: Object-Level Out-of-Distribution Detection via Regional Uncertainty Alignment of Multimodal Representations cites Out-of-Distribution Detection with Deep Nearest Neighbors
  • Activation Subspaces for Out-of-Distribution Detection cites Energy-based Out-of-distribution Detection
  • Activation Subspaces for Out-of-Distribution Detection cites On the Importance of Gradients for Detecting Distributional Shifts in the Wild
  • Activation Subspaces for Out-of-Distribution Detection cites ReAct: Out-of-distribution Detection With Rectified Activations
  • Activation Subspaces for Out-of-Distribution Detection cites Out-of-Distribution Detection with Deep Nearest Neighbors
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. RUNA: Object-Level Out-of-Distribution Detection via Regional Uncertainty Alignment of Multimodal RepresentationsBin Zhang, Jinggang Chen, Xiaoyang Qu, Guokuan Li et al.AAAI 2025 · 4 citations
  2. GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution DetectionMariia Seleznova, Hung-Hsu Chou, Claudio Mayrink Verdun, Gitta KutyniokICLR 2026 · 2 citations
  3. Activation Subspaces for Out-of-Distribution DetectionBaris Zöngür, Robin Hesse, Stefan RothICCV 2025 · 2 citations
  4. Splitting & Integrating: Out-of-Distribution Detection via Adversarial Gradient AttributionJiayu Zhang, Xinyi Wang, Zhibo Jin, Zhiyu Zhu et al.ICML 2025
  5. CADRef: Robust Out-of-Distribution Detection via Class-Aware Decoupled Relative Feature LeveragingZhiwei Ling, Yachen Chang, Hailiang Zhao, Xinkui Zhao et al.CVPR 2025

Builds on10

  1. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  2. Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 citations
  3. ReAct: Out-of-distribution Detection With Rectified ActivationsYiyou Sun, Chuan Guo, Yixuan LiNeurIPS 2021 · 733 citations
  4. On the Importance of Gradients for Detecting Distributional Shifts in the WildRui Huang, Andrew Geng, Yixuan LiNeurIPS 2021 · 515 citations
  5. Detecting Out-of-Distribution Examples with Gram MatricesChandramouli Shama Sastry, Sageev OoreICML 2020 · 275 citations

Related papers

  1. Boosting Out-of-distribution Detection with Typical FeaturesYao Zhu, Yuefeng Chen, Chuanlong Xie, Xiaodan Li et al.NeurIPS 2022 · 74 citations
  2. Improving Out-of-Distribution Detection with Disentangled Foreground and Background FeaturesChoubo Ding, Guansong PangACM MM 2024 · 1 citation
  3. Image-based Outlier Synthesis With Training DataSudarshan RegmiCVPR 2026
  4. Distilled Gradient Aggregation: Purify Features for Input Attribution in the Deep Neural NetworkGiyoung Jeon, Haedong Jeong, Jaesik ChoiNeurIPS 2022 · 11 citations
  5. Gradient Short-Circuit: Efficient Out-of-Distribution Detection via Feature InterventionJiawei Gu, Ziyue Qiao, Zechao LiICCV 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines