<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "http://dtd.nlm.nih.gov/publishing/2.0/journalpublishing.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="2.0">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JMIR</journal-id>
      <journal-id journal-id-type="nlm-ta">J Med Internet Res</journal-id>
      <journal-title>Journal of Medical Internet Research</journal-title>
      <issn pub-type="epub">1438-8871</issn>
      <publisher>
        <publisher-name>JMIR Publications</publisher-name>
        <publisher-loc>Toronto, Canada</publisher-loc>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="publisher-id">v25i1e50448</article-id>
      <article-id pub-id-type="pmid">37902818</article-id>
      <article-id pub-id-type="doi">10.2196/50448</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Original Paper</subject>
        </subj-group>
        <subj-group subj-group-type="article-type">
          <subject>Original Paper</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Clinical Decision Support System for All Stages of Gastric Carcinogenesis in Real-Time Endoscopy: Model Establishment and Validation Study</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Leung</surname>
            <given-names>Tiffany</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Hu</surname>
            <given-names>Danqing</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Gupta</surname>
            <given-names>Ketan</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author">
          <name name-style="western">
            <surname>Gong</surname>
            <given-names>Eun Jeong</given-names>
          </name>
          <degrees>MD, PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <xref rid="aff3" ref-type="aff">3</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-3996-3472</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Bang</surname>
            <given-names>Chang Seok</given-names>
          </name>
          <degrees>MD, PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <address>
            <institution>Department of Internal Medicine</institution>
            <institution>Hallym University College of Medicine</institution>
            <addr-line>Sakju-ro 77</addr-line>
            <addr-line>Chuncheon, 24253</addr-line>
            <country>Republic of Korea</country>
            <fax>82 332418064</fax>
            <phone>82 1052657810</phone>
            <email>csbang@hallym.ac.kr</email>
          </address>
          <xref rid="aff2" ref-type="aff">2</xref>
          <xref rid="aff3" ref-type="aff">3</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-4908-5431</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author">
          <name name-style="western">
            <surname>Lee</surname>
            <given-names>Jae Jun</given-names>
          </name>
          <degrees>MD, PhD</degrees>
          <xref rid="aff3" ref-type="aff">3</xref>
          <xref rid="aff4" ref-type="aff">4</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-5418-500X</ext-link>
        </contrib>
        <contrib id="contrib4" contrib-type="author">
          <name name-style="western">
            <surname>Jeong</surname>
            <given-names>Hae Min</given-names>
          </name>
          <degrees>MD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-0497-6732</ext-link>
        </contrib>
        <contrib id="contrib5" contrib-type="author">
          <name name-style="western">
            <surname>Baik</surname>
            <given-names>Gwang Ho</given-names>
          </name>
          <degrees>MD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-1419-7484</ext-link>
        </contrib>
        <contrib id="contrib6" contrib-type="author">
          <name name-style="western">
            <surname>Jeong</surname>
            <given-names>Jae Hoon</given-names>
          </name>
          <degrees>MS</degrees>
          <xref rid="aff5" ref-type="aff">5</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-4616-8629</ext-link>
        </contrib>
        <contrib id="contrib7" contrib-type="author">
          <name name-style="western">
            <surname>Dick</surname>
            <given-names>Sigmund</given-names>
          </name>
          <degrees>MS</degrees>
          <xref rid="aff5" ref-type="aff">5</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-6207-5804</ext-link>
        </contrib>
        <contrib id="contrib8" contrib-type="author">
          <name name-style="western">
            <surname>Lee</surname>
            <given-names>Gi Hun</given-names>
          </name>
          <degrees>MS</degrees>
          <xref rid="aff5" ref-type="aff">5</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0009-0007-0298-3580</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>Department of Internal Medicine</institution>
        <institution>Hallym University College of Medicine</institution>
        <addr-line>Chuncheon</addr-line>
        <country>Republic of Korea</country>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <institution>Institute for Liver and Digestive Diseases</institution>
        <institution>Hallym University</institution>
        <addr-line>Chuncheon</addr-line>
        <country>Republic of Korea</country>
      </aff>
      <aff id="aff3">
        <label>3</label>
        <institution>Institute of New Frontier Research</institution>
        <institution>Hallym University College of Medicine</institution>
        <addr-line>Chuncheon</addr-line>
        <country>Republic of Korea</country>
      </aff>
      <aff id="aff4">
        <label>4</label>
        <institution>Department of Anesthesiology</institution>
        <institution>Hallym University College of Medicine</institution>
        <addr-line>Chuncheon</addr-line>
        <country>Republic of Korea</country>
      </aff>
      <aff id="aff5">
        <label>5</label>
        <institution>AIdot</institution>
        <addr-line>Seoul</addr-line>
        <country>Republic of Korea</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: Chang Seok Bang <email>csbang@hallym.ac.kr</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2023</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>30</day>
        <month>10</month>
        <year>2023</year>
      </pub-date>
      <volume>25</volume>
      <elocation-id>e50448</elocation-id>
      <history>
        <date date-type="received">
          <day>30</day>
          <month>6</month>
          <year>2023</year>
        </date>
        <date date-type="rev-request">
          <day>26</day>
          <month>7</month>
          <year>2023</year>
        </date>
        <date date-type="rev-recd">
          <day>27</day>
          <month>7</month>
          <year>2023</year>
        </date>
        <date date-type="accepted">
          <day>12</day>
          <month>10</month>
          <year>2023</year>
        </date>
      </history>
      <copyright-statement>©Eun Jeong Gong, Chang Seok Bang, Jae Jun Lee, Hae Min Jeong, Gwang Ho Baik, Jae Hoon Jeong, Sigmund Dick, Gi Hun Lee. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 30.10.2023.</copyright-statement>
      <copyright-year>2023</copyright-year>
      <license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/">
        <p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research, is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="https://www.jmir.org/2023/1/e50448" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>Our research group previously established a deep-learning–based clinical decision support system (CDSS) for real-time endoscopy-based detection and classification of gastric neoplasms. However, preneoplastic conditions, such as atrophy and intestinal metaplasia (IM) were not taken into account, and there is no established model that classifies all stages of gastric carcinogenesis.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>This study aims to build and validate a CDSS for real-time endoscopy for all stages of gastric carcinogenesis, including atrophy and IM.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>A total of 11,868 endoscopic images were used for training and internal testing. The primary outcomes were lesion classification accuracy (6 classes: advanced gastric cancer, early gastric cancer, dysplasia, atrophy, IM, and normal) and atrophy and IM lesion segmentation rates for the segmentation model. The following tests were carried out to validate the performance of lesion classification accuracy: (1) external testing using 1282 images from another institution and (2) evaluation of the classification accuracy of atrophy and IM in real-world procedures in a prospective manner. To estimate the clinical utility, 2 experienced endoscopists were invited to perform a blind test with the same data set. A CDSS was constructed by combining the established 6-class lesion classification model and the preneoplastic lesion segmentation model with the previously established lesion detection model.</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>The overall lesion classification accuracy (95% CI) was 90.3% (89%-91.6%) in the internal test. For the performance validation, the CDSS achieved 85.3% (83.4%-97.2%) overall accuracy. The per-class external test accuracies for atrophy and IM were 95.3% (92.6%-98%) and 89.3% (85.4%-93.2%), respectively. CDSS-assisted endoscopy showed an accuracy of 92.1% (88.8%-95.4%) for atrophy and 95.5% (92%-99%) for IM in the real-world application of 522 consecutive screening endoscopies. There was no significant difference in the overall accuracy between the invited endoscopists and established CDSS in the prospective real-clinic evaluation (<italic>P</italic>=.23). The CDSS demonstrated a segmentation rate of 93.4% (95% CI 92.4%-94.4%) for atrophy or IM lesion segmentation in the internal testing.</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>The CDSS achieved high performance in terms of computer-aided diagnosis of all stages of gastric carcinogenesis and demonstrated real-world application potential.</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>atrophy</kwd>
        <kwd>intestinal metaplasia</kwd>
        <kwd>metaplasia</kwd>
        <kwd>deep learning</kwd>
        <kwd>endoscopy</kwd>
        <kwd>gastric neoplasms</kwd>
        <kwd>neoplasm</kwd>
        <kwd>neoplasms</kwd>
        <kwd>internal medicine</kwd>
        <kwd>cancer</kwd>
        <kwd>oncology</kwd>
        <kwd>decision support</kwd>
        <kwd>real time</kwd>
        <kwd>gastrointestinal</kwd>
        <kwd>gastric</kwd>
        <kwd>intestinal</kwd>
        <kwd>machine learning</kwd>
        <kwd>clinical decision support system</kwd>
        <kwd>CDSS</kwd>
        <kwd>computer aided</kwd>
        <kwd>diagnosis</kwd>
        <kwd>diagnostic</kwd>
        <kwd>carcinogenesis</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <p><italic>Helicobacter pylori</italic> is involved in and induces the early stages of gastric carcinogenesis, which begin with chronic gastritis and progress to atrophy, intestinal metaplasia (IM), and the development of gastric neoplasms [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref2">2</xref>]. Although <italic>H. pylori</italic> eradication reduces the risk of developing gastric cancer, the risk persists even after eradication, particularly in patients with advanced atrophy or IM in the stomach [<xref ref-type="bibr" rid="ref3">3</xref>,<xref ref-type="bibr" rid="ref4">4</xref>]. The primary goal of screening endoscopy is to detect neoplastic lesions in the stomach. However, preneoplastic conditions, such as atrophy and IM, require regular monitoring to detect developing neoplastic lesions [<xref ref-type="bibr" rid="ref5">5</xref>,<xref ref-type="bibr" rid="ref6">6</xref>]. Evidence for the recommended screening endoscopy time interval is lacking; however, a shorter interval is generally recommended for patients with atrophy or IM compared to those without [<xref ref-type="bibr" rid="ref5">5</xref>-<xref ref-type="bibr" rid="ref7">7</xref>]. Despite the importance of preneoplastic lesions in the stomach, general gastric cancer screening rather than individualized risk stratification has been used in Korea, where the prevalence of gastric cancer is highest [<xref ref-type="bibr" rid="ref7">7</xref>].</p>
      <p>Previously, our research group developed deep-learning–based automatic lesion detection and classification models for gastric neoplasms [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref9">9</xref>]. We improved the performance of these models by combining detection and classification models into a single clinical decision support system (CDSS) [<xref ref-type="bibr" rid="ref10">10</xref>,<xref ref-type="bibr" rid="ref11">11</xref>]. This CDSS was evaluated to see if it could add clinical benefit and show potential for real-world application. However, all of our previous research concentrated on gastric neoplasms, such as dysplasia, early gastric cancer (EGC), and advanced gastric cancer (AGC) [<xref ref-type="bibr" rid="ref8">8</xref>-<xref ref-type="bibr" rid="ref11">11</xref>]. Given that preneoplastic conditions are a risk factor for the development of gastric neoplasms, these lesions require attention as well, and more specific examinations for atrophy or IM are required.</p>
      <p>Deep-learning–based computer-aided diagnosis models have been used in clinical practice, primarily to detect polyps in colonoscopies [<xref ref-type="bibr" rid="ref12">12</xref>]. The most important advantages of these models are that they not only improve clinical performance but also reduce the burden on endoscopists from repetitive procedures and allow for greater concentration of professional activities [<xref ref-type="bibr" rid="ref13">13</xref>]. These models also provide consistent and robust answers to physicians regardless of user fatigue [<xref ref-type="bibr" rid="ref14">14</xref>-<xref ref-type="bibr" rid="ref16">16</xref>]. Our previously established CDSS provided endoscopists with automated lesion detection and automated lesion classification functions [<xref ref-type="bibr" rid="ref11">11</xref>]. The aim of these functions was to supplement the imperfect visual diagnosis by endoscopists and reduce the chances of missing important lesions. The primary advantage of this CDSS was to present robust answers to endoscopists regardless of the quantity of procedures, and the automated lesion detection function reduces the likelihood that significant lesions will be missed during endoscopic screening. All of these functions, however, were primarily focused on neoplastic lesions and neglected the preneoplastic condition.</p>
      <p>Despite the importance of atrophy and IM, these stages were not considered in our previous study. Furthermore, there is no established model that categorizes all stages of gastric carcinogenesis. Models that only identify or diagnose IM and atrophy do not accurately represent real-world practice. As proposed by the Correa hypothesis [<xref ref-type="bibr" rid="ref1">1</xref>], it is not known which patients with chronic gastritis, atrophy, IM, neoplasms, or gastric cancer will be tested in real-world practice. This study aimed to build and validate a CDSS in real-time endoscopy for all stages of gastric carcinogenesis, including atrophy and IM.</p>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Ethical Considerations</title>
        <p>This study was approved by the institutional review board of Hallym University Chuncheon Sacred Heart hospital (approval number: 2022-03-002). This study adhered to the guidelines for developing and reporting machine learning predictive models in biomedical research [<xref ref-type="bibr" rid="ref17">17</xref>].</p>
      </sec>
      <sec>
        <title>General Concept</title>
        <p>This study extends the previous research [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref9">9</xref>] on this topic by constructing a 6-class lesion classification model (<xref rid="figure1" ref-type="fig">Figure 1</xref>) and a preneoplastic lesion segmentation model (<xref rid="figure2" ref-type="fig">Figure 2</xref>). A CDSS was constructed by combining the established 6-class lesion classification model and the preneoplastic lesion segmentation model with the previously established lesion detection model. All images in the training, internal test, and external test data sets were mutually exclusive.</p>
        <fig id="figure1" position="float">
          <label>Figure 1</label>
          <caption>
            <p>Schematic diagram of the establishment of the 6-class lesion classification model.</p>
          </caption>
          <graphic xlink:href="jmir_v25i1e50448_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure2" position="float">
          <label>Figure 2</label>
          <caption>
            <p>Schematic diagram of the establishment of the lesion segmentation model. Upper panels: segmentation of gastric atrophy. Lower panels: segmentation of intestinal metaplasia.</p>
          </caption>
          <graphic xlink:href="jmir_v25i1e50448_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Construction of Data Sets</title>
        <p>We extended the data collection process in order to develop the automated lesion classification and lesion segmentation models. The CDSS was constructed using input images that were collected retrospectively. The detailed data collection procedure was described previously [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref9">9</xref>]. In brief, between 2010 and 2017, we enrolled consecutive patients with any type of gastric neoplasm discovered during upper gastrointestinal endoscopy and pathologically confirmed at the Chuncheon Sacred Heart hospital.</p>
        <p>We enrolled all patients diagnosed with atrophy or IM during upper gastrointestinal endoscopy at Hallym University Chuncheon Sacred Heart hospital between 2019 and 2021 to add preneoplastic conditions to the baseline input data. These images were classified as either atrophy or IM. To reduce interobserver variability and ensure accurate categorization, all enrolled images were cross-checked by 2 expert endoscopists (CSB and EJG). Discordantly categorized images were resolved through discussion. The “normal” category was created using the same procedure as described above but without atrophy or IM. Endoscopic images of patients found to be free of gastric neoplasm, atrophy, or IM during upper gastrointestinal endoscopy at Hallym University Chuncheon Sacred Heart hospital between 2019 and 2021 were collected in JPEG format, with a minimum resolution of 640 x 480 pixels, from the in-hospital database [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref9">9</xref>].</p>
        <p>Finally, 11,868 white-light images were enrolled and randomly divided into training (n=9999) and internal test (n=1869) data sets. <xref ref-type="table" rid="table1">Table 1</xref> describes the detailed distribution of the input images.</p>
        <table-wrap position="float" id="table1">
          <label>Table 1</label>
          <caption>
            <p>Data distribution for the establishment and testing of the clinical decision support system.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="160"/>
            <col width="170"/>
            <col width="160"/>
            <col width="150"/>
            <col width="180"/>
            <col width="180"/>
            <thead>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Whole data set (N=13,150), n (%)</td>
                <td>Training data set (n=9999), n (%)</td>
                <td>Internal testing data set (n=1869), n (%)</td>
                <td>External testing data set (n=1282), n (%)</td>
                <td>Prospective real-clinic evaluation data set (n=522), n (%)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Advanced gastric cancer</td>
                <td>840 (6.4)</td>
                <td>524 (5.2)</td>
                <td>130 (7)</td>
                <td>186 (14.5)</td>
                <td>3 (0.6)</td>
              </tr>
              <tr valign="top">
                <td>Early gastric cancer</td>
                <td>1257 (9.6)</td>
                <td>842 (8.4)</td>
                <td>225 (12)</td>
                <td>190 (14.8)</td>
                <td>4 (0.8)</td>
              </tr>
              <tr valign="top">
                <td>Dysplasia</td>
                <td>1115 (8.5)</td>
                <td>735 (7.4)</td>
                <td>197 (10.5)</td>
                <td>183 (14.3)</td>
                <td>8 (1.5)</td>
              </tr>
              <tr valign="top">
                <td>Atrophy</td>
                <td>2846 (21.6)</td>
                <td>2228 (22.3)</td>
                <td>375 (20.1)</td>
                <td>243 (19)</td>
                <td>252 (48.3)</td>
              </tr>
              <tr valign="top">
                <td>Intestinal metaplasia</td>
                <td>3857 (29.3)</td>
                <td>3106 (31.1)</td>
                <td>516 (27.6)</td>
                <td>235 (18.3)</td>
                <td>134 (25.7)</td>
              </tr>
              <tr valign="top">
                <td>Normal</td>
                <td>3235 (24.6)</td>
                <td>2564 (25.6)</td>
                <td>426 (22.8)</td>
                <td>245 (19.1)</td>
                <td>121 (23.2)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec>
        <title>Training Data Set Preparation</title>
        <p>Endoscopic still-cut images contain “noise” information, such as the date of the examination and the patient’s name, age, gender, or identification number. The semantic segmentation of the input images can remove this noise information from the images and improve the training efficacy in the establishment of deep-learning models. For the preprocessing of the included images, we used a modified U-Net++ [<xref ref-type="bibr" rid="ref18">18</xref>] convolutional neural network model (an edge-smoothing algorithm was added in the U-Net++, and the backbone convolutional neural network was Densenet121), as previously described [<xref ref-type="bibr" rid="ref11">11</xref>]. Data augmentation methods were used, including rotation (–10° to +10°), horizontal or vertical flipping of included images, and image normalization with linear transformation in terms of the red, green, and blue channels [<xref ref-type="bibr" rid="ref11">11</xref>].</p>
      </sec>
      <sec>
        <title>Deep-Learning Model Construction</title>
        <p>All deep-learning models were built with Python (version 3.10; Python Software Foundation) and the SQLite 3.41.2 database management system (SQLite). The convolutional neural network models were implemented using the TensorFlow framework [<xref ref-type="bibr" rid="ref19">19</xref>]. EfficientNet-B3 [<xref ref-type="bibr" rid="ref20">20</xref>] was used to create the 6-class lesion classification model, while UNet++ with EfficientNet-B3 was used to create the lesion segmentation model. Additionally, 4 RTX 3090ti graphics processing units (MSI), AMD Ryzen Threadripper PRO 5975WX 32-Core central processing units, and 512 GB RAM (Samsung) were included in the training system.</p>
      </sec>
      <sec>
        <title>Development of the CDSS</title>
        <p>In order to maintain a seamless evaluation of the gastric mucosa without interfering with the endoscopic inspection, as previously explained, the CDSS was designed to give endoscopists additional information [<xref ref-type="bibr" rid="ref11">11</xref>]. The primary deep-learning server and local computer system were first built independently. We linked the primary endoscopic system to a local computer with an additional display. The endoscope monitor image was entered into this local computer system, which then executed real-time detection tasks, asked the deep-learning server to classify the freeze images (called the motion freeze function), and displayed the results. The segmentation results were shown on the monitor after the atrophy or IM was identified and classified. The user interface for the established CDSS is described in <xref rid="figure3" ref-type="fig">Figure 3</xref>.</p>
        <fig id="figure3" position="float">
          <label>Figure 3</label>
          <caption>
            <p>The established clinical decision support system's user interface. AG: atrophic gastritis; AGC: advanced gastric cancer; EGC(M): mucosa-confined early gastric cancer; EGC(SM): submucosa-invaded early gastric cancer; HGD: high-grade dysplasia; IM: intestinal metaplasia; LGD: low-grade dysplasia.</p>
          </caption>
          <graphic xlink:href="jmir_v25i1e50448_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <p>This study used a previously established lesion detection model [<xref ref-type="bibr" rid="ref11">11</xref>]. Briefly, YOLOv3 [<xref ref-type="bibr" rid="ref21">21</xref>], which was modified with EfficientNet-B0 structure, was implemented for the establishment of the model, and 2653 white-light images were enrolled for the training data set [<xref ref-type="bibr" rid="ref11">11</xref>]. The detection model immediately transfers the detected gastric lesions to the classification model, where they are automatically classified into 6 classes (histologic diagnosis). When the CDSS detects a lesion, the frame containing the lesion is automatically examined by the classification model, yielding findings for 6 classes. The segmentation results are shown on the monitor after the atrophy or IM has been identified and classified (the detected and classified atrophy and IM are the input data of the segmentation model; <xref rid="figure4" ref-type="fig">Figure 4</xref>) The CDSS analyzes the dependency of successive frames (calculating the difference of brightness and contrast in successive frames) in order to detect the doctor’s intention (motion freeze function). The mean response time was 0.3 seconds between the classification request and the display of the findings on the monitor.</p>
        <fig id="figure4" position="float">
          <label>Figure 4</label>
          <caption>
            <p>Schematic diagram of the establishment of clinical decision support system.</p>
          </caption>
          <graphic xlink:href="jmir_v25i1e50448_fig4.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <p>The video frame is encrypted and transferred with Academy Research Institute Agency encryption, which is a common cryptographic method by the Korean Agency for Technology and Standards used when a local computer requests a classification task from the main server to ensure anonymization. In order to prevent leakage and forgery or modification, medical information is also communicated between the deep-learning server and the local computer using the HTTP secure communication protocol and the secure sockets layer security protocol.</p>
      </sec>
      <sec>
        <title>Primary Study Outcomes</title>
        <p>The primary outcomes included the classification model’s lesion classification accuracy (6 classes: AGC, EGC, dysplasia, atrophy, IM, and normal) and atrophy and IM lesion segmentation rates for the segmentation model. Diagnostic accuracy was defined as true positive + true negative / (true positive + false positive + true negative + false negative). Mean intersection over union (IoU) was defined as (<italic>A</italic>∩<italic>B</italic>) / (<italic>A</italic>∪<italic>B</italic>), and mean dice coefficient (F1 score) was defined as (2 × &#124;<italic>A</italic>∩<italic>B</italic>&#124;) / (&#124;<italic>A</italic>&#124;+&#124;<italic>B</italic>&#124;), where <italic>A</italic> signifies the predicted set of pixels (predicted segmentation map) and <italic>B</italic> is the ground truth of the object to be found in the image. Segmentation rate was defined as true positive / (true positive + false negative). For a positive image, true positive was defined as an IoU of the artificial intelligence (AI) prediction result mask greater than the threshold (0.5) and false negative was defined as an IoU of the AI prediction result mask less than the threshold (0.5).</p>
      </sec>
      <sec>
        <title>Performance Validation of the Established CDSS</title>
        <p>To validate the performance of lesion classification accuracy, the following tests were performed (<xref ref-type="table" rid="table1">Table 1</xref>):</p>
        <list list-type="order">
          <list-item>
            <p>An external test using 1282 images from another institution: External test set images were collected from consecutive patients who underwent upper gastrointestinal endoscopy at the Gangneung Asan Hospital from 2018 to 2020.</p>
          </list-item>
          <list-item>
            <p>Prospective evaluation of the classification accuracy of atrophy and IM in real-world procedures: Between January 2023 and March 2023, 522 consecutive screening endoscopy examinations were evaluated to measure the diagnostic accuracy of CDSS-assisted screening endoscopy for the diagnosis of gastric atrophy and IM in real-world applications. The expert endoscopist (CSB) performed all endoscopic examinations, and the diagnostic accuracy rate for gastric atrophy and IM was measured.</p>
          </list-item>
        </list>
        <p>To estimate the clinical utility of the CDSS, 2 additional experienced endoscopists were invited to perform a blind test with the same data set. To compare the diagnostic performances of the CDSS and endoscopists, we performed Fisher exact tests. In this study, a <italic>P</italic> value &#60;.05 (2-tailed) was adopted as the threshold of statistical significance. The analyses were performed using SPSS version 24.0 (SPSS).</p>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Characteristics of the Data Set</title>
        <p>A total of 13,150 endoscopic still-cut images were included in the study, comprising the training data set (n=9999), the internal test data set (n=1869), and the external test data set (n=1282). Of the images included in the training and internal test data sets (n=11,868), those with IM made up the largest proportion (n=3622; 30.5%), followed by normal (n=2990; 25.2%), atrophy (n=2603; 21.9%), EGC (n=1067; 9%), dysplasia (n=932; 7.9%), and AGC (n=654; 5.5%) images.</p>
        <p>For the external data set, which comprised 1282 images collected from another institution, the proportion of normal images was the largest at 19.1% (n=245), followed by atrophy images (n=243; 19%), IM images (n=235; 18.3%), EGC images (n=190; 14.8%), AGC images (n=186; 14.5%), and dysplasia images (n=183; 14.3%). These proportions reflect the distinctive characteristics of the institution from which the images were collected.</p>
        <p>A total of 522 consecutive screening endoscopy images were enrolled for prospective real-clinic evaluation of the established CDSS. The proportion of images with atrophy was the largest (n=252; 48.3%), followed by those with IM (n=134; 25.7%), dysplasia (n=8; 1.5%), EGC (n=4; 0.8%), and AGC (n=3; 0.6%). Details of the quantity of images and the distribution of categories are presented in <xref ref-type="table" rid="table1">Table 1</xref>.</p>
      </sec>
      <sec>
        <title>Internal Test Performance of CDSS Classification Accuracy</title>
        <p><xref ref-type="supplementary-material" rid="app1">Multimedia Appendices 1</xref> and <xref ref-type="supplementary-material" rid="app2">2</xref> describe the schematic framework of the established lesion classification and lesion segmentation models. The overall 6-class lesion classification accuracy (95% CI) in the internal test data set of the classification models was 90.3% (89%-91.6%). The accuracy for each category was as follows: atrophy was 96.5% (94.9%-98.1%), IM was 90.4% (87.4%-93.4%), EGC was 78.2% (72.8%-83.6%), AGC was 86.2% (80.3%-92.1%), dysplasia was 75.6% (69.6%-81.6%), and normal was 97% (95.4%-98.6%). The detailed classification performance of the established CDSS is described in <xref ref-type="table" rid="table2">Tables 2</xref> and <xref ref-type="table" rid="table3">3</xref>, and a confusion matrix for the internal test classification performance is presented in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>. The detailed hyperparameter information for the established lesion classification model was as follows: weight initialization with ImageNet; augmentation, horizontal/vertical flip, rotate (−10° to +10°); input size, 300 x 300; batch size, 32; learning rate, 1 × 10<sup>-04</sup>; epoch, 100; dropout, 0.2; optimizer, SGD; loss function, cross-entropy loss; and learning rate scheduler, cosine decay.</p>
        <table-wrap position="float" id="table2">
          <label>Table 2</label>
          <caption>
            <p>Summary of the accuracy of internal and external test classifications by the established clinical decision support system.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="270"/>
            <col width="260"/>
            <col width="250"/>
            <col width="220"/>
            <thead>
              <tr valign="top">
                <td>Class</td>
                <td>Internal test data set (n=1869), % (95% CI)</td>
                <td>External test data set (n=1282), % (95% CI)</td>
                <td>Prospective real-clinic evaluation data set (n=522), % (95% CI)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Overall</td>
                <td>90.3 (89-91.6)</td>
                <td>85.3 (83.4-97.2)</td>
                <td>89.3 (86.6-92)</td>
              </tr>
              <tr valign="top">
                <td>Advanced gastric cancer</td>
                <td>86.2 (80.3-92.1)</td>
                <td>82.8 (77.4-88.2)</td>
                <td>100 (100-100)</td>
              </tr>
              <tr valign="top">
                <td>Early gastric cancer</td>
                <td>78.2 (72.8-83.6)</td>
                <td>76.3 (70.3-82.3)</td>
                <td>50 (1-99)</td>
              </tr>
              <tr valign="top">
                <td>Dysplasia</td>
                <td>75.6 (69.6-81.6)</td>
                <td>74.9 (68.6-81.2)</td>
                <td>75 (45-100)</td>
              </tr>
              <tr valign="top">
                <td>Atrophy</td>
                <td>96.5 (94.9-98.1)</td>
                <td>95.3 (92.6-98)</td>
                <td>92.1 (88.8-95.4)</td>
              </tr>
              <tr valign="top">
                <td>Intestinal metaplasia</td>
                <td>90.4 (87.4-93.4)</td>
                <td>89.3 (85.4-93.2)</td>
                <td>95.5 (92-99)</td>
              </tr>
              <tr valign="top">
                <td>Normal</td>
                <td>97 (95.4-98.6)</td>
                <td>88.2 (84.2-92.2)</td>
                <td>78.5 (71.2-85.8)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <table-wrap position="float" id="table3">
          <label>Table 3</label>
          <caption>
            <p>Summary of the per-class classification performance of the established clinical decision support system for the internal and external test data sets.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="340"/>
            <col width="170"/>
            <col width="160"/>
            <col width="150"/>
            <col width="150"/>
            <thead>
              <tr valign="top">
                <td colspan="2">
                  <break/>
                </td>
                <td>Accuracy</td>
                <td>Precision</td>
                <td>Recall</td>
                <td>F1 score</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="6">
                  <bold>Internal test data set, % (95% CI)</bold>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Advanced gastric cancer</td>
                <td>86.2 (80.3-92.1)</td>
                <td>88.9 (83.5-94.3)</td>
                <td>86.2 (80.3-92.1)</td>
                <td>87.5 (81.8-93.2)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Early gastric cancer</td>
                <td>78.2 (72.8-83.6)</td>
                <td>81.1 (76-86.2)</td>
                <td>78.2 (72.8-83.6)</td>
                <td>79.6 (74.3-84.9)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Dysplasia</td>
                <td>75.6 (69.6-81.6)</td>
                <td>70.6 (64.2-77)</td>
                <td>75.6 (69.6-81.6)</td>
                <td>73.0 (66.8-79.2)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Atrophy</td>
                <td>96.5 (94.9-98.1)</td>
                <td>94.1 (91.7-96.5)</td>
                <td>96.5 (94.6-98.4)</td>
                <td>95.3 (93.2-97.4)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Intestinal metaplasia</td>
                <td>90.4 (87.4-93.4)</td>
                <td>91.4 (89-93.8)</td>
                <td>90.4 (87.4-93.4)</td>
                <td>90.9 (88.4-93.4)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Normal</td>
                <td>97 (95.4-98.6)</td>
                <td>99.5 (98.8-99.9)</td>
                <td>97 (95.4-98.6)</td>
                <td>98.2 (96.9-99.5)</td>
              </tr>
              <tr valign="top">
                <td colspan="6">
                  <bold>External test data set, % (95% CI)</bold>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Advanced gastric cancer</td>
                <td>82.8 (77.4-88.2)</td>
                <td>95.7 (92.8-98.6)</td>
                <td>82.8 (77.4-88.2)</td>
                <td>88.8 (84.3-93.3)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Early gastric cancer</td>
                <td>76.3 (70.3-82.3)</td>
                <td>81.9 (76.4-87.4)</td>
                <td>76.3 (70.3-82.3)</td>
                <td>79 (73.2-84.8)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Dysplasia</td>
                <td>74.9 (68.6-81.2)</td>
                <td>76.5 (70.4-82.6)</td>
                <td>74.9 (68.6-81.2)</td>
                <td>75.7 (69.5-81.9)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Atrophy</td>
                <td>95.3 (92.6-98.0)</td>
                <td>80.9 (76-85.8)</td>
                <td>95.3 (92.6-98)</td>
                <td>87.5 (83.3-91.7)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Intestinal metaplasia</td>
                <td>89.3 (85.4-93.2)</td>
                <td>85.8 (81.3-90.3)</td>
                <td>89.3 (85.3-93.3)</td>
                <td>87.5 (83.3-91.7)</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Normal</td>
                <td>88.2 (84.2-92.2)</td>
                <td>91.9 (88.5-95.4)</td>
                <td>88.2 (84.2-92.2)</td>
                <td>90 (86.2-93.8)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>In terms of the lesion segmentation rate, the CDSS demonstrated a segmentation rate of 93.4% (95% CI 92.4%-94.4%) for atrophy or IM lesion segmentation in the internal test data set (<xref ref-type="table" rid="table4">Table 4</xref>). <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref> shows the representative segmentation results of atrophy and IM locations that correspond to the ground truth area. The detailed hyperparameter information for the established lesion segmentation model was as follows: weight initialization with ImageNet; augmentation, horizontal/vertical flip, rotate (−10° to +10°); input size, 352 x 352; batch size, 16; learning rate, 1 × 10<sup>-04</sup>; epoch, 100; dropout, 0.2; optimizer, Adam; loss function, binary cross-entropy + IoU; and weight decay, 1 × 10<sup>-04</sup>.</p>
        <table-wrap position="float" id="table4">
          <label>Table 4</label>
          <caption>
            <p>Summary of the segmentation performance of the established clinical decision support system.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="140"/>
            <col width="120"/>
            <col width="90"/>
            <col width="90"/>
            <col width="120"/>
            <col width="90"/>
            <col width="90"/>
            <col width="260"/>
            <thead>
              <tr valign="bottom">
                <td>
                  <break/>
                </td>
                <td colspan="3">IoU<sup>a</sup> (%), mean (SD)</td>
                <td colspan="3">Dice (%), mean (SD)</td>
                <td>Segmentation rate, % (95% CI)</td>
              </tr>
              <tr valign="bottom">
                <td>
                  <break/>
                </td>
                <td>Atrophy</td>
                <td>IM<sup>b</sup></td>
                <td>Total</td>
                <td>Atrophy</td>
                <td>IM</td>
                <td>Total</td>
                <td>
                  <break/>
                </td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Validation</td>
                <td>79.2 (1.6)</td>
                <td>66.6 (1.9)</td>
                <td>75 (1.7)</td>
                <td>87.6 (1.1)</td>
                <td>77.7 (1.8)</td>
                <td>84.7 (1.4)</td>
                <td>93.4 (92.4-94.4)</td>
              </tr>
              <tr valign="top">
                <td>Internal test</td>
                <td>79.4 (1.5)</td>
                <td>67.6 (1.9)</td>
                <td>75.3 (1.7)</td>
                <td>87.8 (1.0)</td>
                <td>78.7 (1.7)</td>
                <td>84.9 (1.3)</td>
                <td>93.4 (92.4-94.4)</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table4fn1">
              <p><sup>a</sup>IoU: intersection over union.</p>
            </fn>
            <fn id="table4fn2">
              <p><sup>b</sup>IM: intestinal metaplasia.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
      </sec>
      <sec>
        <title>Performance Validation for the 6-Class Lesion Classification Model</title>
        <p>For performance validation with the external test data set, the CDSS achieved an overall accuracy (95% CI) of 85.3% (83.4%-97.2%). The accuracy for each category was as follows: atrophy was 95.3% (92.6%-98%), IM was 89.3% (85.4%-93.2%), EGC was 76.3% (70.3%-82.3%), AGC was 82.8% (77.4%-88.2%), dysplasia was 74.9% (68.6%-81.2%), and normal was 88.2% (84.2%-92.2%). The detailed performance of the established CDSS is described in <xref ref-type="table" rid="table2">Table 2</xref>, and a confusion matrix for the external test performance is presented in <xref ref-type="supplementary-material" rid="app5">Multimedia Appendix 5</xref>.</p>
        <p>For performance validation with the prospective real-clinic evaluation data set, the CDSS achieved an overall accuracy of 89.3% (86.6%-92%). The accuracy for each category was as follows: atrophy was 92.1% (88.8%-95.4%), IM was 95.5% (92%-99%), EGC was 50% (1%-99%), AGC was 100% (100%-100%), dysplasia was 75% (45%-100%), and normal was 78.5% (71.2%-85.8%). The detailed performance of the established CDSS is described in <xref ref-type="table" rid="table2">Table 2</xref><bold>,</bold> and a confusion matrix for the prospective real-clinic evaluation performance is presented in <xref ref-type="supplementary-material" rid="app6">Multimedia Appendix 6</xref>.</p>
        <p>To estimate the clinical utility of the CDSS, 2 experienced endoscopists (HMJ and GHB) were invited to perform a blind test with the same data set. For the first endoscopist, the overall accuracy was 87.5% (84.7%-90.3%), and the accuracy for each category was as follows: atrophy was 86.1% (81.8%-90.4%), IM was 80.6% (73.9%-87.3%), EGC was 75% (32.6%-99%), AGC was 100% (100%-100%), dysplasia was 62.5% (29%-96%), and normal was 100% (100%-100%). For the second endoscopist, the overall accuracy was 90.8% (88.3%-93.3%), and the accuracy for each category was as follows: atrophy was 91.3% (87.8%-94.9%), IM was 84.4% (73.9%-94.8%), EGC was 100% (100%-100%), AGC was 100% (100%-100%), dysplasia was 87.5% (64.6%-100%), and normal was 90.9% (85.8%-96%). The Cohen κ for the interrater reliability between the 2 endoscopists was 0.83. There was no significant difference in the overall accuracy between the invited endoscopists and the established CDSS in the prospective real-clinic evaluation data set (<italic>P</italic>=.23).</p>
      </sec>
      <sec>
        <title>Representative Examples of the CDSS for Real-Clinic Application</title>
        <p><xref ref-type="supplementary-material" rid="app7">Multimedia Appendix 7</xref> shows representative examples of the CDSS for the classification and segmentation of gastric atrophy and IM. The established CDSS detected, classified, and segmented gastric atrophy and IM on the angle and lesser curvature sides of the body. A small subepithelial tumor was detected and correctly classified as normal.</p>
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Principal Findings</title>
        <p>This study established a CDSS that accurately classifies all stages of gastric carcinogenesis and confirmed that the diagnostic accuracy of 6 classes is potentially accurate for real-world clinical applications. Our research group previously established a classification model with 4 or 5 classes for the diagnosis of detected lesions during upper gastrointestinal endoscopy [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref11">11</xref>]. Normal, dysplasia (low-grade or high-grade), EGC, and AGC were the diagnostic categories. However, preneoplastic conditions, such as gastric atrophy and IM, are important categories in which hidden neoplastic lesions or potential lesions for the development of neoplastic lesions are implicated. Our previously established CDSS did not include these categories and considered them to be normal [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref11">11</xref>]. In general, as the number of target classification categories increases, classification accuracy decreases. However, when compared to our other models, our established CDSS performed similarly or even better in terms of diagnostic performance. This is most likely due to an increase in the number of training data images.</p>
      </sec>
      <sec>
        <title>Comparison to Prior Work</title>
        <p>The presence of external validation is one of the strengths of this study. Even the majority of US Food and Drug Administration–approved medical AI models lack external validation, which ensures the established model’s generalizability [<xref ref-type="bibr" rid="ref22">22</xref>]. The majority of currently established models are trained on data from their own institution. As a result, internal test performance is good; however, external test performance suffers due to the “data set shift” phenomenon (differences in data settings, patient characteristics, and so on) [<xref ref-type="bibr" rid="ref14">14</xref>-<xref ref-type="bibr" rid="ref17">17</xref>,<xref ref-type="bibr" rid="ref22">22</xref>]. Our established model also demonstrated lower external test performance when compared to internal test performance; however, the magnitude of the performance decrease was minor, and external test accuracy was still high enough to potentially be used in real-clinic applications.</p>
        <p>We also performed prospective real-clinic application performance validation to decrease the gap between theory and practice. When compared to the training data set, real-world clinical practice has distinct characteristics. For the training data set, we included an even number of images in each category; this was because class distribution influences the overall performance of the established model [<xref ref-type="bibr" rid="ref16">16</xref>]. The inclusion of a class with an insufficient number of images negatively impacts the performance for that class and the established model as a whole; this is known as spectrum bias [<xref ref-type="bibr" rid="ref14">14</xref>-<xref ref-type="bibr" rid="ref16">16</xref>]. However, clinical practice differs. The majority of screening endoscopies are classified as “normal,” with only a small number of patients being diagnosed with neoplastic conditions. As a result, neoplastic lesion–focused AI diagnosis models may be clinically ineffective. The current CDSS was developed using the previously established 4-class diagnosis model of gastric neoplasms [<xref ref-type="bibr" rid="ref11">11</xref>]. We added the ability to make more precise diagnoses of preneoplastic or nonneoplastic conditions. As a result, the current CDSS may be useful in real-world applications. Prospective real-clinic application performance revealed potentially high accuracy not only for gastric atrophy and IM lesions, but also overall accuracy. There was also no significant difference in the overall accuracy between the experienced endoscopists and the established CDSS.</p>
        <p>Target conditions and training data sets distinguish our established CDSS from previously reported models. Guimarães et al [<xref ref-type="bibr" rid="ref23">23</xref>] created an atrophy detection model that outperformed expert endoscopists with 93% accuracy in an independent data set. Zhang et al [<xref ref-type="bibr" rid="ref24">24</xref>] also developed a lesion detection model for gastric atrophy that was 94% accurate. Zhao and Chi [<xref ref-type="bibr" rid="ref25">25</xref>] also developed a gastric atrophy lesion detection model and demonstrated that using this model improved gastric atrophy diagnosis rates when compared to not using the model. Luo et al [<xref ref-type="bibr" rid="ref26">26</xref>] created a lesion detection model for gastric atrophy that outperformed endoscopists in detection performance. However, the utility of this type of data set in real-world clinical practice is limited. These studies generated a training data set that included only atrophy and no atrophy categories. The categories of gastric cancer, normal, and IM were not considered in these studies. Because they only allow for discrimination between atrophy versus no atrophy, the clinical utility of these models is limited. Siripoppohn et al [<xref ref-type="bibr" rid="ref27">27</xref>] developed a real-time semantic segmentation model for IM; despite its excellent diagnostic performance, only IM could be segmented in real time.</p>
      </sec>
      <sec>
        <title>Strengths</title>
        <p>Various conditions are included in the “normal” category of upper gastrointestinal endoscopy, which excludes neoplastic lesions. It is common to have gastritis without atrophy or IM. These include mucosal edema or exudates, hemorrhagic spots, erosions, hyperemic mucosa, and other conditions. On the other hand, there are also more complicated benign conditions, such as benign ulcers or ulcer scars, subepithelial tumors, xanthomas, nonneoplastic polyps (eg, fundic gland or hyperplastic polyps), or angiodysplasias. To complement the endoscopic inspection without interfering with the operator’s examination, our CDSS was established. This CDSS detects stomach lesions automatically and provides additional information (histologic prediction) via an alarm sound and a lesion detection box. The effect of this system varies depending on the level of expertise of the endoscopist, and previous research has shown that endoscopists with a certain level of expertise benefit the most from this CDSS [<xref ref-type="bibr" rid="ref10">10</xref>].</p>
      </sec>
      <sec>
        <title>Future Directions</title>
        <p>Multimodal AI foundation models, including large language models, are becoming more popular. This type of model may perform a more sophisticated practice involving decision making. Using these models, it would be possible to create a multimodal CDSS capable of not only supplementing endoscopic examinations but also writing endoscopic reports and providing personalized explanations or recommendations [<xref ref-type="bibr" rid="ref22">22</xref>]. CDSS detection and classification of all gastric lesions, including benign conditions, may not be required for expert endoscopists; however, trainee or novice endoscopists may require the assistance of this CDSS to ensure a consistent level of performance for the detection or classification of lesions during endoscopic examination. Creating such complex models would be possible with the help of multimodal foundation AI models.</p>
      </sec>
      <sec>
        <title>Limitations</title>
        <p>Despite the benefits of our established CDSS, an inherent flaw arising from the study design and retrospectively collected data was discovered in this study. The training data set was obtained from a single institution, which may indicate a bias in selection or spectrum. Because of the unique characteristics of each institution’s patients, medical AI models developed from a single institution typically have limitations for widespread implementation, highlighting the importance of external testing. To compensate for this flaw, we used rigorous prospective validations using images from another institution. In addition, we validated the clinical utility through prospective real-clinic application validation.</p>
        <p>In conclusion, the CDSS demonstrated high performance in terms of computer-aided diagnosis of all stages of gastric carcinogenesis and demonstrated real-world application potential.</p>
      </sec>
    </sec>
  </body>
  <back>
    <app-group>
      <supplementary-material id="app1">
        <label>Multimedia Appendix 1</label>
        <p>Structure of the established lesion classification model (1). FC: fully connected layer; MBConv: mobile inverted bottleneck convolution.</p>
        <media xlink:href="jmir_v25i1e50448_app1.png" xlink:title="PNG File , 173 KB"/>
      </supplementary-material>
      <supplementary-material id="app2">
        <label>Multimedia Appendix 2</label>
        <p>Structure of the established lesion classification model (2). FC: fully connected layer; MBConv: mobile inverted bottleneck convolution; SE: squared exponential.</p>
        <media xlink:href="jmir_v25i1e50448_app2.png" xlink:title="PNG File , 169 KB"/>
      </supplementary-material>
      <supplementary-material id="app3">
        <label>Multimedia Appendix 3</label>
        <p>Confusion matrix for the internal test classification performance. AGC: advanced gastric cancer; EGC: early gastric cancer; IM, intestinal metaplasia.</p>
        <media xlink:href="jmir_v25i1e50448_app3.png" xlink:title="PNG File , 66 KB"/>
      </supplementary-material>
      <supplementary-material id="app4">
        <label>Multimedia Appendix 4</label>
        <p>Representative segmentation results of atrophy and IM locations that correspond to the ground truth area (original image vs model prediction vs ground truth).</p>
        <media xlink:href="jmir_v25i1e50448_app4.png" xlink:title="PNG File , 3178 KB"/>
      </supplementary-material>
      <supplementary-material id="app5">
        <label>Multimedia Appendix 5</label>
        <p>Confusion matrix for the external test classification performance. AGC: advanced gastric cancer; EGC: early gastric cancer; IM: intestinal metaplasia.</p>
        <media xlink:href="jmir_v25i1e50448_app5.png" xlink:title="PNG File , 66 KB"/>
      </supplementary-material>
      <supplementary-material id="app6">
        <label>Multimedia Appendix 6</label>
        <p>Confusion matrix for the prospective real-clinic evaluation performance. AGC: advanced gastric cancer; EGC: early gastric cancer; IM: intestinal metaplasia.</p>
        <media xlink:href="jmir_v25i1e50448_app6.png" xlink:title="PNG File , 57 KB"/>
      </supplementary-material>
      <supplementary-material id="app7">
        <label>Multimedia Appendix 7</label>
        <p>Representative examples of the use of the clinical decision support system for the classification and segmentation of gastric atrophy and intestinal metaplasia.</p>
        <media xlink:href="jmir_v25i1e50448_app7.mp4" xlink:title="MP4 File  (MP4 Video), 21042 KB"/>
      </supplementary-material>
    </app-group>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">AGC</term>
          <def>
            <p>advanced gastric cancer</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">CDSS</term>
          <def>
            <p>clinical decision support system</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">EGC</term>
          <def>
            <p>early gastric cancer</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">IM</term>
          <def>
            <p>intestinal metaplasia</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">IoU</term>
          <def>
            <p>intersection over union</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>This research was supported by the Bio &#38; Medical Technology Development Program of the National Research Foundation funded by the Korean government, Ministry of Science and ICT (grants RS-2023-00223501 and 2022M3E8A1078251).</p>
    </ack>
    <notes>
      <sec>
        <title>Data Availability</title>
        <p>All the data are accessible and available from the corresponding author upon request.</p>
      </sec>
    </notes>
    <fn-group>
      <fn fn-type="con">
        <p>CSB conceptualized and supervised the study, designed the methodology, acquired funding, and reviewed and edited the manuscript. EJG, CSB, and JJL curated the data, performed the formal analysis, and led the investigation. HMJ and GHB provided expert assessments for the investigation. EJG, CSB, JJL, JHJ, SD, and GHL acquired resources. EJG wrote the manuscript.</p>
      </fn>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Correa</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Piazuelo</surname>
              <given-names>MB</given-names>
            </name>
          </person-group>
          <article-title>The gastric precancerous cascade</article-title>
          <source>J Dig Dis</source>
          <year>2012</year>
          <month>01</month>
          <volume>13</volume>
          <issue>1</issue>
          <fpage>2</fpage>
          <lpage>9</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/22188910"/>
          </comment>
          <pub-id pub-id-type="doi">10.1111/j.1751-2980.2011.00550.x</pub-id>
          <pub-id pub-id-type="medline">22188910</pub-id>
          <pub-id pub-id-type="pmcid">PMC3404600</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref2">
        <label>2</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>CS</given-names>
            </name>
            <name name-style="western">
              <surname>Baik</surname>
              <given-names>GH</given-names>
            </name>
          </person-group>
          <article-title>Attempts to enhance the eradication rate of Helicobacter pylori infection</article-title>
          <source>World J Gastroenterol</source>
          <year>2014</year>
          <month>05</month>
          <day>14</day>
          <volume>20</volume>
          <issue>18</issue>
          <fpage>5252</fpage>
          <lpage>5262</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.wjgnet.com/1007-9327/full/v20/i18/5252.htm"/>
          </comment>
          <pub-id pub-id-type="doi">10.3748/wjg.v20.i18.5252</pub-id>
          <pub-id pub-id-type="medline">24833855</pub-id>
          <pub-id pub-id-type="pmcid">PMC4017040</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref3">
        <label>3</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Malfertheiner</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Megraud</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Rokkas</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Gisbert</surname>
              <given-names>JP</given-names>
            </name>
            <name name-style="western">
              <surname>Liou</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Schulz</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Gasbarrini</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Hunt</surname>
              <given-names>RH</given-names>
            </name>
            <name name-style="western">
              <surname>Leja</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>O'Morain</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Rugge</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Suerbaum</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Tilg</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Sugano</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>El-Omar</surname>
              <given-names>EM</given-names>
            </name>
          </person-group>
          <article-title>Management of infection: the Maastricht VI/Florence consensus report</article-title>
          <source>Gut</source>
          <year>2022</year>
          <month>08</month>
          <day>08</day>
          <fpage>1724</fpage>
          <lpage>1762</lpage>
          <pub-id pub-id-type="doi">10.1136/gutjnl-2022-327745</pub-id>
          <pub-id pub-id-type="medline">35944925</pub-id>
          <pub-id pub-id-type="pii">gutjnl-2022-327745</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref4">
        <label>4</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>CS</given-names>
            </name>
            <name name-style="western">
              <surname>Baik</surname>
              <given-names>GH</given-names>
            </name>
            <name name-style="western">
              <surname>Shin</surname>
              <given-names>IS</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>JB</given-names>
            </name>
            <name name-style="western">
              <surname>Suk</surname>
              <given-names>KT</given-names>
            </name>
            <name name-style="western">
              <surname>Yoon</surname>
              <given-names>JH</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>YS</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>DJ</given-names>
            </name>
          </person-group>
          <article-title>Helicobacter pylori eradication for prevention of metachronous recurrence after endoscopic resection of early gastric cancer</article-title>
          <source>J Korean Med Sci</source>
          <year>2015</year>
          <month>06</month>
          <volume>30</volume>
          <issue>6</issue>
          <fpage>749</fpage>
          <lpage>756</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://jkms.org/DOIx.php?id=10.3346/jkms.2015.30.6.749"/>
          </comment>
          <pub-id pub-id-type="doi">10.3346/jkms.2015.30.6.749</pub-id>
          <pub-id pub-id-type="medline">26028928</pub-id>
          <pub-id pub-id-type="pmcid">PMC4444476</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref5">
        <label>5</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Shah</surname>
              <given-names>SC</given-names>
            </name>
            <name name-style="western">
              <surname>Piazuelo</surname>
              <given-names>MB</given-names>
            </name>
            <name name-style="western">
              <surname>Kuipers</surname>
              <given-names>EJ</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>AGA clinical practice update on the diagnosis and management of atrophic gastritis: expert review</article-title>
          <source>Gastroenterology</source>
          <year>2021</year>
          <month>10</month>
          <volume>161</volume>
          <issue>4</issue>
          <fpage>1325</fpage>
          <lpage>1332.e7</lpage>
          <pub-id pub-id-type="doi">10.1053/j.gastro.2021.06.078</pub-id>
          <pub-id pub-id-type="medline">34454714</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref6">
        <label>6</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Gupta</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>El Serag</surname>
              <given-names>HB</given-names>
            </name>
            <name name-style="western">
              <surname>Davitkov</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Altayar</surname>
              <given-names>O</given-names>
            </name>
            <name name-style="western">
              <surname>Sultan</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Falck-Ytter</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Mustafa</surname>
              <given-names>RA</given-names>
            </name>
          </person-group>
          <article-title>AGA clinical practice guidelines on management of gastric intestinal metaplasia</article-title>
          <source>Gastroenterology</source>
          <year>2020</year>
          <month>02</month>
          <volume>158</volume>
          <issue>3</issue>
          <fpage>693</fpage>
          <lpage>702</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/31816298"/>
          </comment>
          <pub-id pub-id-type="doi">10.1053/j.gastro.2019.12.003</pub-id>
          <pub-id pub-id-type="medline">31816298</pub-id>
          <pub-id pub-id-type="pii">S0016-5085(19)41888-X</pub-id>
          <pub-id pub-id-type="pmcid">PMC7340330</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref7">
        <label>7</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Kang</surname>
              <given-names>SJ</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>JG</given-names>
            </name>
            <name name-style="western">
              <surname>Moon</surname>
              <given-names>HS</given-names>
            </name>
            <name name-style="western">
              <surname>Kook</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>JY</given-names>
            </name>
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>CS</given-names>
            </name>
            <name name-style="western">
              <surname>Tae</surname>
              <given-names>CH</given-names>
            </name>
            <name name-style="western">
              <surname>Gong</surname>
              <given-names>EJ</given-names>
            </name>
            <name name-style="western">
              <surname>Nam</surname>
              <given-names>SY</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>HJ</given-names>
            </name>
          </person-group>
          <article-title>Clinical practice guideline for gastritis in Korea</article-title>
          <source>J Korean Med Sci</source>
          <year>2023</year>
          <month>04</month>
          <day>03</day>
          <volume>38</volume>
          <issue>13</issue>
          <fpage>e115</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://jkms.org/DOIx.php?id=10.3346/jkms.2023.38.e115"/>
          </comment>
          <pub-id pub-id-type="doi">10.3346/jkms.2023.38.e115</pub-id>
          <pub-id pub-id-type="medline">37012690</pub-id>
          <pub-id pub-id-type="pii">38.e115</pub-id>
          <pub-id pub-id-type="pmcid">PMC10070048</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref8">
        <label>8</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Cho</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>CS</given-names>
            </name>
            <name name-style="western">
              <surname>Park</surname>
              <given-names>SW</given-names>
            </name>
            <name name-style="western">
              <surname>Yang</surname>
              <given-names>YJ</given-names>
            </name>
            <name name-style="western">
              <surname>Seo</surname>
              <given-names>SI</given-names>
            </name>
            <name name-style="western">
              <surname>Lim</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Shin</surname>
              <given-names>WG</given-names>
            </name>
            <name name-style="western">
              <surname>Hong</surname>
              <given-names>JT</given-names>
            </name>
            <name name-style="western">
              <surname>Yoo</surname>
              <given-names>YT</given-names>
            </name>
            <name name-style="western">
              <surname>Hong</surname>
              <given-names>SH</given-names>
            </name>
            <name name-style="western">
              <surname>Choi</surname>
              <given-names>JH</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>JJ</given-names>
            </name>
            <name name-style="western">
              <surname>Baik</surname>
              <given-names>GH</given-names>
            </name>
          </person-group>
          <article-title>Automated classification of gastric neoplasms in endoscopic images using a convolutional neural network</article-title>
          <source>Endoscopy</source>
          <year>2019</year>
          <month>12</month>
          <volume>51</volume>
          <issue>12</issue>
          <fpage>1121</fpage>
          <lpage>1129</lpage>
          <pub-id pub-id-type="doi">10.1055/a-0981-6133</pub-id>
          <pub-id pub-id-type="medline">31443108</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref9">
        <label>9</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Cho</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>CS</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>JJ</given-names>
            </name>
            <name name-style="western">
              <surname>Seo</surname>
              <given-names>CW</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>JH</given-names>
            </name>
          </person-group>
          <article-title>Prediction of submucosal invasion for gastric neoplasms in endoscopic images using deep-L=learning</article-title>
          <source>J Clin Med</source>
          <year>2020</year>
          <month>06</month>
          <day>15</day>
          <volume>9</volume>
          <issue>6</issue>
          <fpage>1858</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.mdpi.com/resolver?pii=jcm9061858"/>
          </comment>
          <pub-id pub-id-type="doi">10.3390/jcm9061858</pub-id>
          <pub-id pub-id-type="medline">32549190</pub-id>
          <pub-id pub-id-type="pii">jcm9061858</pub-id>
          <pub-id pub-id-type="pmcid">PMC7356204</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref10">
        <label>10</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>CS</given-names>
            </name>
            <name name-style="western">
              <surname>Lim</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Jeong</surname>
              <given-names>HM</given-names>
            </name>
            <name name-style="western">
              <surname>Hwang</surname>
              <given-names>SH</given-names>
            </name>
          </person-group>
          <article-title>Use of endoscopic images in the prediction of submucosal invasion of gastric neoplasms: automated deep learning model development and usability study</article-title>
          <source>J Med Internet Res</source>
          <year>2021</year>
          <month>04</month>
          <day>15</day>
          <volume>23</volume>
          <issue>4</issue>
          <fpage>e25167</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.jmir.org/2021/4/e25167/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/25167</pub-id>
          <pub-id pub-id-type="medline">33856356</pub-id>
          <pub-id pub-id-type="pii">v23i4e25167</pub-id>
          <pub-id pub-id-type="pmcid">PMC8085753</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref11">
        <label>11</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Gong</surname>
              <given-names>EJ</given-names>
            </name>
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>CS</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>JJ</given-names>
            </name>
            <name name-style="western">
              <surname>Baik</surname>
              <given-names>GH</given-names>
            </name>
            <name name-style="western">
              <surname>Lim</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Jeong</surname>
              <given-names>JH</given-names>
            </name>
            <name name-style="western">
              <surname>Choi</surname>
              <given-names>SW</given-names>
            </name>
            <name name-style="western">
              <surname>Cho</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>DY</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>KB</given-names>
            </name>
            <name name-style="western">
              <surname>Shin</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Sigmund</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Moon</surname>
              <given-names>BI</given-names>
            </name>
            <name name-style="western">
              <surname>Park</surname>
              <given-names>SC</given-names>
            </name>
            <name name-style="western">
              <surname>Lee</surname>
              <given-names>SH</given-names>
            </name>
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>KB</given-names>
            </name>
            <name name-style="western">
              <surname>Son</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Deep learning-based clinical decision support system for gastric neoplasms in real-time endoscopy: development and validation study</article-title>
          <source>Endoscopy</source>
          <year>2023</year>
          <month>08</month>
          <volume>55</volume>
          <issue>8</issue>
          <fpage>701</fpage>
          <lpage>708</lpage>
          <pub-id pub-id-type="doi">10.1055/a-2031-0691</pub-id>
          <pub-id pub-id-type="medline">36754065</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref12">
        <label>12</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Cho</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>CS</given-names>
            </name>
          </person-group>
          <article-title>Artificial intelligence for the determination of a management strategy for diminutive colorectal polyps: hype, hope, or help</article-title>
          <source>Am J Gastroenterol</source>
          <year>2020</year>
          <month>01</month>
          <volume>115</volume>
          <issue>1</issue>
          <fpage>70</fpage>
          <lpage>72</lpage>
          <pub-id pub-id-type="doi">10.14309/ajg.0000000000000476</pub-id>
          <pub-id pub-id-type="medline">31770118</pub-id>
          <pub-id pub-id-type="pii">00000434-202001000-00013</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref13">
        <label>13</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Berzin</surname>
              <given-names>TM</given-names>
            </name>
            <name name-style="western">
              <surname>Parasa</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Wallace</surname>
              <given-names>MB</given-names>
            </name>
            <name name-style="western">
              <surname>Gross</surname>
              <given-names>SA</given-names>
            </name>
            <name name-style="western">
              <surname>Repici</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Sharma</surname>
              <given-names>P</given-names>
            </name>
          </person-group>
          <article-title>Position statement on priorities for artificial intelligence in GI endoscopy: a report by the ASGE Task Force</article-title>
          <source>Gastrointest Endosc</source>
          <year>2020</year>
          <month>10</month>
          <volume>92</volume>
          <issue>4</issue>
          <fpage>951</fpage>
          <lpage>959</lpage>
          <pub-id pub-id-type="doi">10.1016/j.gie.2020.06.035</pub-id>
          <pub-id pub-id-type="medline">32565188</pub-id>
          <pub-id pub-id-type="pii">S0016-5107(20)34460-6</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref14">
        <label>14</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>CS</given-names>
            </name>
          </person-group>
          <article-title>Deep learning in upper gastrointestinal disorders: status and future perspectives</article-title>
          <source>Korean J Gastroenterol</source>
          <year>2020</year>
          <month>03</month>
          <day>25</day>
          <volume>75</volume>
          <issue>3</issue>
          <fpage>120</fpage>
          <lpage>131</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://www.kjg.or.kr/journal/view.html?doi=10.4166/kjg.2020.75.3.120"/>
          </comment>
          <pub-id pub-id-type="doi">10.4166/kjg.2020.75.3.120</pub-id>
          <pub-id pub-id-type="medline">32209800</pub-id>
          <pub-id pub-id-type="pii">kjg.2020.75.3.120</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref15">
        <label>15</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>CS</given-names>
            </name>
          </person-group>
          <article-title>Artificial intelligence in the analysis of upper gastrointestinal disorders</article-title>
          <source>Korean J Helicobacter Up Gastrointest Res</source>
          <year>2021</year>
          <month>12</month>
          <volume>21</volume>
          <issue>4</issue>
          <fpage>300</fpage>
          <lpage>310</lpage>
          <pub-id pub-id-type="doi">10.7704/kjhugr.2021.0030</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref16">
        <label>16</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Yang</surname>
              <given-names>YJ</given-names>
            </name>
            <name name-style="western">
              <surname>Bang</surname>
              <given-names>CS</given-names>
            </name>
          </person-group>
          <article-title>Application of artificial intelligence in gastroenterology</article-title>
          <source>World J Gastroenterol</source>
          <year>2019</year>
          <month>04</month>
          <day>14</day>
          <volume>25</volume>
          <issue>14</issue>
          <fpage>1666</fpage>
          <lpage>1683</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.wjgnet.com/1007-9327/full/v25/i14/1666.htm"/>
          </comment>
          <pub-id pub-id-type="doi">10.3748/wjg.v25.i14.1666</pub-id>
          <pub-id pub-id-type="medline">31011253</pub-id>
          <pub-id pub-id-type="pmcid">PMC6465941</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref17">
        <label>17</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Luo</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Phung</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Tran</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Gupta</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Rana</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Karmakar</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Shilton</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Yearwood</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Dimitrova</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Ho</surname>
              <given-names>TB</given-names>
            </name>
            <name name-style="western">
              <surname>Venkatesh</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Berk</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Guidelines for developing and reporting machine learning predictive models in biomedical research: a multidisciplinary view</article-title>
          <source>J Med Internet Res</source>
          <year>2016</year>
          <month>12</month>
          <day>16</day>
          <volume>18</volume>
          <issue>12</issue>
          <fpage>e323</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.jmir.org/2016/12/e323/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/jmir.5870</pub-id>
          <pub-id pub-id-type="medline">27986644</pub-id>
          <pub-id pub-id-type="pii">v18i12e323</pub-id>
          <pub-id pub-id-type="pmcid">PMC5238707</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Zhou</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Siddiquee</surname>
              <given-names>MR</given-names>
            </name>
            <name name-style="western">
              <surname>Tajbakhsh</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Liang</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>UNet++: redesigning skip connections to exploit multiscale features in image segmentation</article-title>
          <source>IEEE Trans Med Imaging</source>
          <year>2020</year>
          <month>06</month>
          <volume>39</volume>
          <issue>6</issue>
          <fpage>1856</fpage>
          <lpage>1867</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/31841402"/>
          </comment>
          <pub-id pub-id-type="doi">10.1109/TMI.2019.2959609</pub-id>
          <pub-id pub-id-type="medline">31841402</pub-id>
          <pub-id pub-id-type="pmcid">PMC7357299</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref19">
        <label>19</label>
        <nlm-citation citation-type="web">
          <article-title>TensorFlow: Large-scale machine learning on heterogeneous systems</article-title>
          <source>TensorFlow</source>
          <access-date>2023-10-16</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.tensorflow.org/">https://www.tensorflow.org/</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref20">
        <label>20</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Tan</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Le</surname>
              <given-names>Q</given-names>
            </name>
          </person-group>
          <article-title>EfficientNet: rethinking model scaling for convolutional neural networks</article-title>
          <source>Proc Mach Learn Res</source>
          <year>2019</year>
          <volume>97</volume>
          <fpage>6105</fpage>
          <lpage>6114</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://proceedings.mlr.press/v97/tan19a.html"/>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref21">
        <label>21</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Redmon</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Farhadi</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>YOLOv3: an incremental improvement</article-title>
          <source>arXiv. Preprint posted online on April 8, 2018</source>
          <year>2021</year>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://arxiv.org/abs/1804.02767"/>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref22">
        <label>22</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Rajpurkar</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Lungren</surname>
              <given-names>MP</given-names>
            </name>
          </person-group>
          <article-title>The current and future state of AI interpretation of medical images</article-title>
          <source>N Engl J Med</source>
          <year>2023</year>
          <month>05</month>
          <day>25</day>
          <volume>388</volume>
          <issue>21</issue>
          <fpage>1981</fpage>
          <lpage>1990</lpage>
          <pub-id pub-id-type="doi">10.1056/nejmra2301725</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Guimarães</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Keller</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Fehlmann</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Lammert</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Casper</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Deep-learning based detection of gastric precancerous conditions</article-title>
          <source>Gut</source>
          <year>2020</year>
          <month>01</month>
          <volume>69</volume>
          <issue>1</issue>
          <fpage>4</fpage>
          <lpage>6</lpage>
          <pub-id pub-id-type="doi">10.1136/gutjnl-2019-319347</pub-id>
          <pub-id pub-id-type="medline">31375599</pub-id>
          <pub-id pub-id-type="pii">gutjnl-2019-319347</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref24">
        <label>24</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Yuan</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Huo</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Dong</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Lang</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Gao</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Qin</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Shen</surname>
              <given-names>L</given-names>
            </name>
          </person-group>
          <article-title>Diagnosing chronic atrophic gastritis by gastroscopy using artificial intelligence</article-title>
          <source>Dig Liver Dis</source>
          <year>2020</year>
          <month>05</month>
          <volume>52</volume>
          <issue>5</issue>
          <fpage>566</fpage>
          <lpage>572</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S1590-8658(20)30003-7"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.dld.2019.12.146</pub-id>
          <pub-id pub-id-type="medline">32061504</pub-id>
          <pub-id pub-id-type="pii">S1590-8658(20)30003-7</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref25">
        <label>25</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Zhao</surname>
              <given-names>Q</given-names>
            </name>
            <name name-style="western">
              <surname>Chi</surname>
              <given-names>T</given-names>
            </name>
          </person-group>
          <article-title>Deep learning model can improve the diagnosis rate of endoscopic chronic atrophic gastritis: a prospective cohort study</article-title>
          <source>BMC Gastroenterol</source>
          <year>2022</year>
          <month>03</month>
          <day>23</day>
          <volume>22</volume>
          <issue>1</issue>
          <fpage>133</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://bmcgastroenterol.biomedcentral.com/articles/10.1186/s12876-022-02212-1"/>
          </comment>
          <pub-id pub-id-type="doi">10.1186/s12876-022-02212-1</pub-id>
          <pub-id pub-id-type="medline">35321641</pub-id>
          <pub-id pub-id-type="pii">10.1186/s12876-022-02212-1</pub-id>
          <pub-id pub-id-type="pmcid">PMC8941797</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Luo</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Cao</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Ding</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Liao</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Peng</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Xu</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>A deep learning method to assist with chronic atrophic gastritis diagnosis using white light images</article-title>
          <source>Dig Liver Dis</source>
          <year>2022</year>
          <month>11</month>
          <volume>54</volume>
          <issue>11</issue>
          <fpage>1513</fpage>
          <lpage>1519</lpage>
          <pub-id pub-id-type="doi">10.1016/j.dld.2022.04.025</pub-id>
          <pub-id pub-id-type="medline">35610166</pub-id>
          <pub-id pub-id-type="pii">S1590-8658(22)00474-1</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Siripoppohn</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Pittayanon</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Tiankanon</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Faknak</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Sanpavat</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Klaikaew</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Vateekul</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Rerknimitr</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Real-time semantic segmentation of gastric intestinal metaplasia using a deep learning approach</article-title>
          <source>Clin Endosc</source>
          <year>2022</year>
          <month>05</month>
          <volume>55</volume>
          <issue>3</issue>
          <fpage>390</fpage>
          <lpage>400</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/35534933"/>
          </comment>
          <pub-id pub-id-type="doi">10.5946/ce.2022.005</pub-id>
          <pub-id pub-id-type="medline">35534933</pub-id>
          <pub-id pub-id-type="pii">ce.2022.005</pub-id>
          <pub-id pub-id-type="pmcid">PMC9178134</pub-id>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
