Skip to main content
QUICK REVIEW

[论文解读] Dual-Student Knowledge Distillation Networks for Unsupervised Anomaly Detection

Liyi Yao, Shaobing Gao|arXiv (Cornell University)|Feb 1, 2024
Anomaly Detection Techniques and ApplicationsComputer Science被引用 3
一句话总结

本文提出了一种新型无监督异常检测框架——双学生知识蒸馏(DSKD),该框架采用两个结构相反的学生网络和一个预训练教师网络,以增强正常数据的特征表示一致性,同时放大异常的差异性。该方法在基准数据集上实现了最先进性能,且计算量低(6.17G FLOPs)和模型尺寸小,优于基线学生-教师网络。

ABSTRACT

Due to the data imbalance and the diversity of defects, student-teacher networks (S-T) are favored in unsupervised anomaly detection, which explores the discrepancy in feature representation derived from the knowledge distillation process to recognize anomalies. However, vanilla S-T network is not stable. Employing identical structures to construct the S-T network may weaken the representative discrepancy on anomalies. But using different structures can increase the likelihood of divergent performance on normal data. To address this problem, we propose a novel dual-student knowledge distillation (DSKD) architecture. Different from other S-T networks, we use two student networks a single pre-trained teacher network, where the students have the same scale but inverted structures. This framework can enhance the distillation effect to improve the consistency in recognition of normal data, and simultaneously introduce diversity for anomaly representation. To explore high-dimensional semantic information to capture anomaly clues, we employ two strategies. First, a pyramid matching mode is used to perform knowledge distillation on multi-scale feature maps in the intermediate layers of networks. Second, an interaction is facilitated between the two student networks through a deep feature embedding module, which is inspired by real-world group discussions. In terms of classification, we obtain pixel-wise anomaly segmentation maps by measuring the discrepancy between the output feature maps of the teacher and student networks, from which an anomaly score is computed for sample-wise determination. We evaluate DSKD on three benchmark datasets and probe the effects of internal modules through ablation experiments. The results demonstrate that DSKD can achieve exceptional performance on small models like ResNet18 and effectively improve vanilla S-T networks.

研究动机与目标

  • 解决基线学生-教师网络在无监督异常检测中因结构相似性或性能发散导致的不稳定性问题。
  • 克服使用相同结构的学生-教师网络时异常样本表示差异有限的问题。
  • 通过引入两学生间的结构多样性与语义交互,提升检测的鲁棒性与性能。
  • 通过多尺度知识蒸馏与学生间深层特征嵌入,增强异常样本的特征表示能力。
  • 在计算复杂度低、模型尺寸小的前提下实现高精度,以适应工业部署需求。

提出的方法

  • 提出一种双学生架构,其中两个学生具有相同规模但采用相反的残差块结构,以在保持正常数据一致性的同时提升表示多样性。
  • 使用参数冻结的预训练教师网络,为两个学生提供蒸馏知识,实现无标签的知识迁移。
  • 在中间层实施金字塔匹配机制,实现多尺度特征图的蒸馏,以捕捉高维语义线索。
  • 引入深层特征嵌入(DFE)模块,实现两学生网络之间的交互,模拟小组讨论以优化特征理解。
  • 通过测量教师与学生在多个尺度下的特征图L2距离计算异常分数,生成像素级异常图。
  • 通过逐元素平均融合多尺度异常图,生成最终的图像级与像素级异常检测分割图。

实验结果

研究问题

  • RQ1与标准学生-教师网络相比,采用结构相反的双学生架构是否能提升无监督异常检测的稳定性与性能?
  • RQ2两学生之间的深层特征嵌入如何增强异常表示与检测能力?
  • RQ3多尺度特征蒸馏在检测多样化与细微异常方面能带来多大程度的提升?
  • RQ4各内部模块(DFE、多尺度融合)对整体性能的贡献如何?
  • RQ5所提出的DSKD框架是否能在低FLOPs与小模型尺寸下实现最先进性能?

主要发现

  • DSKD在MVTec AD数据集上达到98.5%的图像级AUROC、97.6%的像素级AUROC以及93.5%的PRO,优于所有对比基线方法。
  • 采用结构相反的双学生架构在性能上表现最佳(98.5% AUROC),优于T-E、T-D与E-D等变体。
  • 移除深层特征嵌入(DFE)模块后,图像级AUROC从98.5%降至75.6%,证明其在增强表征学习中的关键作用。
  • 多尺度异常图融合(M1-3)取得最高性能(98.5% AUROC、97.5% AUROC、93.5% PRO),证实跨尺度特征融合的优势。
  • DSKD仅需6.17G FLOPs,为所有方法中最低,展现出高效率,适用于ResNet18等小型模型。
  • 消融实验表明,DFE与多尺度融合对性能均至关重要,其中DFE使图像级AUROC提升+22.6%,PRO提升+17.0%。

阅读本论文

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

在 Nubint 中阅读本论文

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