arXiv Analytics

Sign in

arXiv:2408.13516 [cs.CV]AbstractReferencesReviewsResources

AnoPLe: Few-Shot Anomaly Detection via Bi-directional Prompt Learning with Only Normal Samples

Yujin Lee, Seoyoon Jang, Hyunsoo Yoon

Published 2024-08-24Version 1

Few-shot Anomaly Detection (FAD) poses significant challenges due to the limited availability of training samples and the frequent absence of abnormal samples. Previous approaches often rely on annotations or true abnormal samples to improve detection, but such textual or visual cues are not always accessible. To address this, we introduce AnoPLe, a multi-modal prompt learning method designed for anomaly detection without prior knowledge of anomalies. AnoPLe simulates anomalies and employs bidirectional coupling of textual and visual prompts to facilitate deep interaction between the two modalities. Additionally, we integrate a lightweight decoder with a learnable multi-view signal, trained on multi-scale images to enhance local semantic comprehension. To further improve performance, we align global and local semantics, enriching the image-level understanding of anomalies. The experimental results demonstrate that AnoPLe achieves strong FAD performance, recording 94.1% and 86.2% Image AUROC on MVTec-AD and VisA respectively, with only around a 1% gap compared to the SoTA, despite not being exposed to true anomalies. Code is available at https://github.com/YoojLee/AnoPLe.

Comments: Code is available at https://github.com/YoojLee/AnoPLe
Categories: cs.CV, cs.AI
Related articles: Most relevant | Search more
arXiv:2006.14811 [cs.CV] (Published 2020-06-26)
Few-Shot Anomaly Detection for Polyp Frames from Colonoscopy
arXiv:2207.07361 [cs.CV] (Published 2022-07-15)
Registration based Few-Shot Anomaly Detection
arXiv:2404.05231 [cs.CV] (Published 2024-04-08, updated 2024-07-16)
PromptAD: Learning Prompts with only Normal Samples for Few-Shot Anomaly Detection