CVJul 6, 2023

Contextual Affinity Distillation for Image Anomaly Detection

arXiv:2307.03101v139 citationsh-index: 69
Originality Incremental advance
AI Analysis

This addresses a specific gap in unsupervised anomaly detection for industrial applications, focusing on logical anomalies beyond local structural issues, but it is incremental as it builds on existing knowledge distillation methods.

The paper tackles the problem of detecting logical anomalies in industrial images, which violate long-range dependencies, by proposing a dual-student knowledge distillation approach with a global context condensing block and contextual affinity loss, achieving state-of-the-art performance on the MVTec LOCO AD dataset.

Previous works on unsupervised industrial anomaly detection mainly focus on local structural anomalies such as cracks and color contamination. While achieving significantly high detection performance on this kind of anomaly, they are faced with logical anomalies that violate the long-range dependencies such as a normal object placed in the wrong position. In this paper, based on previous knowledge distillation works, we propose to use two students (local and global) to better mimic the teacher's behavior. The local student, which is used in previous studies mainly focuses on structural anomaly detection while the global student pays attention to logical anomalies. To further encourage the global student's learning to capture long-range dependencies, we design the global context condensing block (GCCB) and propose a contextual affinity loss for the student training and anomaly scoring. Experimental results show the proposed method doesn't need cumbersome training techniques and achieves a new state-of-the-art performance on the MVTec LOCO AD dataset.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes