The proposed GPT2-based table-to-text framework provides a practical and clinically interpretable approach for disease prediction from limited structured healthcare data and demonstrates strong potential for early risk detection, transparent clinical decision support, and reliable deployment in real-world low-resource healthcare environments.
Abstract
Background and Objective: Early and reliable disease prediction from structured clinical data remains challenging when datasets are small, highly imbalanced, and contain limited positive disease cases. Conventional machine learning (ML) and deep learning approaches often struggle to capture clinically meaningful relationships under such low-data representation conditions due to weak statistical associations between features and prediction targets. This study proposes a clinically grounded GPT2-based table-to-text framework for disease prediction using structured healthcare datasets, motivated by the contextual reasoning capability of GPT models to better capture clinically meaningful relationships when statistical learning alone becomes insufficient due to limited data availability. Methods & Materials: Structured clinical records were transformed into physician-style textual descriptions and enriched through GPT4-generated medical paraphrasing to improve minority-class representation while preserving clinical meaning. Both the original and generated clinical texts were used to fine-tune a GPT2 model across four public healthcare datasets, including heart disease, heart failure, chronic kidney disease, and thyroid cancer recurrence. Gradient-based explainable AI analysis was additionally incorporated to identify clinically important features influencing prediction outcomes. Results: The proposed framework demonstrated consistently strong predictive performance with average precision, specificity, sensitivity, and F1-score of 0.96, 0.97, 0.96, and 0.96, respectively. The model achieved improved sensitivity, stronger generalization, and more stable predictive behavior compared with traditional ML, deep learning, transformer-based, and GAN-augmented approaches. Importantly, the framework consistently emphasized clinically meaningful variables even under severe class imbalance where conventional ML and neural network models often struggled. Conclusions: The proposed GPT2-based table-to-text framework provides a practical and clinically interpretable approach for disease prediction from limited structured healthcare data. By integrating contextual clinical reasoning with explainable prediction mechanisms, the framework demonstrates strong potential for early risk detection, transparent clinical decision support, and reliable deployment in real-world low-resource healthcare environments.
The results show that it is feasible to make better predictions and gain valuable insights by merging these two types of data and that integrating unstructured data allows for a more holistic view of patient health, leading to earlier detection, personalized interventions, and improved decision-making in clinical setti...
The reviewed studies demonstrated that Deep learning approaches, particularly convolutional neural networks, transformer-based models, and multimodal frameworks, showed improved predictive accuracy when large and diverse datasets were available.
Tehreem Khan, Tayyaba Usman, Ifrah Khalid et al.· Discover Artificial Intellig...· 0 citations
This narrative review summarizes applications of supervised learning, unsupervised learning, and deep learning in clinical diagnosis, prognosis prediction, patient stratification, and biomarker discovery and finds that machine learning is useful when the clinical question is clear, data quality is acceptable, and valid...
Xiuyi Wei· Journal of Clinical Technolo...· 0 citations
It is indicated that a rigorously conducted methodology and interpretability in machine learning development are crucial in creating machine learning solutions in healthcare decision support, which is the pathway to real applications in diabetes risk assessment.
T. Khan, M. Saeed, Majid Hussain et al.· Scientific Reports· 0 citations
This study aims to design and evaluate a Model Context Protocol–enabled Custom GPT framework that integrates ML-based predictive models with external healthcare systems to deliver context-aware, explainable, and clinically actionable heart disease risk predictions and paves the way for broader adoption of agentic AI in...
Neha Gupta, Bhawna Singla· Journal of Electronic &...· 0 citations
A novel multi-model approach was used in which ten additional neural networks were trained separately and used to predict the conditions through bootstrapping and bagging techniques, and could potentially aid in enabling early disease prediction, facilitating timely treatment, and improving quality of life.