mlsanityData to 7 Oct 2026

Out-of-Distribution Detection by Leveraging Between-Layer Transformation Smoothness

arXiv 2310.02832 ↗First posted 4 Oct 2023cs.LG cs.CLcited by 15

Not on the map. Why?

Abstract (arXiv)

Effective out-of-distribution (OOD) detection is crucial for reliable machine learning models, yet most current methods are limited in practical use due to requirements like access to training data or intervention in training. We present a novel method for detecting OOD data in Transformers based on transformation smoothness between intermediate layers of a network (BLOOD), which is applicable to pre-trained models without access to training data. BLOOD utilizes the tendency of between-layer representation transformations of in-distribution (ID) data to be smoother than the corresponding transformations of OOD data, a property that we also demonstrate empirically. We evaluate BLOOD on several text classification tasks with Transformer networks and demonstrate that it outperforms methods with comparable resource requirements. Our analysis also suggests that when learning simpler tasks, OOD data transformations maintain their original sharpness, whereas sharpness increases with more complex tasks.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 43 of its 67 references that are in the map. First posted on arXiv 4 Oct 2023.

Builds on

43 of 67 references.

References · 43

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2017On Calibration of Modern Neural Networkscited by 4,860
  8. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  9. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  10. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  11. 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,335
  12. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
31 more
  1. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  2. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  3. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  4. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
  5. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  6. 2018Deep Anomaly Detection with Outlier Exposurecited by 939
  7. 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
  8. 2015Image-based Recommendations on Styles and Substitutescited by 702
  9. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  10. 2021Datasets: A Community Library for Natural Language Processingcited by 526
  11. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  12. 2020Dataset Cartography: Mapping and Diagnosing Datasets with Training Dynamicscited by 423
  13. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  14. 2020Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awarenesscited by 389
  15. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
  16. 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 302
  17. 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
  18. 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
  19. 2019BIGPATENT: A Large-Scale Dataset for Abstractive and Coherent Summarizationcited by 155
  20. 2018Dissecting Contextual Word Embeddings: Architecture and Representationcited by 146
  21. 2020Estimating Example Difficulty Using Variance of Gradientscited by 96
  22. 2022What do Vision Transformers Learn? A Visual Explorationcited by 75
  23. 2021Does Your Dermatology Classifier Know What It Doesn't Know? Detecting the Long-Tail of Unseen Conditionscited by 68
  24. 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detectioncited by 67
  25. 2018Classification Uncertainty of Deep Neural Networks Based on Gradient Informationcited by 43
  26. 2020A case for new neural network smoothness constraintscited by 43
  27. 2021An Effective Baseline for Robustness to Distributional Shiftcited by 25
  28. 2021Rissanen Data Analysis: Examining Dataset Characteristics via Description Lengthcited by 22
  29. 2022Igeood: An Information Geometry Approach to Out-of-Distribution Detectioncited by 20
  30. 2022Back to the Basics: Revisiting Out-of-Distribution Detection Baselinescited by 16
  31. 2023Classical Out-of-Distribution Detection Methods Benchmark in Text Classification Taskscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 5; 2026: 6.

15 papers.

Sort: