arXiv (Cornell University) · 2021 · 38 citations · 27 references
ComputingComputer ScienceData MiningMachine LearningNatural Language ProcessingDeep LearningPattern RecognitionRepresentation LearningDivergenceMachine Learning Detection ModelsMachine Learning Scoring ModelsOut-of-distribution Detection
Detecting out‑of‑distribution data is essential for safe deployment of machine learning models, yet current methods mainly use output or feature space and ignore gradient information. This work introduces GradNorm, a straightforward approach that leverages gradient‑space signals to detect OOD inputs. GradNorm computes the norm of gradients back‑propagated from the KL divergence between the softmax output and a uniform distribution, exploiting the fact that ID samples produce larger gradient magnitudes than OOD samples. The method achieves a 16.33 % reduction in average FPR95 over the previous best approach, demonstrating superior performance.
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.
27
Deep Residual Learning for Image Recognition
Kaiming He, Xiangyu Zhang, Shaoqing Ren et al. · 2016 · 222.1K citations · Full text
Densely Connected Convolutional Networks
Gao Huang, Zhuang Liu, Laurens van der Maaten et al. · 2017 · 44.7K citations
Corinna Cortes, Vladimir Vapnik · Machine Learning · 1995 · 33K citations · Full text
On Information and Sufficiency
S. Kullback, R. A. Leibler · The Annals of Mathematical Statistics · 1951 · 20K citations · Full text
Auto-Encoding Variational Bayes
Diederik P. Kingma, Max Welling · UvA-DARE (University of Amsterdam) · 2013 · 15.6K citations · Full text