Maximizing Model Generalization for Machine Condition Monitoring with Self-Supervised Learning and Federated Learning

Matthew B. Russell, Peng WangarXiv 2023 · DOI

Abstract

Deep Learning (DL) can diagnose faults and assess machine health from raw condition monitoring data without manually designed statistical features. However, practical manufacturing applications remain extremely difficult for existing DL methods. Machine data is often unlabeled and from very few health conditions (e.g., only normal operating data). Furthermore, models often encounter shifts in domain as process parameters change and new categories of faults emerge. Traditional supervised learning may struggle to learn compact, discriminative representations that generalize to these unseen target domains since it depends on having plentiful classes to partition the feature space with decision boundaries. Transfer Learning (TL) with domain adaptation attempts to adapt these models to unlabeled target domains but assumes similar underlying structure that may not be present if new faults emerge. This study proposes focusing on maximizing the feature generality on the source domain and applying TL via weight transfer to copy the model to the target domain. Specifically, Self-Supervised Learning (SSL) with Barlow Twins may produce more discriminative features for monitoring health condition than supervised learning by focusing on semantic properties of the data. Furthermore, Federated Learning (FL) for distributed training may also improve generalization by efficiently expanding the effective size and diversity of training data by sharing information across multiple client machines. Results show that Barlow Twins outperforms supervised learning in an unlabeled target domain with emerging motor faults when the source training data contains very few distinct categories. Incorporating FL may also provide a slight advantage by diffusing knowledge of health conditions between machines.

Introduction

In the world of "Smart Factories," Deep Learning (DL) is the go-to tool for predicting when a machine is about to fail. However, there is a massive gap between laboratory success and factory-floor reality. Real-world industrial data is messy, mostly unlabeled, and rarely contains examples of every possible way a motor can break. Traditional fault diagnosis relies on supervised learning, which requires a diverse, labeled dataset. In practice, this is nearly impossible to get. Most factory data is "Normal," and when a new type of fault emerges, supervised models often fail because they haven't established a decision boundary for it.

Furthermore, manufacturing environments suffer from domain shift. A model trained on a motor running at 2000 RPM might fail when the process changes to 3000 RPM. Existing solutions like Domain Adaptation assume the types of faults in the new environment are the same as the old ones—an assumption that breaks the moment a brand-new failure mode appears.

Methodology

To maximize feature generality, the authors propose a two-pronged approach combining Self-Supervised Learning and Federated Learning.

Self-Supervised Learning (Barlow Twins)

Instead of using labels, the model learns by looking at different "views" of the same raw signal, created via random jittering, scaling, and masking. The Barlow Twins algorithm forces the model to make the features of these views highly correlated while ensuring different feature dimensions do not repeat the same information (redundancy reduction).

The Barlow Twins architecture utilizes a cross-correlation matrix loss to learn robust features by reducing redundancy between different views of the same input.

Federated Learning (FL)

Using the FedAvg algorithm, the researchers simulate a fleet of machines. Each machine trains on its own local data and only shares its model weights—not the raw data—with a central server. This allows the model to "see" a wider variety of operating conditions and faults without hitting bandwidth limits or compromising data privacy. Finally, weight transfer is used to copy the pretrained model to a target domain to evaluate its ability to distinguish emerging faults.

Experimental Setup

The study uses a motor fault dataset collected from a SpectraQuest Machinery Fault Simulator (MFS), consisting of 1D vibration signals and electrical current signals. The dataset includes eight distinct states, such as Normal (N), Faulted Bearings (FB), and various rotor imbalances, gathered across different speeds (2000 and 3000 RPM) and load levels.

Key Insights and Results

Compactness vs. Decision Boundaries

Supervised learning focuses on drawing lines between classes. If a dataset only has two classes, the rest of the feature space remains "undefined territory." In contrast, SSL focuses on making the features of a single class compact. This makes it much easier to identify an emerging fault later because it will naturally fall outside those tight, well-defined clusters.

Conceptual diagram of contrastive learning in the feature space, illustrating the objective of moving features toward positive examples and away from negative examples.

Performance Metrics

  • Superior Generalization: When trained on only two health conditions, Barlow Twins achieved an evaluation accuracy of 93.5% across all eight conditions, significantly outperforming supervised learning, which struggled at 83.9%.
  • FL Boost: In a distributed setup where clients saw different faults, adding Federated Learning to supervised models boosted overall accuracy from 67.6% to 73.7%.
  • The Winning Combination: The combination of Barlow Twins and FL provided the most robust performance, reaching 83.7% accuracy in a highly constrained, multi-client scenario where each client only saw two unique faults.

Conclusion

This research demonstrates that focusing on feature generality through SSL and FL can significantly improve the robustness of machine condition monitoring. While the results are promising, future work should explore dataset diversity across different types of industrial machinery and develop methods to eventually label or cluster SSL-generated features into actionable maintenance categories. Incorporating human-in-the-loop tagging could also help refine these general models into specific diagnostic tools.

Summary updated

BibTeX
@misc{russell2023maximizing,
  author = {Matthew B. Russell and Peng Wang},
  title = {{Maximizing Model Generalization for Machine Condition Monitoring with Self-Supervised Learning and Federated Learning}},
  year = {2023},
  eprint = {2304.14398},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.14398},
}
Figure