FiLo++: Zero-/Few-Shot Anomaly Detection by Fused Fine-Grained Descriptions and Deformable Localization
Preprint
Abstract
Anomaly detection methods typically require extensive normal samples from the target class for training, limiting their applicability in scenarios that require rapid adaptation, such as cold start. Zero-shot and few-shot anomaly detection do not require labeled samples from the target class in advance, making them a promising research direction. Existing zero-shot and few-shot approaches often leverage powerful multimodal models to detect and localize anomalies by comparing image-text similarity. However, their handcrafted generic descriptions fail to capture the diverse range of anomalies that may emerge in different objects, and simple patch-level image-text matching often struggles to localize anomalous regions of varying shapes and sizes. To address these issues, this paper proposes the FiLo++ method, which consists of two key components. The first component, Fused Fine-Grained Descriptions (FusDes), utilizes large language models to generate anomaly descriptions for each object category, combines both fixed and learnable prompt templates and applies a runtime prompt filtering method, producing more accurate and task-specific textual descriptions. The second component, Deformable Localization (DefLoc), integrates the vision foundation model Grounding DINO with position-enhanced text descriptions and a Multi-scale Deformable Cross-modal Interaction (MDCI) module, enabling accurate localization of anomalies with various shapes and sizes. In addition, we design a position-enhanced patch matching approach to improve few-shot anomaly detection performance. Experiments on multiple datasets demonstrate that FiLo++ achieves significant performance improvements compared with existing methods. Code will be available at https://github.com/CASIA-IVA-Lab/FiLo.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- FabGPT: An Efficient Large Multimodal Model for Complex Wafer Defect Knowledge QueriesIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2026
- ADFormer: Generalizable Few-Shot Anomaly Detection With Dual CNN-Transformer ArchitectureIEEE Transactions on Instrumentation and Measurement, 2024
- COFT-AD: COntrastive Fine-Tuning for Few-Shot Anomaly DetectionIEEE Transactions on Image Processing, 2024
- Pixel-Level Contrastive Pretrainer for Industrial Image RepresentationIEEE Transactions on Instrumentation and Measurement, 2024
- Learning to Prompt for Vision-Language ModelsInternational Journal of Computer Vision, 2022
- Self-Supervised Masking for Unsupervised Anomaly Detection and LocalizationIEEE Transactions on Multimedia, 2022
- Contrastive Attention for Video Anomaly DetectionIEEE Transactions on Multimedia, 2021
- Query Reconstruction Network for Referring Expression Image SegmentationIEEE Transactions on Multimedia, 2020
- Spatial-Temporal Cascade Autoencoder for Video Anomaly Detection in Crowded ScenesIEEE Transactions on Multimedia, 2020
- Sigmoid-weighted linear units for neural network function approximation in reinforcement learningNeural Networks, 2018