Adversarial debiasing for age-equitable diabetes prediction: performance–fairness trade-offs and partition dependency in machine learning
Open Access
- 17 July 2026
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Digital Health
- Vol. 8, 1816806
Abstract
Background: Machine learning models used for diabetes risk prediction may encode age-related biases that reduce diagnostic accuracy for specific demographic groups. Adversarial debiasing with a gradient reversal layer (GRL) offers a theoretically principled approach to learning representations that are invariant to a protected attribute; however, its practical effectiveness under realistic conditions of subgroup imbalance in healthcare datasets has not been fully characterised. Research question: Does adversarial debiasing with a GRL improve age-equitable diabetes prediction, and how do its fairness effects vary across different data partitions? Methods: Adversarial debiasing was evaluated for age-bias mitigation in diabetes prediction using the publicly available Pima Indians Diabetes Database ( n = 768). All eight dataset predictors were used; three age groups (50 years) were derived from age for fairness evaluation. An adversarial neural model with a gradient reversal layer was compared against a logistic regression baseline. Features were standardised using a scaler fitted on training data only. The train–test split was stratified by diabetes outcome. Overall performance metrics (accuracy, recall, ROC-AUC) and the recall parity gap across age groups were computed on a primary labelled test partition ( n = 154); robustness was assessed across five independent random seeds (0–4). Results: On the primary test partition, the adversarial model improved recall for the smallest age group [>50 years: 0.5556 → 0.7778, +22.22 percentage points (pp)] while maintaining comparable overall discrimination (ROC-AUC: 0.7852 → 0.7896, +0.45 pp). However, the recall parity gap increased from 0.0996 to 0.2153 (+11.57 pp), reflecting a concurrent decline in recall for the 0.27) exceeding the mean difference. The adversarial model reduced the fairness gap in three of five seeds, increased it in one, and produced no change in one. Conclusion: Adversarial debiasing can improve predictive recall for underrepresented demographic subgroups but does not guarantee consistent fairness improvements across data partitions, particularly when subgroup sample sizes are small. Multi-seed evaluation is essential for reliable fairness assessment; single train–test splits are insufficient.Keywords
This publication has 20 references indexed in Scilit:
- Cardiometabolic risk estimation using exposome data and machine learningInternational Journal of Medical Informatics, 2023
- An adversarial training framework for mitigating algorithmic biases in clinical machine learningnpj Digital Medicine, 2023
- Moving beyond “algorithmic bias is a data problem”Patterns, 2021
- An empirical characterization of fair machine learning for clinical risk predictionJournal of Biomedical Informatics, 2021
- Do no harm: a roadmap for responsible machine learning for health careNature Medicine, 2019
- High-performance medicine: the convergence of human and artificial intelligenceNature Medicine, 2019
- A guide to deep learning in healthcareNature Medicine, 2019
- Machine Learning and Data Mining Methods in Diabetes ResearchComputational and Structural Biotechnology Journal, 2017
- Predicting the Future — Big Data, Machine Learning, and Clinical MedicineNew England Journal of Medicine, 2016
- Reduction in the Incidence of Type 2 Diabetes with Lifestyle Intervention or MetforminNew England Journal of Medicine, 2002