Skip to main navigation Skip to search Skip to main content

CWANet: Class-wise alignment for enhanced cross-patient generalizability in ECG classification

  • Ziqiang Wang
  • , Zhenxi Song
  • , Su Shu
  • , Zhihui Shang
  • , Shanshan Xu
  • , Xiaohua Wang
  • , Peiyong Zhang
  • , Guofa Zhang
  • , Luping Song
  • , Yunxiao Jia
  • , Yan Li*
  • , Zhiguo Zhang
  • *Corresponding author for this work
  • Zunyi Medical University
  • Harbin Institute of Technology
  • Central South University
  • Shenzhen University

Research output: Contribution to journalArticlepeer-review

Abstract

The electrocardiogram (ECG) is the gold standard for the diagnosis of arrhythmias and serves as a fundamental diagnostic tool in clinical practice. Although numerous deep learning (DL) methods have achieved impressive results in ECG classification, cross-patient variability remains a significant challenge that limits the generalizability of DL models. To address this issue, we propose a novel Class-Wise Alignment strategy integrated into a deep learning-based framework (CWANet) for multi-label ECG classification. CWANet is designed to enhance generalizability across different patients by aligning high-dimensional deep neural network (DNN) features. The solution includes a multi-branch DNN enhanced representation module and a joint optimization with multiple loss functions to improve the representational capability of the model. In addition, a class-wise fusion strategy is employed at the decision level to further enhance the performance. We conducted experiments on two large-scale public ECG datasets (Chapman–Shaoxing and CPSC2018 dataset). The proposed approach achieved F1-score of 0.6911 and 0.8398 on the respective test sets, outperforming previous work, as well as several benchmark models. Ablation studies further confirmed the substantial improvements offered by our method. These results underscore the effectiveness of our approach and highlight its potential to assist in real-world application.

Original languageEnglish
Article number110399
JournalBiomedical Signal Processing and Control
Volume122
DOIs
StatePublished - 15 Aug 2026
Externally publishedYes

Keywords

  • Class-wise alignment
  • Cross-patient variability
  • Deep learning
  • ECG

Fingerprint

Dive into the research topics of 'CWANet: Class-wise alignment for enhanced cross-patient generalizability in ECG classification'. Together they form a unique fingerprint.

Cite this