Knowledge-Guided Distributional Prompt Learning with Visual Hierarchy for Zero-Shot Anomaly Detection
Jiyul Ham, Seongho Yoon, Yonggon Jung, Sangjae Lee, Jun-Geol Baek
Key points
From the paper's conclusion- We propose Hierarchical Knowledge-Guided Distributional Prompt Learning (HiDist), a normality-referenced hierarchical distributional prompt framework for ZSAD.
Abstract
Zero-shot anomaly detection (ZSAD) aims to detect anomalies in previously unseen classes using auxiliary images, with applications such as industrial visual inspection and medical imaging. Recent vision-language-model-based approaches improve ZSAD by aligning textual and visual representations, while distributional prompting further models prompt variability for unseen categories. However, existing methods do not explicitly combine normality-referenced distributional modeling with hierarchy-specific prompt specialization, limiting their ability to model anomalous semantics relative to normality while addressing both image-level detection and fine-grained localization. We propose Hierarchical Knowledge-Guided Distributional Prompt Learning (HiDist), a normality-referenced hierarchical distributional prompt framework for ZSAD. HiDist models each prompt token with a diagonal Gaussian distribution and generates stochastic prompt variations through Monte Carlo sampling. Rather than learning normal and anomalous distributions independently, anomalous prompt distributions are parameterized as deviations from learned normal references, explicitly encoding their dependency. The resulting distributions are specialized into global and local representations for image-level detection and pixel-level localization, respectively, while an adapted global visual representation guides hierarchical alignment. Experiments on seven industrial and medical datasets demonstrate strong cross-dataset performance across anomaly detection and localization tasks. Extensive ablation and representation analyses further support the effectiveness of the proposed distributional modeling and hierarchy-specific representation learning.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SCRA-CLIP: Spherical-Contextual Representation Adaptation for Zero-Shot Anomaly DetectionarXiv · 2026
- CLIP-Based Adaptive Weighted Anomaly Detection with Cross-Layer Semantic DecouplingApplied Sciences · 2026
- DriftAD: Visually-Guided Text Drift for Few-Shot Industrial Anomaly DetectionarXiv · 2026
- AggCLIP: Aggregating CLIP for Zero-Shot Multimodal Anomaly DetectionarXiv · 2026
- Hybrid semantic optimization with hierarchical spatial-wavelet synergy for zero-shot anomaly detectionScientific Reports · 2026
- A New Semi-Supervised Video Anomaly Detection Baseline in Lack of Anomalous SamplesACM Transactions on Multimedia Computing Communications and Applications · 2026