The rapid growth of technology in the past couple of decades has paved the way for development of novel techniques that can solve scientific questions at a rate that is far beyond the capability of humans. One such example is the field of Artificial Intelligence (AI) and Machine Learning (ML). AI is a discipline that deals with the study and design of intelligent agents, that is, devices that intricately perceive their environment and take actions that maximize the chances of achieving their goals (1). AI, in a way, mimics the structure and operating methodologies of a human brain (2). AI has two forms of application: physical and virtual (3). The physical component is mainly represented by robots. Derived from a Czech word robota, meaning “forced labor,” the physical robotic forms were conceptualized by inventors such as Leonardo Da Vinci (3). This component has been widely used in the field of endocrinology, such as robot-assisted surgery of adrenal or prostate cancer. Examples of virtual applications of AI are electronic medical records (EMR), where specific algorithms are used to identify subjects, and harness health related data (3).
ML is a field of AI that deals with the development of models and intricate networks that enable computer systems to improve their performance on a specific task progressively (4). ML algorithms can be: (i) unsupervised (spontaneous pattern detection), (ii) supervised (building algorithms based on prior examples), or (iii) reinforcement learning (utilization of reward/punishment techniques to obtain the desired result) (3). A common use of ML in daily life includes flagging spam in an e-mail, autonomous driving and selecting the best route for daily commute. In the field of medicine, AI/ML technology can have substantial impact at three levels: physicians, by improving the diagnostic accuracy and assisting with therapeutic and surgical interventions; health systems, by enabling improved workflow and reduction in errors; patients, through tailoring of diagnostic, and treatment modalities based on the unique phenotypic and genetic features of individual patients (5). In this review, we focus on the virtual components of AI and ML and provide some examples for the utility of AI/ML in endocrinology and metabolism.
From early ML tools like logistic regression which found their utility in medicine several decades ago, AI/ML methods have become far more multifaceted and have revolutionized the field of medicine through their ability to compute and analyze vast and complex array of datasets which would not be feasible solely with trained human skillsets (2). Several AI/ML methods have proven their utility in the diagnosis and management of various endocrinopathies. Gradient forest analysis, a ML technique, was applied in a study to identify factors contributing to variation in all-cause mortality among subjects in the Action to Control Cardiovascular Risk in Diabetes (ACCORD) trial (6). This technique detected four risk groups based on hemoglobin glycosylation index (HGI), BMI, and age. The lowest risk group (with HGI < 0.44, BMI < 30 kg/m2, and age <61 years) experienced reduced absolute mortality risk of 2.3%, while the highest risk group (HGI > 0.44) experienced a 3.7% increase in absolute mortality risk attributable to intensive glycemic therapy. These mortality variations in the intensive treatment group were previously not detected by older, univariate subgroup analyses (6). Another study developed a prototype support vector regression model that outperformed diabetologists in predicting blood glucose levels at 30 and 60 min from a given time in patients with type 1 diabetes, and predicted about one quarter of hypoglycemic events 30 min ahead of the actual event (7).
AI/ML-based algorithms have been extensively utilized and validated for diagnosis and classification of diabetic retinopathy (8–11). Deep learning systems and even purely database-driven AI algorithms have demonstrated the ability to diagnose diabetic retinopathy and related retinal diseases in large, multiethnic cohorts with high degree of sensitivity and specificity (8, 10). ML algorithms have also demonstrated the ability to incorporate associated risk factors such as duration of diabetes and insulin use into risk-stratification of diabetic retinopathy, which could potentially facilitate the development of better clinical decision support systems (11). A proprietary system IDx (Iowa City, IA) that uses ML technology to analyze retinal images in diabetic retinopathy had a sensitivity of 87% and specificity of 91% for autonomous detection of disease and received FDA approval in 2018 (12). This example represents the first prospective assessment of AI/ML in the clinic (5).
AI/ML technologies has also been used in the analysis of large datasets generated from genomic technology. Deep-coverage whole-genome sequencing performed in 8,392 individuals of European and African descent to identify single-nucleotide variants and copy-number variations in Lipoprotein (a) revealed that LPA risk genotypes conferred greater relative risk for incident cardiovascular disease than direct measurements of Lipoprotein (a) levels. These risk genotypes were also associated with increased sub-clinical atherosclerotic disease in individuals of African ancestry (13). ML techniques were utilized in developing a novel mRNA based molecular test to detect BRAF V600E mutations in thyroid fine needle aspirate samples, which demonstrated sensitivity equal to that of established DNA-based assay and had lower non-diagnostic rates (14). By utilizing functional enrichment analysis followed by module analysis performed on protein-protein interaction network, the differential gene expression in anaplastic thyroid carcinoma was assessed (15). There were 247 up-regulated genes which were predominantly involved in cell cycle and 275 down-regulated genes that were mostly involved in thyroid hormone synthesis, insulin resistance, and cancer pathways, thus expanding on the current knowledge of genetics of thyroid carcinomas (15).
AI/ML methods can accurately interpret medical images and provide a computer-aided diagnosis. ML algorithms like convolutional neural network and support vector machine (SVM) demonstrated higher sensitivity, specificity, and positive and negative predictive values with early detection of facial changes in acromegaly when compared with doctors' evaluation, thus allowing for earlier clinical diagnosis and evaluation (16). A simple diagrammatic representation of utilization of facial landmark recognition for diagnosis of acromegaly is provided in Figure 1. ML has enabled individuals to make optimal decisions in real time by enabling organizational performance (3). For example, utilization of ML techniques such as principal component analysis and SVM, and matrix-assisted laser desorption/ionization mass spectrometry (MS) imaging demonstrated the potential to differentiate hormone-secreting from non-secreting pituitary adenomas, and demarcate tumor from normal gland at a molecular level under 30 minutes, therefore potentially enabling real-time, intra-operative tumor delineation, and improve patient outcomes (17).
Variants of SVM, neural networks, and other ML techniques, with immunohistochemical methods were utilized in categorizing Cushing syndrome with adrenocortical lesions (18). Based on the gene expression profiling, the highest expressions of Ki-67 and PCNA were found in adrenocortical carcinoma while highest FHIT expression was found in adrenocortical hyperplasia, and adrenal adenomas had intermediate expression of all three antigens. These techniques diagnosed the adrenocortical disease type with 92.6% accuracy. In another study, urinary steroid profiling using gas chromatography/MS and subsequent ML analysis generated a pattern of immature, early stage steroid metabolites in adrenocortical cancer (19). This enabled differentiation of cancer from an adenoma with a sensitivity and specificity of 90%, a diagnostic value that was higher than CT, MRI, or PET scans.
Another emerging field based on AI technology that could potentially have a wider scope in the future is “pre-emptive medicine” (20). Pre-emptive medicine is a novel concept proposed in Japan, which aims at delaying the onset, or even preventing the occurrence of chronic diseases, such as diabetes, hypertension, cancer, or dementia by using a combination of AI techniques, genomic analysis and environmental interaction data (20). The above examples reinforce the promising role of AI/ML in diagnosis and management of endocrine disorders which, in several instances, can outperform skilled physicians, minimize resource use and allocation, and yield tangible benefits by supporting physicians and accelerating clinical decision-making (7, 16). Despite the substantial evidence for the ability of AI/ML to deliver cost-effective healthcare and improve patient outcomes, medicine has trailed behind other scientific fields in implementing these techniques into practice (21). Potential hurdles include the longitudinal nature of variations in human disease, inadequacies in the quality and reliability, heterogeneity of healthcare data, personal data confidentiality, need for informed consent from patients, requirement of supportive policies and efficient business models, unpredictable reimbursement, and increasing necessity for data sharing (21, 22). The so-called “digital biomarkers” that are obtained through big data analyses performed using AI/ML techniques are not readily interpretable clinically, in the sense, even if a certain newer AI/ML algorithm has been shown to be superior to older techniques in certain population cohorts; its implementation in clinical practice across more diverse populations might not necessarily result in better diagnosis or outcome; and could potentially even lead to over-diagnosis and over-treatment in certain patient cohorts (23). Ethical issues, including misuse of AI/ML to manipulate quality metrics to make unscrupulous profit, potential in-built discriminatory biases toward under-represented populations, and physician over-dependence on AI/ML pose some of the foreseeable challenges in this field (24). Although AI/ML can theoretically “replace” physicians with regards to performing certain diagnostic, therapeutic, or surgical tasks, these technologies, almost certainly, will never be able to provide the emotional, social, and ethical support that a physician can offer the patient, and will never replace the unique bond of a doctor-patient relationship (25, 26).
Then the question arises: What aspects of patient care can physicians focus on in the era of AI/ML technology? With the ever-growing complexity and quantity of knowledge in the medical field, it is almost impossible for physicians to mentally organize and retain all of this data (27). Therefore, the medical fraternity should focus on strengthening the following aspects in order to re-define the role of physicians in the era of AI/ML: (1) Medical school curricula must shift their focus from information acquisition to knowledge management and communication skills, (2) Physicians must be trained to manage and collaborate with AI/ML applications, (3) Emphasis must be placed on training physicians to interpret AI/ML output data and to effectively utilize these results in clinical decision making, and (4) Reinforcing cultivation of empathy and compassion among physicians (27). Eventually, physicians and AI technology need to develop a mutually supportive relationship than a competitive one. While physicians can provide appropriate feedback for AI/ML techniques and tools to improve, these tools in turn can facilitate physicians in solving uncertain clinical scenarios (28). This can result in mutual identification of key clinical or algorithmic biases, which can be then tackled by the combined efforts of physicians and AI/ML through better data collection and through model improvements (28).
In conclusion, utilization of AI/ML will enable diagnosing endocrine disorders with higher accuracy, potentially avoid unnecessary investigations, and reduce healthcare expenditures and facilitate better digital storage of vast patient data, be it individual profiles or aggregated data for epidemiological research and planning, and these benefits may one day transform clinical endocrine practice. Today, AI technologies like artificial pancreas for management of diabetes have already become a reality (29). Major efforts are required from academia and the information technology industry to push for further development of AI/ML technology in endocrinology. Endocrinologists are well suited to play a vital role in the advancement of AI/ML. However, this has not been the focus of training programs for endocrine subspecialties, which do not provide the necessary education for trainees to feel confident in the use of these technologies for diagnosis or research. There is certainly a need to spread awareness, acquire funding, introduce these concepts into training programs, and encourage further research in this new, exciting branch of endocrinology and metabolism—a deep future awaits!
Author Contributions
SG prepared the manuscript and the figure. FH-S, PH, JT, and CK wrote parts of the manuscript and critically reviewed the manuscript.
Conflict of Interest Statement
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Footnotes
Funding. This work was supported in part by the Intramural Research Program of Eunice Kennedy Shriver National Institute of Child Health and Human Development, National Institutes of Health (NIH), protocol 00-CH-0160.
References
- 1.Poole DL, Mackworth AK, Goebel R. Computational Intelligence: a Logical Approach. New York, NY: Oxford University Press, Inc; (1998). [Google Scholar]
- 2.Cleophas TJ, Zwinderman AH, Cleophas-Allers HI. Machine Learning in Medicine. Dordrecht: Springer; (2013). [Google Scholar]
- 3.Hamet P, Tremblay J. Artificial intelligence in medicine. Metabolism. (2017) 69:S36–40. 10.1016/j.metabol.2017.01.011 [DOI] [PubMed] [Google Scholar]
- 4.Bishop CM. Pattern Recognition and Machine Learning. New York, NY: Springer; (2006). [Google Scholar]
- 5.Topol EJ. High-performance medicine: the convergence of human and artificial intelligence. Nat Med. (2019) 25:44–56. 10.1038/s41591-018-0300-7 [DOI] [PubMed] [Google Scholar]
- 6.Basu S, Raghavan S, Wexler DJ, Berkowitz SA. Characteristics associated with decreased or increased mortality risk from glycemic therapy among patients with type 2 diabetes and high cardiovascular risk: machine learning analysis of the ACCORD Trial. Diabetes Care. (2017) 41:604–12. 10.2337/dc17-2252 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Plis K, Bunescu RC, Marling C, Shubrook J, Schwartz F. A machine learning approach to predicting blood glucose levels for diabetes management. In: AAAI Workshop: Modern Artificial Intelligence for Health Analytics. Quebec City, QC: (2014). p. 35–9. [Google Scholar]
- 8.Gargeya R, Leng T. Automated identification of diabetic retinopathy using deep learning. Ophthalmology. (2017) 124:962–9. 10.1016/j.ophtha.2017.02.008 [DOI] [PubMed] [Google Scholar]
- 9.Raju M, Pagidimarri V, Barreto R, Kadam A, Kasivajjala V, Aswath A. Development of a deep learning algorithm for automatic diagnosis of diabetic retinopathy. Stud Health Technol Inf. (2017) 245:559–63. 10.3233/978-1-61499-830-3-559 [DOI] [PubMed] [Google Scholar]
- 10.Ting DSW, Cheung CY-L, Lim G, Tan GSW, Quang ND, Gan A, et al. Development and validation of a deep learning system for diabetic retinopathy and related eye diseases using retinal images from multiethnic populations with diabetes. JAMA. (2017) 318:2211–23. 10.1001/jama.2017.18152 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Tsao H-Y, Chan P-Y, Su EC-Y. Predicting diabetic retinopathy and identifying interpretable biomedical features using machine learning algorithms. BMC Bioinformatics. (2018) 19:195. 10.1186/s12859-018-2277-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Abràmoff MD, Lavin PT, Birch M, Shah N, Folk JC. Pivotal trial of an autonomous AI-based diagnostic system for detection of diabetic retinopathy in primary care offices. Digital Med. (2018) 1:39 10.1038/s41746-018-0040-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Zekavat SM, Ruotsalainen S, Handsaker RE, Alver M, Bloom J, Poterba T, et al. Deep coverage whole genome sequences and plasma lipoprotein (a) in individuals of European and African ancestries. Nat Commun. (2018) 9:2606 10.1038/s41467-018-04668-w [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Diggans J, Kim SY, Hu Z, Pankratz D, Wong M, Reynolds J, et al. Machine learning from concept to clinic: reliable detection of braf v600e DNA mutations in thyroid nodules using high-dimensional RNA expression data. In: Pacific Symposium on Biocomputing Co-Chairs: World Scientific. Kohala: (2014). p. 371–82. 10.1142/9789814644730_0036 [DOI] [PubMed] [Google Scholar]
- 15.Hu S, Liao Y, Chen L. Identification of key pathways and genes in anaplastic thyroid carcinoma via integrated bioinformatics analysis. Med Sci Monit. (2018) 24:6438–48. 10.12659/MSM.910088 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Kong X, Gong S, Su L, Howard N, Kong Y. Automatic detection of acromegaly from facial photographs using machine learning methods. EBio Med. (2018) 27:94–102. 10.1016/j.ebiom.2017.12.015 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Calligaris D, Feldman DR, Norton I, Olubiyi O, Changelian AN, Machaidze R, et al. MALDI mass spectrometry imaging analysis of pituitary adenomas for near-real-time tumor delineation. Proc Natl Acad Sci USA. (2015) 112:9978–83. 10.1073/pnas.1423101112 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Yang JY, Yang MQ, Luo Z, Ma Y, Li J, Deng Y, et al. A HYBRID machine learning-based method for classifying the Cushing's Syndrome with comorbid adrenocortical lesions. BMC Genomics. (2008) 9:S23. 10.1186/1471-2164-9-S1-S23 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Arlt W, Biehl M, Taylor AE, Hahner S, Libe R, Hughes BA, et al. Urine steroid metabolomics as a biomarker tool for detecting malignancy in adrenal tumors. J Clin Endocrinol Metabol. (2011) 96:3775–84. 10.1210/jc.2011-1565 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Itoh H, Hayashi K, Miyashita K. Pre-emptive medicine for hypertension and its prospects. Hypertens Res. (2018) 42:301–5. 10.1038/s41440-018-0177-3 [DOI] [PubMed] [Google Scholar]
- 21.Ngufor C, Van Houten H, Caffo BS, Shah ND, Mccoy RG. Mixed Effect Machine Learning: a framework for predicting longitudinal change in hemoglobin A1c. J Biomed Inf. (2018) 89:56–67. 10.1016/j.jbi.2018.09.001 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Fatehi F, Menon A, Bird D. Diabetes care in the digital era: a synoptic overview. Curr Diabetes Rep. (2018) 18:38. 10.1007/s11892-018-1013-5 [DOI] [PubMed] [Google Scholar]
- 23.Mandl KD, Manrai AK. Potential excessive testing at scale: biomarkers, genomics, and machine. JAMA. (2019) 321:739–40. 10.1001/jama.2019.0286 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Char DS, Shah NH, Magnus D. Implementing machine learning in health care—addressing ethical challenges. N Engl J Med. (2018) 378:981–3. 10.1056/NEJMp1714229 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Goldhahn J, Rampton V, Spinas GA. Could artificial intelligence make doctors obsolete? BMJ. (2018) 363:k4563. 10.1136/bmj.k4563 [DOI] [PubMed] [Google Scholar]
- 26.Rigby MJ. Ethical dimensions of using artificial intelligence in health care. AMA J Ethics. (2019) 21:121–4. 10.1001/amajethics.2019.121 [DOI] [Google Scholar]
- 27.Wartman SA, Combs CD. Reimagining medical education in the age of AI. AMA J Ethics. (2019) 21:146–52. 10.1001/amajethics.2019.146 [DOI] [PubMed] [Google Scholar]
- 28.Chen IY, Szolovits P, Ghassemi M. Can AI help reduce disparities in general medical and mental health care? AMA J Ethics. (2019) 21:167–79. 10.1001/amajethics.2019.167 [DOI] [PubMed] [Google Scholar]
- 29.Rigla M, García-Sáez G, Pons B, Hernando ME. Artificial intelligence methodologies and their application to diabetes. J Diabetes Sci Technol. (2018) 12:303–10. 10.1177/1932296817710475 [DOI] [PMC free article] [PubMed] [Google Scholar]