mlsanityData to 14 Oct 2026

Gradient Short-Circuit: Efficient Out-of-Distribution Detection via Feature Intervention

arXiv 2507.01417 ↗First posted 2 Jul 2025cs.CV cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Out-of-Distribution (OOD) detection is critical for safely deploying deep models in open-world environments, where inputs may lie outside the training distribution. During inference on a model trained exclusively with In-Distribution (ID) data, we observe a salient gradient phenomenon: around an ID sample, the local gradient directions for "enhancing" that sample's predicted class remain relatively consistent, whereas OOD samples--unseen in training--exhibit disorganized or conflicting gradient directions in the same neighborhood. Motivated by this observation, we propose an inference-stage technique to short-circuit those feature coordinates that spurious gradients exploit to inflate OOD confidence, while leaving ID classification largely intact. To circumvent the expense of recomputing the logits after this gradient short-circuit, we further introduce a local first-order approximation that accurately captures the post-modification outputs without a second forward pass. Experiments on standard OOD benchmarks show our approach yields substantial improvements. Moreover, the method is lightweight and requires minimal changes to the standard inference pipeline, offering a practical path toward robust OOD detection in real-world applications.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 35 of its 44 references that are in the map. First posted on arXiv 2 Jul 2025.

Builds on

35 of 44 references.

References · 35

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  4. 2016Densely Connected Convolutional Networkscited by 6,720
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  6. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  7. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  8. 2013Describing Textures in the Wildcited by 2,125
  9. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  10. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
  11. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  12. 2020Energy-based Out-of-distribution Detectioncited by 1,299
23 more
  1. 2022Building Normalizing Flows with Stochastic Interpolantscited by 995
  2. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
  3. 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
  4. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
  5. 2019Importance Estimation for Neural Network Pruningcited by 541
  6. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  7. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
  8. 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
  9. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  10. 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
  11. 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
  12. 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
  13. 2021Adversarial Reciprocal Points Learning for Open Set Recognitioncited by 153
  14. 2020ATOM: Robustifying Out-of-distribution Detection Using Outlier Miningcited by 116
  15. 2022Is Out-of-Distribution Detection Learnable?cited by 109
  16. 2021Provable Guarantees for Understanding Out-of-distribution Detectioncited by 78
  17. 2024How Does Unlabeled Data Provably Help Out-of-Distribution Detection?cited by 36
  18. 2023LINe: Out-of-Distribution Detection by Leveraging Important Neuronscited by 34
  19. 2020Gradients as Features for Deep Representation Learningcited by 30
  20. 2024ConjNorm: Tractable Density Estimation for Out-of-Distribution Detectioncited by 22
  21. 2023On the Effectiveness of Out-of-Distribution Data in Self-Supervised Long-Tail Learningcited by 20
  22. 2024A noisy elephant in the room: Is your out-of-distribution detector robust to label noise?cited by 13
  23. 2025Scanning Trojaned Models Using Out-of-Distribution Samplescited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.