Skip to main content
QUICK REVIEW

[论文解读] Anomaly Detection via Reverse Distillation from One-Class Embedding

Hanqiu Deng, Xingyu Li|arXiv (Cornell University)|Jan 26, 2022
Anomaly Detection Techniques and ApplicationsComputer Science被引用 32
一句话总结

本文提出一种反向蒸馏框架,包含教师编码器和可训练的一类瓶颈嵌入再加上一个学生解码器,用于检测和定位异常,在 MVTec 和一类新颖性基准上达到最新水平。

ABSTRACT

Knowledge distillation (KD) achieves promising results on the challenging problem of unsupervised anomaly detection (AD).The representation discrepancy of anomalies in the teacher-student (T-S) model provides essential evidence for AD. However, using similar or identical architectures to build the teacher and student models in previous studies hinders the diversity of anomalous representations. To tackle this problem, we propose a novel T-S model consisting of a teacher encoder and a student decoder and introduce a simple yet effective "reverse distillation" paradigm accordingly. Instead of receiving raw images directly, the student network takes teacher model's one-class embedding as input and targets to restore the teacher's multiscale representations. Inherently, knowledge distillation in this study starts from abstract, high-level presentations to low-level features. In addition, we introduce a trainable one-class bottleneck embedding (OCBE) module in our T-S model. The obtained compact embedding effectively preserves essential information on normal patterns, but abandons anomaly perturbations. Extensive experimentation on AD and one-class novelty detection benchmarks shows that our method surpasses SOTA performance, demonstrating our proposed approach's effectiveness and generalizability.

研究动机与目标

  • 解决传统知识蒸馏在异常检测中的局限性,这些局限源于相似的教师/学生架构和相同的数据流。
  • 提出一个异质的编码器-解码器 T-S 模型,以丰富异常表示。
  • 引入一个可训练的一类瓶颈嵌入(OCBE),在压缩正常模式信息的同时舍弃异常。
  • 融合集成多尺度特征并对齐表示,以提升异常还原与判别。
  • 展示在无监督异常检测、定位和一类新颖性检测基准上的最新性能。

提出的方法

  • 采用固定的预训练教师编码器和可训练的学生解码器,组成反向蒸馏设置(高层到低层的知识转移。
  • 在嵌入之前使用多尺度特征融合(MFF)块,将浅层和深层教师特征结合。
  • 引入一个一类嵌入(OCE)块,生成紧凑的瓶颈嵌入,保留必要的正常模式信息。
  • 训练 OCBE 模块和学生解码器,使跨多个特征尺度最小化基于余弦相似度的蒸馏损失(L_KD)。
  • 从教师特征与学生特征之间的余弦相似度计算像素级异常图 M^k,并将其聚合为最终的异常图 S_AL;再从 S_AL 推导样本级分数 S_AD。
  • 在推理阶段,通过教师和学生表示之间的低相似度来指示异常,并通过累积的多尺度图进行定位。

实验结果

研究问题

  • RQ1在无监督异常检测中,使用带有教师编码器和学生解码器的反向蒸馏范式是否能比传统的KD在异常判别方面带来改进?
  • RQ2引入可训练的 OCBE 和多尺度特征融合是否提升了正常模式的还原能力和异常可检测性?
  • RQ3与现有方法相比,所提出的方法在标准的异常检测、定位和一类新颖性基准上的表现如何?
  • RQ4骨干网络的选择和多尺度特征选择对检测/定位性能有何影响?

主要发现

  • 在 MVTec 异常检测与定位上达到最先进或具竞争力的结果,在平均 AUROC 和 PRO 指标上超过了若干基线。
  • 在纹理与对象上,在 AD 的平均 AUROC 达到最佳水平(纹理 99.5%,对象 98.0%)。
  • 在异常定位上,平均 AUROC 97.8% 和 PRO 93.9%,超越了之前的方法。
  • 在 MNIST、FashionMNIST 和 CIFAR-10 上展示出强的一类新颖性检测性能,相对于若干基线在 AUROC 上有提升。
  • 消融研究表明,加入 OCBE 与多尺度特征融合(MFF)使 AUROC_AD 从 96.0 提升到 98.5,AUROC_AL 从 96.9 提升到 97.8,RPO 也有提升。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。