A SMOTE-Optimized RoBERTa Stacking Framework for Multiclass Cardiovascular Risk Prediction
Main Article Content
Abstract
Predicting multiclass cardiovascular risk from the diagnostic text data is complex because of class imbalance, weak feature representation, and reliance on individual classifiers. The current research aims to develop an improved system that combines RoBERTa-enriched embeddings, SMOTE, Optuna optimization, and stacking ensemble learning techniques. For the experiment, 21,430 samples from the PTB-XL dataset were used. Each record is labeled according to the five possible classes: NORM, MI, STTC, CD, and HYP, divided into train and test parts with 80/20 ratio. The diagnostic text is produced from SCP statements, and then it is represented with the concatenation of 768-dimensional CLS embedding and 768-dimensional mean-pooled RoBERTa embedding to form 1536-dimensional vectors. SMOTE is used for class balancing, and Optuna optimizes XGBoost and LightGBM models. The Results show that the framework provides 99.68% accuracy, precision, recall, and F1-score, along with 100% weighted ROC-AUC. In addition to this, the number of inaccurate predictions made by the existing WPSA-DRF framework was 243, while it became 1.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
References
Li, A., Wang, Y., & Chen, H. (2025). AI driven cardiovascular risk prediction using NLP and large language models for personalized medicine in athletes. SLAS technology, 32, 100286.
Varzideh, F., Mone, P., Kansakar, U., Pande, S., Jankauskas, S. S., & Santulli, G. (2026). Artificial intelligence in cardiovascular medicine: Focus on hypertension. Hypertension, 83(6), e26094.
Kong, M., Zhao, X., Li, Q., Yu, Y., & Zhang, C. (2026). Building an intelligent cardiovascular system platform: Embedding artificial intelligence across all facets of cardiovascular medicine. Advanced Intelligent Systems, 8(3), e202501136.
Urfy, M., & Mir, M. T. (2026). A Decade of Artificial Intelligence in Stroke Care (2015–2025): Trends, Clinical Translation, and the Precision Medicine Frontier—A Narrative Review. Journal of personalized medicine, 16(4), 218.
Chakraborty, P., & Kamila, S. (2026). Transforming Healthcare with Electronic Health Records: AI Integration, Evolution, and Future. In AI in Smart and Secure Healthcare: Research Trends and Future Opportunities (pp. 257-275). Cham: Springer Nature Switzerland.
Boulanger, Pierre. "MedROAD V2: An AI-Integrated Electronic Medical Record System with Advanced Clinical Decision Support." AI in Medicine 1.1 (2026): 4.
Manoharan, J., & Sehgal, Y. (2026). AI-Enabled Text Mining: A Paradigm Shift in Disease Prediction, Drug Discovery, and Clinical Research. Journal of Medico Informatics, 2(02), 23-35.
De Paoli, F., Nicora, G., Galanti, K., Gonzales, C. S., Mangili, F., Smedley, D., ... & Chahal, C. A. A. (2026). Artificial Intelligence and Machine Learning Approaches for Cardiovascular Genomics: A State-of-the-Art Review. Circulation: Genomic and Precision Medicine, 19(4), e005447.
Zeng, J., Xu, Y., Chen, P., Hong, M., & Zhang, Q. (2026). Effectiveness of natural language intelligence technology in chronic diseases nursing: A systematic review and meta-analysis. International Journal of Nursing Studies, 105394.
Croon, P. M., Dhingra, L. S., Pedroso, A. F., & Khera, R. (2026). The Evolving Utility of Artificial Intelligence-Based Tools for the Detection of Heart Failure and Cardiomyopathies: From Potential to Implementation. Current Heart Failure Reports, 23(1), 25.
Hornback, A., Sathu, H., Kim, K., Wang, Y., Zhu, Y., Isgut, M., ... & Wang, M. D. (2026). Large language models in healthcare and biomedical informatics: A comprehensive review. Innovation and Emerging Technologies, 13, 2630001.
Rasoli, R., Ebrahimisadrabadi, F., Khedri, Z., & Sohrabei, S. (2026). Designing conversational intelligence: effect of large language models (GPT-driven) platforms for precision maternal and newborn health engagement: a systematic review. Oxford Open Digital Health, oqag001.
Shang, L., Chen, Y., Li, R., Zhang, X., Gao, M., Hou, Y., & Zhang, G. (2026). Exploring the prognostic utility of large language models versus traditional clinical models in heart failure: a pilot study. International Journal of Surgery, 112(3), 5778-5788.
Pinn, C. K., Dahil, A., Keast, J., & Dambha-Miller, H. (2026). Artificial Intelligence-Integrated Digital Tools to Promote Physical Activity in People with Multimorbidity: A Rapid Review of Trials.
Wang, M. H. (2026). Artificial intelligence across the obesity continuum: from mechanistic insights to global precision prevention and therapy. Obesity, 34(2), 294-316.
Saha, H. N., Bhattacharya, D. C., Dutta, S., Bera, A., Basuray, S., Changdar, S., ... & Turdiev, J. (2025). Transforming healthcare with state-of-the-art medical-llms: A comprehensive evaluation of current advances using benchmarking framework. Computers, Materials & Continua, 86(2), 1-56.
Dhavale, S. R., Hiremath, S. S., Khole, S. R., Lobo, L. M. R. J. R., Kakade, S. P., & Patil, S. S. (2026). Generative AI and Large Language Models (LLMs) for Personalized and Explainable Healthcare. In AI Foundations, Technologies, and Future of Healthcare Systems (pp. 75-112). IGI Global Scientific Publishing.
Bhardwaj, A., Ali, M. M., Tayyab, M. S. U., Taher, M. W. U., & Yadala, P. K. (2026, January). Healthcare AI: An Integrated AI Platform for Proactive Patient Care and Medical Data Management. In 2026 IEEE International Conference on Emerging Computing and Intelligent Technologies (ICoECIT) (pp. 1-5). IEEE.
Li, E. (2026, January). A systematic review of traditional and deep learning algorithms in intelligent healthcare: applications, complementarity, and future prospects. In Second International Conference on Communication, Information, and Digital Technologies (CIDT 2025) (Vol. 14064, pp. 912-921). SPIE.
Tiwari, A., Shah, P. C., Kumar, H., Borse, T., Arun, A. R., Chekragari, M., ... & Mylavarapu, M. (2025). The Role of Artificial Intelligence in Cardiovascular Disease Risk Prediction: An Updated Review on Current Understanding and Future Research. Current Cardiology Reviews, 21(6), e1573403X351048.