{"title":"Multi-scale temporal feature fusion and lead-graph attention for multi-label classification of 12-lead ECGs.","authors":"Feiyan Zhou, Mingyang Li","doi":"10.1088/1361-6579/aeb225","DOIUrl":null,"url":null,"abstract":"<p><strong>Objective: </strong>Automatic multi-label classification of 12-lead electrocardiograms remains challenging because of heterogeneous waveform morphology, long-range temporal dependencies, diagnosis-dependent inter-lead relationships, and severe label imbalance. This study develops an adaptive framework that jointly models temporal features and diagnosis-specific lead interactions.

Approach. We propose a multi-scale residual-temporal network incorporating a diagnosis-conditioned, record-specific sparse lead graph. A shared temporal encoder independently extracts dynamic node features from each lead waveform. Learnable diagnosis prototypes participate in edge-score computation before message passing, generating a distinct graph for every recording and diagnostic category. For each target lead, only the top-k relationships are retained, while established lead connections are incorporated as a physiological soft prior with learnable strength. Prototype-guided graph predictions are integrated with global semantic predictions through class-wise gated fusion. Weighted asymmetric loss and validation-based class-specific thresholds address label imbalance.

Main results. The model was evaluated on CPSC2018, G12EC, and PTB-XL across five multi-label settings. It achieved Macro-F1 scores of 0.8327 on nine-class CPSC2018, 0.5857 ± 0.0142 on 30-class G12EC, and 0.7782, 0.6421, and 0.4910 on the 5-, 12-, and 23-class PTB-XL tasks, respectively. The corresponding absolute gains over the strongest listed Macro-F1 comparators were 0.0147, 0.1428, 0.0226, 0.1335, and 0.0102. Macro-AUPRC was highest in all five settings, although Hamming Loss on the 23-class PTB-XL task was 0.0025 higher than that of ECG-STAR. Ablation and paired-bootstrap analyses supported the contribution of diagnosis-conditioned graph modelling.

Significance. Conditioning sparse lead relationships jointly on each recording and diagnostic category extends fixed or class-agnostic lead graphs and provides an adaptive representation of disease-dependent multi-lead evidence. Clinical generalisability requires validation on independent hospital cohorts.</p>","PeriodicalId":20047,"journal":{"name":"Physiological measurement","volume":" ","pages":""},"PeriodicalIF":2.5000,"publicationDate":"2026-10-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Physiological measurement","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1088/1361-6579/aeb225","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"BIOPHYSICS","Score":null,"Total":0}
引用次数: 0
Abstract
Objective: Automatic multi-label classification of 12-lead electrocardiograms remains challenging because of heterogeneous waveform morphology, long-range temporal dependencies, diagnosis-dependent inter-lead relationships, and severe label imbalance. This study develops an adaptive framework that jointly models temporal features and diagnosis-specific lead interactions.
Approach. We propose a multi-scale residual-temporal network incorporating a diagnosis-conditioned, record-specific sparse lead graph. A shared temporal encoder independently extracts dynamic node features from each lead waveform. Learnable diagnosis prototypes participate in edge-score computation before message passing, generating a distinct graph for every recording and diagnostic category. For each target lead, only the top-k relationships are retained, while established lead connections are incorporated as a physiological soft prior with learnable strength. Prototype-guided graph predictions are integrated with global semantic predictions through class-wise gated fusion. Weighted asymmetric loss and validation-based class-specific thresholds address label imbalance.
Main results. The model was evaluated on CPSC2018, G12EC, and PTB-XL across five multi-label settings. It achieved Macro-F1 scores of 0.8327 on nine-class CPSC2018, 0.5857 ± 0.0142 on 30-class G12EC, and 0.7782, 0.6421, and 0.4910 on the 5-, 12-, and 23-class PTB-XL tasks, respectively. The corresponding absolute gains over the strongest listed Macro-F1 comparators were 0.0147, 0.1428, 0.0226, 0.1335, and 0.0102. Macro-AUPRC was highest in all five settings, although Hamming Loss on the 23-class PTB-XL task was 0.0025 higher than that of ECG-STAR. Ablation and paired-bootstrap analyses supported the contribution of diagnosis-conditioned graph modelling.
Significance. Conditioning sparse lead relationships jointly on each recording and diagnostic category extends fixed or class-agnostic lead graphs and provides an adaptive representation of disease-dependent multi-lead evidence. Clinical generalisability requires validation on independent hospital cohorts.
期刊介绍:
Physiological Measurement publishes papers about the quantitative assessment and visualization of physiological function in clinical research and practice, with an emphasis on the development of new methods of measurement and their validation.
Papers are published on topics including:
applied physiology in illness and health
electrical bioimpedance, optical and acoustic measurement techniques
advanced methods of time series and other data analysis
biomedical and clinical engineering
in-patient and ambulatory monitoring
point-of-care technologies
novel clinical measurements of cardiovascular, neurological, and musculoskeletal systems.
measurements in molecular, cellular and organ physiology and electrophysiology
physiological modeling and simulation
novel biomedical sensors, instruments, devices and systems
measurement standards and guidelines.