Defect-aware Hybrid Prompt Optimization via Progressive Tuning for Zero-Shot Multi-type Anomaly Detection and Segmentation
Nadeem Nazer, Hongkuan Zhou, Lavdim Halilaj, Ylli Sadikaj, Steffen Staab

TL;DR
This paper introduces DAPO, a defect-aware prompt optimization method that enhances zero-shot multi-type anomaly detection and segmentation by aligning image features with semantic defect descriptions, improving performance under distribution shifts.
Contribution
The paper proposes a novel hybrid prompt tuning approach that automatically optimizes defect-aware prompts, reducing human bias and improving zero-shot detection of various anomaly types.
Findings
DAPO improves AUROC and precision by 3.7% on average under distribution shifts.
DAPO enhances localization of novel anomalies by 6.5% in zero-shot settings.
Experiments on multiple benchmarks demonstrate superior performance over baseline models.
Abstract
Recent vision language models (VLMs) like CLIP have demonstrated impressive anomaly detection performance under significant distribution shift by utilizing high-level semantic information through text prompts. However, these models often neglect fine-grained details, such as which kind of anomalies, like "hole", "cut", "scratch" that could provide more specific insight into the nature of anomalies. We argue that recognizing fine-grained anomaly types 1) enriches the representation of "abnormal" with structured semantics, narrowing the gap between coarse anomaly signals and fine-grained defect categories; 2) enables manufacturers to understand the root causes of the anomaly and implement more targeted and appropriate corrective measures quickly. While incorporating such detailed semantic information is crucial, designing handcrafted prompts for each defect type is both time-consuming and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Domain Adaptation and Few-Shot Learning · Advanced Malware Detection Techniques
