AUTHOR=Zang Wei , Lin Ze , Zhao Yanduo , Jia Tianshi , Zhang Xinglong TITLE=Construction of a predictive model for rebleeding risk in upper gastrointestinal bleeding patients based on clinical indicators such as Helicobacter pylori infection JOURNAL=Frontiers in Microbiology VOLUME=Volume 16 - 2025 YEAR=2025 URL=https://www.frontiersin.org/journals/microbiology/articles/10.3389/fmicb.2025.1510126 DOI=10.3389/fmicb.2025.1510126 ISSN=1664-302X ABSTRACT=BackgroundThe annual incidence of upper gastrointestinal hemorrhage (UGIB) is about 60 cases/100,000 people, and about 40% of UGIB patients have hemorrhagic ulcers. Ulcer formation is often associated with Helicobacter pylori (H. pylori) infection, non-steroidal anti-inflammatory drugs (NSAIDs) use and other factors, so ulcerative disease is the main cause of upper gastrointestinal bleeding. H. pylori induces chronic superficial gastritis with neutrophils infiltrating into the mucosa, so it is assumed that H. pylori infection is the basis of bleeding lesions. H. pylori infection is widespread worldwide, with about 50% of the population carrying the bacteria. Mortality during hospitalization is higher in patients with UGIB because rebleeding significantly increases the risk of death, especially if timely intervention is not provided. Rebleeding may also lead to severe complications such as shock and multiple organ failure. At present, the commonly used clinical scores for UGIB patients mainly include Rockall score (RS), AIMS65 score and Glasgow-Blatchford score (GBS). Because some hospitals are limited by local medical and health conditions, they lack timely and accurate endoscopic diagnosis and treatment equipment, and it is difficult to make accurate and timely judgments on patients.MethodIn this experiment, 254 patients with upper digestive tract hemorrhage from Shengjing Hospital affiliated to China Medical University were collected, and the clinical indicators and information of H. pylori infection, age, shock state, concomitant disease, H. pylori infection degree, systolic blood pressure, blood urea nitrogen, hemoglobin, pulse, black stool, syncope, liver disease and other patients were finally collected. We analyzed the correlation between various clinical indicators and rebleeding in hospitalized patients. Based on the collected clinical information and laboratory indicators, this study constructed a deep learning model, the data is divided into four categories (clinical information, vital signs, laboratory examination items, stool examination) as input, and Transformer is used as feature extractor. KAN as a classifier to predict the risk of rebleeding in patients with upper gastrointestinal bleeding. The model uses five-fold cross validation and calculates key metrics such as accuracy to evaluate its performance. In addition, the deep learning model was compared with a variety of machine learning methods (decision tree, random forest, logistic regression, K-nearest neighbor) and common clinical risk scores (Rockall score, AIMS65 score, Glasgow-Blatchford score) to verify its effectiveness and advantages. In order to highlight the importance of H. pylori infection degree to the model performance, we conducted a comparative experiment to observe the role of H. pylori infection degree in the model.ResultsIn the correlation analysis between rebleeding and clinical data and related indicators, the risk of rebleeding in men (62.5%) was higher than that in women (43.47%), and the risk of rebleeding in patients with concurrent diseases (60.37%) was higher than that in patients without concurrent diseases. In the analysis of the correlation between the degree of infection and the laboratory test items, the hemoglobin level of patients will also change with the change of the degree of infection of patients (p < 0.05 in the above correlation analysis, all had statistical significance). The rebleeding detection rates of Rockall score, AIMS65 score and Glasgow Blatchford score were 16.14%, 0 and 77.17%, respectively. Of the four machine learning models, Random Forest (RF) had the highest accuracy on the test set at 0.68. The accuracy of the deep learning model on the verification set is the highest of 0.9750, and the accuracy of the test set is the highest of 0.9615. In addition, by exploring the influence of infection on the model prediction, it was found that the prediction accuracy of rebleeding in the non-H. pylori infection group (0.8989) was lower than that in the H. pylori infection group (0.9636), and other evaluation parameters were also lower than that in the infection group. In addition, by adding irrelevant random noise to mask the influence of infection degree on model output, it is found that the model prediction accuracy (0.7992) is significantly reduced.ConclusionBased on the degree of H. pylori infection in patients with upper gastrointestinal bleeding, combined with a number of clinical laboratory tests and clinical data, we developed a clinical model for predicting the risk of rebleeding in patients with upper gastrointestinal bleeding. It provides an early prediction of rebleeding during a patient’s hospitalization and optimizes early intervention for patients to a certain extent. It provides a more concise, convenient and effective guidance scheme for small and medium-sized hospitals to make clinical decisions for UGIB patients.