挽救被忽视的:利用类感知对比学习进行多类异常检测
Salvaging the Overlooked: Leveraging Class-Aware Contrastive Learning for Multi-Class Anomaly Detection
AI总结:
本文针对多类异常检测中重建方法因类间混淆导致性能下降的问题,提出类感知对比学习(CCL),利用类别信息结合局部与全局对比学习优化特征表示,在多个数据集上取得优于现有方法的性能。
摘要:
在异常检测(AD)中,早期方法通常为各个类别分别训练模型,虽然性能较高,但在可扩展性和资源管理方面面临挑战。近年来的研究已转向训练能够处理多个类别的单一模型。然而,将早期异常检测方法直接扩展到多类设置往往会导致性能下降。本文研究了基于重建的方法中观察到的这种性能退化现象,并识别出关键问题:类间混淆。当在多类场景下训练的模型错误地将一个类别的样本重建为另一个类别的样本时,就会产生这种混淆,从而加剧重建误差。为此,我们提出了一种简单而有效的改进方法,称为类感知对比学习(CCL)。通过明确利用原始物体类别信息(例如地毯或木材)作为监督信号,我们引入局部对比学习来细化多尺度密集特征,并引入全局对比学习来获得更紧凑的正常模式特征表示,从而有效地使模型适应多类设置。在五个数据集上的实验验证了我们方法的有效性,与最先进的方法相比,展示了显著的改进和优越的性能。值得注意的是,消融研究表明伪类别标签可以达到相当的性能。
英文摘要:
For anomaly detection (AD), early approaches often train separate models for individual classes, yielding high performance but posing challenges in scalability and resource management. Recent efforts have shifted toward training a single model capable of handling multiple classes. However, directly extending early AD methods to multi-class settings often results in degraded performance. In this paper, we investigate this performance degradation observed in reconstruction-based methods, identifying the key issue: inter-class confusion. This confusion emerges when a model trained in multi-class scenarios incorrectly reconstructs samples from one class as those of another, thereby exacerbating reconstruction errors. To this end, we propose a simple yet effective modification, called class-aware contrastive learning (CCL). By explicitly leveraging raw object category information (\eg carpet or wood) as supervised signals, we introduce local CL to refine multiscale dense features, and global CL to obtain more compact feature representations of normal patterns, thereby effectively adapting the models to multi-class settings. Experiments across five datasets validate the effectiveness of our approach, demonstrating significant improvements and superior performance compared to state-of-the-art methods. Notably, ablation studies indicate that pseudo-class labels can achieve comparable performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。