Federated Meta-Learning for Few-Shot Fault Diagnosis with Representation Encoding

Jixuan Cui, Jun Li, Zhen Mei, Kang Wei, Sha Wei, Ming Ding, Wen Chen, Song Guo · DOI

Abstract

In modern industrial environments, Fault Diagnosis (FD) is essential for maintaining operational safety and minimizing downtime. However, the deployment of deep learning models for FD is often hindered by data privacy concerns, the scarcity of labeled fault samples, and significant domain discrepancies between different machinery. This paper presents REFML (Representation Encoding-based Federated Meta-Learning), a novel framework designed to address these challenges. By integrating meta-learning with a specialized representation encoding strategy and adaptive interpolation, REFML enables collaborative model training across distributed entities while maintaining data privacy. Experimental results on benchmark datasets demonstrate that REFML significantly outperforms traditional federated learning approaches, particularly in few-shot scenarios and cross-equipment generalization.

Introduction

Fault Diagnosis (FD) has transitioned from manual inspection to automated systems powered by Deep Learning (DL). Despite this progress, three primary obstacles remain for real-world industrial application:

  1. Data Privacy: Industrial entities are often "data islands," unable to share sensitive sensor data due to competitive and security risks.
  2. Data Scarcity: Fault events are rare occurrences, making it difficult to collect the large, labeled datasets required by standard DL models.
  3. Domain Discrepancy: Models trained on specific equipment or under certain operating conditions (e.g., specific RPMs) often fail when deployed in different environments.

While standard Federated Learning (FL) addresses privacy by training models locally, it often struggles with the heterogeneity of industrial data. The REFML framework aims to bridge this gap by creating a model that is both privacy-preserving and highly adaptable to unseen industrial scenarios.

Methodology

The REFML framework is built upon three innovative pillars designed to balance global knowledge with local specialization.

1. Adaptive Interpolation

In traditional FL, clients typically initialize local training by downloading the global model. REFML improves upon this by implementing an adaptive interpolation module. Using a Hadamard product, the framework calculates an optimal "blend" of the global model and the client’s previous local model. This mechanism allows the model to retain useful local characteristics while still benefiting from the collective intelligence of the federation.

2. Representation Encoding

To handle domain shifts, the neural network is decoupled into two distinct components: an Encoder and a Predictor.

  • The Encoder (feature extractor) is trained to identify domain-invariant features—patterns that remain consistent across different machine speeds or types.
  • The Predictor (classifier) focuses on the specific fault categories. By separating these functions, the model can maintain stable feature extraction even when the operating environment changes.

3. Meta-Updating (MAML-based)

While the Encoder provides stability, the Predictor is trained using Model-Agnostic Meta-Learning (MAML). Rather than learning to classify a specific set of faults, the Predictor learns how to learn. It optimizes for a parameter state that can be rapidly fine-tuned to a new task using only a handful of samples, enabling effective Few-Shot Learning (FSL).

Experimental Setup and Datasets

The researchers validated REFML using three prominent industrial benchmarks to test its robustness against Out-of-Distribution (OOD) scenarios:

  • CWRU (Case Western Reserve University) Dataset: A standard for bearing fault data involving various loads and speeds.
  • JNU (JiangNan University) Dataset: Used primarily to evaluate cross-equipment generalization.
  • PHM2009 Gearbox Dataset: A complex dataset featuring spur and helical gears under varying load conditions.

The evaluation focused on the model's ability to generalize from one set of conditions (or machines) to a completely different, unseen environment.

Key Insights

  • Leveraging Heterogeneity: Unlike standard FL, where non-IID (Independent and Identically Distributed) data often degrades performance, REFML utilizes data diversity. Exposure to various domains during the meta-learning phase enhances the model's ability to generalize to the next unknown domain.
  • Stability vs. Agility: By decoupling the Encoder and Predictor, the framework avoids "catastrophic forgetting." The Encoder provides a universal foundation, while the Predictor provides the agility needed for rapid adaptation.
  • The Importance of Initialization: The success of the adaptive interpolation module highlights that the starting point of local training is critical. Balancing global and local weights prevents the model from drifting into suboptimal local minima.

Results and Discussion

REFML demonstrated superior performance compared to state-of-the-art baselines such as FedAvg and FedProx:

  • Unseen Working Conditions: In tests involving the same machinery at different speeds or loads, REFML improved diagnostic accuracy by 2.17% to 6.50%.
  • Cross-Equipment Generalization: In the most challenging tests (e.g., training on CWRU bearings and testing on JNU bearings), REFML achieved a significant accuracy boost of 13.44% to 18.33%.
  • Few-Shot Efficiency: The framework consistently achieved over 90% accuracy in 5-shot scenarios, whereas traditional FL models often struggled to surpass the 70-80% range.

Conclusion and Future Work

REFML provides a robust solution for industrial fault diagnosis by combining the privacy of federated learning with the adaptability of meta-learning. While the framework shows great promise, the authors note that the use of MAML involves second-order derivatives (Hessians), which increases computational and memory overhead for local controllers. Future research will focus on developing more computationally efficient meta-learning variants to facilitate deployment on edge computing devices within factory settings.

Summary updated

BibTeX
@article{cui2023federated,
  author = {Jixuan Cui and Jun Li and Zhen Mei and Kang Wei and Sha Wei and Ming Ding and Wen Chen and Song Guo},
  title = {{Federated Meta-Learning for Few-Shot Fault Diagnosis with Representation Encoding}},
  journal = {IEEE Trans. Instrumentation \& Measurement},
  year = {2023},
  url = {https://openreview.net/forum?id=KlfWlIpu3O},
}
Figure