Introduction
In industrial manufacturing, particularly for Computer, Communication, and Consumer (3C) electronics, automated anomaly detection (AD) is critical for quality control. Traditional AD methods often rely on unsupervised learning, training only on "normal" samples to identify defects like scratches or dents. While benchmarks like MVTec-AD have spurred progress, they often feature small sample sizes or synthetic defects that do not capture the complexity of real-world production lines.
Presented at AAAI-2025, this work introduces 3CAD, a massive real-world dataset for 3C product anomaly detection, and CFRG, a novel "Coarse-to-Fine" framework designed to address the challenges of high-resolution, multi-scale defect detection.
The 3CAD Dataset
The 3CAD dataset represents a significant leap in scale and realism for the AD community. It comprises 27,039 high-resolution images across 8 categories of 3C components, such as aluminum iPad frames and camera covers. Unlike previous benchmarks, 3CAD is derived directly from production lines and includes 47 distinct defect types, often appearing as tiny, clustered, or multi-type anomalies within a single image.
The dataset's complexity serves as a "stress test" for current algorithms. While many models achieve near-perfect scores on older datasets, their performance significantly degrades on 3CAD, highlighting the gap between laboratory benchmarks and industrial reality.
The CFRG Framework
To tackle the intricacies of 3CAD, the authors propose the Coarse-to-Fine detection with Recovery Guidance (CFRG) framework. The architecture is designed to improve localization precision through three key stages:
- Heterogeneous Knowledge Distillation: Standard AD models often use identical architectures for "Teacher" and "Student" networks. CFRG employs heterogeneous networks (e.g., WideResNet50 and EfficientNet-b0). This architectural difference prevents the student from simply mimicking the teacher's representation of anomalies, thereby widening the feature gap when a defect is present.
- Recovery Guidance: A dedicated recovery network attempts to map abnormal features back to a "normal" state. The difference between the original and recovered features provides a crucial "hint" for pinpointing disrupted patterns.
- Fine-Grained Segmentation: Coarse localization maps and recovery hints are fused in a segmentation module that utilizes multi-layer information to generate a precise pixel-level mask.
Results and Discussion
CFRG sets a new state-of-the-art on the 3CAD benchmark, achieving an Image-level AUROC (I-AUROC) of 93.4% and a Pixel-level AUROC (P-AUROC) of 86.5%. Notably, it improves Average Precision (AP) by 8.8% over existing embedding-based methods like RD.
The results confirm that heterogeneous distillation and recovery guidance are effective strategies for industrial AD. However, the relatively low AP scores on 3CAD (17.6% compared to 73.4% on MVTec-AD) underscore the remaining challenge of detecting extremely small defects in complex textures.
Conclusion
The introduction of 3CAD provides the research community with a much-needed large-scale, authentic benchmark for industrial anomaly detection. The proposed CFRG framework demonstrates that moving beyond homogeneous architectures and incorporating recovery-based guidance can significantly improve detection performance in complex, real-world scenarios.
Data and code are available at https://github.com/EnquanYang2022/3CAD.
Summary updated