Visual abstractsVisuals
Researchnpj Digital Medicine · May 13, 2026

Dataset effects outweigh algorithmic effects in determining fairness of healthcare machine learning

Elgendi M, Elkhalifa A, Khandoker A, Maruotti A, Zhou H, Menon C, et al
Digital Health & AIAdult

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

Abstract

Ensuring fairness in clinical machine learning is a major concern, yet the dominant driver of unequal performance across sex groups remains unclear: is it the dataset or the algorithm. We conducted a systematic fairness evaluation across three healthcare domains-wearable physiology (MHEALTH), cardiac risk prediction (UCI Heart Disease), and stroke assessment-using ten widely used classifiers and three controlled sex-ratio sampling scenarios (50/50, 90/10, 10/90) under an identical analytical pipeline. Gender accuracy gaps varied markedly across datasets and exhibited dataset-specific patterns that did not generalize across clinical domains. Mixed-effects interaction modelling showed that the same algorithm could display negligible bias in one dataset and substantial bias in another. Variance contribution decomposition of the absolute Gender Accuracy Gap (∣GAG∣) indicated that dataset identity accounted for most of the observed variability (63.4%), with additional contribution from dataset-algorithm interactions (17.2%); algorithm choice alone explained 9.7%, whereas sampling scenario contributed negligibly (0.2%). Balanced sampling reduced disparities but did not eliminate them, consistent with residual sex-associated signal/feature structure beyond representation imbalance. These findings demonstrate that fairness in healthcare machine learning is primarily dataset-dependent, motivating dataset- and context-specific auditing before clinical deployment.

DOI: 10.1038/s41746-026-02723-1 · PubMed: 42128950

Spotted a mistake? Suggest a correction

More in Digital Health & AI

ResearchLancet Digit Health · Nov 23, 2026 · Digital Health & AI

ClinicalAge biomarker associated with mortality and disease risk in UK datasets

ClinicalAge, a framework for modelling ageing trajectories from longitudinal electronic health records in the UK: a model development and validation study

ResearchLancet Digit Health · Nov 23, 2026 · Digital Health & AI

Facial photographs used to estimate age and predict survival in cancer patients

Foundation artificial intelligence models for health recognition by use of face photographs (FAHR-Face): a model development and validation study

ResearchLancet Digit Health · Nov 23, 2026 · Digital Health & AI

New model predicts severe fetal compromise risk at birth with 33.4% sensitivity

A prognostic model for use at labour onset to estimate the risk of severe fetal compromise at birth: a retrospective, model development and validation study

ResearchNPJ Digit Med · Nov 21, 2026 · Digital Health & AI

ECG foundation models performed well on general data but less so on athletes' data

ECG foundation models for cardiovascular screening in a cohort of young competitive athletes

ResearchJ Med Internet Res · Nov 20, 2026 · Digital Health & AI

Six large language models showed similar question-answering accuracy on medical exam questions

Medical Reasoning in Large Language Models: Development and Evaluation of the MedEvalArena Benchmark