journal article·2026-06-17Open access

CASDA: Enhancing Steel Defect Detection Through Context-Aware Data Augmentation Framework

Ho-Jun Han, Il-Young Moon

Applied Sciences· Volume 16· Issue 12

Abstract

Defect detection in manufacturing has evolved from manual inspection to deep learning-based Automated Visual Inspection (AVI) systems; however, acquiring sufficient defect samples in real industrial environments remains challenging, causing severe data sparsity and class imbalance. We propose CASDA (Context-Aware Steel Defect Augmentation), a five-stage framework that classifies defect morphology and background surface properties, constructs a compatibility matrix encoding their contextual relationship, and synthesizes defect images via a ControlNet pipeline conditioned on a three-channel hint image. Experiments on the Severstal steel dataset demonstrate that CASDA achieves an 83.0% quality validation pass rate. Under multi-seed evaluation (seeds 42 and 456), CASDA improved EB-YOLOv8’s overall mAP@0.5 by 2.60 pp over the raw baseline and achieved a Class 2 AP gain of 22.09 pp over Copy-Paste, suggesting that context-aware synthesis produces more discriminative minority-class training samples than simple patch reuse under the tested settings. Performance gains are architecture-dependent; YOLO-MFD did not show overall improvement, indicating that augmentation sensitivity varies with backbone feature representation.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Neural Network Applications · Industrial Vision Systems and Defect Detection · Infrastructure Maintenance and Monitoring

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Computer Science and Engineering, Korea University of Technology and Education, Cheonan 31253, Republic of Korea

References (21)

Show source-provided references
1. Rippel, O., and Merhof, D. (2023). Anomaly Detection for Automated Visual Inspection: A Review. Bildverarbeitung in der Automation; Technologien für die intelligente Automation, Springer Vieweg.10.1007/978-3-662-66769-9_1 ↗
2. Hütten, N., Gomes, M.A., Hölken, F., Andricevic, K., and Meyes, R. (2024). Deep Learning for Automated Visual Inspection in Manufacturing and Maintenance: A Survey of Open-Access Papers. Appl. Syst. Innov., 7.10.3390/asi7010011 ↗
3. The MVTec Anomaly Detection Dataset: A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection10.1007/s11263-020-01400-4 ↗
4. Zavrtanik, V., Kristan, M., and Skočaj, D. (2021). DRAEM—A Discriminatively Trained Reconstruction Embedding for Surface Anomaly Detection. IEEE/CVF International Conference on Computer Vision (ICCV), IEEE.10.1109/ICCV48922.2021.00822 ↗
5. A Survey on Image Data Augmentation for Deep Learning10.1186/s40537-019-0197-0 ↗
6. Generative Adversarial Nets
7. Denoising Diffusion Probabilistic Models
8. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016). You Only Look Once: Unified, Real-Time Object Detection. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), IEEE.10.1109/CVPR.2016.91 ↗
9. Ronneberger, O., Fischer, P., and Brox, T. (2015). U-Net: Convolutional Networks for Biomedical Image Segmentation. Medical Image Computing and Computer-Assisted Intervention (MICCAI), Springer.10.1007/978-3-319-24574-4_28 ↗
10. Ruff, L., Vandermeulen, R., Görnitz, N., Binder, A., Müller, E., and Kloft, M. (2018, January 10–15). Deep One-Class Classification. Proceedings of the International Conference on Machine Learning (ICML), Stockholm, Sweden.
11. Research on Object Detection Model-Based Equipment Defect Detection Method
12. Dwibedi, D., Misra, I., and Hebert, M. (2017). Cut, Paste and Learn: Surprisingly Easy Synthesis for Instance Detection. IEEE International Conference on Computer Vision (ICCV), IEEE.10.1109/ICCV.2017.146 ↗
13. Zhang, L., Rao, A., and Agrawala, M. (2023). Adding Conditional Control to Text-to-Image Diffusion Models. IEEE/CVF International Conference on Computer Vision (ICCV), IEEE.10.1109/ICCV51070.2023.00355 ↗
14. Design of deep convolutional neural network architectures for automated feature extraction in industrial inspection10.1016/j.cirp.2016.04.072 ↗
15. Li, H., Liu, Y., Liu, C., Pang, H., and Xu, K. (2025). A Few-Shot Steel Surface Defect Generation Method Based on Diffusion Models. Sensors, 25.10.3390/s25103038 ↗
16. Enhanced defect detection on steel surfaces using integrated residual refinement module with synthetic data augmentation10.1016/j.measurement.2025.117136 ↗
17. (2026, January 17). Severstal Steel Defect Detection. Kaggle Competition. Available online: https://www.kaggle.com/competitions/severstal-steel-defect-detection.
18. Multiscale Vessel Enhancement Filtering
19. Scikit-image: Image Processing in Python10.7717/peerj.453 ↗
20. Rosenfeld, A., and Kak, A.C. (1982). Digital Picture Processing, Academic Press. [2nd ed.].
21. Automated Fabric Defect Detection—A Review10.1016/j.imavis.2011.02.002 ↗