Multi-level visual-language models feature learning for generalizable anomaly detection
Abstract Zero-shot anomaly detection (ZSAD) aims to identify anomalies in target datasets without accessing their samples. Although CLIP and other large-scale vision language models show strong generalization, their potential for multi-level feature extraction in ZSAD remains underexplored. To address this, we propose a Multi-Level Feature Learning (MLFL) framework to enhance the zero-shot capability of CLIP via hierarchical alignment. MLFL adopts a two-stage training paradigm: Multi-Level Text Prompt Tuning (MLTP) and Multi-Level Text-Image Feature Alignment (MLFA). MLTP learns object-agnostic and object-aware prompts tailored to different encoder blocks. MLFA aligns textual and visual features using linear layers for shallow blocks and a Deep Feature Alignment (DFA) module for deep blocks. To compress parameters and preserve semantics, we introduce a Generalized Prompt Distillation (GPD) module that distills object-aware prompts into a unified representation. Experiments on seven industrial datasets achieve state-of-the-art performance, and deployment tests on edge devices demonstrate the potential applicability of the framework in practical industrial scenarios.
Authors
- Junfa Li (ORCID: https://orcid.org/0000-0002-1930-9724)
- Juan Xie (ORCID: https://orcid.org/0000-0002-2956-1763)
- Ke Xu (ORCID: https://orcid.org/0000-0001-6266-4257)
- Xuxiao Ma
- jianfeng Qiu
Institutions
- Anhui Jianzhu University (CN)
- Anhui University (CN)
- HUI Research (Sweden) (SE)
- Anhui Business College (CN)
- Anhui Institute of Architectural Research and Design (CN)
Publication Details
- Journal
- Complex & Intelligent Systems
- Published
- 2026-08-17
- DOI
- https://doi.org/10.1007/s40747-026-02462-6
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China