On the Importance of Gradients for Detecting Distributional Shifts in the Wild

By Rui Huang, Andrew Geng, Yixuan Li. Neural Information Processing Systems, 2021

498 citations recorded by the source corpus.

Detecting out-of-distribution (OOD) data has become a critical component in ensuring the safe deployment of machine learning models in the real world. Existing OOD detection approaches primarily rely on the output or feature space for deriving OOD scores, while largely overlooking information from the gradient space. In this paper, we present GradNorm, a simple and effective approach for detecting OOD inputs by utilizing information extracted from the gradient space. GradNorm directly employs the vector norm of gradients, backpropagated from the KL divergence between the softmax output and a uniform probability distribution. Our key idea is that the magnitude of gradients is higher for in-distribution (ID) data than that for OOD data, making it informative for OOD detection. GradNorm demonstrates superior performance, reducing the average FPR95 by up to 16.33% compared to the previous best method.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

View Paper: https://www.semanticscholar.org/paper/3b316377f1d7cbcf3c907c4d8b08c05f4521b541

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Ziwei Liu
  2. Yixuan Li
  3. Kaiyang Zhou
  4. Bo Li
  5. Jingkang Yang
  6. Wayne Zhang
  7. Haoqi Wang
  8. Yiyou Sun

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Ziwei Liu
  3. Ming-Hsuan Yang
  4. Chen Change Loy
  5. Xiaogang Wang
  6. Dacheng Tao
  7. Trevor Darrell
  8. Bernt Schiele

Citations in the corpus