paper-with-me

홈 › Papers

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

2023-08-22 · Masato Tamura

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.

📄 PDF Abstract BibTeX arXiv:2308.11119

Code (0)

등록된 구현이 없습니다.

Tasks

Anomaly DetectionData AugmentationLanguage Modellingzero-shot anomaly detection

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

Augmenters at SemEval-2023 Task 1: Enhancing CLIP in Handling Compositionality and Ambiguity for Zero-Shot Visual WSD through Prompt Augmentation and Text-To-Image Diffusion

2023-07-09 · Jie S. Li, Yow-Ting Shiue, Yong-Siang Shih, Jonas Geiping

This paper describes our zero-shot approaches for the Visual Word Sense Disambiguation (VWSD) Task in English. Our preliminary study shows that the simple approach of matching candidate images with the phrase using CLIP …

DescriptiveWord Sense Disambiguation

Improving CLIP Training with Language Rewrites

2023-05-31 · NeurIPS 2023 11 · Lijie Fan, Dilip Krishnan, Phillip Isola, Dina Katabi 외

Contrastive Language-Image Pre-training (CLIP) stands as one of the most effective and scalable methods for training transferable vision models using paired image and text data. CLIP models are trained using contrastive …

In-Context LearningSentence

Descriptor and Word Soups: Overcoming the Parameter Efficiency Accuracy Tradeoff for Out-of-Distribution Few-shot Learning

2023-11-21 · CVPR 2024 1 · Christopher Liao, Theodoros Tsiligkaridis, Brian Kulis

Over the past year, a large body of multimodal research has emerged around zero-shot evaluation using GPT descriptors. These studies boost the zero-shot accuracy of pretrained VL models with an ensemble of label-specific…

Domain GeneralizationFew-Shot LearningGPU

Attentive Mask CLIP

2022-12-16 · ICCV 2023 1 · Yifan Yang, Weiquan Huang, Yixuan Wei, Houwen Peng 외

Image token removal is an efficient augmentation strategy for reducing the cost of computing image features. However, this efficient augmentation strategy has been found to adversely affect the accuracy of CLIP-based tra…

Contrastive LearningRetrievalzero-shot-classificationZero-Shot Learning

AutoCLIP: Auto-tuning Zero-Shot Classifiers for Vision-Language Models

2023-09-28 · Jan Hendrik Metzen, Piyapat Saranrittichai, Chaithanya Kumar Mummadi

Classifiers built upon vision-language models such as CLIP have shown remarkable zero-shot performance across a broad range of image classification tasks. Prior work has studied different ways of automatically creating d…

image-classificationImage ClassificationLanguage ModellingLarge Language Model