Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Feb:124:102233.
doi: 10.1016/j.artmed.2021.102233. Epub 2021 Dec 25.

A multi-stage machine learning model for diagnosis of esophageal manometry

Affiliations

A multi-stage machine learning model for diagnosis of esophageal manometry

Wenjun Kou et al. Artif Intell Med. 2022 Feb.

Abstract

High-resolution manometry (HRM) is the primary procedure used to diagnose esophageal motility disorders. Its manual interpretation and classification, including evaluation of swallow-level outcomes and then derivation of a study-level diagnosis based on Chicago Classification (CC), may be limited by inter-rater variability and inaccuracy of an individual interpreter. We hypothesized that an automatic diagnosis platform using machine learning and artificial intelligence approaches could be developed to accurately identify esophageal motility diagnoses. Further, a multi-stage modeling framework, akin to the step-wise approach of the CC, was utilized to leverage advantages of a combination of machine learning approaches including deep-learning models and feature-based models. Models were trained and tested using a dataset comprised of 1741 patients' HRM studies with CC diagnoses assigned by expert physician raters. In the swallow-level stage, three models based on convolutional neural networks (CNNs) were developed to predict swallow type and swallow pressurization (test accuracies of 0.88 and 0.93, respectively), and integrated relaxation pressure (IRP)(regression model with test error of 4.49 mmHg). At the study-level stage, model selection from families of the expert-knowledge-based rule models, xgboost models and artificial neural network(ANN) models were conducted. A simple model-agnostic strategy of model balancing motivated by Bayesian principles was utilized, which gave rise to model averaging weighted by precision scores. The averaged (blended) models and individual models were compared and evaluated, of which the best performance on test dataset is 0.81 in top-1 prediction, 0.92 in top-2 predictions. This is the first artificial-intelligence style model to automatically predict esophageal motility (CC) diagnoses from HRM studies using raw multi-swallow data and it achieved high accuracy. Thus, this proposed modeling framework could be broadly applied to assist with HRM interpretation in a clinical setting.

Keywords: Artificial intelligence; High-resolution manometry; Model averaging.

PubMed Disclaimer

Conflict of interest statement

Conflicts of interest

Dustin A. Carlson: Medtronic (Speaking, Consulting), FLIP panometry (Shared intellectual property)

John E. Pandolfino: Crospon, Inc (stock options), FLIP panometry (Shared intellectual property), Given Imaging (Consultant, Grant, Speaking), Sandhill Scientific (Consulting, Speaking), Takeda (Speaking), Astra Zeneca (Speaking), Medtronic (Speaking. Consulting), Torax (Speaking, Consulting), Ironwood (Consulting), Impleo (Grant).

None: Wenjun Kou, Alexandra J. Baumann, Erica N. Donnan, Jacob M. Schauer, Mozziyar Etemadi

Figures

Figure 1:
Figure 1:
Illustration of high-resolution manometry procedure and associated information flow from raw data to final diagnosis in current clinical practices (reproduced with permission from [14]).
Figure 2:
Figure 2:
Explorer of HRM swallow showing the variation of pressure pattern by swallow type (Upper) and by swallow pressurization (Lower left). Lower right shows swallows with low integrated relaxation pressure (IRP) and high IRP, respectively. The calculation of IRP involves manual identifications of several landmarks. (Part of the figure is reproduced with permission from [14].)
Figure 3:
Figure 3:
Illustration of the manually-designed decision rules based on Chicago Classification, referred to as the rule-based model. The P[E] denotes the probability of event, E. The dashed-line arrow represents Yes branch, whereas the solid-line arrow the No branch under each decision condition. Three key parameters, (a1, a2, a3) were set as (15.0,0.2,0.5) in the selected model. Like the Chicago Classification, the output of this rule-based model is of 10 category, which is then merged to 8 categories (DES was merged into T3A and FRP was merged into IEM). Further details on labels could be found in Table. 1.
Figure 4:
Figure 4:
Training history of the swallow-level AI models and their evaluation based on Confusion matrix on testing dataset. (a)
Figure 5:
Figure 5:
Evaluation of study-level models selected from each family based on confusion matrix on the testing dataset
Figure 6:
Figure 6:
Examples of misclassified studies. Two test swallows from two patients (A and B) are included. Patient A had a true label of EGJ outflow obstruction (EGJOO), while was predicted to have type III (spastic) achalasia (T3A). Patient B had a true label of EGJOO, while was predicted to have normal motility (NEM).

References

    1. Kahrilas PJ, Bredenoord AJ, Fox M, Gyawali CP, Roman S, Smout AJ, Pandolfino JE, Group IHRMW, The chicago classification of esophageal motility disorders, v3. 0, Neurogastroenterology & Motility 27 (2) (2015) 160–174. - PMC - PubMed
    1. Roman S, Huot L, Zerbib F, Des Varannes SB, Gourcerol G, Coffin B, Ropert A, Roux A, Mion F, High-resolution manometry improves the diagnosis of esophageal motility disorders in patients with dysphagia: a randomized multicenter study, American Journal of Gastroenterology 111 (3) (2016) 372–380. - PubMed
    1. Tolone S, Savarino E, Zaninotto G, Gyawali CP, Frazzoni M, de Bortoli N, Frazzoni L, del Genio G, Bodini G, Furnari M, et al., High-resolution manometry is superior to endoscopy and radiology in assessing and grading sliding hiatal hernia: A comparison with surgical in vivo evaluation, United European gastroenterology journal 6 (7) (2018) 981–989. - PMC - PubMed
    1. Carlson DA, Lin Z, Kou W, Pandolfino JE, Inter-rater agreement of novel high-resolution impedance manometry metrics: Bolus flow time and esophageal impedance integral ratio, Neurogastroenterology & Motility 30 (6) (2018) e13289. - PMC - PubMed
    1. Rao SS, Parkman HP, Advanced training in neurogastroenterology and gastrointestinal motility, Gastroenterology 148 (5) (2015) 881–885. - PubMed

Publication types