AnomalyPrompt: LLM-Guided Adaptive Prompting via Visual Perception for Zero-Shot Anomaly Detection
Name the authors, now that its review has ended
potentialpaper · 2026-11-24 17:31 UTC · 680ab8c9019f ·
paper.json modified
+++ b/paper.json@@ -1,7 +1,12 @@{"title": "AnomalyPrompt: LLM-Guided Adaptive Prompting via Visual Perception for Zero-Shot Anomaly Detection",- "authors": [],+ "authors": [+ "Renshuai Tao",+ "Changwei Yu",+ "Sisi Zhu",+ "Zhenliang Ni"+ ],"abstract": "Industrial visual anomaly detection has long been constrained by the scarcity of anomalous samples and the high diversity of defect appearances. Recent CLIP/VLM-based methods have demonstrated promising cross-category generalization for ZSAD through prompt optimization. Most existing methods rely on static or manually crafted prompts or perform only passive adjustments, lacking mechanisms for active prompt exploration and quality assessment. Consequently, they struggle to capture fine-grained distinctions between normal and abnormal states and ultimately fail to consistently generate reliable prompts for anomaly detection. To address this limitation, we propose AnomalyPrompt, a training-efficient vision-language anomaly detection framework that unifies prompt generation, prompt evaluation, and visual-semantic alignment through a multi-stage prompting process. AnomalyPrompt operates through a structured “perception-reasoning-decision-execution” pipeline: it first uses the image-level embedding and patch embeddings of the input image to retrieve global surface features and fine-grained local features from hierarchical concept banks; then, an LLM-based Prompt Generator produces diverse, CLIP-friendly natural-language candidate prompts under structured constraints; next, an LLM Prompt Evaluator scores each candidate in terms of cue faithfulness, CLIP suitability, and clarity/readability, selecting the optimized prompt; finally, the selected prompt is encoded together with learnable normal/abnormal state vectors for anomaly scoring and localization. In this way, AnomalyPrompt enables image-specific prompt adaptation while preserving the semantic transparency of natural-language prompts. Extensive experiments on seven industrial anomaly detection datasets and four medical benchmarks demonstrate that AnomalyPrompt achieves SOTA performance in zero-shot anomaly detection.","license": {"metadata": "CC0-1.0","abstract": "CC0-1.0"