Residual Shrinkage ViT with Discriminative Rebalancing Strategy for Small and Imbalanced Fault Diagnosis

Li Zhang, Shixing Gu, Hao Luo, Linlin Ding, Yang Guo2024

TL;DR

This paper introduces DSADRSViT-IIRL, a novel framework for diagnosing faults in rotating machinery, particularly when dealing with very limited and imbalanced datasets. It combines a Vision Transformer (ViT) with a new adaptive residual shrinkage block and a custom loss function to effectively identify subtle fault signatures even with scarce data.

What Problem Does This Paper Address?

Accurate fault diagnosis in rotating machinery is crucial for industrial reliability and safety. However, real-world datasets often suffer from two major challenges: a small sample size (limited data) and class imbalance (healthy states vastly outnumber faulty ones). Traditional deep learning models struggle with these issues, leading to overfitting and poor performance on minority fault classes. Existing methods often fail to adequately capture local fault features or effectively rebalance imbalanced data, especially when both problems are severe. This paper aims to bridge this gap by developing a robust diagnostic framework that excels in these challenging data conditions.

Methods

The proposed solution, DSADRSViT-IIRL, is built upon a Vision Transformer (ViT) architecture and incorporates two key innovations:

  • Dual-Stream Adaptive Deep Residual Shrinkage Block (DSA-DRSB): This novel block is integrated into the ViT to enhance its ability to process local features. It uses a dual-stream approach:
  • One stream focuses on capturing fine-grained, locally sensitive feature vectors by employing small convolutional filters.
  • The other stream uses a shared-threshold strategy to filter out redundant information and noise.
  • These streams are fused to adaptively extract crucial fault discrimination features, even from limited data. This approach aims to combine the global receptive field of ViT with the local feature extraction capabilities of CNNs.
  • Interclass-Intraclass Rebalancing Loss (IIRL): To address severe class imbalance, a new loss function is proposed. IIRL combines two strategies:
  • It uses Class-Balanced (CB) Loss to assign adaptive weights to different classes, giving more attention to minority classes.
  • It incorporates an online Hard Sample Mining (HSM) technique. This means the model actively identifies and focuses on the most difficult samples within each class (both inter-class and intra-class) during training, preventing overfitting and improving the learning of subtle fault patterns.

Datasets

The proposed method was evaluated on two widely used bearing datasets:

  • Case Western Reserve University (CWRU) bearing dataset: This dataset is a standard benchmark for bearing fault diagnosis.
  • Laboratory bearing dataset: This dataset was collected from a laboratory rolling bearing test bench.

To thoroughly test the model's performance under various imbalanced conditions, four specific subsets (Datasets A, B, C, and D) were created from the laboratory dataset, ranging from extremely limited samples to mixed-load scenarios.

Key Insights and Ideas

  • Combining Global and Local Features is Crucial: The success of the DSA-DRSB highlights that simply relying on ViT's global attention is insufficient for fault diagnosis. Integrating convolutional-like local feature extraction is vital for capturing subtle fault signatures.
  • Hard Sample Mining is Key for Imbalance: The IIRL loss function's effectiveness demonstrates that simply re-weighting classes isn't enough. Actively identifying and learning from the most challenging samples within each class is critical for robust performance on imbalanced data.
  • Adaptive Thresholding Enhances Robustness: The DSA-DRSB's fusion threshold strategy helps in precisely capturing important time-frequency bands while controlling global feature vectors, leading to better noise reduction and feature extraction.
  • ViT Can Be Adapted for Industrial Diagnostics: While ViT is powerful, it needs specialized adaptations (like DSA-DRSB and IIRL) to perform well on the specific challenges of industrial fault diagnosis, especially with limited data.

Key Results

The DSADRSViT-IIRL model demonstrated superior performance across various datasets and experimental conditions:

  • High Accuracy on Imbalanced Data: On the highly imbalanced Dataset C, the proposed method achieved an accuracy of 99.47%, significantly outperforming other methods like ViT (94.31%), ViT-IIRL (97.20%), and ViT-DRSN (97.88%).
  • Robustness on Mixed Loads: In Dataset D (mixed loads, small samples), the model achieved F1-Score and G-mean scores exceeding 90% (91.03% and 90.50% respectively), outperforming ViT-DRSN (87.22% and 85.14%).
  • Effective Feature Extraction: Ablation studies showed that both the DSA-DRSB and IIRL components contributed significantly to the overall performance, with the full DSADRSViT-IIRL model consistently achieving the highest accuracy, F1-Score, and G-mean.
  • Improved Decision Boundaries: t-SNE visualizations showed that the proposed method creates clearer separation between fault classes compared to other methods, indicating better diagnostic capability.

Limitations and Future Work

  • Computational Cost: While effective, ViT-based models can be computationally intensive. The paper doesn't explicitly detail the computational cost of the proposed method compared to others.
  • Variable-Speed Datasets: The authors suggest that the DSADRSViT-IIRL may struggle with variable-speed datasets and propose exploring meta-learning, transfer learning, or reinforcement learning in future work to address this.
  • Lightweight Architectures: Future research could focus on developing more lightweight architectures that retain the diagnostic capabilities of the proposed method.

Summary updated

BibTeX
@misc{zhang2024residual,
  author = {Li Zhang and Shixing Gu and Hao Luo and Linlin Ding and Yang Guo},
  title = {{Residual Shrinkage ViT with Discriminative Rebalancing Strategy for Small and Imbalanced Fault Diagnosis}},
  year = {2024},
  doi = {10.3390/s24030890},
}
Figure