Anomaly Detection via Reverse Distillation from One-Class Embedding
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Anomaly Localization | MVTec AD | Pixel AUROC98 | 369 | |
| Anomaly Detection | MVTec-AD (test) | I-AUROC98.5 | 226 | |
| Anomaly Detection | VisA | AUROC96 | 199 | |
| Anomaly Localization | MVTec-AD (test) | Pixel AUROC98.3 | 181 | |
| Anomaly Detection | MVTec-AD (test) | P-AUROC97.8 | 132 | |
| Pixel-level Anomaly Detection | MVTec | Pixel AUROC99.6 | 127 | |
| Anomaly Localization | VisA | P-AUROC0.965 | 119 | |
| Anomaly Detection | VisA (test) | I-AUROC96 | 91 | |
| Anomaly Detection | BraTS 2018 (test) | AUROC (Image)92.69 | 88 | |
| Anomaly Segmentation | MVTec-AD (test) | AUROC (Pixel)97.9 | 85 |