Toward Trusted Autonomous Optical Surface Inspection: An Integrated Framework for Robustness, Uncertainty, Explainability, and Open-Set Recognition
PDF

Keywords

Federated learning
Privacy-preserving machine learning
Optical inspection
Differential privacy
Distributed deep learning
Multi-factory collaboration

Abstract

Training high-quality deep learning models for optical surface inspection requires large diverse datasets, but manufacturing companies are often unwilling or legally prohibited from sharing raw measurement data across facilities due to competitive concerns, customer confidentiality requirements, and data privacy regulations such as GDPR. This data silos problem means that each facility trains on its own limited data, producing models that do not generalize well to other factories, product variants, or measurement equipment configurations. This study proposes a federated learning framework for optical surface inspection that enables multiple manufacturing facilities to collaboratively train a shared inspection model without any facility revealing its raw measurement data to any other facility or to a central server. Built upon the deep learning measurement methodologies established by Huang, Yang, and Zhu. (2023) in 4D thermal imaging and the optical metrology innovations of Huang, Tang, Liu, and Huang (2026), the framework employs differential privacy mechanisms to provide formal privacy guarantees, a Federated Averaging protocol optimized for optical measurement data distributions, and a contribution scoring system that rewards facilities for sharing informative data without exposing what that data contains. Evaluated on a simulated federation of six manufacturing facilities with heterogeneous data distributions, the proposed framework achieves inspection accuracy that is within 6.3% of a centrally trained model while providing formal (ε, δ)-differential privacy guarantees. The framework is demonstrated to enable factories with as few as 500 labeled samples to benefit from the collective knowledge of the entire federation, reaching performance that would otherwise require tens of thousands of samples. This work provides the first practical pathway toward privacy-preserving collaborative deep learning for precision optical manufacturing across competing organizations.

PDF

References

Zhou, K., Zhong, L., Liu, J. et al. Unveiling the Role of Western Pacific Subtropical High in Urban Heat Islands Using Local Climate Zones Coupled WRF-BEP/BEM. Earth Syst Environ 10, 363–390 (2026). https://doi.org/10.1007/s41748-025-00589-z

S. Wang, Y. Yu, R. Feldt and D. Parthasarathy, "Automating a Complete Software Test Process Using LLMs: An Automotive Case Study," 2025 IEEE/ACM 47th International Conference on Software Engineering (ICSE), Ottawa, ON, Canada, 2025, pp. 373-384, doi: 10.1109/ICSE55347.2025.00211.

Huang, H., Tang, J., Liu, T., & Huang, M. (2026). Precision 3D surface metrology of optical components using stereo phase-measuring deflectometry with deep learning-enhanced phase unwrapping. In *Proceedings Volume 13987, 33rd International Congress on High-Speed Imaging and Photonics* (p. 1398704). SPIE. https://doi.org/10.1117/12.3093993

Huang, H., Yang, Y., & Zhu, Y. (2023). Accurate 4D thermal imaging of uneven surfaces: Theory and experiments. *International Journal of Heat and Mass Transfer*, 216, 124580. https://doi.org/10.1016/j.ijheatmasstransfer.2023.124580

Wang, S., Yu, Y., Feldt, R., & Parthasarathy, D. (2025). Automating a complete software test process using llms: An automotive case study. arXiv preprint arXiv:2502.04008. https://doi.org/10.1109/ICSE55347.2025.00211