摘要
Artificial intelligence (AI) was first described in 1950; however, several limitations in early models prevented widespread acceptance and application to medicine. In the early 2000s, many of these limitations were overcome by the advent of deep learning. Now that AI systems are capable of analyzing complex algorithms and self-learning, we enter a new age in medicine where AI can be applied to clinical practice through risk assessment models, improving diagnostic accuracy and workflow efficiency. This article presents a brief historical perspective on the evolution of AI over the last several decades and the introduction and development of AI in medicine in recent years. A brief summary of the major applications of AI in gastroenterology and endoscopy are also presented, which are reviewed in further detail by several other articles in this issue of Gastrointestinal Endoscopy. Artificial intelligence (AI) was first described in 1950; however, several limitations in early models prevented widespread acceptance and application to medicine. In the early 2000s, many of these limitations were overcome by the advent of deep learning. Now that AI systems are capable of analyzing complex algorithms and self-learning, we enter a new age in medicine where AI can be applied to clinical practice through risk assessment models, improving diagnostic accuracy and workflow efficiency. This article presents a brief historical perspective on the evolution of AI over the last several decades and the introduction and development of AI in medicine in recent years. A brief summary of the major applications of AI in gastroenterology and endoscopy are also presented, which are reviewed in further detail by several other articles in this issue of Gastrointestinal Endoscopy. The concept of using computers to simulate intelligent behavior and critical thinking was first described by Alan Turing in 1950.1Ramesh A.N. Kambhampati C. Monson J.R. et al.Artificial intelligence in medicine.Ann R Coll Surg Engl. 2004; 86: 334-338Crossref PubMed Scopus (237) Google Scholar In the book Computers and Intelligence, Turing described a simple test, which later became known as the “Turing test,” to determine whether computers were capable of human intelligence.2Greenhill A.E.B. A primer of AI in medicine.Techn Gastrointest Endosc. 2020; 22: 85-89Abstract Full Text Full Text PDF Scopus (5) Google Scholar Six years later, John McCarthy described the term artificial intelligence (AI) as “the science and engineering of making intelligent machines.”3Amisha Malik P. Pathania M. et al.Overview of artificial intelligence in medicine.J Family Med Prim Care. 2019; 8: 2328-2331Crossref PubMed Google Scholar,4Hamet P. Tremblay J. Artificial intelligence in medicine.Metabolism. 2017; 69S: S36-S40Abstract Full Text Full Text PDF PubMed Scopus (413) Google Scholar AI began as a simple series of “if, then rules” and has advanced over several decades to include more complex algorithms that perform similarly to the human brain. There are many subfields in AI, akin to specialties in medicine (Table 1), such as machine learning (ML), deep learning (DL), and computer vision.Table 1Subfields of artificial intelligenceSubfields of Artificial Intelligence Machine Learning (ML): pattern identification and analysis; machines can improve with experience from provided data sets Deep Learning (DL): composed of multi-layer neural networks which enable machines to learn and make decisions on its own Natural Language Processing (NLP): process that enables computers to extract data from human language and make decisions based on that information Computer Vision (CV): process by which a computer gains information and understanding from a series of images or videos Open table in a new tab ML is the use of specific traits to identify patterns that can be used to analyze a particular situation. The machine can then “learn” from and apply that information to future similar scenarios. This prediction tool can be applied dynamically to clinical decision-making to individualize patient care rather than follow a static algorithm. ML has advanced into what is now commonly known as DL, which is composed of algorithms to create an artificial neural network (ANN) that can then learn and make decisions on its own, similar to the human brain.2Greenhill A.E.B. A primer of AI in medicine.Techn Gastrointest Endosc. 2020; 22: 85-89Abstract Full Text Full Text PDF Scopus (5) Google Scholar,5Hoogenboom S.A. Bagci U. Wallace M.B. AI in gastroenterology. The current state of play and the potential. How will it affect our practice and when?.Tech Innov Gastrointest Endosc. 2020; 22: 42-47Abstract Full Text Full Text PDF Scopus (8) Google Scholar,6Le Berre C. Sandborn W.J. Aridhi S. et al.Application of artificial intelligence to gastroenterology and hepatology.Gastroenterology. 2020; 158: 76-94Abstract Full Text Full Text PDF PubMed Scopus (129) Google Scholar Computer vision is the process by which a computer gains information and understanding from a series of images or videos.7Ruffle J.K. Farmer A.D. Aziz Q. Artificial intelligence-assisted gastroenterology—promises and pitfalls.Am J Gastroenterol. 2019; 114: 422-428Crossref PubMed Scopus (47) Google Scholar In this review, we present a brief historical perspective of the advent of AI in medicine (AIM) and its chronological evolution through the last half century leading up to its role in gastroenterology and endoscopy (Fig. 1). AIM has evolved dramatically over the past 5 decades. Since the advent of ML and DL, applications of AIM have expanded, creating opportunities for personalized medicine rather than algorithm-only–based medicine. Predictive models can be used for diagnosis of diseases, predication of therapeutic response, and potentially preventative medicine in the future.7Ruffle J.K. Farmer A.D. Aziz Q. Artificial intelligence-assisted gastroenterology—promises and pitfalls.Am J Gastroenterol. 2019; 114: 422-428Crossref PubMed Scopus (47) Google Scholar AI may improve diagnostic accuracy, improve efficiency in provider workflow and clinical operations, facilitate better disease and therapeutic monitoring, and improve procedure accuracy and overall patient outcomes. The progressive growth and development of the AI platform in medicine is chronicled below and organized by specific time periods of seminal transformation. Early AI was focused on the development of machines that had the ability to make inferences or decisions that previously only a human could make. The first industrial robot arm (Unimate; Unimation, Danbury, Conn, USA) joined the assembly line at General Motors in 1961 and performed automated die casting.8Moran M.E. Evolution of robotic arms.J Robot Surg. 2007; 1: 103-111Crossref PubMed Scopus (33) Google Scholar Unimate was able to follow step-by-step commands. A few years later (1964), Eliza was introduced by Joseph Weizenbaum. Using natural language processing, Eliza was able to communicate using pattern matching and substitution methodology to mimic human conversation (superficial communication),9Weizenbaum J. ELIZA—a computer program for the study of natural language communication between man and machine.Commun ACM. 1966; 9: 36-45Crossref Scopus (1978) Google Scholar serving as the framework for future chatterbots. In 1966, Shakey, “the first electronic person,” was developed. Created at Stanford Research Institute, this was the first mobile robot to be able to interpret instructions.10Kuipers B.F. Hart P.E. Nilsson N.J. Shakey: from conception to history.AI Magazine. 2017; 38: 88-103Crossref Scopus (10) Google Scholar Rather than simply following 1-step commands, Shakey was able to process more complex instructions and carry out the appropriate actions.10Kuipers B.F. Hart P.E. Nilsson N.J. Shakey: from conception to history.AI Magazine. 2017; 38: 88-103Crossref Scopus (10) Google Scholar This was an important milestone in robotics and AI. Despite these innovations in engineering, medicine was slow to adopt AI. This early period, however, was an important time for digitizing data that later served as the foundation for future growth and utilization of AIM. The development of the Medical Literature Analysis and Retrieval System and the web-based search engine PubMed by the National Library of Medicine in the 1960s became an important digital resource for the later acceleration of biomedicine.11Kulikowski C.A. Beginnings of artificial intelligence in medicine (AIM): computational artifice assisting scientific inquiry and clinical art—with reflections on present AIM challenges.Yearb Med Inform. 2019; 28: 249-256Crossref PubMed Scopus (25) Google Scholar Clinical informatics databases and medical record systems were also first developed during this time and helped establish the foundation for future developments of AIM.11Kulikowski C.A. Beginnings of artificial intelligence in medicine (AIM): computational artifice assisting scientific inquiry and clinical art—with reflections on present AIM challenges.Yearb Med Inform. 2019; 28: 249-256Crossref PubMed Scopus (25) Google Scholar Most of this time period is referred to as the “AI winter,” signifying a period of reduced funding and interest and subsequently fewer significant developments.2Greenhill A.E.B. A primer of AI in medicine.Techn Gastrointest Endosc. 2020; 22: 85-89Abstract Full Text Full Text PDF Scopus (5) Google Scholar Many acknowledge 2 major winters: the first in the late 1970s, driven by the perceived limitations of AI, and the second in the late 1980s extending to the early 1990s, driven by the excessive cost in developing and maintaining expert digital information databases. Despite the lack of general interest during this time period, collaboration among pioneers in the field of AI continued. This fostered the development of The Research Resource on Computers in Biomedicine by Saul Amarel in 1971 at Rutgers University. The Stanford University Medical Experimental–Artificial Intelligence in Medicine, a time-shared computer system, was created in 1973 and enhanced networking capabilities among clinical and biomedical researchers from several institutions.12Kulikowski C.A. An opening chapter of the first generation of artificial intelligence in medicine: the first Rutgers AIM workshop, June 1975.Yearb Med Inform. 2015; 10: 227-233PubMed Google Scholar Largely as a result of these collaborations, the first National Institutes of Health–sponsored AIM workshop was held at Rutgers University in 1975.11Kulikowski C.A. Beginnings of artificial intelligence in medicine (AIM): computational artifice assisting scientific inquiry and clinical art—with reflections on present AIM challenges.Yearb Med Inform. 2019; 28: 249-256Crossref PubMed Scopus (25) Google Scholar These events represent the initial collaborations among the pioneers in AIM. One of the first prototypes to demonstrate feasibility of applying AI to medicine was the development of a consultation program for glaucoma using the CASNET model.13Weiss S. Kulikowski C.A. Safir A. Glaucoma consultation by computer.Comput Biol Med. 1978; 8: 25-40Crossref PubMed Scopus (72) Google Scholar The CASNET model is a causal–associational network that consists of 3 separate programs: model-building, consultation, and a database that was built and maintained by the collaborators. This model could apply information about a specific disease to individual patients and provide physicians with advice on patient management.13Weiss S. Kulikowski C.A. Safir A. Glaucoma consultation by computer.Comput Biol Med. 1978; 8: 25-40Crossref PubMed Scopus (72) Google Scholar It was developed at Rutgers University and was officially demonstrated at the Academy of Ophthalmology meeting in Las Vegas, Nevada in 1976. A “backward chaining” AI system, MYCIN, was developed in the early 1970s.14Shortliffe E.H. Davis R. Axline S.G. et al.Computer-based consultations in clinical therapeutics: explanation and rule acquisition capabilities of the MYCIN system.Comput Biomed Res. 1975; 8: 303-320Crossref PubMed Scopus (194) Google Scholar Based on patient information input by physicians and a knowledge base of about 600 rules, MYCIN could provide a list of potential bacterial pathogens and then recommend antibiotic treatment options adjusted appropriately for a patient’s body weight. MYCIN became the framework for the later rule-based system, EMYCIN.11Kulikowski C.A. Beginnings of artificial intelligence in medicine (AIM): computational artifice assisting scientific inquiry and clinical art—with reflections on present AIM challenges.Yearb Med Inform. 2019; 28: 249-256Crossref PubMed Scopus (25) Google Scholar INTERNIST-1 was later developed using the same framework as EMYCIN and a larger medical knowledge base to assist the primary care physician in diagnosis.11Kulikowski C.A. Beginnings of artificial intelligence in medicine (AIM): computational artifice assisting scientific inquiry and clinical art—with reflections on present AIM challenges.Yearb Med Inform. 2019; 28: 249-256Crossref PubMed Scopus (25) Google Scholar In 1986, DXplain, a decision support system, was released by the University of Massachusetts. This program uses inputted symptoms to generate a differential diagnosis.3Amisha Malik P. Pathania M. et al.Overview of artificial intelligence in medicine.J Family Med Prim Care. 2019; 8: 2328-2331Crossref PubMed Google Scholar It also serves as an electronic medical textbook, providing detailed descriptions of diseases and additional references. When first released, DXplain was able to provide information on approximately 500 diseases. Since then, it has expanded to over 2400 diseases.15The Massachusetts General Hospital Laboratory of Computer Science. Using decision support to help explain clinical manifestations of diseasehttp://www.mghlcs.org/projects/dxplainDate accessed: April 30, 2020Google Scholar By the late 1990s, interest in ML was renewed, particularly in the medical world, which along with the above technological developments set the stage for the modern era of AIM. In 2007, IBM created an open-domain question–answering system, named Watson, that competed with human participants and won first place on the television game show Jeopardy! in 2011. In contrast to traditional systems that used either forward reasoning (following rules from data to conclusions), backward reasoning (following rules from conclusions to data), or hand-crafted if-then rules, this technology, called DeepQA, used natural language processing and various searches to analyze data over unstructured content to generate probable answers.16Ferrucci D.L. Bagchi S. Gondek D. et al.Watson: beyond Jeopardy!.Artif Intell. 2013; 199-200: 93-105Crossref Scopus (180) Google Scholar This system was more readily available for use, easier to maintain, and more cost-effective. By drawing information from a patient’s electronic medical record and other electronic resources, one could apply DeepQA technology to provide evidence-based medicine responses. As such, it opened new possibilities in evidence-based clinical decision-making.16Ferrucci D.L. Bagchi S. Gondek D. et al.Watson: beyond Jeopardy!.Artif Intell. 2013; 199-200: 93-105Crossref Scopus (180) Google Scholar,17Mintz Y. Brodie R. Introduction to artificial intelligence in medicine.Minim Invasive Ther Allied Technol. 2019; 28: 73-81Crossref PubMed Scopus (62) Google Scholar In 2017, Bakkar et al18Bakkar N. Kovalik T. Lorenzini I. et al.Artificial intelligence in neurodegenerative disease research: use of IBM Watson to identify additional RNA-binding proteins altered in amyotrophic lateral sclerosis.Acta Neuropathol. 2018; 135: 227-247Crossref PubMed Scopus (60) Google Scholar used IBM Watson to successfully identify new RNA-binding proteins that were altered in amyotrophic lateral sclerosis. Given this momentum, along with improved computer hardware and software programs, digitalized medicine became more readily available, and AIM started to grow rapidly. Natural language processing transformed chatbots from superficial communication (Eliza) to meaningful conversation-based interfaces. This technology was applied to Apple’s virtual assistant, Siri, in 2011 and Amazon’s virtual assistant, Alexa, in 2014. Pharmabot was a chatbot developed in 2015 to assist in medication education for pediatric patients and their parents, and Mandy was created in 2017 as an automated patient intake process for a primary care practice.19Comendador B. Francisco B. Medenilla J. et al.Pharmabot: a pediatric generic medicine consultant chatbot.J Automat Control Eng. 2015; 3: 137-140Crossref Google Scholar,20Ni L, Lu C, Liu N, et al. MANDY: towards a smart primary care chatbot application. In: Chen J, Theeramunkong T, Supnithi T, Tang X, editors. Knowledge and Systems Sciences. KSS 2017. Communications in Computer and Information Science, Vol 780. Singapore: Springer.Google Scholar DL marked an important advancement in AIM. In contrast to ML, which uses a set number of traits and requires human input, DL can be trained to classify data on its own. Although DL was first studied in the 1950s, its application to medicine was limited by the problem of “overfitting.” Overfitting occurs when ML is too focused on a specific dataset and cannot accurately process new datasets, which can be a result of insufficient computing capacity and lack of training data.21Yang Y.J. Bang C.S. Application of artificial intelligence in gastroenterology.World J Gastroenterol. 2019; 25: 1666-1683Crossref PubMed Scopus (67) Google Scholar These limitations were overcome in the 2000s with the availability of larger datasets and significantly improved computing power. A convolutional neural network (CNN) is a type of DL algorithm applied to image processing that simulates the behavior of interconnected neurons of the human brain. A CNN is made up of several layers that analyze an input image to recognize patterns and create specific filters. The final outcome is produced by the combination of all features by the fully connected layers.5Hoogenboom S.A. Bagci U. Wallace M.B. AI in gastroenterology. The current state of play and the potential. How will it affect our practice and when?.Tech Innov Gastrointest Endosc. 2020; 22: 42-47Abstract Full Text Full Text PDF Scopus (8) Google Scholar,21Yang Y.J. Bang C.S. Application of artificial intelligence in gastroenterology.World J Gastroenterol. 2019; 25: 1666-1683Crossref PubMed Scopus (67) Google Scholar Several CNN algorithms are now available, including Le-NET, AlexNet, VGG, GoogLeNet, and ResNet.22Vinsard D.G. Mori Y. Misawa M. et al.Quality assurance of computer-aided detection and diagnosis in colonoscopy.Gastrointest Endosc. 2019; 90: 55-63Abstract Full Text Full Text PDF PubMed Scopus (57) Google Scholar The application of AI to medical imaging has been suggested to improve accuracy, consistency, and efficiency in reporting. Arterys became the first U.S. Food and Drug Administration–approved clinical cloud-based DL application in health care in 2017. The first Arterys product, CardioAI, was able to analyze cardiac magnetic resonance images in a matter of seconds, providing information such as cardiac ejection fraction. This application has since expanded to include liver and lung imaging, chest and musculoskeletal x-ray images, and noncontrast head CT images.23Arterys: medical imaging cloud AI.https://arterys.com/Date accessed: April 30, 2020Google Scholar DL can be applied to detect lesions, create differential diagnoses, and compose automated medical reports. In 2017, Gargeya and Leng24Gargeya R. Leng T. Automated identification of diabetic retinopathy using deep learning.Ophthalmology. 2017; 124: 962-969Abstract Full Text Full Text PDF PubMed Scopus (496) Google Scholar used DL to screen for diabetic retinopathy, achieving a 94% sensitivity and 98% specificity with 5-fold cross-validation (area under the curve, .97). Similarly, Esteva et al25Esteva A. Kuprel B. Novoa R.A. et al.Dermatologist-level classification of skin cancer with deep neural networks.Nature. 2017; 542: 115-118Crossref PubMed Scopus (54) Google Scholar trained a CNN to identify nonmelanoma and melanoma skin cancers with results indicating CNN performance comparable with experts. Weng et al26Weng S.F. Reps J. Kai J. et al.Can machine-learning improve cardiovascular risk prediction using routine clinical data?.PLoS One. 2017; 12e0174944Crossref PubMed Scopus (429) Google Scholar showed how a CNN can be used to predict cardiovascular risk in a cohort population. AI was shown to improve accuracy in cardiovascular risk prediction compared with the established algorithm defined by the American College of Cardiology guidelines.26Weng S.F. Reps J. Kai J. et al.Can machine-learning improve cardiovascular risk prediction using routine clinical data?.PLoS One. 2017; 12e0174944Crossref PubMed Scopus (429) Google Scholar AI was also applied to reliably predict progression of Alzheimer’s disease by analyzing amyloid imaging data and accurately predicting drug therapy response in this disease.27Mathotaarachchi S. Pascoal T.A. Shin M. et al.Identifying incipient dementia individuals using machine learning and amyloid imaging.Neurobiol Aging. 2017; 59: 80-90Crossref PubMed Scopus (47) Google Scholar,28Fleck D.E. Ernest N. Adler C.M. et al.Prediction of lithium response in first-episode mania using the LITHium Intelligent Agent (LITHIA): pilot data and proof-of-concept.Bipolar Disord. 2017; 19: 259-272Crossref PubMed Scopus (19) Google Scholar The application of AI in gastroenterology has expanded greatly over the last decade. Computer-assisted diagnosis can be applied to colonoscopy to improve the detection of and differentiation between benign versus malignant colon polyps.7Ruffle J.K. Farmer A.D. Aziz Q. Artificial intelligence-assisted gastroenterology—promises and pitfalls.Am J Gastroenterol. 2019; 114: 422-428Crossref PubMed Scopus (47) Google Scholar By using the EUS platform, AI has been used to help differentiate chronic pancreatitis from pancreatic cancer, a common clinical challenge.29Zhu M. Xu C. Yu J. et al.Differentiation of pancreatic cancer and chronic pancreatitis using computer-aided diagnosis of endoscopic ultrasound (EUS) images: a diagnostic test.PLoS One. 2013; 8: e63820Crossref PubMed Scopus (39) Google Scholar,30Cazacu I.M. Udristoiu A. Gruionu L.G. et al.Artificial intelligence in pancreatic cancer: toward precision diagnosis.Endosc Ultrasound. 2019; 8: 357-359Crossref PubMed Scopus (8) Google Scholar DL can also be developed to perform prediction models for prognosis and response to treatment. Several ANNs have been created and tested for diagnosis and prediction models in gastroenterology. In a retrospective study of 150 patients, 45 clinical variables were used to make a diagnosis of GERD with 100% accuracy.31Pace F. Buscema M. Dominici P. et al.Artificial neural networks are able to recognize gastro-oesophageal reflux disease patients solely on the basis of clinical data.Eur J Gastroenterol Hepatol. 2005; 17: 605-610Crossref PubMed Scopus (21) Google Scholar Rotondano et al32Rotondano G. Cipolletta L. Grossi E. et al.Artificial neural networks accurately predict mortality in patients with nonvariceal upper GI bleeding.Gastrointest Endosc. 2011; 73: 218-226Abstract Full Text Full Text PDF PubMed Scopus (42) Google Scholar presented a prospective, multicenter study of 2380 patients in which ANN used 68 clinical variables to predict the mortality in nonvariceal upper GI bleeding with 96.8% accuracy. AI has been used for prognostication of survival in esophageal adenocarcinoma,33Sato F. Shimada Y. Selaru F.M. et al.Prediction of survival in patients with esophageal carcinoma using artificial neural networks.Cancer. 2005; 103: 1596-1605Crossref PubMed Scopus (55) Google Scholar to predict relapse and severity of inflammatory bowel disease,34Peng J.C. Ran Z.H. Shen J. Seasonal variation in onset and relapse of IBD and a model to predict the frequency of onset, relapse, and severity of IBD based on artificial neural network.Int J Colorectal Dis. 2015; 30: 1267-1273Crossref PubMed Scopus (18) Google Scholar and to inform probability of distant metastases in esophageal squamous cell carcinoma, among other similar applications.28Fleck D.E. Ernest N. Adler C.M. et al.Prediction of lithium response in first-episode mania using the LITHium Intelligent Agent (LITHIA): pilot data and proof-of-concept.Bipolar Disord. 2017; 19: 259-272Crossref PubMed Scopus (19) Google Scholar These early studies suggest promise for future application to clinical practice. AI-assisted endoscopy is an evolving field with a promising future. Initial applications included computer-aided diagnosis (CAD) for the detection, differentiation, and characterization of neoplastic and non-neoplastic colon polyps.5Hoogenboom S.A. Bagci U. Wallace M.B. AI in gastroenterology. The current state of play and the potential. How will it affect our practice and when?.Tech Innov Gastrointest Endosc. 2020; 22: 42-47Abstract Full Text Full Text PDF Scopus (8) Google Scholar,35Kudo S.E. Mori Y. Misawa M. et al.Artificial intelligence and colonoscopy: current status and future perspectives.Dig Endosc. 2019; 31: 363-371Crossref PubMed Scopus (57) Google Scholar A recent randomized controlled trial of 1058 patients demonstrated a significant increase in adenoma detection rates with the use of CAD compared with standard colonoscopy (29% vs 20%, P < .001), with an increased detection of diminutive adenomas (185 vs 102, P < .001) and hyperplastic polyps (114 vs 52, P < .001). There was no statistical difference in the detection of larger adenomas.36Wang P. Berzin T.M. Glissen Brown J.R. et al.Real-time automatic detection system increases colonoscopic polyp and adenoma detection rates: a prospective randomised controlled study.Gut. 2019; 68: 1813-1819Crossref PubMed Scopus (264) Google Scholar Optical biopsy sampling of colorectal polyps has also been evaluated by several groups using CAD models on images and videos with narrow-band imaging, chromoendoscopy, and endocystoscopy. The diagnostic accuracy of these models has been reported between 84.5% and 98.5%.5Hoogenboom S.A. Bagci U. Wallace M.B. AI in gastroenterology. The current state of play and the potential. How will it affect our practice and when?.Tech Innov Gastrointest Endosc. 2020; 22: 42-47Abstract Full Text Full Text PDF Scopus (8) Google Scholar A CNN was developed to determine invasiveness of colorectal mass lesions suspected to be cancer where a diagnostic accuracy of 81.2% was achieved.37Ito N. Kawahira H. Nakashima H. et al.Endoscopic diagnostic support system for cT1b colorectal cancer using deep learning.Oncology. 2019; 96: 44-50Crossref PubMed Scopus (28) Google Scholar AI has also been applied to improve imaging in Barrett’s esophagus. de Groof et al38de Groof A.J. Struyvenberg M.R. van der Putten J. et al.Deep-learning system detects neoplasia in patients with Barrett's esophagus with higher accuracy than endoscopists in a multistep training and validation study with benchmarking.Gastroenterology. 2020; 158: 915-929Abstract Full Text Full Text PDF PubMed Scopus (91) Google Scholar recently developed a CAD system that was 90% sensitive and 88% specific (89% accurate) in classifying images as neoplastic or nondysplastic Barrett’s esophagus. The CAD system had higher accuracy than 53 nonexpert endoscopists (88% vs 73%).38de Groof A.J. Struyvenberg M.R. van der Putten J. et al.Deep-learning system detects neoplasia in patients with Barrett's esophagus with higher accuracy than endoscopists in a multistep training and validation study with benchmarking.Gastroenterology. 2020; 158: 915-929Abstract Full Text Full Text PDF PubMed Scopus (91) Google Scholar Similarly, a real-time CAD system was developed and trained using 1480 malignant narrow-band images and 5191 precancerous narrow-band images and was able to differentiate early esophageal squamous cell carcinoma from precancerous lesions with 98% sensitivity and 95% specificity (area under the curve, .989).39Guo L. Xiao X. Wu C. et al.Real-time automated diagnosis of precancerous lesions and early esophageal squamous cell carcinoma using a deep learning model (with videos).Gastrointest Endosc. 2020; 91: 41-51Abstract Full Text Full Text PDF PubMed Scopus (62) Google Scholar CNN-based models have also been applied to detecting small-bowel capsule endoscopy anomalies and gastric cancer.40Ding Z. Shi H. Zhang H. et al.Gastroenterologist-level identification of small-bowel diseases and normal variants by capsule endoscopy using a deep-learning model.Gastroenterology. 2019; 157: 1044-1054Abstract Full Text Full Text PDF PubMed Scopus (92) Google Scholar, 41Leenhardt R. Vasseur P. Li C. et al.A neural network algorithm for detection of GI angiectasia during small-bowel capsule endoscopy.Gastrointest Endosc. 2019; 89: 189-194Abstract Full Text Full Text PDF PubMed Scopus (98) Google Scholar, 42Aoki T. Yamada A. Aoyama K. et al.Automatic detection of erosions and ulcerations in wireless capsule endoscopy images based on a deep convolutional neural network.Gastrointest Endosc. 2019; 89: 357-363Abstract Full Text Full Text PDF PubMed Scopus (117) Google Scholar, 43Klang E. Barash Y. Margalit R.Y. et al.Deep learning algorithms for automated detection of Crohn's disease ulcers by video capsule endoscopy.Gastrointest Endosc. 2020; 91: 606-613Abstract Full Text Full Text PDF PubMed Scopus (59) Google Scholar, 44Hirasawa T. Aoyama K. Tanimoto T. et al.Application of artificial intelligence using a convolutional neural network for detecting gastric cancer in endoscopic images.Gastric Cancer. 2018; 21: 653-660Crossref PubMed Scopus (269) Google Scholar Cazacu et al30Cazacu I.M. Udristoiu A. Gruionu L.G. et al.Artificial intelligence in pancreatic cancer: toward precision diagnosis.Endosc Ultrasound. 2019; 8: 357-359Crossref PubMed Scopus (8) Google Scholar reported using ANNs in conjunction with EUS to assist in differentiating chronic pancreatitis from pancreatic cancer, with a sensitivity of 95% and specificity of 94%. The role of AI in endoscopic practice continues to evolve at a rapid pace and has benefited from the overall technological revolution in the endoscopy and imaging space in recent years. Although much of the technology reported has been proof of concept, 2 systems are approved for use. ENDOANGEL (Wuhan EndoAngel Medical Technology Company, Wuhan, China), a CNN-based system developed in 2019, can provide an objective assessment of bowel preparation every 30 seconds during the withdrawal phase of a colonoscopy, achieving a 91.89% accuracy.45Zhou J. Wu L. Wan X. et al.A novel artificial intelligence system for the assessment of bowel preparation (with video).Gastrointest Endosc. 2020; 91: 428-435Abstract Full Text Full Text PDF PubMed Scopus (37) Google Scholar A recent randomized controlled study used the device to monitor real-time withdrawal speed and colonoscopy withdrawal time and demonstrated significant improvement in adenoma detection rates using ENDOANGEL-assisted colonoscopy versus unassisted colonoscopy (17% vs 8%; odds ratio, 2.18; 95% confidence interval, 1.31-3.62; P = .0026).46Gong D. Wu L. Zhang J. et al.Detection of colorectal adenomas with a real-time computer-aided system (ENDOANGEL): a randomised controlled study.Lancet Gastroenterol Hepatol. 2020; 5: 352-361Abstract Full Text Full Text PDF PubMed Scopus (85) Google Scholar The second system, GI Genius (Medtronic, Minneapolis, Minn, USA), is an AI-enhanced endoscopy aid device developed to identify colorectal polyps by providing a visual marker on a live video feed during endoscopic examination. It is approved for use in Europe and undergoing clinical evaluation in the United States. In a validation study, GI Genius had an overall sensitivity per lesion of 99.7% and detected polyps faster than endoscopists in 82% of cases.47Hassan C. Wallace M.B. Sharma P. et al.New artificial intelligence system: first validation study versus experienced endoscopists for colorectal polyp detection.Gut. 2020; 69: 799-800Crossref PubMed Scopus (48) Google Scholar In a recent randomized controlled trial, Repici et al48Repici A. Badalamenti M. Maselli R. et al.Efficacy of real-time computer-aided detection of colorectal neoplasia in a randomized trial.Gastroenterology. 2020; 159: 512-520Abstract Full Text Full Text PDF PubMed Scopus (96) Google Scholar demonstrated a 14% increase in adenoma detection rates using this CAD system. AI has come a long way from the initial Turing test to its current avatar. As we enter the “roaring twenties,” we are at the dawn of a new era in medicine when AI begins its immersion into daily clinical practice. The potential applications for the role of AI in GI disease currently have no boundaries. These range from improving our diagnostic ability in endoscopy, making endoscopy workflow more efficient, and even helping to more accurately risk stratify patients with common GI conditions such as GI bleeding and neoplasia.