mlsanityData to 13 Oct 2026

GlocalCLIP: Object-agnostic Global-Local Prompt Learning for Zero-shot Anomaly Detection

arXiv 2411.06071 ↗First posted 9 Nov 2024cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Zero-shot anomaly detection (ZSAD) is crucial for detecting anomalous patterns in target datasets without using training samples, specifically in scenarios where there are distributional differences between the target domain and training data or where data scarcity arises because of restricted access. Although recently pretrained vision-language models demonstrate strong zero-shot performance across various visual tasks, they focus on learning class semantics, which makes their direct application to ZSAD challenging. To address this scenario, we propose GlocalCLIP, which uniquely separates global and local prompts and jointly optimizes them. This approach enables the object-agnostic glocal semantic prompt to effectively capture general normal and anomalous patterns without dependency on specific objects in the image. We refine the text prompts for more precise adjustments by utilizing deep-text prompt tuning in the text encoder. In the vision encoder, we apply V-V attention layers to capture detailed local image features. Finally, we introduce glocal contrastive learning to improve the complementary learning of global and local prompts, effectively detecting anomalous patterns across various domains. The generalization performance of GlocalCLIP in ZSAD was demonstrated on 15 real-world datasets from both the industrial and medical domains, achieving superior performance compared to existing methods. Code will be made available at https://github.com/YUL-git/GlocalCLIP.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 33 of its 46 references that are in the map. First posted on arXiv 9 Nov 2024.

Builds on

33 of 46 references.

References · 33

  1. 2017Attention Is All You Needcited by 60,106
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,588
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,043
  4. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,141
  5. 2021Learning to Prompt for Vision-Language Modelscited by 2,276
  6. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,431
  7. 2023Vision-Language Models for Vision Tasks: A Surveycited by 837
  8. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 774
  9. 2021FILIP: Fine-grained Interactive Language-Image Pre-Trainingcited by 627
  10. 2019Kvasir-SEG: A Segmented Polyp Datasetcited by 588
  11. 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 511
  12. 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 399
21 more
  1. 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
  2. 2022Expanding Language-Image Pretrained Models for General Video Recognitioncited by 320
  3. 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 314
  4. 2020Multiresolution Knowledge Distillation for Anomaly Detectioncited by 285
  5. 2023AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detectioncited by 271
  6. 2023SimpleNet: A Simple Network for Image Anomaly Detection and Localizationcited by 256
  7. 2023CLIP-Driven Universal Model for Organ Segmentation and Tumor Detectioncited by 224
  8. 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 222
  9. 2016Skin Lesion Analysis toward Melanoma Detection: A Challenge at the International Symposium on Biomedical Imaging (ISBI) 2016, hosted by the International Skin Imaging Collaboration (ISIC)cited by 197
  10. 2019Dice Loss for Data-imbalanced NLP Taskscited by 181
  11. 2023EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latenciescited by 158
  12. 2019Segmentation-Based Deep-Learning Approach for Surface-Defect Detectioncited by 145
  13. 2020Learning and Evaluating Representations for Deep One-class Classificationcited by 133
  14. 2023RoboCLIP: One Demonstration is Enough to Learn Robot Policiescited by 129
  15. 2024AdaCLIP: Adapting CLIP with Hybrid Learnable Prompts for Zero-Shot Anomaly Detectioncited by 127
  16. 2022CALIP: Zero-Shot Enhancement of CLIP with Parameter-free Attentioncited by 103
  17. 2024PromptAD: Learning Prompts with only Normal Samples for Few-Shot Anomaly Detectioncited by 98
  18. 2023Pushing the Limits of Fewshot Anomaly Detection in Industry Vision: Graphcorecited by 75
  19. 2023CLIP-AD: A Language-Guided Staged Dual-Path Model for Zero-shot Anomaly Detectioncited by 58
  20. 2022CLIPPO: Image-and-Language Understanding from Pixels Onlycited by 54
  21. 2023HiCLIP: Contrastive Language-Image Pretraining with Hierarchy-aware Attentioncited by 44

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025PromptMoE: Generalizable Zero-Shot Anomaly Detection via Visually-Guided Prompt Mixtures
  2. 2026VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision Transformer
  3. 2026TIPS Over Tricks: Simple Prompts for Effective Zero-shot Anomaly Detection
  4. 2026WMoE-CLIP: Wavelet-Enhanced Mixture-of-Experts Prompt Learning for Zero-Shot Anomaly Detection
  5. 2026MRAD: Zero-Shot Anomaly Detection with Memory-Driven Retrieval
  6. 2025KAnoCLIP: Zero-Shot Anomaly Detection through Knowledge-Driven Prompt Learning and Enhanced Cross-Modal Integration
  7. 2025CoPS: Conditional Prompt Synthesis for Zero-Shot Anomaly Detection
  8. 2025Towards Zero-Shot Anomaly Detection and Reasoning with Multimodal Large Language Models