Skip to Content
SensorsSensors
  • Article
  • Open Access

18 September 2024

15 Pages

Latent Diffusion Models to Enhance the Performance of Visual Defect Segmentation Networks in Steel Surface Inspection

,
and
Vicomtech Foundation, Basque Research and Technology Alliance (BRTA), 20009 Donostia, Spain
*
Author to whom correspondence should be addressed.
This article belongs to the Section Industrial Sensors

Abstract

This paper explores the use of state-of-the-art latent diffusion models, specifically stable diffusion, to generate synthetic images for improving the robustness of visual defect segmentation in manufacturing components. Given the scarcity and imbalance of real-world defect data, synthetic data generation offers a promising solution for training deep learning models. We fine-tuned stable diffusion using the LoRA technique on the NEU-seg dataset and evaluated the impact of different ratios of synthetic to real images on the training set of DeepLabV3+ and FPN segmentation models. Our results demonstrated a significant improvement in mean Intersection over Union (mIoU) when the training dataset was augmented with synthetic images. This study highlights the potential of diffusion models for enhancing the quality and diversity of training data in industrial defect detection, leading to more accurate and reliable segmentation results. The proposed approach achieved improvements of 5.95% and 6.85% in mIoU of defect segmentation on each model over the original dataset.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.