arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.00346cs.CVcs.AIcs.LG
收藏

CNC:面向无监督多类异常检测的跨模态正常性约束

CNC: Cross-modal Normality Constraint for Unsupervised Multi-class Anomaly Detection

Xi’an Jiaotong-Liverpool University(西交利物浦大学);University of Liverpool(利物浦大学);Dinnar Automation Technology(迪纳尔自动化科技);Beijing Jiaotong University(北京交通大学)

Xiaolei Wang, Xiaoyang Wang, Huihui Bai, Eng Gee Lim, Jimin Xiao

AI总结:

本文针对无监督多类异常检测中解码器过度泛化问题,提出跨模态正常性约束CNC方法,利用类无关可学习提示引导解码特征向正常文本表示靠拢,并结合门控混合专家模块处理多样块模式,在MVTec AD和VisA上取得竞争性性能。

摘要:

现有的基于无监督蒸馏的方法依赖于编码特征与解码特征之间的差异来定位测试图像中的异常区域。然而,仅在正常样本上训练的解码器仍然能够较好地重建异常块特征,从而降低性能。该问题在无监督多类异常检测任务中尤为突出。我们将这一行为归因于解码器的过度泛化(OG):多类训练中块模式多样性的显著增加增强了模型对正常块的泛化能力,但也无意中扩大了其对异常块的泛化能力。为了缓解过度泛化,我们提出了一种新方法,利用类无关的可学习提示来捕获跨多种视觉模式的共同文本正常性,然后应用这些提示将解码特征引导至正常的文本表示,从而抑制解码器对异常模式的过度泛化。为了进一步提高性能,我们还引入了一个门控混合专家模块,专门处理多样的块模式,并减少多类训练中它们之间的相互干扰。我们的方法在MVTec AD和VisA数据集上取得了具有竞争力的性能,证明了其有效性。

英文摘要:

Existing unsupervised distillation-based methods rely on the differences between encoded and decoded features to locate abnormal regions in test images. However, the decoder trained only on normal samples still reconstructs abnormal patch features well, degrading performance. This issue is particularly pronounced in unsupervised multi-class anomaly detection tasks. We attribute this behavior to over-generalization(OG) of decoder: the significantly increasing diversity of patch patterns in multi-class training enhances the model generalization on normal patches, but also inadvertently broadens its generalization to abnormal patches. To mitigate OG, we propose a novel approach that leverages class-agnostic learnable prompts to capture common textual normality across various visual patterns, and then apply them to guide the decoded features towards a normal textual representation, suppressing over-generalization of the decoder on abnormal patterns. To further improve performance, we also introduce a gated mixture-of-experts module to specialize in handling diverse patch patterns and reduce mutual interference between them in multi-class training. Our method achieves competitive performance on the MVTec AD and VisA datasets, demonstrating its effectiveness.

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

↑