Explainable Swin transformer with clinically constrained ECG–vital signs fusion for cardiovascular disease detection from real-world ECG images

Abstract Cardiovascular disease detection from real-world ECG images remains difficult due to noise, scanning artifacts, and strong morphological similarity between cardiac conditions, particularly in clinically ambiguous cases such as post-MI patterns. This work presents an explainable two-stage model: a fine-tuned Swin Transformer with clinically constrained ECG–vital signs fusion to enhance the robustness of the model in low-resource clinical settings. The proposed approach learns discriminative ECG representations while preserving clinical interpretability through saliency visualization and SHAP-based feature attribution. A constrained gating mechanism folds in physiological vital signs to reduce this ambiguity-driven misclassification while keeping ECG as the dominant modality. Paired real-world vital signs were not available for this dataset, so the vital signs used at the fusion stage were synthetically generated from diagnosis-conditioned physiological distributions rather than measured directly from patients. Accordingly, Stage 2 results demonstrate architectural feasibility rather than validated multimodal clinical performance, and require confirmation on real paired data. On a Pakistani clinical ECG image dataset, the resulting model shows improved classification reliability and handles challenging boundary cases better than existing image-based approaches. This work is a proof-of-concept for explainable, ECG-biased multimodal fusion aimed at clinically critical ambiguity pathways in low-resource South Asian healthcare settings.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-08-26
DOI
https://doi.org/10.1038/s41598-026-67374-4
Primary Topic
ECG Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Explainable Swin transformer with clinically constrained ECG–vital signs fusion for cardiovascular disease detection from real-world ECG images

Sadiq Ali, Akhtar Nawaz Khan, Medien Zeghid, Hassan Yousif Ahmed et al.
Scientific Reports
ECG Monitoring and Analysis
article

Explainable Swin transformer with clinically constrained ECG–vital signs fusion for cardiovascular disease detection from real-world ECG images

Sadiq Ali, Akhtar Nawaz Khan, Medien Zeghid, Hassan Yousif Ahmed, Sultan Abdullah Alqahtani, Daniyal Ahmed Khan
article en

Abstract

Abstract Cardiovascular disease detection from real-world ECG images remains difficult due to noise, scanning artifacts, and strong morphological similarity between cardiac conditions, particularly in clinically ambiguous cases such as post-MI patterns. This work presents an explainable two-stage model: a fine-tuned Swin Transformer with clinically constrained ECG–vital signs fusion to enhance the robustness of the model in low-resource clinical settings. The proposed approach learns discriminative ECG representations while preserving clinical interpretability through saliency visualization and SHAP-based feature attribution. A constrained gating mechanism folds in physiological vital signs to reduce this ambiguity-driven misclassification while keeping ECG as the dominant modality. Paired real-world vital signs were not available for this dataset, so the vital signs used at the fusion stage were synthetically generated from diagnosis-conditioned physiological distributions rather than measured directly from patients. Accordingly, Stage 2 results demonstrate architectural feasibility rather than validated multimodal clinical performance, and require confirmation on real paired data. On a Pakistani clinical ECG image dataset, the resulting model shows improved classification reliability and handles challenging boundary cases better than existing image-based approaches. This work is a proof-of-concept for explainable, ECG-biased multimodal fusion aimed at clinically critical ambiguity pathways in low-resource South Asian healthcare settings.

Scientific Reports
Prince Sattam Bin Abdulaziz University (SA), University of Engineering and Technology Peshawar (PK)
Prince Sattam bin Abdulaziz University, Deanship of Scientific Research, Prince Sattam bin Abdulaziz University
Reduced inequalities
Openalex Percentile: Top 11%
ECG Monitoring and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.