Skip to main content

OPINION article

Front. Endocrinol. , 14 January 2025

Sec. Translational and Clinical Endocrinology

Volume 16 - 2025 | https://doi.org/10.3389/fendo.2025.1513929

Artificial intelligence is going to transform the field of endocrinology: an overview

  • Endocrinology Center Hasselt, AI Lab Endocrinology and Metabolism, Hasselt, Belgium

1 Introduction

The field of clinical endocrinology, as well as healthcare in general, is facing a transformative change by new technologies, especially artificial intelligence (AI). AI holds the promise to dramatically improve the way we screen, diagnose, treat, monitor, and coach patients (1, 2). Not only will AI tools make the flow of endocrine decision-making faster and more reliable, the use of AI opens the way to personalized treatment plans tailored to individual patient characteristics (3, 4).

AI is a field within computer science that encompasses machine learning (ML). ML uses mathematical algorithms designed to make predictions or classifications. These models are typically trained on known, labeled datasets and iteratively enhanced to gain the capability to make accurate predictions on unseen data (5). Deep learning (DL), a subset of ML, uses complex models that mimic the human central nervous system. DL entails the use of artificial neural networks (ANNs). ANNs consist of interconnected layers that pass information and optimize predictions by minimizing error (6). Once trained, ANNs can process vast and complex datasets to perform tasks such as predictions, classifications, and even more advanced applications like large language models (LLMs), computer vision, and multimedia generation from text inputs (79).

We are anticipating an unprecedented disruption of clinical endocrinology by AI. Nevertheless, most clinicians lack a proper understanding of the potential of clinical AI on the one hand, and the shortcomings and caveats on the other hand. A balanced comprehension of the underpinnings of AI is imperative to maximize its benefits. Hence, healthcare providers must familiarize themselves with this new technology but also understand its limitations. Table 1 gives an overview of the differences between AI-based tools and conventional methods in clinical endocrinology.

Table 1
www.frontiersin.org

Table 1. Comparison between AI-based tools and conventional clinical methods in endocrinology.

The aim of this paper is to give an overview of the potential and future direction of AI in the domain of clinical endocrinology and diabetes.

2 Improved risk assessment

The importance of timely risk assessment in endocrinology is well-established, and AI can significantly enhance both its speed and efficiency. For instance, Wändell and colleagues created a risk assessment tool to evaluate the risk of having de novo diabetes by using a stochastic gradient boosting machine learning model. Area under the curve (AUC) was between 0.773 and 0.825, indicating good discriminatory power (10). The most important risk factors were identified as being arterial hypertension and obesity. For this model, adults over 30 years old in Stokholm, Sweden were included. No information was given in relation to ethnicity. Yousef and co-workers used an interpretable ML model for the risk prediction of patients with undiagnosed type 2 diabetes mellitus. The subjects in this study were patients of a rural diabetes screening clinic in Albury, Australia. Ethnicity was not recorded. They trained two different Isolated Forest (iForest) ML algorithms. The first one on the basis of BMI (body mass index), blood glucose level, and triglycerides. The second iForest model was trained on the same parameters, supplemented with biomarkers of oxidative stress (8-isoprostane, 8-hydroxydeoxyguanosine, and oxidized glutathione), inflammation (interleukin-6, interleukin-10, interleukin-1β, and insulin-like growth factor-1), and mitochondrial dysfunction (humanin, MOTS-c, and P66Shc). The latter model outperformed the former one; F1-score increased from 0.61 to 0.81 (11). In another study, Nabrdalik et al. used a ML model for risk stratification of MASLD (metabolic dysfunction-associated steatotic liver disease) in patients with type 1 and type 2 diabetes. Patients were recruited in the diabetology ward of a hospital in Zabrze, Poland. The study initially used 80 different parameters. To determine the most discriminative predictors, feature selection was conducted using a chi-squared test. The stability of the rendered variables was assured by repeating the Monte-Carlo simulation 1,000 times. The most discriminative independent variables were employed by a multiple logistic regression model in order to predict the occurrence of MASLD (12). AI has also been employed in risk assessment of hypoglycemia in type 1 diabetes. Cichosz and colleagues developed a binary classification XGBoost (extreme gradient boost) algorithm for this aim, using CGM (continuous glucose monitoring) from 206 patients with type 1 diabetes in the United States. More than 90% was white, non-Hispanic. Their median age was 68 years. The model was validated in two independent cohorts. A total of 61,470 weeks of CGM data were included in the analysis. The XGBoost model demonstrated strong performance, with ROC-AUCs (area under the receiver operating characteristic curve) ranging from 0.81 to 0.90 across validation cohorts (13). AI also shows promise in osteoporosis risk assessment. Hong et al. argue that AI-based tools could be very beneficial in the risk assessment of patients prone to osteoporotic fractures. An individualized approach to enhance clinical management of osteoporosis is believed to be within reach with the help of cutting-edge ML models (14). This could potentially reduce morbidity and mortality, but also reduce healthcare costs and alleviate the workload of healthcare providers. Assessment of thyroid nodules can be challenging at times. Distinguishing between benign nodules and malignancy is paramount in thyroid care. Wildman-Tobriner and colleagues therefore created and validated a risk stratification system for ultrasound images of thyroid nodules, using an AI thyroid imaging reporting and data system (AI TI-RADS). A total of 378 thyroid nodules from 320 patients were included in this study. Subjects’ data was collected by using the electronic health records of Duke University Medical Center, Durham, NC, United States. No patient demographics were mentioned, besides age and sex. All nodules underwent ultrasound imaging and fine needle aspiration for cytology. Results of the AI TI-RADS were comparable to ACR TI-RADS (American College of Radiology Thyroid Imaging Reporting and Data Systems) (15). AI-driven tools are expected to improve diagnostic performance of thyroid nodules in the near future. Still challenges remain, such as inconsistent ratings by ultrasound physicians, uncertainty in cytopathological diagnosis and difficulty in discriminating follicular lesions (16). AI-driven tools hold very promising applications in risk assessment and risk prediction within the field of endocrinology and diabetes. As availability of data increases, more comprehensive models are expected to emerge.

3 Better and faster diagnosis

The power of AI could prove to be of great benefit in endocrine diagnostics. In order to make a diagnosis, endocrinologists rely on the clinical presentation, patient history, lab results and technical examinations, such as medical imaging. Usually a diagnosis is quite straightforward. However, occasionally doctors are confronted with challenging cases where AI might increase diagnostic speed and accuracy. Chia and co-workers, for example, employed a DL model to diagnose diabetes retinopathy (DR) in indigenous Australian patients. Data was collected at the Aboriginal Community Controlled Health Service located within a metropolitan area of Perth, Western Australia. The model outperformed a human retina specialist in terms of sensitivity; specificity was comparable (17). Joseph et al. performed a systematic review in which 34 studies were included. These studies were carried out in Asia (57%), Europe (20%), North America (12%), Australia (7%), Africa (2%) and South America (2%). Their findings indicate that performance of AI models is in fact acceptable in screening for DR. Fundus images were used for AI-driven diagnosis and compared to human graders. AI-based software in conjunction with a fundus camera can indeed facilitate the work of ophthalmologists and enhance diagnostic accuracy (18). Wu and colleagues trained a linear regression model, random forest (RF) and an XGBoost model on clinical and laboratory data of 479 patients, with diabetes mellitus, in order to diagnose diabetes neuropathy and lower limb arterial disease in patients with diabetes. Patients were recruited at Tongji Hospital, Shanghai, China. The XGBoost model proved to be more accurate in diagnosing diabetes neuropathy in comparison to the other models. Coversely, the RF model revealed to be more suitable for detecting peripheral vascular disease (19).

In some cases a timely diagnosis could be crucial for patient outcome. Here automatic AI interpretation of lab results or other patient data could provoke an alarm, so the physician can swiftly attend to the patient. For instance, Tirado-Aguilar et al. underscored the importance of a timely diagnosis in gestational diabetes in order to avoid adverse neonatal and maternal outcomes (20).

AI-based diagnostic tools are believed to become as normal in daily medical practice as the use of a stethoscope is today. We are bound to see a staggering progression in the field of diagnostic AI in endocrinology and diabetes in the years to come.

4 Personalized treatments

One of the most promising opportunities of AI in endocrinology is the possibility to forge a treatment on the basis of individual patient distinctions. Personalized medicine is thus coming within reach. In the years and decades to come, we will leave the one-size-fits-all approach and shift towards optimized therapies with the highest efficiency while limiting adverse effects. Long and co-workers developed ML models, trained on 9 different biomarkers to predict responders versus non-responders to metformin in type 2 diabetes patients. Data was collected at the Beijing Friendship Hospital, Capital Medical University, Beijing, China. The F1 scores of the XGBoost, KNN (K-Nearest Neighbors), NB (Naive Bayes), RF and SVM (Support Vector Machine) models were 0.830, 0.517, 0.898, 0.864 and 0.475, respectively (21). This strategy could be expanded to other drugs in order to compose the best possible treatment for each individual patient. Popova and co-workers are performing a trial with an AI-driven app in order to help women with gestational diabetes mellitus to control their glycemic levels. Patients are recruited from the outpatient department of the Perinatal Center of the Almazov National Medical Research Center, and from antenatal clinics, all located in Saint Petersburg, Russia. Prognoses of their glucose level 1 hour postprandial are given every time they input their meal data (22). This way patients could anticipate and adjust their current meal in a timely manner to avoid hyperglycemia. Closed loop artificial pancreas systems are a new and exciting technology that can greatly increase the quality of life for type 1 diabetes patients. Several AI algorithms are already being developed in this field (23). AI-based tools can also be very helpful in thyroid pathologies by assisting doctors to optimize thyroid test prescriptions, to guide them in test interpretation, and in clinical decision-making (24). Personalized medicine is believed to become mainstream once AI-tools are sufficiently developed and accepted.

5 Monitoring patients from a distance

The healthcare system is too overloaded, demographics are going to make this problem even worse in the future; AI-enhanced distance monitoring can mitigate this problem. A part of the solution may lie in the use of wearable devices and sensors in order to monitor patients without the need of direct oversight by a medical professional. For instance, Promphet et al. introduced a wearable sensing device in conjunction with a smartphone app in order to monitor blood glucose levels by applying an XGBoost regressor machine learning model. Subject demographics were not mentioned in this study. This device could indeed empower patients to take control of their glucose levels without the need of a doctor (25). ML models were trained on diverse patient data by Juyal and colleagues in order to detect subtle risk patterns in real time that can facilitate arterial hypertension (26). Besides this kind of sophisticated technologies, we see an increasing use of wearables nowadays. These could provide interesting data for the development of monitoring algorithms in the forthcoming years. AI could also help in distinguishing patients that need immediate attention, and those that can withstand a delay. However interesting wearable technologies are, some problems remain to be solved. Privacy concerns necessitate a high level of encryption. And the cost of such wearable devices has also been subject of discussion. It is conceivable, however, that cost savings would offset investment costs in the long run.

6 Ethical considerations and limitations of AI

Despite the enormous potential of AI in endocrinology, there are some limitations and caveats that could hinder widespread adoption of this exciting new technology. The first limitation is the fact that models are dependent on the quality of the data they’re trained on. Missing data, incorrectly labeled data, errors, and mistakes can give rise to inaccurate models (27). The second constraint lies in understanding that generalizability can be problematic as models might use data of certain ethnic groups, geographical locations, social strata, gender, or age category, and apply them to patients that are not aligned with the training data the model operates on (28). The third hurdle entails privacy concerns regarding the use of sensitive patient data (29). Certain regulations have to be adhered to. This can complicate and inhibit the application of AI models in some situations. The last impediment relates to the issue of liability. It remains unclear whether the doctor using AI-based tools is responsible for patient outcomes, or if the company providing the application holds the final responsibility (30). There are still quite some ethical questions to be answered before AI can be fully embraced in clinical endocrinology.

7 Conclusions

In conclusion, AI has the potential to revolutionize clinical endocrinology by enhancing risk assessment and diagnosis, offering personalized treatments, and allowing remote monitoring. However, for this transformation to be fully realized, healthcare professionals must proactively embrace AI, understanding both its benefits and limitations. Without adequate preparation and comprehension, the field of endocrinology may miss a pivotal opportunity to improve patient care through this groundbreaking technology. It is essential for clinicians to engage with AI responsibly, ensuring they are equipped to navigate both its promises and its ethical and practical challenges.

Author contributions

JB: Conceptualization, Data curation, Investigation, Project administration, Supervision, Writing – original draft, Writing – review & editing.

Funding

The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.

Conflict of interest

The author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declare that no Generative AI was used in the creation of this manuscript.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

1. Giorgini F, Di Dalmazi G, Diciotti S. Artificial intelligence in endocrinology: a comprehensive review. J Endocrinol Invest. (2024) 47:1067–82. doi: 10.1007/s40618-023-02235-9

PubMed Abstract | Crossref Full Text | Google Scholar

2. Sheng B, Pushpanathan K, Guan Z, Lim QH, Lim ZW, Yew SME, et al. Artificial intelligence for diabetes care: current and future prospects. Lancet Diabetes Endocrinol. (2024) 12:569–95. doi: 10.1016/S2213-8587(24)00154-2

PubMed Abstract | Crossref Full Text | Google Scholar

3. Zahra MA, Al-Taher A, Alquhaidan M, Hussain T, Ismail I, Raya I, et al. The synergy of artificial intelligence and personalized medicine for the enhanced diagnosis, treatment, and prevention of disease. Drug Metab Pers Ther. (2024) 39:47–58. doi: 10.1515/dmpt-2024-0003

PubMed Abstract | Crossref Full Text | Google Scholar

4. Oikonomou EK, Khera R. Machine learning in precision diabetes care and cardiovascular risk prediction. Cardiovasc Diabetol. (2023) 22:259. doi: 10.1186/s12933-023-01985-3

PubMed Abstract | Crossref Full Text | Google Scholar

5. Rubinger L, Gazendam A, Ekhtiari S, Bhandari M. Machine learning and artificial intelligence in research and healthcare. Injury. (2023) 54 Suppl 3:S69–73. doi: 10.1016/j.injury.2022.01.046

PubMed Abstract | Crossref Full Text | Google Scholar

6. Silver D, Huang A, Maddison CJ, Guez A, Sifre L, van den Driessche G, et al. Mastering the game of Go with deep neural networks and tree search. Nature. (2016) 529:484–9. doi: 10.1038/nature16961

PubMed Abstract | Crossref Full Text | Google Scholar

7. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, et al. Attention is all you need. Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017. Long Beach, CA, USA: Curran Associates, Inc. (2017) p. 5998–6008. doi: 10.48550/arXiv.1706.03762

Crossref Full Text | Google Scholar

8. Strobelt H, Webson A, Sanh V, Hoover B, Beyer J, Pfister H, et al. Interactive and visual prompt engineering for Ad-hoc task adaptation with large language models. IEEE Trans Vis Comput Graph. (2023) 29:1146–56. doi: 10.1109/TVCG.2022.3209479

PubMed Abstract | Crossref Full Text | Google Scholar

9. Arora A, Arora A. The promise of large language models in health care. Lancet. (2023) 401:641. doi: 10.1016/S0140-6736(23)00216-7

PubMed Abstract | Crossref Full Text | Google Scholar

10. Wändell P, Carlsson AC, Wierzbicka M, Sigurdsson K, Ärnlöv J, Eriksson J, et al. A machine learning tool for identifying patients with newly diagnosed diabetes in primary care. Prim Care Diabetes. (2024) 18:501–5. doi: 10.1016/j.pcd.2024.06.010

PubMed Abstract | Crossref Full Text | Google Scholar

11. Yousef H, Feng SF, Jelinek HF. Exploratory risk prediction of type II diabetes with isolation forests and novel biomarkers. Sci Rep. (2024) 14:14409. doi: 10.1038/s41598-024-65044-x

PubMed Abstract | Crossref Full Text | Google Scholar

12. Nabrdalik K, Kwiendacz H, Irlik K, Hendel M, Drożdż K, Wijata AM, et al. Machine learning identifies metabolic dysfunction-associated steatotic liver disease in patients with diabetes mellitus. J Clin Endocrinol Metab. (2024) 109:2029–38. doi: 10.1210/clinem/dgae060

PubMed Abstract | Crossref Full Text | Google Scholar

13. Lebech Cichosz S, Hasselstrøm Jensen M, Schou Olesen S. Development and validation of a machine learning model to predict weekly risk of hypoglycemia in patients with type 1 diabetes based on continuous glucose monitoring. Diabetes Technol Ther. (2024) 26:457–66. doi: 10.1089/dia.2023.0532

PubMed Abstract | Crossref Full Text | Google Scholar

14. Hong N, Whittier DE, Glüer CC, Leslie WD. The potential role for artificial intelligence in fracture risk prediction. Lancet Diabetes Endocrinol. (2024) 12:596–600. doi: 10.1016/S2213-8587(24)00153-0

PubMed Abstract | Crossref Full Text | Google Scholar

15. Wildman-Tobriner B, Yang J, Allen BC, Ho LM, Miller CM, Mazurowski MA. Simplifying risk stratification for thyroid nodules on ultrasound: validation and performance of an artificial intelligence thyroid imaging reporting and data system. Curr Probl Diagn Radiol. (2024) 53:695–9. doi: 10.1067/j.cpradiol.2024.07.006

PubMed Abstract | Crossref Full Text | Google Scholar

16. Li LR, Du B, Liu HQ, Chen C. Artificial intelligence for personalized medicine in thyroid cancer: current status and future perspectives. Front Oncol. (2021) 10:604051. doi: 10.3389/fonc.2020.604051

PubMed Abstract | Crossref Full Text | Google Scholar

17. Chia MA, Hersch F, Sayres R, Bavishi P, Tiwari R, Keane PA, et al. Validation of a deep learning system for the detection of diabetic retinopathy in Indigenous Australians. Br J Ophthalmol. (2024) 108:268–73. doi: 10.1136/bjo-2022-322237

PubMed Abstract | Crossref Full Text | Google Scholar

18. Joseph S, Selvaraj J, Mani I, Kumaragurupari T, Shang X, Mudgil P, et al. Diagnostic accuracy of artificial intelligence-based automated diabetic retinopathy screening in real-world settings: A systematic review and meta-analysis. Am J Ophthalmol. (2024) 263:214–30. doi: 10.1016/j.ajo.2024.02.012

PubMed Abstract | Crossref Full Text | Google Scholar

19. Wu Y, Dong D, Zhu L, Luo Z, Liu Y, Xie X. Interpretable machine learning models for detecting peripheral neuropathy and lower extremity arterial disease in diabetics: an analysis of critical shared and unique risk factors. BMC Med Inform Decis Mak. (2024) 24:200. doi: 10.1186/s12911-024-02595-z

PubMed Abstract | Crossref Full Text | Google Scholar

20. Tirado-Aguilar OA, Martinez-Cruz N, Arce-Sanchez L, Borboa-Olivares H, Reyes-Muñoz E, Espino-Y-Sosa S, et al. Earlier detection of gestational diabetes impacts on medication requirements, neonatal and maternal outcomes. Diabetes Obes Metab. (2024) 26:3110–8. doi: 10.1111/dom.15633

PubMed Abstract | Crossref Full Text | Google Scholar

21. Long J, Fang Q, Shi Z, Miao Z, Yan D. Integrated biomarker profiling for predicting the response of type 2 diabetes to metformin. Diabetes Obes Metab. (2024) 26:3439–47. doi: 10.1111/dom.15689

PubMed Abstract | Crossref Full Text | Google Scholar

22. Popova P, Anopova A, Vasukova E, Isakov A, Eriskovskaya A, Degilevich A, et al. Trial protocol for the study of recommendation system DiaCompanion with personalized dietary recommendations for women with gestational diabetes mellitus (DiaCompanion I). Front Endocrinol (Lausanne). (2023) 14:1168688. doi: 10.3389/fendo.2023.1168688

PubMed Abstract | Crossref Full Text | Google Scholar

23. Hasanzad M, Aghaei Meybodi HR, Sarhangi N, Larijani B. Artificial intelligence perspective in the future of endocrine diseases. J Diabetes Metab Disord. (2022) 21:971–8. doi: 10.1007/s40200-021-00949-2

PubMed Abstract | Crossref Full Text | Google Scholar

24. Gruson D, Dabla P, Stankovic S, Homsak E, Gouget B, Bernardini S, et al. Artificial intelligence and thyroid disease management: considerations for thyroid function tests. Biochem Med (Zagreb). (2022) 32:20601. doi: 10.11613/BM.2022.020601

PubMed Abstract | Crossref Full Text | Google Scholar

25. Promphet N, Thanawattano C, Buekban C, Laochai T, Lormaneenopparat P, Sukmas W, et al. Smartphone based wearable sweat glucose sensing device correlated with machine learning for real-time diabetes screening. Anal Chim Acta. (2024) 1312:342761. doi: 10.1016/j.aca.2024.342761

PubMed Abstract | Crossref Full Text | Google Scholar

26. Juyal A, Bisht S, Singh MF. Smart solutions in hypertension diagnosis and management: a deep dive into artificial intelligence and modern wearables for blood pressure monitoring. Blood Press Monit. (2024) 29:260–71. doi: 10.1097/MBP.0000000000000711

PubMed Abstract | Crossref Full Text | Google Scholar

27. Shaw J, Rudzicz F, Jamieson T, Goldfarb A. Artificial intelligence and the implementation challenge. J Med Internet Res. (2019) 21:e13659. doi: 10.2196/13659

PubMed Abstract | Crossref Full Text | Google Scholar

28. Zhui L, Fenghe L, Xuehu W, Qining F, Wei R. Ethical considerations and fundamental principles of large language models in medical education: viewpoint. J Med Internet Res. (2024) 26:e60083. doi: 10.2196/60083

PubMed Abstract | Crossref Full Text | Google Scholar

29. Lu H, Alhaskawi A, Dong Y, Zou X, Zhou H, Ezzi SHA, et al. Patient autonomy in medical education: navigating ethical challenges in the age of artificial intelligence. Inquiry. (2024) 61:469580241266364. doi: 10.1177/00469580241266364

PubMed Abstract | Crossref Full Text | Google Scholar

30. Nair M, Svedberg P, Larsson I, Nygren JM. A comprehensive overview of barriers and strategies for AI implementation in healthcare: Mixed-method design. PLoS One. (2024) 19:e0305949. doi: 10.1371/journal.pone.0305949

PubMed Abstract | Crossref Full Text | Google Scholar

Keywords: artificial intelligence, AI, machine learning, endocrinology, diabetes, personalized medicine, deep learning

Citation: Belkhouribchia J (2025) Artificial intelligence is going to transform the field of endocrinology: an overview. Front. Endocrinol. 16:1513929. doi: 10.3389/fendo.2025.1513929

Received: 19 October 2024; Accepted: 06 January 2025;
Published: 14 January 2025.

Edited by:

Roger Gutiérrez-Juárez, National Autonomous University of Mexico, Mexico

Reviewed by:

Dan Xue, University of Pittsburgh, United States

Copyright © 2025 Belkhouribchia. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Jamal Belkhouribchia, aW5mb0BlbmRvY3Jpbm9sb2d5Y2VudGVyaGFzc2VsdC5iZQ==

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Research integrity at Frontiers

Man ultramarathon runner in the mountains he trains at sunset

94% of researchers rate our articles as excellent or good

Learn more about the work of our research integrity team to safeguard the quality of each article we publish.


Find out more