mlsanityData to 14 Oct 2026

Random Word Data Augmentation with CLIP for Zero-Shot Anomaly Detection

arXiv 2308.11119 ↗First posted 22 Aug 2023cs.CV cs.LGcited by 16

Not on the map. Why?

Abstract (arXiv)

This paper presents a novel method that leverages a visual-language model, CLIP, as a data source for zero-shot anomaly detection. Tremendous efforts have been put towards developing anomaly detectors due to their potential industrial applications. Considering the difficulty in acquiring various anomalous samples for training, most existing methods train models with only normal samples and measure discrepancies from the distribution of normal samples during inference, which requires training a model for each object category. The problem of this inefficient training requirement has been tackled by designing a CLIP-based anomaly detector that applies prompt-guided classification to each part of an image in a sliding window manner. However, the method still suffers from the labor of careful prompt ensembling with known object categories. To overcome the issues above, we propose leveraging CLIP as a data source for training. Our method generates text embeddings with the text encoder in CLIP with typical prompts that include words of normal and anomaly. In addition to these words, we insert several randomly generated words into prompts, which enables the encoder to generate a diverse set of normal and anomalous samples. Using the generated embeddings as training data, a feed-forward neural network learns to extract features of normal and anomaly from CLIP's embeddings, and as a result, a category-agnostic anomaly detector can be obtained without any training images. Experimental results demonstrate that our method achieves state-of-the-art performance without laborious prompt ensembling in zero-shot setups.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 24 of its 33 references that are in the map. First posted on arXiv 22 Aug 2023.

Builds on

24 of 33 references.

References · 24

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  3. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  4. 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,555
  5. 2021Open-vocabulary Object Detection via Vision and Language Knowledge Distillationcited by 906
  6. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 776
  7. 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 594
  8. 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 564
  9. 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 531
  10. 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 514
  11. 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 400
  12. 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
12 more
  1. 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 315
  2. 2020Sub-Image Anomaly Detection with Deep Pyramid Correspondencescited by 300
  3. 2020Multiresolution Knowledge Distillation for Anomaly Detectioncited by 285
  4. 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
  5. 2021A Simple Baseline for Open-Vocabulary Semantic Segmentation with Pre-trained Vision-language Modelcited by 223
  6. 2020Patch SVDD: Patch-level SVDD for Anomaly Detection and Segmentationcited by 212
  7. 2020Same Same But DifferNet: Semi-Supervised Defect Detection with Normalizing Flowscited by 212
  8. 2022Registration based Few-Shot Anomaly Detectioncited by 133
  9. 2021Self-Supervised Predictive Convolutional Attentive Block for Anomaly Detectioncited by 119
  10. 2021A Hierarchical Transformation-Discriminating Generative Model for Few Shot Anomaly Detectioncited by 60
  11. 2023Prompt-Guided Zero-Shot Anomaly Action Recognition using Pretrained Deep Skeleton Featurescited by 21
  12. 2021Sewer-ML: A Multi-Label Sewer Defect Classification Dataset and Benchmarkcited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 8; 2025: 6; 2026: 2.

16 papers.

Sort:

By area:

  1. 2024AdaCLIP: Adapting CLIP with Hybrid Learnable Prompts for Zero-Shot Anomaly Detectioncited by 127
  2. 2024PromptAD: Learning Prompts with only Normal Samples for Few-Shot Anomaly Detectioncited by 98
  3. 2024Do LLMs Understand Visual Anomalies? Uncovering LLM's Capabilities in Zero-shot Anomaly Detectioncited by 36
  4. 2024Generalized Out-of-Distribution Detection and Beyond in Vision Language Model Era: A Surveycited by 36
  5. 2025Foundation Models and Transformers for Anomaly Detection: A Surveycited by 8
  6. 2024FADE: Few-shot/zero-shot Anomaly Detection Engine using Large Vision-Language Modelcited by 7
  7. 2025Cluster-Aware Prompt Ensemble Learning for Few-Shot Vision-Language Model Adaptationcited by 7
  8. 2024Dual-Image Enhanced CLIP for Zero-Shot Anomaly Detectioncited by 4
  9. 2025Continual-MEGA: A Large-scale Benchmark for Generalizable Continual Anomaly Detectioncited by 4
  10. 2025AgentIAD: Agentic Industrial Anomaly Detection via Adaptive Memory Augmentationcited by 4
  11. 2025A Comprehensive Survey for Real-World Industrial Defect Detection: Challenges, Approaches, and Prospectscited by 2
  12. 2026VTFusion: A Vision-Text Multimodal Fusion Network for Few-Shot Anomaly Detectioncited by 2
4 more
  1. 2024Towards Efficient Pixel Labeling for Industrial Anomaly Detection and Localizationcited by 0
  2. 2024Attention-Guided Perturbation Network for Industrial Anomaly Detectioncited by 0
  3. 2025Towards Efficient Pixel Labeling for Industrial Anomaly Detection and Localizationcited by 0
  4. 2026Anchor and Adapt: Asymmetric Prompt Adaptation for Few-Shot Industrial Anomaly Detectioncited by 0