Fault detection of cyber-physical systems using a transfer learning method based on pre-trained transformers

Sajjadi, Pooya, Dinmohammadi, Fateme and Shafiee, Mahmood (2025) Fault detection of cyber-physical systems using a transfer learning method based on pre-trained transformers. Sensors, 25 (13).

[thumbnail of PDF/A]
Preview
PDF (PDF/A)
Fault detection of cyber-physical systems using a transfer_SajjadiP_accessible.pdf - Published Version
Available under License Creative Commons Attribution.

Download (2MB) | Preview

Abstract

As industries become increasingly dependent on cyber-physical systems (CPSs), failures within these systems can cause significant operational disruptions, underscoring the critical need for effective Prognostics and Health Management (PHM). The large volume of data generated by CPSs has made deep learning (DL) methods an attractive solution; however, imbalanced datasets and the limited availability of fault-labeled data continue to hinder their effective deployment in real-world applications. To address these challenges, this paper proposes a transfer learning approach using a pre-trained transformer architecture to enhance fault detection performance in CPSs. A streamlined transformer model is first pre-trained on a large-scale source dataset and then fine-tuned end-to-end on a smaller dataset with a differing data distribution. This approach enables the transfer of diagnostic knowledge from controlled laboratory environments to real-world operational settings, effectively addressing the domain shift challenge commonly encountered in industrial CPSs. To evaluate the effectiveness of the proposed method, extensive experiments are conducted on publicly available datasets generated from a laboratory-scale replica of a modern industrial water purification facility. The results show that the model achieves an average F1-score of 93.38% under K-fold cross-validation, outperforming baseline models such as CNN and LSTM architectures, and demonstrating the practicality of applying transformer-based transfer learning in industrial settings with limited fault data. To enhance transparency and better understand the model’s decision process, SHAP is applied for explainable AI (XAI).

Item Type: Article
Identifier: https://doi.org/ 10.3390/s25134164
Keywords: cyber-physical systems (CPSs); prognostics and health management (PHM); machine learning (ML); fault detection and diagnosis; transformers; transfer learning; explainable artificial intelligence (XAI)
Depositing User: Pooya Sajjadi
Date Deposited: 21 Jul 2025 09:40
Last Modified: 21 Jul 2025 10:00
URI: https://repository.uwl.ac.uk/id/eprint/13840

Downloads

Downloads per month over past year

Actions (login required)

View Item View Item

Menu