Gradient-Regularized Out-of-Distribution Detection
Not on the map. Why?
Abstract (arXiv)
One of the challenges for neural networks in real-life applications is the overconfident errors these models make when the data is not from the original training distribution. Addressing this issue is known as Out-of-Distribution (OOD) detection. Many state-of-the-art OOD methods employ an auxiliary dataset as a surrogate for OOD data during training to achieve improved performance. However, these methods fail to fully exploit the local information embedded in the auxiliary dataset. In this work, we propose the idea of leveraging the information embedded in the gradient of the loss function during training to enable the network to not only learn a desired OOD score for each sample but also to exhibit similar behavior in a local neighborhood around each sample. We also develop a novel energy-based sampling method to allow the network to be exposed to more informative OOD samples during the training phase. This is especially important when the auxiliary dataset is large. We demonstrate the effectiveness of our method through extensive experiments on several OOD benchmarks, improving the existing state-of-the-art FPR95 by 4% on our ImageNet experiment. We further provide a theoretical analysis through the lens of certified robustness and Lipschitz analysis to showcase the theoretical foundation of our work. Our code is available at https://github.com/o4lc/Greg-OOD.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 57 of its 80 references that are in the map. First posted on arXiv 18 Apr 2024.
Builds on
57 of 80 references.
References · 57
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2016Wide Residual Networkscited by 3,057
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2013Describing Textures in the Wildcited by 2,110
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
- 2015Towards Open Set Deep Networkscited by 533
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
38 more
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
- 2019Efficient and Accurate Estimation of Lipschitz Constants for Deep Neural Networkscited by 290
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
- 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 178
- 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
- 2018Reducing Network Agnostophobiacited by 165
- 2017Generative OpenMax for Multi-Class Open Set Classificationcited by 157
- 2019C2AE: Class Conditioned Auto-Encoder for Open-set Recognitioncited by 142
- 2021OpenGAN: Open-Set Recognition via Open Data Generationcited by 135
- 2020ATOM: Robustifying Out-of-distribution Detection Using Outlier Miningcited by 116
- 2020Learning Open Set Network with Discriminative Reciprocal Pointscited by 115
- 2019Unsupervised Out-of-Distribution Detection by Maximum Classifier Discrepancycited by 112
- 2022POEM: Out-of-Distribution Detection with Posterior Samplingcited by 108
- 2020Exactly Computing the Local Lipschitz Constant of ReLU Networkscited by 102
- 2021MOOD: Multi-level Out-of-distribution Detectioncited by 94
- 2021Mixture Outlier Exposure: Towards Out-of-Distribution Detection in Fine-grained Environmentscited by 65
- 2021Training Certifiably Robust Neural Networks with Efficient Local Lipschitz Boundscited by 64
- 2023Nearest Neighbor Guidance for Out-of-Distribution Detectioncited by 64
- 2023Rethinking Out-of-distribution (OOD) Detection: Masked Image Modeling is All You Needcited by 46
- 2024Learning with Mixture of Prototypes for Out-of-Distribution Detectioncited by 43
- 2023Out-of-distribution Detection with Implicit Outlier Transformationcited by 42
- 2019Jacobian Adversarially Regularized Networks for Robustnesscited by 40
- 2023OpenMix: Exploring Outlier Samples for Misclassification Detectioncited by 38
- 2023Diversified Outlier Exposure for Out-of-Distribution Detection via Informative Extrapolationcited by 38
- 2023Learning to Augment Distributions for Out-of-Distribution Detectioncited by 38
- 2024How Does Unlabeled Data Provably Help Out-of-Distribution Detection?cited by 36
- 2023LINe: Out-of-Distribution Detection by Leveraging Important Neuronscited by 34
- 2023Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sourcescited by 31
- 2021Adversarially Robust One-class Novelty Detectioncited by 24
- 2022Difficulty-Aware Simulator for Open Set Recognitioncited by 24
- 2024ConjNorm: Tractable Density Estimation for Out-of-Distribution Detectioncited by 22
- 2022Efficiently Training Low-Curvature Neural Networkscited by 19
- 2023Certified Robustness via Dynamic Margin Maximization and Improved Lipschitz Regularizationcited by 19
- 2021LipBaB: Computing exact Lipschitz constant of ReLU networkscited by 16
- 2023DOS: Diverse Outlier Sampling for Out-of-Distribution Detectioncited by 16
- 2023Balanced Energy Regularization Loss for Out-of-distribution Detectioncited by 16
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 7; 2026: 5.
13 papers.
Sort:
By area:
- 2024Follow the Rules: Reasoning for Video Anomaly Detection with Large Language Modelscited by 55
- 2025AdaSCALE: Adaptive Scaling for OOD Detectioncited by 7
- 2025Open-Insect: Benchmarking Open-Set Recognition of Novel Species in Biodiversity Monitoringcited by 2
- 2025GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detectioncited by 2
- 2025LoD: Loss-difference OOD Detection by Intentionally Label-Noisifying Unlabeled Wild Datacited by 1
- 2025Kernel PCA for Out-of-Distribution Detection: Non-Linear Kernel Selection and Approximationcited by 1
- 2025Local Background Features Matter in Out-of-Distribution Detectioncited by 0
- 2025TSRE: Channel-Aware Typical Set Refinement for Out-of-Distribution Detectioncited by 0
- 2026Vision Also You Need: Navigating Out-of-Distribution Detection with Multimodal Large Language Modelcited by 0
- 2026Cognitive Fusion of ZC Sequences and Time-Frequency Images for Out-of-Distribution Detection of Drone Signalscited by 0
- 2026A New Framework to Analyse the Distributional Robustness of Deep Neural Networkscited by 0
- 2026Modality-Aware Out-of-Distribution Detection for Multi-Modal Action Recognitioncited by 0
- 2026Dynamics to decision: A mathematical theory of Lyapunov spectra and decision boundaries in deep classifiers30 Sep 2026
- 2026Modality-Aware Out-of-Distribution Detection for Multi-Modal Action Recognition23 Jun 2026
- 2026A New Framework to Analyse the Distributional Robustness of Deep Neural Networks20 May 2026
- 2026Cognitive Fusion of ZC Sequences and Time-Frequency Images for Out-of-Distribution Detection of Drone Signals26 Jan 2026
- 2026Vision Also You Need: Navigating Out-of-Distribution Detection with Multimodal Large Language Model20 Jan 2026
- 2025TSRE: Channel-Aware Typical Set Refinement for Out-of-Distribution Detection19 Nov 2025
- 2025Local Background Features Matter in Out-of-Distribution Detection14 Oct 2025
- 2025GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection21 May 2025
- 2025Kernel PCA for Out-of-Distribution Detection: Non-Linear Kernel Selection and Approximation21 May 2025
- 2025LoD: Loss-difference OOD Detection by Intentionally Label-Noisifying Unlabeled Wild Data19 May 2025
- 2025AdaSCALE: Adaptive Scaling for OOD Detection11 Mar 2025
- 2025Open-Insect: Benchmarking Open-Set Recognition of Novel Species in Biodiversity Monitoring3 Mar 2025
1 more
- 2025AdaSCALE: Adaptive Scaling for OOD Detectioncited by 7
- 2025Open-Insect: Benchmarking Open-Set Recognition of Novel Species in Biodiversity Monitoringcited by 2
- 2025GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detectioncited by 2
- 2025LoD: Loss-difference OOD Detection by Intentionally Label-Noisifying Unlabeled Wild Datacited by 1
- 2025Kernel PCA for Out-of-Distribution Detection: Non-Linear Kernel Selection and Approximationcited by 1
- 2025Local Background Features Matter in Out-of-Distribution Detectioncited by 0
- 2025TSRE: Channel-Aware Typical Set Refinement for Out-of-Distribution Detectioncited by 0
- 2026Cognitive Fusion of ZC Sequences and Time-Frequency Images for Out-of-Distribution Detection of Drone Signalscited by 0
- 2026A New Framework to Analyse the Distributional Robustness of Deep Neural Networkscited by 0
- 2026Modality-Aware Out-of-Distribution Detection for Multi-Modal Action Recognitioncited by 0
- 2026Dynamics to decision: A mathematical theory of Lyapunov spectra and decision boundaries in deep classifierscited by 0
- 2026Dynamics to decision: A mathematical theory of Lyapunov spectra and decision boundaries in deep classifiers30 Sep 2026
- 2026Modality-Aware Out-of-Distribution Detection for Multi-Modal Action Recognition23 Jun 2026
- 2026A New Framework to Analyse the Distributional Robustness of Deep Neural Networks20 May 2026
- 2026Cognitive Fusion of ZC Sequences and Time-Frequency Images for Out-of-Distribution Detection of Drone Signals26 Jan 2026
- 2025TSRE: Channel-Aware Typical Set Refinement for Out-of-Distribution Detection19 Nov 2025
- 2025Local Background Features Matter in Out-of-Distribution Detection14 Oct 2025
- 2025GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection21 May 2025
- 2025Kernel PCA for Out-of-Distribution Detection: Non-Linear Kernel Selection and Approximation21 May 2025
- 2025LoD: Loss-difference OOD Detection by Intentionally Label-Noisifying Unlabeled Wild Data19 May 2025
- 2025AdaSCALE: Adaptive Scaling for OOD Detection11 Mar 2025
- 2025Open-Insect: Benchmarking Open-Set Recognition of Novel Species in Biodiversity Monitoring3 Mar 2025