ECG Analysis to Predict Cardiovascular Diseases - a Critical Appraisal of Dataset Quality and the Need for External Validation
Did you know that your browser is out of date? To get the best experience using our website we recommend that you upgrade to a newer version. Learn more.

ECG Analysis to Predict Cardiovascular Diseases - a Critical Appraisal of Dataset Quality and the Need for External Validation

Artificial Intelligence

Over a century ago, Willem Einthoven laid the foundation for the 12-lead ECG, which remains a cornerstone of daily clinical practice. Since then, researchers and clinicians have identified numerous ECG features critical for diagnosing cardiovascular diseases (CVDs), such as arrhythmias, coronary artery diseases, heart failure, and valve disease. With the advancement of computational power and the rise of machine learning (ML) approaches in various areas of daily life, there is growing interest in leveraging ML to extract novel features from ECGs for more precise and reliable disease detection. While AI-powered arrhythmia detection (e.g., atrial fibrillation) is already integrated into consumer devices like smartwatches, AI-based CVD detection from ECG remains under development.

To address this need, Hasan et al. present a sophisticated method to predict four cardiac abnormalities, namely abnormal heartbeats, myocardial infarction, history of myocardial infarction, and normal heartbeats, using simple ECG printouts1. They employed a combination of machine learning and deep learning techniques for both feature extraction and classification, achieving an impressive accuracy of up to 99.29%. Notably, this high performance was achieved despite the known limitations of digitized ECG printouts, where printer quality and digitization processes can introduce significant variations in interval measurements.2,3
Similar to several other highly technical classification studies by ML specialists focusing on clinical diagnosis from ECGs, the reported accuracy is remarkably high. This raises the question: Is this high performance true, or where might it originate from?

As in other studies on ML-based disease classification using ECGs, the group nicely emphasizes model reporting and reproducibility by describing all steps of modelling and data processing. They present all ML performance metrics to characterize discrimination and classification, including receiver operator area under the curve (ROC-AUC), precision, recall, accuracy, and F1-score, alongside calibration plots. However, for a trustworthy implementation of AI in cardiology, essential quality standards, such as rigorous model validation remain unaddressed.4,5 Furthermore, a comprehensive external validation could have highlighted key limitations of the training datasets:

  1. The clinical significance of the defined classes warrants scrutiny. While identifying patients with myocardial infarction (MI) or a history of MI is clinically relevant, classifying patients with abnormal or normal heartbeats offers limited clinical utility in a study aimed at cardiovascular disease prediction. A clear clinical use case for the AI-based model, as suggested by van Royen et al.5, is lacking.
  2. Upon validating the raw dataset, it becomes evident that the myocardial infarction patients predominantly present with clear STEMI patterns, which can be easily identified without machine learning approaches. However, the distinction between patients with STEMI and those with a history of MI remains unclear and insufficiently specified, with several patients in both groups showing STEMI features. The seemingly strong discrimination between the two groups could result from technical differences in the ECG acquisition systems, such as a higher low-pass filter setting of 100 Hz in the 2020 dataset compared to 25 Hz in previous datasets, as well as differences in the ECG lead arrangement in the figures. Furthermore. patients categorized in the abnormal heartbeat group appear to be predominantly characterized by tachycardic rhythms, further limiting the diagnostic value of this class.

This study was selected as a representative example to emphasize the importance of clearly defining data sources, their quality, and characteristics as well as a thorough validation of the model for the trustworthy implementation of AI in clinical practice. Adherence to standardized definitions and recommendations for the development of ML models in cardiology, as proposed for instance by van Smeeden et al.,6 could help address this challenge. Further studies on this topic, along with feedback from the stakeholders and recommendations from the professional societies are warranted to reduce the number of published studies with limited clinical value. 

References


  1. Hasan MN, Hossain MA, Rahman MA. An ensemble based lightweight deep learning model for the prediction of cardiovascular diseases from electrocardiogram images. Engineering Applications of Artificial Intelligence. 2025;141:109782.
  2. Norman JE, Bailey JJ, Berson AS, Haisty WK, Levy D, Macfarlane PM, Rautaharju PM. NHLBI workshop on the utilization of ECG databases: preservation and use of existing ECG databases and development of future resources. J Electrocardiol. 1998;31:83–89.
  3. Hingorani P, Karnad DR, Panicker GK, Deshmukh S, Kothari S, Narula D. Differences between QT and RR intervals in digital and digitized paper electrocardiograms: contribution of the printer, scanner, and digitization process. Journal of Electrocardiology. 2008;41:370–375.
  4. Asselbergs FW, Lüscher TF. Trustworthy implementation of artificial intelligence in cardiology: a roadmap of the European Society of Cardiology. European Heart Journal. 2024;ehae748.
  5. van Royen FS, Asselbergs FW, Alfonso F, Vardas P, van Smeden M. Five critical quality criteria for artificial intelligence-based prediction models. European Heart Journal. 2023;44:4831–4834.
  6. Van Smeden M, Heinze G, Van Calster B, Asselbergs FW, Vardas PE, Bruining N, De Jaegere P, Moore JH, Denaxas S, Boulesteix AL, Moons KGM. Critical appraisal of artificial intelligence-based prediction models for cardiovascular disease. European Heart Journal. 2022;43:2921–2930.
The content of this article reflects the personal opinion of the author/s and is not necessarily the official position of the European Society of Cardiology.

Contact us

ESC Working Group on e-Cardiology

European Society of Cardiology

European Heart House
Les Templiers
2035 Route des Colles
CS 80179 Biot

06903, Sophia Antipolis, FR

Tel: +33.4.92.94.76.00