Abstract
Intelligent fault diagnosis has made extraordinary advancements currently. Nonetheless, few works tackle class-incremental learning for fault diagnosis under limited fault data, i.e., imbalanced and long-tailed fault diagnosis, which brings about various notable challenges. Initially, it is difficult to extract discriminative features from limited fault data. Moreover, a well-trained model must be retrained from scratch to classify the samples from new classes, thus causing a high computational burden and time consumption. Furthermore, the model may suffer from catastrophic forgetting when trained incrementally. Finally, the model decision is biased toward the new classes due to the class imbalance. The problems can consequently lead to performance degradation of fault diagnosis models. Accordingly, we introduce a supervised contrastive knowledge distillation for incremental fault diagnosis under limited fault data (SCLIFD) framework to address these issues, which extends the classical incremental classifier and representation learning (iCaRL) framework from three perspectives. Primarily, we adopt supervised contrastive knowledge distillation (KD) to enhance its representation learning capability under limited fault data. Moreover, we propose a novel prioritized exemplar selection method adaptive herding (AdaHerding) to restrict the increase of the computational burden, which is also combined with KD to alleviate catastrophic forgetting. Additionally, we adopt the cosine classifier to mitigate the adverse impact of class imbalance. We conduct extensive experiments on simulated and real-world industrial processes under different imbalance ratios. Experimental results show that our SCLIFD outperforms the existing methods by a large margin.
Introduction
In real-world industrial environments, machinery typically operates under normal conditions, making fault data inherently scarce. When failures do occur, the resulting datasets are often imbalanced and "long-tailed," where common faults are overrepresented compared to rare ones. Standard deep learning models face two critical hurdles in this context: catastrophic forgetting and data scarcity bias. Catastrophic forgetting occurs when a model, upon learning a new fault class, loses its ability to accurately diagnose previously learned classes. Furthermore, with limited samples, models struggle to extract discriminative features and often develop a bias toward the most recently introduced or most frequent classes.
To address these challenges, we propose the SCLIFD (Supervised Contrastive Knowledge Distillation for Incremental Fault Diagnosis) framework. SCLIFD is designed to identify new types of machinery failures over time without forgetting historical data, even when fault data is extremely limited.
Methodology
The SCLIFD framework extends the classical Incremental Classifier and Representation Learning (iCaRL) approach through three key innovations:
1. Supervised Contrastive Knowledge Distillation
Unlike standard cross-entropy loss, SCLIFD utilizes Supervised Contrastive Learning (SCL). This approach forces the model to pull features of the same fault type closer together in the embedding space while pushing different types further apart. To mitigate catastrophic forgetting, Knowledge Distillation (KD) is employed, ensuring the feature space of the current "student" network remains consistent with the previous "teacher" network.
2. AdaHerding (Adaptive Herding)
Traditional incremental learning methods often select "average" or "prototype" samples for their memory buffer (exemplar set). SCLIFD introduces AdaHerding, which prioritizes the most challenging samples—those located near class boundaries. By retaining these difficult cases, the model receives a stronger training signal in subsequent sessions, improving its ability to distinguish between similar fault types.
3. Cosine Classifier
To counteract the bias toward new classes—which often have more data during a specific training session—the standard linear output layer is replaced with a cosine classifier. This normalizes the magnitudes of class embeddings, preventing the model from favoring a class simply due to higher feature activation or frequency.
Experimental Evaluation
The framework was evaluated on two major benchmarks: the Tennessee Eastman Process (TEP) simulation and the Multiphase Flow Facility (MFF) real-world dataset. Experiments covered both imbalanced and long-tailed scenarios across five incremental sessions.
Key Results
SCLIFD demonstrated a significant performance leap over state-of-the-art methods like iCaRL, BiC, and EEIL. On the TEP dataset (Case 1), SCLIFD achieved a final accuracy of 81.42%, whereas iCaRL only reached 48.27%. Similarly, on the MFF dataset, SCLIFD maintained 88.17% accuracy by the final session, compared to 57.16% for iCaRL.
As shown in the performance curves, SCLIFD remains remarkably stable as more classes are added, staying much closer to the theoretical "Upper Bound" (a model trained on all data simultaneously) than any competing method.
Conclusion
SCLIFD effectively addresses the dual challenges of catastrophic forgetting and data scarcity in incremental fault diagnosis. By focusing on "hard" samples through AdaHerding and leveraging the discriminative power of supervised contrastive learning, it provides a robust solution for evolving industrial systems. Future work will focus on enhancing the interpretability of these models for human operators and exploring data-free incremental learning to address privacy concerns regarding the storage of historical fault data.
Summary updated