Progress and Analysis of Electronic Component Data Augmentation Based on GAN, Diffusion Models, and Flow Models
Abstract
With the rapid development of the electronic manufacturing industry, there are higher requirements for automation in the recognition and defect detection of electronic components. However, the difficulty in obtaining defect samples of electronic components and the serious imbalance between positive and negative samples have for a long time restricted the generalization ability of deep learning detection models. The application of generative models for data augmentation has developed into an important way to tackle this challenge. This paper focuses on the applications of three types of generative data augmentation techniques in electronic component images, namely generative adversarial networks (GANs), diffusion models and flow models. For each category, it systematically examines the fundamental principles and their applications in the electronic component situation and carries out comparative analyses in terms of generation quality, training stability and the like. The results show that GAN can rapidly generate samples but has problems of mode collapse and edge distortion. The diffusion model shows strong ability in generating high-resolution images yet encounters bottlenecks in industrial real-time performance. The flow state model which can accurately estimate the density and maintain the structure still has its potential that has not been fully explored in the electronic component field yet.
References
- Ling, Q., & Isa, N. A. M. (2023). Printed circuit board defect detection methods based on image processing, machine learning and deep learning: A survey. IEEE access, 11, 15921-15944.
- Kim, J., Ko, J., Choi, H., & Kim, H. (2021). Printed circuit board defect detection using deep learning via a skip-connected convolutional autoencoder. Sensors, 21(15), 4968.
- Feng, X. S., Shen, Y., & Wang, D. Q. (2021). A survey on the development of image data augmentation. Comput. Sci. Appl, 11, 370-382.
- Zhang, G., Cui, K., Hung, T. Y., & Lu, S. (2021). Defect-GAN: High-fidelity defect synthesis for automated defect inspection. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (pp. 2524-2534).
- He, C., Shen, Y., Fang, C., Xiao, F., Tang, L., Zhang, Y., ... & Li, X. (2025). Diffusion models in low-level vision: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence.
- Papamakarios, G., Nalisnick, E., Rezende, D. J., Mohamed, S., & Lakshminarayanan, B. (2021). Normalizing flows for probabilistic modeling and inference. Journal of Machine Learning Research, 22(57), 1-64.
- Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., ... & Bengio, Y. (2020). Generative adversarial networks. Communications of the ACM, 63(11), 139-144.
- Wang, C., Huang, G., Huang, Z., & He, W. (2023). Conditional TransGANāBased Data Augmentation for PCB Electronic Component Inspection. Computational Intelligence and Neuroscience, 2023(1), 2024237.
- Yen, A., Chang, N., Chien, J., Chuang, L., & Lee, E. (2026). CycleGAN-Based Data Augmentation for Scanning Electron Microscope Images to Enhance Integrated Circuit Manufacturing Defect Classification. Electronics, 15(4), 803.
- Bond-Taylor, S., Leach, A., Long, Y., & Willcocks, C. G. (2021). Deep generative modelling: A comparative review of vaes, gans, normalizing flows, energy-based and autoregressive models. IEEE transactions on pattern analysis and machine intelligence, 44(11), 7327-7347.
- Dhariwal, P., & Nichol, A. (2021). Diffusion models beat gans on image synthesis. Advances in neural information processing systems, 34, 8780-8794.
- Xu, Y., Wu, H., Liu, Y., & Liu, X. (2025). Printed circuit board sample expansion and automatic defect detection based on diffusion models and ConvNeXt. Micromachines, 16(3), 261.
- Croitoru, F. A., Hondru, V., Ionescu, R. T., & Shah, M. (2023). Diffusion models in vision: A survey. IEEE transactions on pattern analysis and machine intelligence, 45(9), 10850-10869.
- Lipman, Y., Chen, R. T., Ben-Hamu, H., Nickel, M., & Le, M. (2022). Flow matching for generative modeling. arXiv preprint arXiv: 2210.02747.
- Yu, J., Zheng, Y., Wang, X., Li, W., Wu, Y., Zhao, R., & Wu, L. (2021). Fastflow: Unsupervised anomaly detection and localization via 2d normalizing flows. arXiv preprint arXiv: 2111.07677.
- Albergo, M. S., & Vanden-Eijnden, E. (2022). Building normalizing flows with stochastic interpolants. arXiv preprint arXiv: 2209.15571.