Early prediction of gestational diabetes mellitus using deep learning applied to routinely collected clinical data.
Gabriel Cubillos, Max Monckeberg, Sebastian E Illanes, Claudio A Perez
Department of Electrical Engineering, Universidad de Chile, Santiago, Chile. · IMPACT, Center of Interventional Medicine for Precision and Advanced Cellular Therapy, Santiago, Chile.
Key points
From the paper's conclusion- Conclusions This study demonstrates that transforming tabular clinical data into image representations, optimized using a genetic algorithm, improves early GDM prediction.
Abstract
BACKGROUND: Prediction of gestational diabetes mellitus (GDM) in early pregnancy enables timely, targeted interventions to reduce risks for both the mother and fetus. We aimed to improve early GDM prediction and clinical risk stratification using a novel deep learning (DL) approach that transforms tabular clinical data into images using a genetic algorithm. METHODS: A dataset of 1,611 pregnancies was used. The dataset contained routinely collected early-pregnancy data, including clinical measurements, blood tests, and medical history. A novel method to transform tabular data into images was applied to enable the use of deep learning models for GDM prediction. A genetic algorithm optimized the spatial arrangement of variables during image generation by determining their spatial positions. Interpretability was assessed using gradient-weighted class activation mapping (Grad-CAM) to identify variables the model preferentially attended to for positive and negative predictions. RESULTS: Multiple model configurations were evaluated by varying the spatial arrangement of variables within the transformation. Prioritizing high sensitivity, one model achieved an accuracy of 0.86, sensitivity of 0.82, specificity of 0.87, and an AUC-ROC of 0.83. Another model achieved an accuracy of 0.79, sensitivity of 0.92, specificity of 0.77, and an AUC-ROC of 0.85. Compared with previously published machine learning models using the same dataset, our approach demonstrated improved performance. Our best models increased specificity by an average of 13.93 percentage points compared with traditional ML models at matched sensitivity levels, thereby reducing false-positive classifications that may lead to additional clinical evaluation. Grad-CAM analysis revealed that attention patterns of the model aligned with established clinical risk factors for GDM, with first trimester fasting glycemia and parity preferentially attended for positive predictions and maternal weight for negative predictions. CONCLUSIONS: This study demonstrates that transforming tabular clinical data into image representations, optimized using a genetic algorithm, improves early GDM prediction. Representing tabular variables as images enables more effective application of DL models, which have demonstrated enhanced pattern recognition in image-based tasks compared with traditional machine learning methods. Performance improvements over state-of-the-art approaches were achieved. Accurate DL models can be developed using a limited number of input variables, supporting early identification of women at increased risk of GDM and facilitating timely clinical management.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Development and validation of a model integrating clinical and metabolomic markers for gestational diabetes mellitus predictionFrontiers in Medicine · 2026
- Construction of a clinical model for early prediction of gestational diabetes mellitus based on women of increased maternal age singleton pregnant womenInternational Journal of Gynecology & Obstetrics · 2026
- Evaluation of machine learning models for early prediction of gestational diabetes using retrospective electronic health records from current and previous pregnancies.BMJ digital health & AI · 2025
- Combined predictive value of early pregnancy fasting plasma glucose and pre-pregnancy body mass index for gestational diabetes mellitus.African journal of reproductive health · 2026
- Early prediction of gestational diabetes mellitus using machine learning-integrated metabolomic and clinical featuresFrontiers in Endocrinology · 2025
- Machine learning based prediction of gestational diabetes mellitus using early pregnancy biomarkers and clinical data.Bioinformation · 2026