cs.LGNov 17, 2026

BiMa-ECGSR: reconstructing the 12-lead ECG from reduced lead sets with bidirectional state-space models

Authors: Ugo Lomoio, Pierangelo Veltri, Pietro Hiram Guzzi

Organizations: Department of Surgical and Medical Sciences, Magna Graecia University of Catanzaro, Catanzaro, Italy · Department of Informatics Modelling and Systems, University of Calabria, Rende, Italy

Abstract

Wearables and monitors record few electrocardiogram (ECG) leads; most diagnostic tools assume 12 leads. BiMa-ECGSR reconstructs the 12-lead ECG from reduced lead sets with a bidirectional Mamba state-space encoder--decoder, as regression (BiMa-SR) or diffusion (DiBiMa-SR). Models were trained on PTB-XL for six input sets (I; II; I+II; I+II+V1; I+II+V2; I+II+V1+V4), see only the measured leads at inference, and were tested on the PTB-XL test fold (2,198 records) and two external cohorts (Georgia, 10,275 records; Chapman-Shaoxing/Ningbo, 43,559). From lead II alone, the pooled median Pearson correlation (PCC) over the 11 predicted leads was 0.914 on PTB-XL, against 0.784 for a least-squares linear filter (lead I: 0.906 against 0.789). As limb leads are exactly derivable from I and II, multi-lead inputs were compared on predicted chest leads: 0.939 against 0.849 for I+II and 0.979 against 0.962 for I+II+V1+V4. BiMa-SR exceeded the linear comparator in all 18 configuration--cohort pairs (by 0.012--0.136), a margin that shrank as chest leads were added. From lead II, regression was more accurate than diffusion (DiBiMa-SR: 0.903 one-step, 0.862 with six DDIM steps). A 12-lead classifier trained only on real ECGs reached a superclass macro AUROC of 0.912 on real PTB-XL ECGs, 0.843 on reconstructions from lead II and 0.908 from I+II+V1+V4; externally, reconstructions from three or four leads scored within 0.004 of real ECGs. BiMa-SR (2.68,M parameters) takes 45.8 ms per 10-s record on a GPU. Reconstruction makes reduced-lead recordings usable by 12-lead tools; it cannot add information absent from the measured leads.

Figures & tables

Explore similar work

CardsList
  1. Pathology-Aware Multi-View Contrastive Learning for Patient-Independent ECG Reconstruction

    Mar 18, 2026Youssef Youssef, Jitin SinglaMulti-View Contrastive LearningElectrocardiography

  2. ImputeECG: Deep Learning Reconstruction of Complete 12-Lead Electrocardiograms from Incomplete Recordings for Cardiac Assessment

    Jul 6, 2026Xiaocheng Fang, Haoyu Wang, Jieyi Cai +14Time Series ImputationIncomplete Data Imputation

  3. Vib2ECG: A Co-Located Chest-Lead SCG-ECG Dataset and Benchmark for ECG Reconstruction

    Mar 16, 2026Guorui Lu, Xiaohui Cai, Todor Stefanov +1ElectrocardiographyWearable Health Monitoring