Lune

ICCV2025Top-tier venue

Fine-Grained Abnormality Prompt Learning for Zero-Shot Anomaly Detection

Jiawen Zhu, Yew-Soon Ong, Chunhua Shen, Guansong Pang

Abstract

Current zero-shot anomaly detection (ZSAD) methods show remarkable success in prompting large pre-trained vision-language models to detect anomalies in a target dataset without using any dataset-specific training or demonstration. However, these methods often focus on crafting/learning prompts that capture only coarse-grained semantics of abnormality, e.g., high-level semantics like "damaged", "imperfect", or "defective" objects. They therefore have limited capability in recognizing diverse abnormality details that deviate from these general abnormal patterns in various ways. To address this limitation, we propose FAPrompt, a novel framework designed to learn Fine-grained Abnormality Prompts for accurate ZSAD. To this end, a novel Compound Abnormality Prompt learning (CAP) module is introduced in FAPrompt to learn a set of complementary, decomposed abnormality prompts, where abnormality prompts are enforced to model diverse abnormal patterns derived from the same normality semantic. On the other hand, the fine-grained abnormality patterns can be different from one dataset to another. To enhance the cross-dataset generalization, another novel module, namely Data-dependent Abnormality Prior learning (DAP), is introduced in FAPrompt to learn a sample-wise abnormality prior from abnormal features of each test image to dynamically adapt the abnormality prompts to individual test images. Comprehensive experiments on 19 real-world datasets, covering both industrial defects and medical anomalies, demonstrate that FAPrompt substantially outperforms state-of-the-art methods in both image- and pixel-level ZSAD tasks. Code is available at https://github.com/mala-lab/FAPrompt.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AnomalyVFM - Transforming Vision Foundation Models into Zero-Shot Anomaly Detectors cites Towards Total Recall in Industrial Anomaly Detection
  • AnomalyVFM - Transforming Vision Foundation Models into Zero-Shot Anomaly Detectors cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • AnomalyVFM - Transforming Vision Foundation Models into Zero-Shot Anomaly Detectors cites Learning Transferable Visual Models From Natural Language Supervision
  • AG-VAS: Anchor-Guided Zero-Shot Visual Anomaly Segmentation with Large Multimodal Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Conditional Prompt Learning for Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • FB-CLIP: Fine-Grained Zero-Shot Anomaly Detection with Foreground-Background Disentanglement cites Towards Total Recall in Industrial Anomaly Detection
  • FB-CLIP: Fine-Grained Zero-Shot Anomaly Detection with Foreground-Background Disentanglement cites Conditional Prompt Learning for Vision-Language Models
  • FB-CLIP: Fine-Grained Zero-Shot Anomaly Detection with Foreground-Background Disentanglement cites Learning Transferable Visual Models From Natural Language Supervision
  • Toward Long-Tailed Online Anomaly Detection Through Class-Agnostic Concepts cites Towards Total Recall in Industrial Anomaly Detection
  • Toward Long-Tailed Online Anomaly Detection Through Class-Agnostic Concepts cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • Toward Long-Tailed Online Anomaly Detection Through Class-Agnostic Concepts cites Learning Transferable Visual Models From Natural Language Supervision
  • MRAD: Zero-Shot Anomaly Detection with Memory-Driven Retrieval cites Conditional Prompt Learning for Vision-Language Models
  • MRAD: Zero-Shot Anomaly Detection with Memory-Driven Retrieval cites Learning Transferable Visual Models From Natural Language Supervision
  • BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. MRAD: Zero-Shot Anomaly Detection with Memory-Driven RetrievalChaoran Xu, Chengkan Lv, Qiyu Chen, Feng Zhang et al.ICLR 2026 · 9 citations
  2. AnomalyVFM - Transforming Vision Foundation Models into Zero-Shot Anomaly DetectorsMatic Fucka, Vitjan Zavrtanik, Danijel SkocajCVPR 2026 · 4 citations
  3. FB-CLIP: Fine-Grained Zero-Shot Anomaly Detection with Foreground-Background DisentanglementMing Hu, Yongsheng Huo, Mingyu Dou, Jianfu Yin et al.CVPR 2026 · 2 citations
  4. AG-VAS: Anchor-Guided Zero-Shot Visual Anomaly Segmentation with Large Multimodal ModelsZhen Qu, Xian Tao, Xiaoyi Bao, Dingrong Wang et al.CVPR 2026 · 1 citation
  5. Toward Long-Tailed Online Anomaly Detection Through Class-Agnostic ConceptsChiao-An Yang, Kuan-Chuan Peng, Raymond A. YehICCV 2025 · 1 citation

Builds on31

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and GenerationJunnan Li, Dongxu Li, Caiming Xiong, Steven C. H. HoiICML 2022 · 6,549 citations
  3. Conditional Prompt Learning for Vision-Language ModelsKaiyang Zhou, Jingkang Yang, Chen Change Loy, Ziwei LiuCVPR 2022 · 1,438 citations
  4. Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf et al.CVPR 2022 · 1,301 citations
  5. Anomaly Detection via Reverse Distillation from One-Class EmbeddingHanqiu Deng, Xingyu LiCVPR 2022 · 701 citations

Related papers

  1. CoPS: Conditional Prompt Synthesis for Zero-Shot Anomaly DetectionQiyu Chen, Zhen Qu, Wei Luo, Haiming Yao, Yunkang Cao, Yuxin Jiang, Yinan Duan, Huiyuan Luo, Chengkan Lv, Zhengtao ZhangCVPR Findings 2026
  2. AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly DetectionQihang Zhou, Guansong Pang, Yu Tian, Shibo He et al.ICLR 2024 · 380 citations
  3. PromptMoE: Generalizable Zero-Shot Anomaly Detection via Visually-Guided Prompt MixturesYuheng Shao, Lizhang Wang, Changhao Li, Peixian Chen et al.AAAI 2026
  4. Do LLMs Understand Visual Anomalies? Uncovering LLM's Capabilities in Zero-shot Anomaly DetectionJiaqi Zhu, Shaofeng Cai, Fang Deng, Beng Chin Ooi et al.ACM MM 2024 · 30 citations
  5. Bayesian Prompt Flow Learning for Zero-Shot Anomaly DetectionZhen Qu, Xian Tao, Xinyi Gong, Shichen Qu et al.CVPR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines