CoEvoAD:面向零样本异常检测的离散提示协同进化优化框架
Co-Evolutionary Prompt Optimization with Cross-Category Transfer for Zero-Shot Anomaly Detection
CoEvoAD 提出一种协同进化框架,在离散自然语言空间用进化算法迭代生成、评估和筛选提示,以保留提示的可解释性与可组合性。该框架引入跨类别迁移目标(CCTO),将留出的源类别作为未见类别的代理来评估提示规则的迁移能力。实验显示其在多个异常检测数据集上达到 SOTA。
arXiv:2608.29467v2 Announce Type: replace 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org