When Text and Images Don't Mix: Bias-Correcting Language-Image Similarity Scores for Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Contrastive Language-Image Pre-training (CLIP) achieves remarkable performance in various downstream tasks through the alignment of image and text input embeddings and holds great promise for anomaly detection. However, our empirical experiments show that the embeddings of text inputs unexpectedly tightly cluster together, far away from image embeddings, contrary to the model's contrastive training objective to align image-text input pairs. We show that this phenomenon induces a `similarity bias' - in which false negative and false positive errors occur due to bias in the similarities between images and the normal label text embeddings. To address this bias, we propose a novel methodology called BLISS which directly accounts for this similarity bias through the use of an auxiliary, external set of text inputs. BLISS is simple, it does not require strong inductive biases about anomalous behaviour nor an expensive training process, and it significantly outperforms baseline methods on benchmark image datasets, even when access to normal data is extremely limited.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 25 of its 38 references that are in the map. First posted on arXiv 24 Jul 2024.
Builds on
25 of 38 references.
References · 25
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
- 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 594
- 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
- 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 561
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 531
- 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 514
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2021SLIP: Self-supervision meets Language-Image Pre-trainingcited by 436
- 2018GANomaly: Semi-Supervised Anomaly Detection via Adversarial Trainingcited by 409
13 more
- 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 334
- 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 315
- 2019Deep Semi-Supervised Anomaly Detectioncited by 291
- 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
- 2023SimpleNet: A Simple Network for Image Anomaly Detection and Localizationcited by 256
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 216
- 2019OCGAN: One-class Novelty Detection Using GANs with Constrained Latent Representationscited by 199
- 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 152
- 2018Efficient GAN-Based Anomaly Detectioncited by 122
- 2020Deep Nearest Neighbor Anomaly Detectioncited by 104
- 2021LUNAR: Unifying Local Outlier Detection Methods via Graph Neural Networkscited by 42
- 2022Exposing Outlier Exposure: What Can Be Learned From Few, One, and Zero Outlier Imagescited by 35
- 2022Anomaly Detection Requires Better Representationscited by 15
Built on by
Citing papers per year: 2025: 1.
1 paper.