Investigating sex bias in ECG classification for Atrial Fibrillation, Sinus Rhythm and Myocardial Infarction

Maria Galanty1,2Orcid, Björn van der Ster3Orcid, Alexander P. Vlaar4Orcid, Clara I. Sánchez1,2Orcid
1: Informatics Institute, University of Amsterdam, The Netherlands, 2: Department of Biomedical Engineering and Physics, Amsterdam UMC, University of Amsterdam, The Netherlands, 3: Department of Anesthesiology, Amsterdam University Medical Center, University of Amsterdam, Amsterdam Cardiovascular Sciences, Amsterdam, the Netherlands, 4: Department of Intensive Care, Amsterdam UMC, University of Amsterdam, The Netherlands
Publication date: 2025/09/05
https://doi.org/10.59275/j.melba.2025-9fe7
PDF

Abstract

Deep learning models are increasingly applied to electrocardiogram (ECG) analysis to optimise cardiovascular care. However, potential biases within these models may impact their reliability and clinical applicability. This study investigates potential sex bias in deep learning models for 12-lead ECG classification of Sinus Rhythm (SR), Atrial Fibrillation (AF), and Myocardial Infarction (MI). We evaluate three model architectures—Convolutional Neural Network, xResNet101, and a Residual Network with an attention mechanism—under varying sex ratios in the training data. Among these models, the attention-based Residual Network demonstrated the highest and most equitable performance, particularly in SR and AF classification. MI classification exhibited pronounced sex-based disparities, even with balanced training data. These findings underscore the importance of incorporating fairness considerations in the development of clinical deep learning systems to ensure reliable and unbiased performance across diverse patient populations. Moreover, optimising lead selection may further enhance both fairness and overall model performance.

Keywords

Deep learning · Electrocardiography · Classification · Bias

Bibtex @article{melba:2025:017:galanty, title = "Investigating sex bias in ECG classification for Atrial Fibrillation, Sinus Rhythm and Myocardial Infarction", author = "Galanty, Maria and van der Ster, Björn and Vlaar, Alexander P. and Sánchez, Clara I.", journal = "Machine Learning for Biomedical Imaging", volume = "3", issue = "Special issue on FAIMI", year = "2025", pages = "382--400", issn = "2766-905X", doi = "https://doi.org/10.59275/j.melba.2025-9fe7", url = "https://melba-journal.org/2025:017" }
RISTY - JOUR AU - Galanty, Maria AU - van der Ster, Björn AU - Vlaar, Alexander P. AU - Sánchez, Clara I. PY - 2025 TI - Investigating sex bias in ECG classification for Atrial Fibrillation, Sinus Rhythm and Myocardial Infarction T2 - Machine Learning for Biomedical Imaging VL - 3 IS - Special issue on FAIMI SP - 382 EP - 400 SN - 2766-905X DO - https://doi.org/10.59275/j.melba.2025-9fe7 UR - https://melba-journal.org/2025:017 ER -

2025:017 cover