TY - GEN
T1 - Labeling Correction in Optical Inspection of Surface Mount Technology Assembly Through Data Cleaning Using StableDiffusionXL Combined with Contrastive Learning
AU - Lo, Chun Yang
AU - Yan, Yung Jhe
AU - Lin, Wei
AU - Ou-Yang, Mang
N1 - Publisher Copyright:
© 2024 IEEE.
PY - 2024
Y1 - 2024
N2 - Labeling errors were identified in the dataset collected from automated optical inspection during the Surface Mount Technology (SMT) assembly process. This paper presents a data cleaning process to correct these errors. To effectively reduce error rates in SMT production and improve product quality, it is essential to build a dataset encompassing various types of components, as printed circuit board panels contain more than one type of part. Leveraging this dataset, combined with state of the art image models, allows for precise classification of different components, significantly enhancing production quality and efficiency. The process uses contrastive learning for model training and StableDiffusionXL (SDXL) for image generation. Contrastive learning improves model performance by highlighting sample differences, while SDXL generates images when comparison samples are unavailable. And two experiments were conducted for testing. The first experiment used a prepared test dataset consisting of 2,000 pairs of images, with 1,000 labeled as good and 1,000 labeled as defective, resulting in a balanced dataset. The results show that using our proposed method, the highest accuracy achieved with SDXL assistance was 73.45%, while without SDXL, the highest accuracy reached 94.70%. The second experiment compared the difference between manual methods and our method, showing that our method achieved an overkill rate of 2.9% and a leakage rate of 1.2%.
AB - Labeling errors were identified in the dataset collected from automated optical inspection during the Surface Mount Technology (SMT) assembly process. This paper presents a data cleaning process to correct these errors. To effectively reduce error rates in SMT production and improve product quality, it is essential to build a dataset encompassing various types of components, as printed circuit board panels contain more than one type of part. Leveraging this dataset, combined with state of the art image models, allows for precise classification of different components, significantly enhancing production quality and efficiency. The process uses contrastive learning for model training and StableDiffusionXL (SDXL) for image generation. Contrastive learning improves model performance by highlighting sample differences, while SDXL generates images when comparison samples are unavailable. And two experiments were conducted for testing. The first experiment used a prepared test dataset consisting of 2,000 pairs of images, with 1,000 labeled as good and 1,000 labeled as defective, resulting in a balanced dataset. The results show that using our proposed method, the highest accuracy achieved with SDXL assistance was 73.45%, while without SDXL, the highest accuracy reached 94.70%. The second experiment compared the difference between manual methods and our method, showing that our method achieved an overkill rate of 2.9% and a leakage rate of 1.2%.
UR - http://www.scopus.com/inward/record.url?scp=85214969288&partnerID=8YFLogxK
U2 - 10.1109/CACS63404.2024.10773282
DO - 10.1109/CACS63404.2024.10773282
M3 - Conference contribution
AN - SCOPUS:85214969288
T3 - 2024 International Automatic Control Conference, CACS 2024
BT - 2024 International Automatic Control Conference, CACS 2024
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 2024 International Automatic Control Conference, CACS 2024
Y2 - 31 October 2024 through 3 November 2024
ER -