Optimal Parameter and Neuron Pruning for Out-of-Distribution Detection
Not on the map. Why?
Abstract (arXiv)
For a machine learning model deployed in real world scenarios, the ability of detecting out-of-distribution (OOD) samples is indispensable and challenging. Most existing OOD detection methods focused on exploring advanced training skills or training-free tricks to prevent the model from yielding overconfident confidence score for unknown samples. The training-based methods require expensive training cost and rely on OOD samples which are not always available, while most training-free methods can not efficiently utilize the prior information from the training data. In this work, we propose an Optimal Parameter and Neuron Pruning (OPNP) approach, which aims to identify and remove those parameters and neurons that lead to over-fitting. The main method is divided into two steps. In the first step, we evaluate the sensitivity of the model parameters and neurons by averaging gradients over all training samples. In the second step, the parameters and neurons with exceptionally large or close to zero sensitivities are removed for prediction. Our proposal is training-free, compatible with other post-hoc methods, and exploring the information from all training data. Extensive experiments are performed on multiple OOD detection tasks and model architectures, showing that our proposed OPNP consistently outperforms the existing methods by a large margin.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 48 of its 56 references that are in the map. First posted on arXiv 4 Feb 2024.
Builds on
48 of 56 references.
References · 48
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
- 2013Describing Textures in the Wildcited by 2,125
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
36 more
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2016Pruning Filters for Efficient ConvNetscited by 1,143
- 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,105
- 2018Deep Anomaly Detection with Outlier Exposurecited by 942
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 776
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 583
- 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 527
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2020Pruning neural networks without any data by iteratively conserving synaptic flowcited by 479
- 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
- 2020A Unifying Review of Deep and Shallow Anomaly Detectioncited by 425
- 2019Why gradient clipping accelerates training: A theoretical justification for adaptivitycited by 341
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2018Recent Advances in Open Set Recognition: A Surveycited by 310
- 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 216
- 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
- 2018Stochastic Activation Pruning for Robust Adversarial Defensecited by 171
- 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
- 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
- 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 152
- 2023Non-Parametric Outlier Synthesiscited by 129
- 2022Penalizing Gradient Norm for Efficiently Improving Generalization in Deep Learningcited by 122
- 2020ATOM: Robustifying Out-of-distribution Detection Using Outlier Miningcited by 116
- 2016Group Sparse Regularization for Deep Neural Networkscited by 89
- 2022Unknown-Aware Object Detection: Learning What You Don't Know from Videos in the Wildcited by 70
- 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
- 2022Boosting Out-of-distribution Detection with Typical Featurescited by 48
- 2021Deep Ensembling with No Overhead for either Training or Testing: The All-Round Blessings of Dynamic Sparsitycited by 44
- 2019Learning Sparse Networks Using Targeted Dropoutcited by 40
- 2023Average of Pruning: Improving Performance and Stability of Out-of-Distribution Detectioncited by 14
Built on by
Citing papers per year: 2024: 3; 2025: 0; 2026: 1.
4 papers.
- 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detectioncited by 323
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 26
- 2024A Data-Free Analytical Quantization Scheme for Deep Learning Modelscited by 0
- 2026Exploiting Local Flatness for Efficient Out-of-Distribution Detectioncited by 0
- 2026Exploiting Local Flatness for Efficient Out-of-Distribution Detection29 Jun 2026
- 2024A Data-Free Analytical Quantization Scheme for Deep Learning Models10 Dec 2024
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advances18 Sep 2024
- 2024INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection6 Feb 2024