Out-of-Distribution Detection by Leveraging Between-Layer Transformation Smoothness
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
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,335
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
31 more
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2015Image-based Recommendations on Styles and Substitutescited by 702
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2021Datasets: A Community Library for Natural Language Processingcited by 526
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2020Dataset Cartography: Mapping and Diagnosing Datasets with Training Dynamicscited by 423
- 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
- 2020Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awarenesscited by 389
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 302
- 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
- 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
- 2019BIGPATENT: A Large-Scale Dataset for Abstractive and Coherent Summarizationcited by 155
- 2018Dissecting Contextual Word Embeddings: Architecture and Representationcited by 146
- 2020Estimating Example Difficulty Using Variance of Gradientscited by 96
- 2022What do Vision Transformers Learn? A Visual Explorationcited by 75
- 2021Does Your Dermatology Classifier Know What It Doesn't Know? Detecting the Long-Tail of Unseen Conditionscited by 68
- 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detectioncited by 67
- 2018Classification Uncertainty of Deep Neural Networks Based on Gradient Informationcited by 43
- 2020A case for new neural network smoothness constraintscited by 43
- 2021An Effective Baseline for Robustness to Distributional Shiftcited by 25
- 2021Rissanen Data Analysis: Examining Dataset Characteristics via Description Lengthcited by 22
- 2022Igeood: An Information Geometry Approach to Out-of-Distribution Detectioncited by 20
- 2022Back to the Basics: Revisiting Out-of-Distribution Detection Baselinescited by 16
- 2023Classical Out-of-Distribution Detection Methods Benchmark in Text Classification Taskscited by 5
Built on by
Citing papers per year: 2024: 4; 2025: 5; 2026: 6.
15 papers.
Sort:
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 24
- 2025Unsupervised Word-level Quality Estimation for Machine Translation Through the Lens of Annotators (Dis)agreementcited by 4
- 2024Out-of-Distribution Detection through Soft Clustering with Non-Negative Kernel Regressioncited by 3
- 2024NCDD: Nearest Centroid Distance Deficit for Out-Of-Distribution Detection in Gastrointestinal Visioncited by 3
- 2025Prior Distribution and Model Confidencecited by 1
- 2024Learning to Be a Transformer to Pinpoint Anomaliescited by 0
- 2025Translationese-index: Using Likelihood Ratios for Graded and Generalizable Measurement of Translationesecited by 0
- 2025Neural Coherence : Find higher performance to out-of-distribution tasks from few samplescited by 0
- 2025TAO-Net: Two-stage Adaptive OOD Classification Network for Fine-grained Encrypted Traffic Classificationcited by 0
- 2026Between the Layers Lies the Truth: Uncertainty Estimation in LLMs Using Intra-Layer Local Information Scorescited by 0
- 2026Prototype Fusion: A Training-Free Multi-Layer Approach to OOD Detectioncited by 0
- 2026Out-of-Distribution (OOD) Detectors for Open-Set RF Fingerprintingcited by 0
3 more
- 2026Layer Selection in VLMs for Zero-Shot OOD Detection via Multi-Resolution Entropy Estimation8 Sep 2026
- 2026Not All Layers Are Equal: Dynamic Layer Routing for Reliable CLIP OOD Detection30 Jul 2026
- 2026Vertical Fusion: Condensing Internal Representations for Robust ViT Classification11 Jul 2026
- 2026Out-of-Distribution (OOD) Detectors for Open-Set RF Fingerprinting10 Jun 2026
- 2026Prototype Fusion: A Training-Free Multi-Layer Approach to OOD Detection24 Mar 2026
- 2026Between the Layers Lies the Truth: Uncertainty Estimation in LLMs Using Intra-Layer Local Information Scores17 Mar 2026
- 2025TAO-Net: Two-stage Adaptive OOD Classification Network for Fine-grained Encrypted Traffic Classification11 Dec 2025
- 2025Neural Coherence : Find higher performance to out-of-distribution tasks from few samples5 Dec 2025
- 2025Prior Distribution and Model Confidence5 Sep 2025
- 2025Translationese-index: Using Likelihood Ratios for Graded and Generalizable Measurement of Translationese16 Jul 2025
- 2025Unsupervised Word-level Quality Estimation for Machine Translation Through the Lens of Annotators (Dis)agreement29 May 2025
- 2024NCDD: Nearest Centroid Distance Deficit for Out-Of-Distribution Detection in Gastrointestinal Vision2 Dec 2024
- 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 24
- 2025Unsupervised Word-level Quality Estimation for Machine Translation Through the Lens of Annotators (Dis)agreementcited by 4
- 2024Out-of-Distribution Detection through Soft Clustering with Non-Negative Kernel Regressioncited by 3
- 2024NCDD: Nearest Centroid Distance Deficit for Out-Of-Distribution Detection in Gastrointestinal Visioncited by 3
- 2025Prior Distribution and Model Confidencecited by 1
- 2024Learning to Be a Transformer to Pinpoint Anomaliescited by 0
- 2025Translationese-index: Using Likelihood Ratios for Graded and Generalizable Measurement of Translationesecited by 0
- 2025Neural Coherence : Find higher performance to out-of-distribution tasks from few samplescited by 0
- 2025TAO-Net: Two-stage Adaptive OOD Classification Network for Fine-grained Encrypted Traffic Classificationcited by 0
- 2026Between the Layers Lies the Truth: Uncertainty Estimation in LLMs Using Intra-Layer Local Information Scorescited by 0
- 2026Prototype Fusion: A Training-Free Multi-Layer Approach to OOD Detectioncited by 0
- 2026Out-of-Distribution (OOD) Detectors for Open-Set RF Fingerprintingcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Layer Selection in VLMs for Zero-Shot OOD Detection via Multi-Resolution Entropy Estimation8 Sep 2026
- 2026Not All Layers Are Equal: Dynamic Layer Routing for Reliable CLIP OOD Detection30 Jul 2026
- 2026Vertical Fusion: Condensing Internal Representations for Robust ViT Classification11 Jul 2026
- 2026Out-of-Distribution (OOD) Detectors for Open-Set RF Fingerprinting10 Jun 2026
- 2026Prototype Fusion: A Training-Free Multi-Layer Approach to OOD Detection24 Mar 2026
- 2026Between the Layers Lies the Truth: Uncertainty Estimation in LLMs Using Intra-Layer Local Information Scores17 Mar 2026
- 2025TAO-Net: Two-stage Adaptive OOD Classification Network for Fine-grained Encrypted Traffic Classification11 Dec 2025
- 2025Neural Coherence : Find higher performance to out-of-distribution tasks from few samples5 Dec 2025
- 2025Prior Distribution and Model Confidence5 Sep 2025
- 2025Translationese-index: Using Likelihood Ratios for Graded and Generalizable Measurement of Translationese16 Jul 2025
- 2025Unsupervised Word-level Quality Estimation for Machine Translation Through the Lens of Annotators (Dis)agreement29 May 2025
- 2024NCDD: Nearest Centroid Distance Deficit for Out-Of-Distribution Detection in Gastrointestinal Vision2 Dec 2024
12 newest of 15 All 15 (JSON)