Semi-Supervised Learning for Multi-Label Cardiovascular Diseases Prediction: A Multi-Dataset Study

Rushuang Zhou, Lei Lu, Zijun Liu, Ting Xiang, Zhen Liang, David A. Clifton, Yining Dong, Yuan-Ting Zhang

Abstract: Electrocardiography (ECG) is a non-invasive tool for predicting cardiovascular diseases (CVDs). Current ECG-based diagnosis systems show promising performance owing to the rapid development of deep learning techniques. However, the label scarcity problem, the co-occurrence of multiple CVDs and the poor performance on unseen datasets greatly hinder the widespread application of deep learning-based models. Addressing them in a unified framework remains a significant challenge. To this end, we propose a multi-label semi-supervised model (ECGMatch) to recognize multiple CVDs simultaneously with limited supervision. In the ECGMatch, an ECGAugment module is developed for weak and strong ECG data augmentation, which generates diverse samples for model training. Subsequently, a hyperparameter-efficient framework with neighbor agreement modeling and knowledge distillation is designed for pseudo-label generation and refinement, which mitigates the label scarcity problem. Finally, a label correlation alignment module is proposed to capture the co-occurrence information of different CVDs within labeled samples and propagate this information to unlabeled samples. Extensive experiments on four datasets and three protocols demonstrate the effectiveness and stability of the proposed model, especially on unseen datasets. As such, this model can pave the way for diagnostic systems that achieve robust performance on multi-label CVDs prediction with limited supervision.

Introduction

Electrocardiography (ECG) is the gold standard for non-invasive heart monitoring. While deep learning has made significant strides in automating ECG interpretation, three major hurdles prevent these AI systems from being truly "clinic-ready": label scarcity, multi-label complexity, and the generalization gap. Training deep models requires massive amounts of expert-annotated data, which is expensive to produce. Furthermore, real-world patients often present with multiple heart conditions simultaneously, and models trained on one hospital's data often perform poorly on another's due to differences in equipment and demographics.

The ECGMatch Framework

To address these challenges, we propose ECGMatch, a semi-supervised learning framework that utilizes a teacher-student architecture to learn from a small pool of labeled data and a large pool of unlabeled data.

Overview of the ECGMatch framework, illustrating the supervised training, ECGAugment, pseudo-label generation with Neighbor Agreement Modeling, and Label Correlation Alignment modules.

The framework's innovation lies in three core modules:

  • ECGAugment: Standard image augmentations are unsuitable for 12-lead ECGs. We developed a pipeline including Signal Dropout (simulating bad electrode contact), Temporal Flipping, and Channel Reorganization (shuffling lead order). Weak versions are used for the teacher, while strong randomized versions are used for the student to enforce consistency.
  • Neighbor Agreement Modeling (NAM): Traditional semi-supervised models use fixed confidence thresholds, which are brittle for multi-label tasks. Instead, NAM evaluates the $K$-nearest neighbors of a sample in a feature memory bank. If neighbors agree on a label, it is assigned a higher weight during training, making the process more hyperparameter-efficient.
  • Label Correlation Alignment: This module explicitly calculates how often different diseases co-occur in the labeled data and ensures the student model maintains these relationships when predicting on unlabeled data.

Experimental Evaluation

The study utilized four major public ECG databases: G12EC, PTB-XL, Chapman, and Ningbo. To ensure consistency, the authors re-annotated all four datasets into five categories: Abnormal Rhythms, ST/T Abnormalities, Conduction Disturbance, Other Abnormalities, and Normal Signals.

Key Results

ECGMatch achieved leading performance across three distinct experimental protocols:

  • Superiority over SOTA: It consistently outperformed seven state-of-the-art semi-supervised models (including MixMatch, FixMatch, and SoftMatch) across metrics like Mean Average Precision (MAP) and Macro AUC.
  • Data Efficiency: In the mix-dataset protocol, using only 1% labeled data, ECGMatch achieved results comparable to models using much higher levels of supervision.
  • Robust Generalization: The cross-dataset protocol proved that ECGMatch is significantly more robust to distribution shifts than existing models, maintaining performance when tested on completely unseen hospital datasets.

Conclusion

ECGMatch demonstrates that robust multi-label CVD prediction is possible even with limited supervision. By combining domain-specific augmentation with neighbor-based pseudo-labeling and correlation alignment, the framework addresses the primary barriers to clinical deployment. Future work will focus on addressing class imbalance for rare heart conditions and expanding the diagnostic categories.

Summary updated

BibTeX
@article{zhou2024semi,
  author = {Rushuang Zhou and Lei Lu and Zijun Liu and Ting Xiang and Zhen Liang and David A. Clifton and Yining Dong and Yuan-Ting Zhang},
  title = {{Semi-Supervised Learning for Multi-Label Cardiovascular Diseases Prediction: A Multi-Dataset Study}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2024},
  url = {https://openreview.net/forum?id=sDLcRAXNPc},
}
Figure