Skip to content
Preprint

Co-Evolutionary Prompt Optimization with Cross-Category Transfer for Zero-Shot Anomaly Detection

Aug 2026 · 0 citations · 25 references
Computer Science

TL;DR

CoEvoAD, a co-evolutionary framework for discrete prompt selection and a Cross-Category Transfer Objective (CCTO), which treats held-out source categories as proxies for unseen categories and scores prompt rules based on their estimated cross-category transferability, effectively improving cross-category generalization.

Abstract

Zero-shot anomaly detection (ZSAD) has gained significant attention for its practical value in industrial inspection. Recently, CLIP-based approaches have been widely adopted in ZSAD due to their strong vision-language generalization capabilities. However, existing methods commonly employ continuous prompt embeddings for prompt optimization and encode semantics in latent vectors, which lack interpretability and scalability. To this end, we propose CoEvoAD, a co-evolutionary framework for discrete prompt selection. CoEvoAD performs prompt search in the discrete natural-language space using an evolutionary algorithm. Candidate prompts are iteratively generated, evaluated, and selected throughout population evolution, thus preserving the interpretability and composability of natural language. Furthermore, we introduce a Cross-Category Transfer Objective (CCTO), which treats held-out source categories as proxies for unseen categories and scores prompt rules based on their estimated cross-category transferability, effectively improving cross-category generalization. Extensive experiments are conducted to validate the effectiveness of CoEvoAD, and the results show that it achieves state-of-the-art performance across multiple anomaly detection datasets. The code is available at https://github.com/rstao-bjtu/CoEvoAD.

View source

Similar papers

2026

Cross-Modal Guidance Learning for Zero-Shot Industrial Anomaly Detection

Zero-shot industrial anomaly detection (ZIAD) aims to develop a unified model capable of directly identifying unseen anomaly categories in images without requiring reference samples. Recently, large-scale Vision-Language Models (VLMs) such as CLIP have shown great potential for solving this task. However, existing meth...

Tiyu Fang, Lin Zhang, Ran Song et al. · 0 citations
Preprint Aug 2026

ConceptADapt: Concept-guided Adaptive Feature Reconstruction with Dynamic Attention for Few-Shot Industrial Anomaly Detection

Few-shot industrial anomaly detection (FS-IAD) focuses on detecting and localizing visual defects in industrial inspection during the cold-start phase, where only a limited number of normal training samples are available per category. Recent advances in this field predominantly leverage visual features from foundation-...

Yufei Li, Yi-Cheng Ruan, Long Tian et al. · 0 citations
Open access Aug 2026

MeCoLog: Meta-contrastive learning for cross-system few-shot log-based anomaly detection

Extensive experiments demonstrate that MeCoLog consistently outperforms state-of-the-art baselines under few-shot cross-system settings, offering a robust and highly transferable solution for real-world log anomaly detection.

Manh Tuan Nguyen, Tuan Phong Tran, Le Dinh Trang Dang et al. · 0 citations
Sep 2026

Vision-guided multi-image prompt learning for zero and few-shot pipeline anomaly detection

This work proposes ElainaCLIP, a prompt learning framework based on CLIP to incorporate vision-guided information into text prompt representations and introduce ElainaLoss to guide prompt learning through low-level semantic constraints, thereby enhancing the modeling of unstructured anomaly semantics.

Chun-Lei Wu, Yong-Hao Wang, Bai Qiao et al. · 0 citations
Open access Aug 2026

Multi-level visual-language models feature learning for generalizable anomaly detection

A Multi-Level Feature Learning (MLFL) framework is proposed to enhance the zero-shot capability of CLIP via hierarchical alignment and introduces a Generalized Prompt Distillation (GPD) module that distills object-aware prompts into a unified representation.

Jianfeng Qiu, Junfa Li, Juan Xie et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.