OODformer: Out-Of-Distribution Detection Transformer
Not on the map. Why?
Abstract (arXiv)
A serious problem in image classification is that a trained model might perform well for input data that originates from the same distribution as the data available for model training, but performs much worse for out-of-distribution (OOD) samples. In real-world safety-critical applications, in particular, it is important to be aware if a new data point is OOD. To date, OOD detection is typically addressed using either confidence scores, auto-encoder based reconstruction, or by contrastive learning. However, the global image context has not yet been explored to discriminate the non-local objectness between in-distribution and OOD samples. This paper proposes a first-of-its-kind OOD detection architecture named OODformer that leverages the contextualization capabilities of the transformer. Incorporating the trans-former as the principal feature extractor allows us to exploit the object concepts and their discriminate attributes along with their co-occurrence via visual attention. Using the contextualised embedding, we demonstrate OOD detection using both class-conditioned latent space similarity and a network confidence score. Our approach shows improved generalizability across various datasets. We have achieved a new state-of-the-art result on CIFAR-10/-100 and ImageNet30.
Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 43 of its 56 references that are in the map. First posted on arXiv 19 Jul 2021.
Builds on
43 of 56 references.
References · 43
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2016Layer Normalizationcited by 5,579
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2020Supervised Contrastive Learningcited by 2,803
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
31 more
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
- 2013Describing Textures in the Wildcited by 2,110
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2020Prototypical Contrastive Learning of Unsupervised Representationscited by 636
- 2015Cyclical Learning Rates for Training Neural Networkscited by 627
- 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 511
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
- 2020Debiased Contrastive Learningcited by 354
- 2016Large-Margin Softmax Loss for Convolutional Neural Networkscited by 296
- 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
- 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2020Classification-Based Anomaly Detection for General Datacited by 210
- 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
- 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
- 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
- 2020Posterior Network: Uncertainty Estimation without OOD Samples via Density-Based Pseudo-Countscited by 163
- 2018Large Margin Deep Networks for Classificationcited by 110
- 2018Generative Probabilistic Novelty Detection with Adversarial Autoencoderscited by 99
- 2020Scene Graph Reasoning for Visual Question Answeringcited by 49
- 2020Relation Transformer Networkcited by 20
- 2019Attribute Restoration Framework for Anomaly Detectioncited by 16
- 2021Graphhopper: Multi-Hop Scene Graph Reasoning for Visual Question Answeringcited by 13
- 2021Scenes and Surroundings: Scene Graph Generation using Relation Transformercited by 5
Built on by
Citing papers per year: 2021: 3; 2022: 9; 2023: 10; 2024: 4; 2025: 0; 2026: 1.
27 papers.
Sort:
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2021A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution Detection: Solutions and Future Challengescited by 154
- 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluationcited by 132
- 2023CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say Nocited by 130
- 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learningcited by 107
- 2022Relationformer: A Unified Framework for Image-to-Graph Generationcited by 67
- 2023Nearest Neighbor Guidance for Out-of-Distribution Detectioncited by 64
- 2024Out-of-distribution Detection in Medical Image Analysis: A surveycited by 22
- 2023Reconstruction-based Out-of-Distribution Detection for Short-Range FMCW Radarcited by 6
- 2021Data Invariants to Understand Unsupervised Out-of-Distribution Detectioncited by 5
- 2022Is it all a cluster game? -- Exploring Out-of-Distribution Detection based on Clustering in the Embedding Spacecited by 5
15 more
- 2022Box Supervised Video Segmentation Proposal Networkcited by 4
- 2022A Baseline for Detecting Out-of-Distribution Examples in Image Captioningcited by 4
- 2023HOOD: Real-Time Human Presence and Out-of-Distribution Detection Using FMCW Radarcited by 4
- 2023How to Handle Different Types of Out-of-Distribution Scenarios in Computational Argumentation? A Comprehensive and Fine-Grained Field Studycited by 4
- 2023Can Pre-trained Networks Detect Familiar Out-of-Distribution Data?cited by 4
- 2023Fast and Interpretable Face Identification for Out-Of-Distribution Data Using Vision Transformerscited by 4
- 2022Self-Supervised Anomaly Detection by Self-Distillation and Negative Samplingcited by 3
- 2022No Shifted Augmentations (NSA): compact distributions for robust self-supervised Anomaly Detectioncited by 3
- 2024PViT: Prior-augmented Vision Transformer for Out-of-distribution Detectioncited by 3
- 2022Open Set Recognition using Vision Transformer with an Additional Detection Headcited by 2
- 2022Semantic Novelty Detection via Relational Reasoningcited by 2
- 2024How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and Reliabilitycited by 1
- 2023A Latent Space Correlation-Aware Autoencoder for Anomaly Detection in Skewed Datacited by 0
- 2024Can Dense Connectivity Benefit Outlier Detection? An Odyssey with NAScited by 0
- 2026CODE: Cross-Modal Calibration and Dynamic Suppression for Open World Object Detectioncited by 0
- 2026CODE: Cross-Modal Calibration and Dynamic Suppression for Open World Object Detection27 Aug 2026
- 2024PViT: Prior-augmented Vision Transformer for Out-of-distribution Detection27 Oct 2024
- 2024How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and Reliability13 Jun 2024
- 2024Can Dense Connectivity Benefit Outlier Detection? An Odyssey with NAS4 Jun 2024
- 2024Out-of-distribution Detection in Medical Image Analysis: A survey28 Apr 2024
- 2023Fast and Interpretable Face Identification for Out-Of-Distribution Data Using Vision Transformers6 Nov 2023
- 2023Can Pre-trained Networks Detect Familiar Out-of-Distribution Data?2 Oct 2023
- 2023Nearest Neighbor Guidance for Out-of-Distribution Detection26 Sep 2023
- 2023How to Handle Different Types of Out-of-Distribution Scenarios in Computational Argumentation? A Comprehensive and Fine-Grained Field Study15 Sep 2023
- 2023CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No23 Aug 2023
- 2023HOOD: Real-Time Human Presence and Out-of-Distribution Detection Using FMCW Radar24 Jul 2023
- 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning2 Jun 2023
15 more
- 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation1 Jun 2023
- 2023Reconstruction-based Out-of-Distribution Detection for Short-Range FMCW Radar27 Feb 2023
- 2023A Latent Space Correlation-Aware Autoencoder for Anomaly Detection in Skewed Data1 Jan 2023
- 2022Semantic Novelty Detection via Relational Reasoning18 Jul 2022
- 2022A Baseline for Detecting Out-of-Distribution Examples in Image Captioning12 Jul 2022
- 2022No Shifted Augmentations (NSA): compact distributions for robust self-supervised Anomaly Detection19 Mar 2022
- 2022Relationformer: A Unified Framework for Image-to-Graph Generation19 Mar 2022
- 2022Is it all a cluster game? -- Exploring Out-of-Distribution Detection based on Clustering in the Embedding Space16 Mar 2022
- 2022Open Set Recognition using Vision Transformer with an Additional Detection Head16 Mar 2022
- 2022Box Supervised Video Segmentation Proposal Network14 Feb 2022
- 2022Transformers in Medical Imaging: A Survey24 Jan 2022
- 2022Self-Supervised Anomaly Detection by Self-Distillation and Negative Sampling17 Jan 2022
- 2021Data Invariants to Understand Unsupervised Out-of-Distribution Detection26 Nov 2021
- 2021A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution Detection: Solutions and Future Challenges26 Oct 2021
- 2021Generalized Out-of-Distribution Detection: A Survey21 Oct 2021
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2021A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution Detection: Solutions and Future Challengescited by 154
- 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluationcited by 132
- 2023CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say Nocited by 130
- 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learningcited by 107
- 2022Relationformer: A Unified Framework for Image-to-Graph Generationcited by 67
- 2023Nearest Neighbor Guidance for Out-of-Distribution Detectioncited by 64
- 2024Out-of-distribution Detection in Medical Image Analysis: A surveycited by 22
- 2023Reconstruction-based Out-of-Distribution Detection for Short-Range FMCW Radarcited by 6
- 2021Data Invariants to Understand Unsupervised Out-of-Distribution Detectioncited by 5
- 2022Is it all a cluster game? -- Exploring Out-of-Distribution Detection based on Clustering in the Embedding Spacecited by 5
12 most cited of 27 All 27 (JSON)
- 2026CODE: Cross-Modal Calibration and Dynamic Suppression for Open World Object Detection27 Aug 2026
- 2024PViT: Prior-augmented Vision Transformer for Out-of-distribution Detection27 Oct 2024
- 2024How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and Reliability13 Jun 2024
- 2024Can Dense Connectivity Benefit Outlier Detection? An Odyssey with NAS4 Jun 2024
- 2024Out-of-distribution Detection in Medical Image Analysis: A survey28 Apr 2024
- 2023Fast and Interpretable Face Identification for Out-Of-Distribution Data Using Vision Transformers6 Nov 2023
- 2023Can Pre-trained Networks Detect Familiar Out-of-Distribution Data?2 Oct 2023
- 2023Nearest Neighbor Guidance for Out-of-Distribution Detection26 Sep 2023
- 2023How to Handle Different Types of Out-of-Distribution Scenarios in Computational Argumentation? A Comprehensive and Fine-Grained Field Study15 Sep 2023
- 2023CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No23 Aug 2023
- 2023HOOD: Real-Time Human Presence and Out-of-Distribution Detection Using FMCW Radar24 Jul 2023
- 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning2 Jun 2023
12 newest of 27 All 27 (JSON)