mlsanityData to 14 Oct 2026

Domain Adaptation of Attention Heads for Zero-shot Anomaly Detection

arXiv 2505.22259 ↗First posted 28 May 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Zero-shot anomaly detection (ZSAD) enables anomaly detection without normal samples from target categories, addressing scenarios where task-specific training data is unavailable. However, existing ZSAD methods either neglect adaptation of vision-language models to anomaly detection or implement only partial adaptation. This paper proposes Head-adaptive CLIP (HeadCLIP), which effectively adapts both text and image encoders. HeadCLIP employs learnable prompts in the text encoder to generalize normality and abnormality concepts, and introduces learnable head weights in the image encoder to dynamically adjust attention head features for task-specific adaptation. A joint anomaly score is further proposed to leverage adapted pixel-level information for enhanced image-level detection. Experiments on 17 datasets across industrial and medical domains demonstrate that HeadCLIP outperforms existing ZSAD methods at both pixel and image levels, achieving improvements of up to 4.9%p in pixel-level mean anomaly detection score (mAD) and 3.7%p in image-level mAD in the industrial domain, with comparable gains (3.2%p, 3.2%p) in the medical domain. Code and pretrained weights are available at https://github.com/kiyoonjeong0305/HeadCLIP.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 37 of its 63 references that are in the map. First posted on arXiv 28 May 2025.

Builds on

37 of 63 references.

References · 37

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  4. 2021Learning to Prompt for Vision-Language Modelscited by 2,281
  5. 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 594
  6. 2019Kvasir-SEG: A Segmented Polyp Datasetcited by 589
  7. 2017Skin Lesion Analysis Toward Melanoma Detection: A Challenge at the 2017 International Symposium on Biomedical Imaging (ISBI), Hosted by the International Skin Imaging Collaboration (ISIC)cited by 549
  8. 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 514
  9. 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 400
  10. 2019Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddingscited by 386
  11. 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 315
  12. 2020Multiresolution Knowledge Distillation for Anomaly Detectioncited by 285
25 more
  1. 2023AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detectioncited by 271
  2. 2022A Unified Model for Multi-class Anomaly Detectioncited by 268
  3. 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 227
  4. 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 223
  5. 2020Patch SVDD: Patch-level SVDD for Anomaly Detection and Segmentationcited by 212
  6. 2020Can AI help in screening Viral and COVID-19 pneumonia?cited by 200
  7. 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 196
  8. 2019Dice Loss for Data-imbalanced NLP Taskscited by 182
  9. 2023Deep Industrial Image Anomaly Detection: A Surveycited by 148
  10. 2019Segmentation-Based Deep-Learning Approach for Surface-Defect Detectioncited by 145
  11. 2024AdaCLIP: Adapting CLIP with Hybrid Learnable Prompts for Zero-Shot Anomaly Detectioncited by 127
  12. 2021Fully Convolutional Cross-Scale-Flows for Image-based Defect Detectioncited by 117
  13. 2023A Closer Look at the Explainability of Contrastive Language-Image Pre-trainingcited by 96
  14. 2023Few-Shot Defect Image Generation via Defect-Aware Feature Manipulationcited by 67
  15. 2023IM-IAD: Industrial Image Anomaly Detection Benchmark in Manufacturingcited by 64
  16. 2023ReContrast: Domain-Specific Anomaly Detection via Contrastive Reconstructioncited by 63
  17. 2023Anomaly Detection with Conditioned Denoising Diffusion Modelscited by 56
  18. 2023Exploring Plain ViT Reconstruction for Multi-class Unsupervised Anomaly Detectioncited by 47
  19. 2023DiffusionAD: Norm-guided One-step Denoising Diffusion for Anomaly Detectioncited by 46
  20. 2023EasyNet: An Easy Network for 3D Industrial Anomaly Detectioncited by 43
  21. 2023Focus the Discrepancy: Intra- and Inter-Correlation Learning for Image Anomaly Detectioncited by 32
  22. 2023MSFlow: Multi-Scale Flow-based Framework for Unsupervised Anomaly Detectioncited by 25
  23. 2023Anomaly Heterogeneity Learning for Open-set Supervised Anomaly Detectioncited by 25
  24. 2024Prior Normality Prompt Transformer for Multi-class Industrial Image Anomaly Detectioncited by 19
  25. 2024Learning Feature Inversion for Multi-class Anomaly Detection under General-purpose COCO-AD Benchmarkcited by 16

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025ACD-CLIP: Decoupling Representation and Dynamic Fusion for Zero-Shot Anomaly Detection
  2. 2026TIPS Over Tricks: Simple Prompts for Effective Zero-shot Anomaly Detection
  3. 2025AdaptCLIP: Adapting CLIP for Universal Visual Anomaly Detection
  4. 2025Towards Zero-Shot Anomaly Detection and Reasoning with Multimodal Large Language Models
  5. 2026VisualAD: Language-Free Zero-Shot Anomaly Detection via Vision Transformer
  6. 2024GlocalCLIP: Object-agnostic Global-Local Prompt Learning for Zero-shot Anomaly Detection
  7. 2025Bridge Feature Matching and Cross-Modal Alignment with Mutual-filtering for Zero-shot Anomaly Detection
  8. 2024Dual-Image Enhanced CLIP for Zero-Shot Anomaly Detection