An Explainability-Validated Deep Learning Pipeline for 12-Lead ECG Image Classification: A ResNet-50 Case Study with Clinical LeadAlignment Analysis on ECG Image Dataset

Automated interpretation of 12-lead electrocardiogram (ECG) images with deep learning has repeatedly been reported to approach cardiologist-level performance, yet a persistent gap in the literature is that post-hoc explainability is typically presented as illustrative saliency imagery rather than as a mechanism that is systematically checked against the ECG's known anatomical structure. This paper reports an empirical, reproducible pipeline built specifically to close that gap. A ResNet-50 convolutional network, initialised with ImageNet weights and fine-tuned using a two-phase (frozen-head, then discriminative-learning-rate) transfer-learning schedule, was trained and evaluated on the four-class Mendeley ECG Images dataset (929 patients; Normal, Myocardial Infarction, Abnormal Heartbeat, History of Myocardial Infarction). On a held-out, stratified test set (n = 140) the model attained 49.3% accuracy and a macro-averaged F1 of 0.44 (95% bootstrap confidence interval: 0.367-0.508), with one-vs-rest per-class AUC ranging from 0.83 to 0.97 - evidence that the network's continuous class scores separate the four conditions considerably better than its arg-max decisions realise, a pattern consistent with a classifier that has learned informative representations but suffers a threshold and class-collapse problem compounded by measurable overfitting (training F1 0.81 versus validation F1 0.43). A five-method explainability battery - Gradient-weighted Class Activation Mapping (Grad-CAM), Grad-CAM++, a SHAP gradient explainer, occlusion sensitivity, and a purpose-built clinical lead-alignment analysis - was implemented and applied to correctly classified test examples. Grad-CAM and Grad-CAM++ saliency was observed to concentrate on the drawn ECG trace rather than on background grid lines or report margins, whereas the SHAP gradient explainer produced degenerate, spatially uninformative maps under the memory-constrained consumer-grade hardware used in this study. These results are reported transparently as a partial, in-progress benchmark: two further planned backbones (EfficientNet-B3 and a Vision Transformer, ViT-B/16) had not completed a training run at the time of writing, and the quantitative lead-alignment scoring is presented as a validated methodology rather than a completed numerical result, because the specific Mendeley image variant used is a single-lead (Lead II) rhythm-strip report rather than the full 3x4 twelve-lead grid the alignment method was designed to score. The paper documents the pipeline architecture, experimental protocol, diagnosed causes of the observed accuracy ceiling, and a concrete completion roadmap, positioning the work as a reproducible foundation for clinically grounded explainability research in deep-learning-based cardiac diagnostics.

Authors

Institutions

Publication Details

Journal
International Journal of Drug Delivery Technology
Published
2026-11-14
DOI
https://doi.org/10.25258/ijddt.16.89s.63
Primary Topic
ECG Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

An Explainability-Validated Deep Learning Pipeline for 12-Lead ECG Image Classification: A ResNet-50 Case Study with Clinical LeadAlignment Analysis on ECG Image Dataset

Ganesh Gulabrao Bhadane, Nandakishor C Patil, Hrishikesh Vanjari, Rakesh Kumar Yadav et al.
International Journal of Drug Delivery Technology
ECG Monitoring and Analysis
article

An Explainability-Validated Deep Learning Pipeline for 12-Lead ECG Image Classification: A ResNet-50 Case Study with Clinical LeadAlignment Analysis on ECG Image Dataset

Ganesh Gulabrao Bhadane, Nandakishor C Patil, Hrishikesh Vanjari, Rakesh Kumar Yadav, Shriganesh Mane, Vijay B Nerkar
article en

Abstract

Automated interpretation of 12-lead electrocardiogram (ECG) images with deep learning has repeatedly been reported to approach cardiologist-level performance, yet a persistent gap in the literature is that post-hoc explainability is typically presented as illustrative saliency imagery rather than as a mechanism that is systematically checked against the ECG's known anatomical structure. This paper reports an empirical, reproducible pipeline built specifically to close that gap. A ResNet-50 convolutional network, initialised with ImageNet weights and fine-tuned using a two-phase (frozen-head, then discriminative-learning-rate) transfer-learning schedule, was trained and evaluated on the four-class Mendeley ECG Images dataset (929 patients; Normal, Myocardial Infarction, Abnormal Heartbeat, History of Myocardial Infarction). On a held-out, stratified test set (n = 140) the model attained 49.3% accuracy and a macro-averaged F1 of 0.44 (95% bootstrap confidence interval: 0.367-0.508), with one-vs-rest per-class AUC ranging from 0.83 to 0.97 - evidence that the network's continuous class scores separate the four conditions considerably better than its arg-max decisions realise, a pattern consistent with a classifier that has learned informative representations but suffers a threshold and class-collapse problem compounded by measurable overfitting (training F1 0.81 versus validation F1 0.43). A five-method explainability battery - Gradient-weighted Class Activation Mapping (Grad-CAM), Grad-CAM++, a SHAP gradient explainer, occlusion sensitivity, and a purpose-built clinical lead-alignment analysis - was implemented and applied to correctly classified test examples. Grad-CAM and Grad-CAM++ saliency was observed to concentrate on the drawn ECG trace rather than on background grid lines or report margins, whereas the SHAP gradient explainer produced degenerate, spatially uninformative maps under the memory-constrained consumer-grade hardware used in this study. These results are reported transparently as a partial, in-progress benchmark: two further planned backbones (EfficientNet-B3 and a Vision Transformer, ViT-B/16) had not completed a training run at the time of writing, and the quantitative lead-alignment scoring is presented as a validated methodology rather than a completed numerical result, because the specific Mendeley image variant used is a single-lead (Lead II) rhythm-strip report rather than the full 3x4 twelve-lead grid the alignment method was designed to score. The paper documents the pipeline architecture, experimental protocol, diagnosed causes of the observed accuracy ceiling, and a concrete completion roadmap, positioning the work as a reproducible foundation for clinically grounded explainability research in deep-learning-based cardiac diagnostics.

International Journal of Drug Delivery TechnologyVol. 16(89s)
ITM University (IN), Dr. D. Y. Patil Medical College, Hospital and Research Centre (IN), DES Pune University (IN), Savitribai Phule Pune University (IN)
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.

Laika access coming soon