arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.14880cs.CVcs.AI
收藏

KKA:通过大语言模型的异常相关知识改进视觉异常检测

KKA: Improving Vision Anomaly Detection through Anomaly-related Knowledge from Large Language Models

School of Computer and Artificial Intelligence of Zhengzhou University(郑州大学计算机与人工智能学院);National Supercomputing Center In Zhengzhou(郑州国家超级计算中心);Zhejiang University(浙江大学)

Dong Chen, Zhengqing Hu, Peiguang Fan, Yueting Zhuang, Yafei Li, Qidong Liu, Xiaoheng Jiang, Mingliang Xu

AI总结:

针对无监督视觉异常检测中随机生成异常真实性低、对边界构建支撑有限的问题,提出KKA方法,从大语言模型提取异常知识生成有意义的异常,划分难易异常并逐步提升困难异常比例以优化检测边界,在低生成成本下显著提升多种检测器性能。

摘要:

视觉异常检测,尤其是无监督场景下的视觉异常检测,常因异常的多样性过强而难以区分正常样本与异常样本。近年来,越来越多的研究聚焦于生成异常样本,以帮助检测器学习更有效的正常样本与异常样本之间的边界。然而,由于生成的异常通常源于随机因素,它们往往缺乏真实感。此外,随机生成的异常对构建有效边界的支撑通常有限,因为大多数生成异常与正常样本差异极大,且远离决策边界。为解决这些挑战,我们提出了关键知识增强(Key Knowledge Augmentation, KKA)方法,该方法从大语言模型(LLMs)中提取异常相关知识。具体而言,KKA利用LLMs的丰富先验知识,基于正常样本生成有意义的异常样本。随后,KKA根据生成异常与正常样本的相似度,将其划分为简单异常和困难异常:简单异常与正常样本差异显著,而困难异常与正常样本高度相似。KKA迭代更新生成的异常样本,并逐步提高困难异常的比例,使检测器能够学习到更有效的边界。实验结果表明,所提方法在保持较低生成成本的同时,显著提升了多种视觉异常检测器的性能。CMG的代码可在https://github.com/Anfeather/KKA获取。

英文摘要:

Vision anomaly detection, particularly in unsupervised settings, often struggles to distinguish between normal samples and anomalies due to the wide variability in anomalies. Recently, an increasing number of studies have focused on generating anomalies to help detectors learn more effective boundaries between normal samples and anomalies. However, as the generated anomalies are often derived from random factors, they frequently lack realism. Additionally, randomly generated anomalies typically offer limited support in constructing effective boundaries, as most differ substantially from normal samples and lie far from the boundary. To address these challenges, we propose Key Knowledge Augmentation (KKA), a method that extracts anomaly-related knowledge from large language models (LLMs). More specifically, KKA leverages the extensive prior knowledge of LLMs to generate meaningful anomalies based on normal samples. Then, KKA classifies the generated anomalies as easy anomalies and hard anomalies according to their similarity to normal samples. Easy anomalies exhibit significant differences from normal samples, whereas hard anomalies closely resemble normal samples. KKA iteratively updates the generated anomalies, and gradually increasing the proportion of hard anomalies to enable the detector to learn a more effective boundary. Experimental results show that the proposed method significantly improves the performance of various vision anomaly detectors while maintaining low generation costs. The code for CMG can be found at https://github.com/Anfeather/KKA.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑