Self-degraded contrastive domain adaptation for industrial fault diagnosis with bi-imbalanced data

Gecheng Chen, Zeyu Yang, Chengwen Luo, Jianqiang LiarXiv 2024 · DOI

TL;DR: This paper introduces Sd-CDA (Self-degraded Contrastive Domain Adaptation), a framework designed for industrial fault diagnosis where data is both shifted between domains and heavily imbalanced. By leveraging "self-degradation" through model pruning, the method automatically identifies and prioritizes minority classes and difficult samples, significantly outperforming standard domain adaptation techniques in real-world, "messy" data scenarios.

1. Introduction: The Challenge of Bi-Imbalance

Deep learning has shown great promise in industrial fault diagnosis, but its real-world application is often hindered by two primary hurdles:

  1. Domain Discrepancy: Models trained on data from one operating condition (e.g., 1700 RPM) often fail when deployed in another (e.g., 1200 RPM) because the underlying data distributions differ.
  2. Bi-Imbalance: Industrial datasets are naturally skewed. "Normal" operational data is abundant, while "fault" data is rare (intra-domain imbalance). Additionally, the specific types of faults available during training may differ from those encountered in the field (inter-domain imbalance).

Standard Unsupervised Domain Adaptation (UDA) methods, such as Domain Adversarial Neural Networks (DANN), often struggle with these issues. They tend to "forget" minority fault classes or generate features that cluster near the ambiguous domain boundary, leading to the misclassification of rare but critical faults.

Comparison of standard methods (SimCLR, DANN) vs. the proposed Sd-CDA components (Ia-CLR, Ba-ADA) in handling mis-featured and mis-classified samples.

2. Methodology: Sd-CDA

The proposed Sd-CDA framework consists of two main stages designed to address imbalance and domain shift simultaneously.

2.1 Imbalance-aware Contrastive Learning (Ia-CLR)

The first stage is a pre-training step that leverages model pruning as a "difficulty detector." Research indicates that when a neural network is pruned (removing small weights), it tends to "forget" minority or difficult samples first while retaining knowledge of the majority classes.

Architecture of Imbalance-aware Contrastive Representation Learning (Ia-CLR) utilizing a pruned feature extractor.

In Ia-CLR, a "self-degraded" (pruned) version of the feature extractor is created. A contrastive loss compares the full model's output to the pruned model's output. Since the pruned model struggles more with minority samples, the loss for these samples is naturally larger. This forces the full model to prioritize learning these difficult features without requiring manual re-weighting or explicit labels.

2.2 Boundary-aware Adversarial Domain Adaptation (Ba-ADA)

Following pre-training, the model undergoes adversarial training. To prevent features from clustering near the "domain boundary"—where the model cannot distinguish between source and target data—the authors introduce supervised contrastive learning and a pruned discriminator. The pruned discriminator detects "difficult" samples near the boundary, pushing them into more discriminative regions of the feature space.

3. Experimental Evaluation

The authors evaluated Sd-CDA on two primary benchmarks: the CWRU Bearing Dataset (vibration signals under various imbalance settings) and the Three-phase Flow Process Dataset (real-world data involving oil, water, and air flow).

3.1 Key Results

Sd-CDA consistently outperformed state-of-the-art methods like DANN, JDA, and ConDA:

  • CWRU Dataset: In the most challenging Imbalanced-to-Imbalanced (I2I) setting, Sd-CDA achieved 69.54% accuracy, significantly higher than DANN (56.04%) and the previous best, Imba-DA (64.58%).
  • Three-phase Flow: The performance gap was even more pronounced. In the I2I setting, Sd-CDA reached 58.25% accuracy, while standard DANN dropped to 21.24%, failing to handle the combined shift and imbalance.
  • Qualitative Analysis: Class-wise results showed that Sd-CDA was particularly effective at identifying "difficult" faults, such as Ball Faults, which other models often missed entirely.

4. Discussion and Conclusion

A key insight of this work is the use of pruning as a feature. Instead of using pruning solely for model compression, it is utilized here to identify what a model "forgets," thereby highlighting what it needs to focus on. This approach also addresses the "fooling" problem in adversarial DA, where feature extractors might produce "lazy" features near the domain boundary. Furthermore, Sd-CDA handles target-side imbalance in a self-supervised manner, a major advantage for real-world industrial deployments where imbalance ratios are unknown.

While the method is sensitive to the pruning proportion ($\alpha$) and has higher computational overhead due to its two-stage nature, it provides a robust solution for industrial fault diagnosis under complex, bi-imbalanced conditions. By turning model degradation into a learning signal, it effectively bridges the gap between source and target domains while preserving critical information about rare fault classes.

Summary updated

BibTeX
@misc{chen2024self,
  author = {Gecheng Chen and Zeyu Yang and Chengwen Luo and Jianqiang Li},
  title = {{Self-degraded contrastive domain adaptation for industrial fault diagnosis with bi-imbalanced data}},
  year = {2024},
  eprint = {2405.20700},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.20700},
}
Figure