[Paper Review] Patch SVDD: Patch-level SVDD for Anomaly Detection and Segmentation
Patch SVDD extends Deep SVDD to patch-wise anomaly detection and segmentation using self-supervised learning, achieving state-of-the-art AUROC on MVTec AD by localizing defects at the patch level.
In this paper, we address the problem of image anomaly detection and segmentation. Anomaly detection involves making a binary decision as to whether an input image contains an anomaly, and anomaly segmentation aims to locate the anomaly on the pixel level. Support vector data description (SVDD) is a long-standing algorithm used for an anomaly detection, and we extend its deep learning variant to the patch-based method using self-supervised learning. This extension enables anomaly segmentation and improves detection performance. As a result, anomaly detection and segmentation performances measured in AUROC on MVTec AD dataset increased by 9.8% and 7.0%, respectively, compared to the previous state-of-the-art methods. Our results indicate the efficacy of the proposed method and its potential for industrial application. Detailed analysis of the proposed method offers insights regarding its behavior, and the code is available online.
Motivation & Objective
- Address image anomaly detection and pixel-level anomaly segmentation.
- Leverage and extend Deep SVDD with patch-wise processing to localize defects.
- Incorporate self-supervised learning to handle high intra-class patch variation.
- Enable multi-scale and hierarchical encoding to improve detection and localization.
Proposed method
- Extend Deep SVDD to patch-wise inspection by encoding each image patch instead of the whole image.
- Train the patch encoder with a combination of SVDD-based loss and self-supervised SSL loss to form semantically meaningful patch representations.
- Use self-supervised learning to encourage patch semantic clustering and alleviate single-center issues in patch space.
- Apply hierarchical encoding to capture multi-scale information with small and large receptive fields.
- Generate anomaly maps by nearest-neighbor distance to normal patch features and fuse maps from multiple encoders via element-wise multiplication.
- Aggregate patch-level anomaly maps to image-level scores for detection and to pixel-level maps for segmentation.
Experimental results
Research questions
- RQ1Can patch-wise SVDD improve anomaly detection and segmentation over whole-image SVDD variants?
- RQ2Does incorporating self-supervised learning improve the semantic structuring of patch features and therefore localization accuracy?
- RQ3Does hierarchical encoding across scales enhance detection robustness to defect size?
- RQ4How effective is patch-level nearest-neighbor scoring in identifying anomalies on industrial datasets like MVTec AD?
- RQ5What is the impact of combining multiple encoders (multi-scale) on final anomaly maps?
Key findings
- Patch SVDD achieves state-of-the-art AUROC for anomaly detection (0.921) on MVTec AD.
- Patch SVDD achieves state-of-the-art AUROC for anomaly segmentation (0.957) on MVTec AD.
- Self-supervised loss (SSL) and the Patch SVDD loss (SVDD') substantially improve both detection and segmentation over using SVDD' alone.
- Hierarchical encoding with multi-scale inspection improves performance over single-scale encoders.
- Randomly initialized encoders and raw patches offer surprisingly strong baselines in some classes, highlighting intrinsic data structure in patches.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.