arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.02068cs.CV
收藏

推进预训练教师:面向异常检测的鲁棒特征差异

Advancing Pre-trained Teacher: Towards Robust Feature Discrepancy for Anomaly Detection

Canhui Tang, Sanping Zhou, Yizhe Li, Yonghao Dong, Le Wang

AI总结:

本文提出AAND框架,通过异常放大和正常性蒸馏增强特征差异假设,实现工业异常检测的鲁棒性。

摘要:

随着知识蒸馏在ImageNet预训练教师模型和可学习学生模型之间的广泛应用,无监督异常检测在过去几年取得了显著进展。该框架的成功主要依赖于如何保持教师和学生模型之间的特征差异,其有两个潜在的子假设:(1)教师模型可以表示正常和异常模式的两个可分离分布,而(2)学生模型只能重建正常分布。然而,如何在实践中维持这些理想假设仍是一个具有挑战性的问题。在本文中,我们提出了一种简单而有效的两阶段工业异常检测框架,称为AAND,依次执行异常放大和正常性蒸馏以增强这两个假设。在第一阶段的异常放大中,我们提出了一种新颖的残差异常放大(RAA)模块,以推进预训练教师编码器,生成自适应残差以放大异常,同时保持预训练模型的特征完整性。它主要由匹配引导的残差门和属性缩放残差生成器组成,分别确定残差的比例和特征。在第二阶段的正常性蒸馏中,我们进一步采用反向蒸馏范式来训练学生解码器,其中构建了新的硬知识蒸馏(HKD)损失以更好地促进正常模式的重建。在MvTecAD、VisA和MvTec3D-RGB数据集上的综合实验表明,我们的方法取得了最先进的性能。

英文摘要:

With the wide application of knowledge distillation between an ImageNet pre-trained teacher model and a learnable student model, unsupervised anomaly detection has witnessed a significant achievement in the past few years. The success of this framework mainly relies on how to keep the feature discrepancy between the teacher and student model, in which it has two underlying sub-assumptions: (1) The teacher model can represent two separable distributions for the normal and abnormal patterns, while (2) the student model can only reconstruct the normal distribution. However, it still remains a challenging issue to maintain these ideal assumptions in practice. In this paper, we propose a simple yet effective two-stage industrial anomaly detection framework, termed AAND, which sequentially performs Anomaly Amplification and Normality Distillation to enhance the two assumptions. In the first anomaly amplification stage, we propose a novel Residual Anomaly Amplification (RAA) module to advance the pre-trained teacher encoder with synthetic anomalies. It generates adaptive residuals to amplify anomalies while maintaining the feature integrity of pre-trained model. It mainly comprises a Matching-guided Residual Gate and an Attribute-scaling Residual Generator, which can determine the residuals' proportion and characteristic, respectively. In the second normality distillation stage, we further employ a reverse distillation paradigm to train a student decoder, in which a novel Hard Knowledge Distillation (HKD) loss is built to better facilitate the reconstruction of normal patterns. Comprehensive experiments on the MvTecAD, VisA, and MvTec3D-RGB datasets show that our method achieves state-of-the-art performance.

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

↑