FiLo: Zero-Shot Anomaly Detection by Fine-Grained Description and High-Quality Localization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gu, Zhaopeng, Zhu, Bingke, Zhu, Guibo, Chen, Yingying, Li, Hao, Tang, Ming, Wang, Jinqiao
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912931080306688
author Gu, Zhaopeng
Zhu, Bingke
Zhu, Guibo
Chen, Yingying
Li, Hao
Tang, Ming
Wang, Jinqiao
author_facet Gu, Zhaopeng
Zhu, Bingke
Zhu, Guibo
Chen, Yingying
Li, Hao
Tang, Ming
Wang, Jinqiao
contents Zero-shot anomaly detection (ZSAD) methods entail detecting anomalies directly without access to any known normal or abnormal samples within the target item categories. Existing approaches typically rely on the robust generalization capabilities of multimodal pretrained models, computing similarities between manually crafted textual features representing "normal" or "abnormal" semantics and image features to detect anomalies and localize anomalous patches. However, the generic descriptions of "abnormal" often fail to precisely match diverse types of anomalies across different object categories. Additionally, computing feature similarities for single patches struggles to pinpoint specific locations of anomalies with various sizes and scales. To address these issues, we propose a novel ZSAD method called FiLo, comprising two components: adaptively learned Fine-Grained Description (FG-Des) and position-enhanced High-Quality Localization (HQ-Loc). FG-Des introduces fine-grained anomaly descriptions for each category using Large Language Models (LLMs) and employs adaptively learned textual templates to enhance the accuracy and interpretability of anomaly detection. HQ-Loc, utilizing Grounding DINO for preliminary localization, position-enhanced text prompts, and Multi-scale Multi-shape Cross-modal Interaction (MMCI) module, facilitates more accurate localization of anomalies of different sizes and shapes. Experimental results on datasets like MVTec and VisA demonstrate that FiLo significantly improves the performance of ZSAD in both detection and localization, achieving state-of-the-art performance with an image-level AUC of 83.9% and a pixel-level AUC of 95.9% on the VisA dataset. Code is available at https://github.com/CASIA-IVA-Lab/FiLo.
format Preprint
id arxiv_https___arxiv_org_abs_2404_13671
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FiLo: Zero-Shot Anomaly Detection by Fine-Grained Description and High-Quality Localization
Gu, Zhaopeng
Zhu, Bingke
Zhu, Guibo
Chen, Yingying
Li, Hao
Tang, Ming
Wang, Jinqiao
Computer Vision and Pattern Recognition
Machine Learning
Zero-shot anomaly detection (ZSAD) methods entail detecting anomalies directly without access to any known normal or abnormal samples within the target item categories. Existing approaches typically rely on the robust generalization capabilities of multimodal pretrained models, computing similarities between manually crafted textual features representing "normal" or "abnormal" semantics and image features to detect anomalies and localize anomalous patches. However, the generic descriptions of "abnormal" often fail to precisely match diverse types of anomalies across different object categories. Additionally, computing feature similarities for single patches struggles to pinpoint specific locations of anomalies with various sizes and scales. To address these issues, we propose a novel ZSAD method called FiLo, comprising two components: adaptively learned Fine-Grained Description (FG-Des) and position-enhanced High-Quality Localization (HQ-Loc). FG-Des introduces fine-grained anomaly descriptions for each category using Large Language Models (LLMs) and employs adaptively learned textual templates to enhance the accuracy and interpretability of anomaly detection. HQ-Loc, utilizing Grounding DINO for preliminary localization, position-enhanced text prompts, and Multi-scale Multi-shape Cross-modal Interaction (MMCI) module, facilitates more accurate localization of anomalies of different sizes and shapes. Experimental results on datasets like MVTec and VisA demonstrate that FiLo significantly improves the performance of ZSAD in both detection and localization, achieving state-of-the-art performance with an image-level AUC of 83.9% and a pixel-level AUC of 95.9% on the VisA dataset. Code is available at https://github.com/CASIA-IVA-Lab/FiLo.
title FiLo: Zero-Shot Anomaly Detection by Fine-Grained Description and High-Quality Localization
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2404.13671