Zero-Shot Anomaly Detection via Learnable Complementary Prompts and Cross-Modal Interaction

Anomaly detection is a critical task with broad applications in industrial and medical domains. In this paper, we propose LCPCLIP, a novel model designed to address zero-shot anomaly detection by leveraging the power of learnable complementary anomaly prompts. Unlike traditional approaches that rely on pre-defined category labels or extensive manual prompt, LCPCLIP introduces multiple learnable anomaly prompts optimized through complementary anomaly prompt loss, which can ensure orthogonality and diversity in learned features. Meanwhile, it incorporates a Dynamic Category Feature Embedding (DCFE) module, which fuses category and global feature information into text prompts without requiring explicit category labels. Moreover, a Vision-Text Cross-Attention (VTCA) module is proposed to enhances the interaction between text prompts and fine-grained local features. Extensive experiments conducted on ten real-world industrial anomaly segmentation datasets demonstrate the superior performance of LCPCLIP in detecting anomalies without any prior knowledge of the dataset categories. It sets a new benchmark for adaptability and generalization in industrial applications. Our code and pre-trained models are available at https://github.com/rougasuki/LCPCLIP .

Authors

Institutions

Publication Details

Journal
International Journal of Pattern Recognition and Artificial Intelligence
Published
2026-07-22
DOI
https://doi.org/10.1142/s0218001426510122
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Zero-Shot Anomaly Detection via Learnable Complementary Prompts and Cross-Modal Interaction

Zhigeng Wang, Gaihua Wang
International Journal of Pattern Recognition and Artificial Intelligence
Anomaly Detection Techniques and Applications
article

Zero-Shot Anomaly Detection via Learnable Complementary Prompts and Cross-Modal Interaction

Zhigeng Wang, Gaihua Wang
article en

Abstract

Anomaly detection is a critical task with broad applications in industrial and medical domains. In this paper, we propose LCPCLIP, a novel model designed to address zero-shot anomaly detection by leveraging the power of learnable complementary anomaly prompts. Unlike traditional approaches that rely on pre-defined category labels or extensive manual prompt, LCPCLIP introduces multiple learnable anomaly prompts optimized through complementary anomaly prompt loss, which can ensure orthogonality and diversity in learned features. Meanwhile, it incorporates a Dynamic Category Feature Embedding (DCFE) module, which fuses category and global feature information into text prompts without requiring explicit category labels. Moreover, a Vision-Text Cross-Attention (VTCA) module is proposed to enhances the interaction between text prompts and fine-grained local features. Extensive experiments conducted on ten real-world industrial anomaly segmentation datasets demonstrate the superior performance of LCPCLIP in detecting anomalies without any prior knowledge of the dataset categories. It sets a new benchmark for adaptability and generalization in industrial applications. Our code and pre-trained models are available at https://github.com/rougasuki/LCPCLIP .

International Journal of Pattern Recognition and Artificial Intelligence
Twitter (United States) (US)
Openalex Percentile: Top 6%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.