journal article·2025Open access

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

Jinhai Wang, Junwei Xue, Hongyan Zhang, Hui Xiao, Huiling Wei, Mingyou Chen, Jiang Liao, Lufeng Luo

Computers, Materials & Continua· Volume 84· Issue 1

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.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Industrial Vision Systems and Defect Detection · Manufacturing Process and Optimization

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

References (36)

Show source-provided references
1. Accelerating surface defect detection using normal data with an attention-guided feature distillation reconstruction network10.1016/j.measurement.2025.116702 ↗
2. Aircraft skin defect detection based on Fourier GAN data augmentation under limited samples10.1016/j.measurement.2025.116657 ↗
3. Advances in subsurface defect detection techniques for fused silica optical components: a literature review10.1016/j.jmrt.2025.01.045 ↗
4. Joining spatial deformable convolution and a dense feature pyramid for surface defect detection
5. MVTec AD—a comprehensive real-world dataset for unsupervised anomaly detection
6. Padim: a patch distribution modeling framework for anomaly detection and localization
7. Hsu TMH, Qi H, Brown M. Measuring the effects of non-identical data distribution for federated visual classification. arXiv:1909.06335. 2019.
8. Towards total recall in industrial anomaly detection
9. Fully convolutional cross-scale-flows for image-based defect detection
10. Active federated transfer algorithm based on broad learning for fault diagnosis10.1016/j.measurement.2023.112452 ↗
11. Communication-efficient learning of deep networks from decentralized data
12. Ensemble distillation for robust model fusion in federated learning
13. Islam F, Raihan AS, Ahmed I. Applications of federated learning in manufacturing: identifying the challenges and exploring the future directions with Industry 4.0 and 5.0 visions. arXiv:2302.13514. 2023.10.46254/NA8.20230219 ↗
14. Federated learning-based semantic segmentation for pixel-wise defect detection in additive manufacturing10.1016/j.jmsy.2022.06.010 ↗
15. Federated unsupervised representation learning10.1631/FITEE.2200268 ↗
16. SDD-DETR: surface defect detection for no-service aero-engine blades with detection transformer10.1109/TASE.2024.3457829 ↗
17. SRPCNet: self-reinforcing perception coordination network for seamless steel pipes internal surface defect detection10.1109/TII.2024.3470895 ↗
18. Fine-grained tiny defect detection in spiral welds: a joint framework combining semantic discrimination and contrast transformation
19. MFANet: multifeature aggregation network for cross-granularity few-shot seamless steel tubes surface defect segmentation10.1109/TII.2024.3383513 ↗
20. Latent space autoregression for novelty detection
21. f-AnoGAN: fast unsupervised anomaly detection with generative adversarial networks10.1016/j.media.2019.01.010 ↗
22. Simplenet: a simple network for image anomaly detection and localization
23. Transformer-optimized generation, detection, and tracking network for images with drainage pipeline defects10.1111/mice.12970 ↗
24. Defect detection of photovoltaic modules based on improved VarifocalNet10.1038/s41598-024-66234-3 ↗
25. Federated optimization in heterogeneous networks
26. Li X, Jiang M, Zhang X, Kamp M, Dou Q. Fedbn: federated learning on non-iid features via local batch normalization. arXiv:2102.07623. 2021.
27. Tackling the objective inconsistency problem in heterogeneous federated optimization
28. Scaffold: stochastic controlled averaging for federated learning
29. Hinton G, Vinyals O, Dean J. Distilling the knowledge in a neural network. arXiv:1503.02531. 2015.
30. Training data-efficient image transformers & distillation through attention
31. A fast knowledge distillation framework for visual recognition
32. Hao Z, Guo J, Han K, Hu H, Xu C, Wang Y. Vanillakd: revisit the power of vanilla knowledge distillation from small scale to large scale. arXiv:2305.15781. 2023.
33. Li D, Wang J. Fedmd: heterogenous federated learning via model distillation. arXiv:1910.03581. 2019.
34. FedGKD: toward heterogeneous federated learning via global knowledge distillation10.1109/TC.2023.3315066 ↗
35. Surface defect saliency of magnetic tile10.1007/s00371-018-1588-5 ↗
36. Model-contrastive federated learning