mlsanityData to 7 Oct 2026

OODformer: Out-Of-Distribution Detection Transformer

arXiv 2107.08976 ↗First posted 19 Jul 2021cs.CVcited by 27

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  7. 2020End-to-End Object Detection with Transformerscited by 7,384
  8. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  9. 2016Layer Normalizationcited by 5,579
  10. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  11. 2020Supervised Contrastive Learningcited by 2,803
  12. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
31 more
  1. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
  2. 2013Describing Textures in the Wildcited by 2,110
  3. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  4. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  5. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  6. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  7. 2018Deep Anomaly Detection with Outlier Exposurecited by 939
  8. 2020Prototypical Contrastive Learning of Unsupervised Representationscited by 636
  9. 2015Cyclical Learning Rates for Training Neural Networkscited by 627
  10. 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 511
  11. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
  12. 2018Do Deep Generative Models Know What They Don't Know?cited by 443
  13. 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
  14. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  15. 2020Debiased Contrastive Learningcited by 354
  16. 2016Large-Margin Softmax Loss for Convolutional Neural Networkscited by 296
  17. 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
  18. 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
  19. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  20. 2020Classification-Based Anomaly Detection for General Datacited by 210
  21. 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
  22. 2020Contrastive Training for Improved Out-of-Distribution Detectioncited by 186
  23. 2020PANDA: Adapting Pretrained Features for Anomaly Detection and Segmentationcited by 175
  24. 2020Posterior Network: Uncertainty Estimation without OOD Samples via Density-Based Pseudo-Countscited by 163
  25. 2018Large Margin Deep Networks for Classificationcited by 110
  26. 2018Generative Probabilistic Novelty Detection with Adversarial Autoencoderscited by 99
  27. 2020Scene Graph Reasoning for Visual Question Answeringcited by 49
  28. 2020Relation Transformer Networkcited by 20
  29. 2019Attribute Restoration Framework for Anomaly Detectioncited by 16
  30. 2021Graphhopper: Multi-Hop Scene Graph Reasoning for Visual Question Answeringcited by 13
  31. 2021Scenes and Surroundings: Scene Graph Generation using Relation Transformercited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 3; 2022: 9; 2023: 10; 2024: 4; 2025: 0; 2026: 1.

27 papers.

Sort:

  1. 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
  2. 2022Transformers in Medical Imaging: A Surveycited by 245
  3. 2021A Unified Survey on Anomaly, Novelty, Open-Set, and Out-of-Distribution Detection: Solutions and Future Challengescited by 154
  4. 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluationcited by 132
  5. 2023CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say Nocited by 130
  6. 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learningcited by 107
  7. 2022Relationformer: A Unified Framework for Image-to-Graph Generationcited by 67
  8. 2023Nearest Neighbor Guidance for Out-of-Distribution Detectioncited by 64
  9. 2024Out-of-distribution Detection in Medical Image Analysis: A surveycited by 22
  10. 2023Reconstruction-based Out-of-Distribution Detection for Short-Range FMCW Radarcited by 6
  11. 2021Data Invariants to Understand Unsupervised Out-of-Distribution Detectioncited by 5
  12. 2022Is it all a cluster game? -- Exploring Out-of-Distribution Detection based on Clustering in the Embedding Spacecited by 5
15 more
  1. 2022Box Supervised Video Segmentation Proposal Networkcited by 4
  2. 2022A Baseline for Detecting Out-of-Distribution Examples in Image Captioningcited by 4
  3. 2023HOOD: Real-Time Human Presence and Out-of-Distribution Detection Using FMCW Radarcited by 4
  4. 2023How to Handle Different Types of Out-of-Distribution Scenarios in Computational Argumentation? A Comprehensive and Fine-Grained Field Studycited by 4
  5. 2023Can Pre-trained Networks Detect Familiar Out-of-Distribution Data?cited by 4
  6. 2023Fast and Interpretable Face Identification for Out-Of-Distribution Data Using Vision Transformerscited by 4
  7. 2022Self-Supervised Anomaly Detection by Self-Distillation and Negative Samplingcited by 3
  8. 2022No Shifted Augmentations (NSA): compact distributions for robust self-supervised Anomaly Detectioncited by 3
  9. 2024PViT: Prior-augmented Vision Transformer for Out-of-distribution Detectioncited by 3
  10. 2022Open Set Recognition using Vision Transformer with an Additional Detection Headcited by 2
  11. 2022Semantic Novelty Detection via Relational Reasoningcited by 2
  12. 2024How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and Reliabilitycited by 1
  13. 2023A Latent Space Correlation-Aware Autoencoder for Anomaly Detection in Skewed Datacited by 0
  14. 2024Can Dense Connectivity Benefit Outlier Detection? An Odyssey with NAScited by 0
  15. 2026CODE: Cross-Modal Calibration and Dynamic Suppression for Open World Object Detectioncited by 0