Background and aims: Endoscopic visualization for the diagnosis of Helicobacter pylori (HP) infection status is highly important for helping endoscopists quickly understand the status of gastric background mucosa and assisting in subsequent diagnosis and treatment. In this study, a deep learning algorithm was designed to construct a three-class classification model of HP infection status, providing a new approach to address the subjectivity in the interpretation of endoscopic features.
Methods: The clinical data of patients who completed gastroscopy were collected, and 16 endoscopic features were evaluated and recorded. On the basis of the status of HP infection, the patients were classified into three groups: the current HP infection group (CI), the previous HP infection group (PI), and the negative HP infection group (NI), with 1,000 patients screened in each group. In this study, an HP infection classification model based on the transformer network was constructed, which uses a self-attention mechanism to capture feature associations for the task of HP infection classification and recognition. Model interpretability was achieved by screening key features through SHapley Additive exPlanations (SHAP) value analysis.
Results: A total of 3,000 subjects were included in the study, and comparative analysis revealed that the 1D-transformer model demonstrated superior performance in the HP recognition task. The accuracy, specificity, sensitivity, and F1_scores produced by the model were 98.9 ± 0.28, 98.8 ± 0.14, 99.4 ± 0.27, and 98.9 ± 0.28, respectively. In addition, it has better performance than other algorithms and models. In terms of model interpretability, this study highlights the importance rankings of different features in model decision-making and the directions of their influence. The results show that map redness (SHAP value of 0.220), xanxoma (SHAP value of 0.101), atrophy (SHAP value of 0.065), and intestinal metaplasia (SHAP value of 0.008) are key features for identifying the PI. Diffuse redness (SHAP 0.186), thickened folds (SHAP 0.126), mucus coverage (SHAP 0.094), and nodular changes (SHAP 0.043) are key features for identifying CI. The presence of RAC (SHAP 0.262) and ridge redness (SHAP 0.026) are key features for identifying NI.
Conclusion: This study applies a 1D-transformer model to the task of classifying HP infection status, and compared with other models, it can precisely screen out populations with three different HP infection statuses, with higher performance and reliability.
扫码关注我们
求助内容:
应助结果提醒方式:
