Introduction
Unsupervised Anomaly Detection (UAD) is a cornerstone of automated industrial quality control. While models have achieved near-perfect scores on standard benchmarks like MVTec-AD, they often struggle when deployed in real-world manufacturing environments. This performance gap stems from the simplicity of existing datasets, which often rely on synthetic defects and single-instance anomalies. This paper introduces 3CAD, a massive, real-world dataset of 3C (Computer, Communication, and Consumer electronics) product defects, and proposes CFRG, a novel coarse-to-fine detection framework designed to pinpoint these complex industrial anomalies.
The 3CAD Dataset
The 3CAD dataset provides a highly realistic and challenging benchmark for the UAD community. It comprises 27,039 high-resolution images across eight categories of 3C manufactured parts, including aluminum camera covers, iron stators, and iPad frames. Unlike previous datasets, 3CAD features 24 unique, naturally occurring defect types with meticulous pixel-level annotations. Crucially, it includes images with multiple defect instances and overlapping anomaly types, reflecting the true complexity of factory-floor inspection.
The CFRG Framework
To address the limitations of standard reconstruction and distillation methods, the authors propose the Coarse-to-Fine detection paradigm with Recovery Guidance (CFRG). The framework is built on three pillars:
- Heterogeneous Knowledge Distillation: Standard distillation often uses identical architectures for the teacher and student, which can lead to "lazy" learning where the student simply inherits the teacher's biases. CFRG utilizes a heterogeneous design—a WideResNet50 teacher and an EfficientNet-b0 student—forcing the model to learn distinct feature representations that better isolate subtle anomalies.
- Recovery Network: This module acts as a guidance mechanism by learning to reconstruct normal features from abnormal inputs. It captures the intrinsic patterns of defect-free parts, providing an "anchor" that makes the model robust to the noise of real-world defects.
- Segmentation Module: The framework fuses multi-layer information from the distillation and recovery stages. These refined features are fed into a segmentation network to generate precise, pixel-level anomaly masks.
Experimental Results
The 3CAD dataset proves to be significantly more difficult than traditional benchmarks. Models that achieve ~99% I-AUROC on MVTec-AD experience performance drops of over 10% on 3CAD. The proposed CFRG method sets a new state-of-the-art baseline on 3CAD, achieving 93.4% I-AUROC and 86.5% P-AUROC. It notably outperforms the popular RD++ method by 4.9% in I-AUROC and 8.8% in Average Precision (AP). Qualitatively, CFRG produces much sharper defect boundaries, successfully identifying thin scratches and large non-structural warps that confuse other models. Furthermore, CFRG remains highly competitive on MVTec-AD (98.4% I-AUROC), proving its generalizability.
Conclusion
The 3CAD dataset highlights the need for more realistic benchmarks in industrial anomaly detection. By combining heterogeneous knowledge distillation with recovery guidance, the CFRG framework offers a robust solution for detecting the subtle and complex defects found in modern 3C manufacturing. While the low pixel-wise Average Precision on 3CAD indicates that perfect localization remains an open challenge, this work provides a vital foundation for future advancements in the field.
Summary updated