Personalized Federated Learning for Multi-task Fault Diagnosis of Rotating Machinery

Sheng Guo, Zengxiang Li, Hui Liu, Shubao Zhao, Cheng Jin · DOI

Abstract

Intelligent fault diagnosis is essential to the safe operation of machinery. However, due to scarce fault samples and data heterogeneity in field machinery, deep learning-based diagnosis methods are prone to over-fitting with poor generalization ability. To solve this problem, this paper proposes a personalized federated learning (PFL) framework, enabling multi-task fault diagnosis across multiple factories in a privacy-preserving manner. Firstly, rotating machines from different factories with similar vibration feature data are categorized into machine groups using a federated clustering method. Then, a multi-task deep learning model based on a convolutional neural network (CNN) is constructed to diagnose multiple faults of machinery with heterogeneous information fusion. Finally, a personalized federated learning framework is proposed to solve data heterogeneity across different machines using an adaptive hierarchical aggregation strategy. Case studies on data collected from real machines verify the effectiveness of the proposed framework, showing that diagnosis accuracy improves significantly, especially for machines with scarce fault samples.

Introduction

In industrial environments, intelligent fault diagnosis is critical for preventing costly downtime. However, implementing robust deep learning models faces three primary challenges: data scarcity, where faults are rare and datasets are imbalanced; data heterogeneity, where machines across different factories operate under varying loads and conditions; and privacy concerns, which prevent factories from sharing raw sensor data.

Standard Federated Learning (FL) addresses privacy by training a global model on local data updates, but it often struggles with non-IID (Independent and Identically Distributed) data. This paper introduces a Personalized Federated Learning (PFL) framework that combines federated clustering and adaptive aggregation to create specialized models that maintain high accuracy even when local fault data is extremely limited.

Methodology

The proposed framework operates in three distinct stages to ensure both privacy and personalization across disparate industrial sites.

Overview of the Personalized Federated Learning (PFL) framework, illustrating the transition from raw data in disparate factories to grouped machine clusters and personalized diagnostic models.

Federated Clustering and Information Fusion

To address mechanical differences, the system first employs federated $k$-means clustering. Machines are grouped based on vibration signatures (such as peak value and kurtosis) rather than geographic location. This allows a pump in Factory A to learn from a physically similar pump in Factory C.

For the diagnostic model itself, the framework utilizes "heterogeneous information fusion." The model processes three types of inputs simultaneously: raw time-domain signals, frequency-domain spectrums, and time-frequency domain Continuous Wavelet Transforms (CWT). This multi-modal approach ensures the model captures a comprehensive range of fault characteristics.

Multi-task Deep Learning Architecture

The core of the system is a CNN-based multi-task model. It features a "Common Feature Extraction Block" shared across all participants to learn general vibration patterns, while "Personalized Multi-task Classification Blocks" are tailored to specific machine groups to handle local fault variations.

Detailed architecture of the multi-task deep learning model featuring heterogeneous information fusion across nine inputs representing time, frequency, and time-frequency domains.

Adaptive Hierarchical Aggregation

The framework's "adaptive sensitive cost method" is its primary innovation for handling heterogeneity. Instead of simple averaging (FedAvg), the server assigns higher weights to updates from machines performing poorly (based on $F_1$ scores). This prevents rare fault cases from being overshadowed by the abundance of normal operating data, effectively "boosting" the learning of scarce failure modes.

Experimental Setup

The framework was validated using real-world data from 13 machines (including magnetic and centrifugal pumps) across three different factories. Vibration data was collected via three channels at varying frequencies (8kHz, 16kHz, and 32kHz). The study focused on four common fault types: unbalance, misalignment, bearing failure, and friction. Notably, most machines in the dataset only exhibited one or two types of faults, mirroring the data scarcity found in real-world industrial settings.

Results and Discussion

The Personalized Federated Learning framework demonstrated significant performance gains over traditional methods:

  • Superior Accuracy: The PFL framework achieved an average $F_1$ score of 0.855, outperforming single-machine models (0.818) and vanilla Federated Learning (0.831).
  • Impact on Scarce Samples: The most dramatic improvement occurred in machines with very few fault samples (0-5% fault rate). In these instances, the PFL method achieved an $F_1$ score of 0.746, a substantial increase over the 0.543 achieved by local models.
  • Reliability: The system maintained high recall rates, which is vital for industrial safety where missing a fault (a false negative) can lead to catastrophic failure.

Conclusion

This research demonstrates that personalized federated learning can effectively overcome the hurdles of data scarcity and heterogeneity in industrial fault diagnosis. By clustering machines by physical similarity and using performance-driven aggregation, the framework enables factories to benefit from collective intelligence without compromising data privacy. Future work will focus on developing incentive mechanisms for factory participation and adapting the models to "concept drift" as machinery ages over time.

Summary updated

BibTeX
@misc{guo2022personalized,
  author = {Sheng Guo and Zengxiang Li and Hui Liu and Shubao Zhao and Cheng Jin},
  title = {{Personalized Federated Learning for Multi-task Fault Diagnosis of Rotating Machinery}},
  year = {2022},
  eprint = {2211.09406},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.09406},
}
Figure