Open Access iconOpen Access

ARTICLE

An Optimized Unsupervised Defect Detection Approach via Federated Learning and Adaptive Embeddings Knowledge Distillation

Jinhai Wang1, Junwei Xue1, Hongyan Zhang2, Hui Xiao3,4, Huiling Wei3,4, Mingyou Chen3,4, Jiang Liao2, Lufeng Luo3,4,*

1 School of Computer Science and Artificial Intelligence, Foshan University, Foshan, 528225, China
2 Foshan Wision Furniture Manufacturing Co., Ltd., Foshan, 528200, China
3 School of Mechatronic Engineering and Automation, Foshan University, Foshan, 528225, China
4 Guangdong Provincial Key Laboratory of Industrial Intelligent Inspection Technology, Foshan University, Foshan, 528225, China

* Corresponding Author: Lufeng Luo. Email: email

(This article belongs to the Special Issue: Machine Vision Detection and Intelligent Recognition, 2nd Edition)

Computers, Materials & Continua 2025, 84(1), 1839-1861. https://doi.org/10.32604/cmc.2025.064489

Abstract

Defect detection based on computer vision is a critical component in ensuring the quality of industrial products. However, existing detection methods encounter several challenges in practical applications, including the scarcity of labeled samples, limited adaptability of pre-trained models, and the data heterogeneity in distributed environments. To address these issues, this research proposes an unsupervised defect detection method, FLAME (Federated Learning with Adaptive Multi-Model Embeddings). The method comprises three stages: (1) Feature learning stage: this work proposes FADE (Feature-Adaptive Domain-Specific Embeddings), a framework employs Gaussian noise injection to simulate defective patterns and implements a feature discriminator for defect detection, thereby enhancing the pre-trained model’s industrial imagery representation capabilities. (2) Knowledge distillation co-training stage: a multi-model feature knowledge distillation mechanism is introduced. Through feature-level knowledge transfer between the global model and historical local models, the current local model is guided to learn better feature representations from the global model. The approach prevents local models from converging to local optima and mitigates performance degradation caused by data heterogeneity. (3) Model parameter aggregation stage: participating clients utilize weighted averaging aggregation to synthesize an updated global model, facilitating efficient knowledge consolidation. Experimental results demonstrate that FADE improves the average image-level Area under the Receiver Operating Characteristic Curve (AUROC) by 7.34% compared to methods directly utilizing pre-trained models. In federated learning environments, FLAME’s multi-model feature knowledge distillation mechanism outperforms the classic FedAvg algorithm by 2.34% in average image-level AUROC, while exhibiting superior convergence properties.

Keywords

Federated learning; defect detection; knowledge distillation; unsupervised learning

Cite This Article

APA Style
Wang, J., Xue, J., Zhang, H., Xiao, H., Wei, H. et al. (2025). An Optimized Unsupervised Defect Detection Approach via Federated Learning and Adaptive Embeddings Knowledge Distillation. Computers, Materials & Continua, 84(1), 1839–1861. https://doi.org/10.32604/cmc.2025.064489
Vancouver Style
Wang J, Xue J, Zhang H, Xiao H, Wei H, Chen M, et al. An Optimized Unsupervised Defect Detection Approach via Federated Learning and Adaptive Embeddings Knowledge Distillation. Comput Mater Contin. 2025;84(1):1839–1861. https://doi.org/10.32604/cmc.2025.064489
IEEE Style
J. Wang et al., “An Optimized Unsupervised Defect Detection Approach via Federated Learning and Adaptive Embeddings Knowledge Distillation,” Comput. Mater. Contin., vol. 84, no. 1, pp. 1839–1861, 2025. https://doi.org/10.32604/cmc.2025.064489



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 816

    View

  • 216

    Download

  • 0

    Like

Share Link