Fault Diagnosis using eXplainable AI: a Transfer Learning-based Approach for Rotating Machinery exploiting Augmented Synthetic Data

Lucas Costa Brito, Gian Antonio Susto, Jorge Nei Brito, Marcus Antonio Viana Duarte

Introduction

In industrial maintenance, rotating machinery such as motors, bearings, and gears forms the backbone of production. While Artificial Intelligence (AI) has shown significant promise in identifying mechanical failures, its practical application faces two critical barriers: the Data Scarcity Paradox and the "Black Box" Trust Gap. Industrial datasets are typically dominated by "normal" operating data, as machines are designed for reliability, making real-world fault data rare and expensive to collect. Furthermore, maintenance engineers are often reluctant to act on AI predictions without understanding the underlying reasoning, especially when a false alarm could lead to costly downtime.

The FaultD-XAI framework addresses these challenges by combining physics-informed synthetic data generation with eXplainable AI (XAI) techniques.

The FaultD-XAI Framework

The proposed methodology utilizes a six-stage pipeline designed to bridge the gap between synthetic simulations and real-world industrial environments.

Overview of the FaultD-XAI pipeline, from signal generation to explainable diagnosis.
  1. Signal Generation: Instead of relying solely on scarce real-world fault data, the framework uses physics-based equations (sine waves and harmonics) to simulate common faults like unbalance, misalignment, and bearing defects.
  2. Data Augmentation: To bridge the domain gap, synthetic signals are "muddied" using techniques such as Gaussian noise, masking, signal translation, amplitude shifting, and time stretching to mimic real-world sensor noise.
  3. Transfer Learning: The model is pre-trained on augmented synthetic data. A small "seed" of real signals (typically 15–30 samples) is then used to fine-tune the model for a specific machine's environment.
  4. 1D CNN Architecture: The framework employs a 1D Convolutional Neural Network (CNN) to process frequency-domain data directly. This approach is computationally more efficient than 2D image-based methods, making it suitable for edge deployment.
  5. Signal Processing: Raw vibration data is transformed into the frequency domain to highlight characteristic fault harmonics.
  6. Explainability (Grad-CAM): Gradient-weighted Class Activation Mapping (Grad-CAM) is integrated to produce heatmaps that highlight which specific frequencies influenced the AI's decision.

Experimental Validation

The framework was validated across three distinct scenarios:

  • Bearing Defects: Using the NASA/IMS run-to-failure dataset.
  • Gearbox Faults: Using a public dataset featuring nine different gear conditions (e.g., missing teeth, cracks).
  • Mechanical Faults: A new dataset developed by the authors covering unbalance, misalignment, and looseness, which has been made publicly available to the research community.

The results demonstrate high diagnostic performance, with the model achieving 98.1% accuracy for bearings, 92.5% for gearboxes, and 95.5% for general mechanical faults.

Key Insights

A critical finding of this research is the "Hybrid" sweet spot: while models trained purely on synthetic data struggle with real-world dynamics, incorporating a minimal amount of real data leads to high stability. Furthermore, the use of Grad-CAM served as a vital sanity check. The resulting heatmaps showed that the AI focused on the same harmonics (e.g., the 1x rotation frequency for unbalance) that a human vibration specialist would use, confirming that the model learned physical features rather than statistical noise.

Conclusion and Future Work

FaultD-XAI provides a transparent and data-efficient path for deploying AI in industrial settings. By leveraging 1D CNNs, the model remains lightweight enough for handheld vibration analyzers. Future research will focus on adapting the framework for non-stationary operating conditions (variable speeds) and moving from fault diagnosis to prognosis (predicting Remaining Useful Life).

Summary updated

BibTeX
@article{brito2022fault,
  author = {Lucas Costa Brito and Gian Antonio Susto and Jorge Nei Brito and Marcus Antonio Viana Duarte},
  title = {{Fault Diagnosis using eXplainable AI: a Transfer Learning-based Approach for Rotating Machinery exploiting Augmented Synthetic Data}},
  journal = {Expert Systems with Applications},
  year = {2022},
}
Figure