Gastritis screening method, device, equipment and medium based on four examinations of traditional Chinese medicine

By integrating binary classification models and unimodal binary classification models to process data from the four diagnostic methods of traditional Chinese medicine, the problem of reliance on subjective experience in traditional Chinese medicine diagnosis has been solved, thereby improving the accuracy of gastritis screening, especially in the diagnosis of chronic non-atrophic gastritis with erosion.

CN123182928APending Publication Date: 2026-11-27BEIJING YANHUANG SIAN CHAY MEDICAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611379748.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, traditional Chinese medicine's four diagnostic methods rely on the physician's subjective experience and lack objective quantitative standards, resulting in insufficient accuracy in gastritis screening, especially in the diagnosis of chronic non-atrophic gastritis with erosion.

Method used

We employ a fusion binary classification model and six independent unimodal binary classification models to process data on the tongue surface, tongue base, facial features, hand features, left pulse, and right pulse, respectively. By combining feature splicing and fusion binary classification models, we output positive or negative results for gastritis, thereby improving diagnostic accuracy.

Benefits of technology

The effective integration of data from the four diagnostic methods of traditional Chinese medicine has improved the accuracy of gastritis screening, especially in the diagnosis of chronic non-atrophic gastritis with erosion, enhancing the objectivity and reliability of the diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182928A_ABST
    Figure CN123182928A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of artificial intelligence, in particular to a stomach inflammation screening method and device based on four TCM diagnoses, equipment and medium. The application is based on a fusion binary classification model and six independent single-modal binary classification models, classifies six types of data using corresponding single-modal binary classification models respectively, captures feature vectors output by the pooling layer of each single-modal binary classification model, inputs the feature vectors after splicing into the fusion binary classification model for classification, thereby realizing screening of stomach inflammation positive or negative. Compared with fusion of text description, the single-modal classification fusion mode can effectively fuse TCM four diagnoses data in the field of stomach inflammation screening, so as to improve the accuracy of stomach inflammation screening.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence technology, and in particular to a method, device, equipment and medium for gastritis screening based on the four diagnostic methods of traditional Chinese medicine. Background Technology

[0002] Currently, the clinical screening and diagnosis of chronic non-atrophic gastritis (CNAG) with erosion mainly relies on the following technical approaches: (1) Gastroscopy combined with pathological biopsy: Gastroscopy is the "gold standard" for diagnosing CNAG with erosion. Endoscopic examination reveals mucosal erythema, bleeding points or plaques, rough mucosa with or without edema, congestion and exudation, and single or multiple flat or raised gastric mucosal erosions. Pathological biopsy can clarify the degree of mucosal inflammation, the pathological nature of the erosion, and exclude precancerous lesions such as atrophy, intestinal metaplasia, and dysplasia. However, gastroscopy is an invasive procedure that requires insertion of the endoscope through the mouth or nose, which may cause adverse reactions such as nausea, vomiting, and throat discomfort, resulting in poor patient compliance; the examination cost is high and medical resources are unevenly distributed, making it difficult to promote at the grassroots level; there are clear contraindications (such as severe cardiopulmonary diseases, coagulation disorders, etc.); the procedure may cause complications such as bleeding and perforation.

[0003] (2) Helicobacter pylori (Hp) detection: including carbon 13 / 14 breath test, serological test, rapid urease test, etc. Hp detection can only determine whether Hp infection exists, but cannot directly indicate whether there is gastric mucosal erosion. Moreover, Hp-negative patients may still have CNAG with erosion, so the specificity is insufficient.

[0004] (3) Serological marker detection: including gastrin-17, pepsinogen I / II ratio, etc., can reflect the secretory function of gastric mucosa and have certain indicative value for atrophic gastritis, but the sensitivity and specificity for diagnosing non-atrophic gastritis with erosion are both low.

[0005] (4) Abdominal imaging examinations: including ultrasound, CT, MRI, etc., are mainly used to screen for space-occupying lesions of abdominal organs, and have a very low detection rate for superficial erosion of the gastric mucosa.

[0006] (5) Traditional Chinese Medicine Four Diagnostic Methods: Traditional Chinese medicine's external diagnostic methods, such as inspection (tongue diagnosis, face diagnosis, hand diagnosis) and palpation (pulse diagnosis), have the advantages of being non-invasive, convenient, and low-cost. The appearance of the tongue can reflect the state of the body's qi, blood, and body fluids, as well as the dysfunction of the internal organs; the appearance of the face and the color of the lips can reflect the state of the spleen and stomach's qi and blood; the appearance of the hands can reflect the circulation of qi and blood in the internal organs; and the pulse can reflect the circulation of qi and blood in the internal organs and meridians. However, traditional Chinese medicine diagnostic methods rely on the physician's subjective experience, lack objective evidence, lack quantitative standards, and result in large individual differences in diagnostic results. Furthermore, the application of a single diagnostic method in the differentiation of CNAG with erosion is limited.

[0007] (6) Artificial intelligence-assisted diagnosis of traditional Chinese medicine: Existing AI research focuses on single-modality (such as tongue or face) auxiliary diagnosis, and uses deep learning models such as convolutional neural networks to extract image features for classification.

[0008] However, traditional tongue diagnosis, pulse diagnosis, face diagnosis, and hand diagnosis rely on the subjective experience of physicians and lack objective quantitative standards. The research on each diagnostic method is relatively isolated and lacks comprehensive analysis. Existing artificial intelligence assistance can only perform simple feature splicing and fusion of multimodal data, which cannot meet the requirements of effective data combination, resulting in poor recognition effect.

[0009] Therefore, how to effectively integrate data from the four diagnostic methods of traditional Chinese medicine to improve the accuracy of gastritis screening has become an urgent problem to be solved. Summary of the Invention

[0010] This application provides a method, device, electronic device, and storage medium for gastritis screening based on the four diagnostic methods of traditional Chinese medicine, aiming to solve the problem of effectively integrating data from the four diagnostic methods of traditional Chinese medicine to improve the accuracy of gastritis screening.

[0011] Firstly, a gastritis screening method based on the four diagnostic methods of Traditional Chinese Medicine (TCM) is provided. This TCM-based gastritis screening is applied to a server. The server is equipped with a fusion binary classification model and six independent unimodal binary classification models. Each unimodal binary classification model is trained on a training set constructed using corresponding type data and gastritis positive / negative labels as a set of training data. The fusion binary classification model is trained on a training set constructed using all types of data and gastritis positive / negative labels as a set of training data, including: The system receives TCM diagnostic data from users to be screened. The TCM diagnostic data includes six types of data: tongue surface image, tongue base image, facial image, hand image, left pulse signal, and right pulse signal. Each type of data in the four diagnostic methods of traditional Chinese medicine is input into a corresponding single-modal binary classification model for binary classification, and the first feature vector output by the pooling layer of each single-modal binary classification model is captured. Perform feature concatenation on all first feature vectors to obtain concatenated feature vectors; The concatenated feature vector is input into the fusion binary classification model, and the binary classification result is output, wherein the binary classification result is either positive for gastritis or negative for gastritis. Based on the binary classification results, the gastritis screening result of the user to be screened is determined.

[0012] Secondly, a gastritis screening device based on the four diagnostic methods of Traditional Chinese Medicine (TCM) is provided. This TCM-based gastritis screening is applied to a server. The server is equipped with a fusion binary classification model and six independent unimodal binary classification models. Each unimodal binary classification model is trained on a training set constructed using corresponding type data and gastritis positive / negative labels as a set of training data. The fusion binary classification model is trained on a training set constructed using all types of data and gastritis positive / negative labels as a set of training data, including: The data receiving module is used to receive the TCM four diagnostic data of the user to be screened. The TCM four diagnostic data includes six types of data, namely tongue surface image, tongue bottom image, facial image, hand image, left pulse signal and right pulse signal. The feature capture module is used to input each type of data in the four diagnostic methods of traditional Chinese medicine into a corresponding single-modal binary classification model for binary classification, and capture the first feature vector output by the pooling layer of each single-modal binary classification model; The feature concatenation module is used to concatenate all the first feature vectors to obtain the concatenated feature vector. The feature classification module is used to input the concatenated feature vector into the fusion binary classification model and output the binary classification result, wherein the binary classification result is either positive for gastritis or negative for gastritis. The gastritis screening module is used to determine the gastritis screening result of the user to be screened based on the binary classification results.

[0013] Thirdly, an electronic device is provided, comprising a processor and a memory, wherein, Memory, used to store computer programs; The processor is used to execute the program stored in the memory to implement the gastritis screening method based on the four diagnostic methods of traditional Chinese medicine as described in the first aspect above.

[0014] Fourthly, a computer-readable storage medium is provided, wherein a computer program is stored therein, and when the computer program is executed by a processor, it implements the gastritis screening method based on the four diagnostic methods of traditional Chinese medicine described in the first aspect.

[0015] The advantages of this application compared to the prior art are as follows: The gastritis screening based on the four diagnostic methods of traditional Chinese medicine is applied to the server. The server is equipped with a fusion binary classification model and six independent single-modal binary classification models. Each single-modal binary classification model is trained on a training set constructed based on corresponding type data and gastritis positive / negative labels as a set of training data. The fusion binary classification model is trained on a training set constructed based on all types of data and gastritis positive / negative labels as a set of training data. It receives the four diagnostic methods of traditional Chinese medicine data from the user to be screened. The four diagnostic methods of traditional Chinese medicine data include six types of data, namely, tongue surface... Images, tongue images, facial images, hand images, left pulse signals, and right pulse signals are collected. Each type of data from the four diagnostic methods of Traditional Chinese Medicine is input into a corresponding unimodal binary classification model for binary classification, capturing the first feature vector output by the pooling layer of each unimodal binary classification model. All first feature vectors are concatenated to obtain a concatenated feature vector. This concatenated feature vector is then input into the fusion binary classification model, outputting a binary classification result, where the result is either positive or negative for gastritis. Based on the binary classification result, the gastritis screening result for the user to be screened is determined.

[0016] Based on a fusion binary classification model and six independent unimodal binary classification models, the corresponding unimodal binary classification models are used to classify the six types of data respectively. The feature vectors output by the pooling layer of each unimodal binary classification model are captured. The feature vectors are concatenated and then input into the fusion binary classification model for classification, thereby achieving the screening of positive or negative gastritis. Compared with fusion text description, the single-modal classification fusion method can effectively integrate TCM four diagnostic data in the field of gastritis screening, thereby improving the accuracy of gastritis screening. Attached Figure Description

[0017] Figure 1 This is a schematic diagram illustrating an application scenario of a gastritis screening method based on the four diagnostic methods of traditional Chinese medicine, as provided in Embodiment 1 of this application. Figure 2 This is a flowchart illustrating a gastritis screening method based on the four diagnostic methods of traditional Chinese medicine, provided in Embodiment 1 of this application. Figure 3 This is a flowchart illustrating a gastritis screening method based on the four diagnostic methods of traditional Chinese medicine, provided in Embodiment 2 of this application. Figure 4 This is a schematic diagram of the research process for a gastritis screening method based on the four diagnostic methods of traditional Chinese medicine, provided in Embodiment 3 of this application; Figure 5 This is a schematic diagram of the structure of a gastritis screening device based on the four diagnostic methods of traditional Chinese medicine, provided in Embodiment 4 of this application; Figure 6 This is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of this application. Detailed Implementation

[0018] To illustrate the technical solution of this application, specific embodiments are described below.

[0019] The gastritis described in this application specifically refers to chronic non-atrophic gastritis (CNAG) with erosion. In both data collection and training, the research subjects were CNAG patients. In this application, a positive gastritis result indicates CNAG with erosion, and a negative gastritis result indicates CNAG. Therefore, the gastritis screening is a screening for CNAG with erosion. Data collection from all research subjects in this application has been authorized, and the data has undergone privacy processing, complying with national laws and regulations.

[0020] The gastritis screening method based on the four diagnostic methods of traditional Chinese medicine provided in Embodiment 1 of this application can be applied to, for example... Figure 1 In this application environment, the client communicates with the server. The client includes, but is not limited to, PDAs, desktop computers, laptops, ultra-mobile personal computers (UMPCs), netbooks, cloud terminal devices, and personal digital assistants (PDAs). The server can be a standalone server or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0021] The gastritis screening based on the four diagnostic methods of traditional Chinese medicine described in this application is applied to the server. The server is equipped with a fusion binary classification model and six independent single-modal binary classification models. Each single-modal binary classification model is trained on a training set constructed based on the corresponding type of data and the gastritis positive / negative labels as a set of training data. The fusion binary classification model is trained on a training set constructed based on all types of data and the gastritis positive / negative labels as a set of training data.

[0022] like Figure 2 The diagram shown is a flowchart illustrating a gastritis screening method based on the four diagnostic methods of Traditional Chinese Medicine (TCM) according to Embodiment 1 of this application. This gastritis screening method based on the four diagnostic methods of TCM may include the following steps: Step S201: Receive the TCM four diagnostic methods data of the user to be screened.

[0023] The client can be a corresponding data acquisition device, such as a TCM tongue, face and pulse acquisition instrument. The client can send the collected TCM four diagnostic data to the server. The server receives the TCM four diagnostic data and processes it as data for a user to be screened.

[0024] The TCM diagnostic data includes six types of data: tongue surface image, tongue base image, facial image, hand image, left pulse signal, and right pulse signal.

[0025] The following six modal data were simultaneously collected using a TCM tongue and pulse acquisition instrument (equipped with a high-density LED array constant current ring light source and a flexible piezoelectric sensor array): (1) Tongue surface image: The patient opens his mouth as wide as possible, extends his tongue naturally and fully exposes the tongue surface, and collects the characteristics of the tongue body such as color, shape, texture and coating; (2) Sublingual image: The patient remains still with their head slightly tilted back to expose the sublingual veins and collect the color, shape and other characteristics of the sublingual veins; (3) Facial image: The patient sits in front of the facial diagnostic instrument, with his chin on the support, his forehead close to the edge of the face frame pad, his eyes and mouth closed, and features such as facial color, skin texture and lip color are collected. (4) Hand image: The patient places the base of one hand on the chin rest, with the fingertips touching the upper edge of the face pad, and the palm facing the camera to collect features such as palm color and palm lines; (5) Left pulse signal: The patient sits with the forearm naturally extended forward at the same level as the heart, the wrist straight and the palm facing upward. The pulse signals of the left radial artery at the cun, guan and chi positions are collected. (6) Right pulse signal: Collect pulse signals of the right radial artery at the cun, guan, and chi positions.

[0026] Collection environment requirements: The room temperature should be maintained at 25±2℃. Uniform instruments, light sources, environment and collection software should be used. The collection time should be uniformly arranged between 9:00 am and 12:00 pm. The patient should be in a fasting state.

[0027] In one embodiment, the collected six types of modal data are further subjected to quality screening and preprocessing: (1) Image quality screening: Remove blurry, improperly exposed, or poorly cooperated samples to ensure that all input images meet the requirements for model training; (2) Region of Interest (ROI) Extraction: The “target detection-region cropping” strategy is adopted for four types of images: tongue surface, tongue bottom, face image, and hand image. After encoding the image, it is sent to the target detection interface to obtain the detection box coordinates, and the key region is cropped to remove interference factors such as background, lip edge and shooting environment differences. (3) Size standardization: All cropped images are uniformly scaled to 224×224 pixels to adapt to the input requirements of deep learning models and keep the aspect ratio unchanged; (4) Pixel value normalization: Normalize the image pixel values ​​to the [0,1] range to reduce the interference of illumination differences on the model feature learning.

[0028] Step S202: Input each type of data in the TCM four diagnostic data into a corresponding single-modal binary classification model for binary classification, and capture the first feature vector output by the pooling layer of each single-modal binary classification model.

[0029] Each type of data corresponds to a single-modal binary classification model. That is, the tongue surface image, tongue base image, facial image, hand image, left pulse signal, and right pulse signal each correspond to a single-modal binary classification model. After inputting the corresponding type of data into the corresponding single-modal binary classification model, binary classification can be performed. At this time, the first feature vector output by the pooling layer of the single-modal binary classification model can be captured by the same pre-purchased capture device, that is, a first feature vector is captured for each single-modal binary classification model.

[0030] Optionally, the six independent single-modal binary classification models are tongue surface binary classification model, tongue base binary classification model, facial image binary classification model, hand image binary classification model, left pulse image binary classification model, and right pulse image binary classification model. The step of inputting each type of data in the four diagnostic methods of traditional Chinese medicine into a corresponding single-modal binary classification model for binary classification includes: The tongue surface image is input into the tongue surface binary classification model for binary classification. The tongue underside image is input into the tongue underside binary classification model for binary classification; The facial image is input into the facial binary classification model for binary classification. The hand image is input into the hand image binary classification model for binary classification. The left pulse signal is converted into a left pulse image, and the left pulse image is input into the left pulse binary classification model for binary classification. The right pulse signal is converted into a right pulse image, and the right pulse image is input into the right pulse binary classification model for binary classification.

[0031] The pulse signal is a set of signals that change over time, rather than an image. Therefore, in order to ensure the uniformity of all modes during processing, the pulse signal can be converted into an image for binary classification.

[0032] Optionally, the single-modal binary classification model is constructed using YOLO11s-cls, ResNet, EfficientNet-V2, MobileNet-V3, or Vision Transformer, and the fusion binary classification model is constructed using LightGBM, CatBoost, XGBoost, Random Forest, Support Vector Machine, or Deep Neural Network.

[0033] In this embodiment, six single-modal feature extraction models are constructed based on the YOLO11s-cls (You Only Look Once Version 11 Small-Classification) deep learning framework: (1) YOLO11s-cls pre-trained weights (ImageNet) are used as the base model. The model is fine-tuned by the transfer learning strategy to train an independent single-modal binary classification model. The transfer learning strategy is to train the model based on the training set constructed by the corresponding type data and the positive / negative labels of gastritis as a set of training data. For example, tongue images and positive / negative labels of gastritis are used as a set of training data to train the tongue image binary classification model, and so on. (2) Freeze the optimal single-mode model parameters and capture the 1280-dimensional high-dimensional feature vector output by the SPPF module of the Neck layer through the forward hook function; (3) Furthermore, the Principal Component Analysis (PCA) algorithm can be used to reduce the dimensionality of the 1280-dimensional features, retaining more than 95% of the data variance, and finally compressing it into a 128-dimensional standardized feature vector. (4) PCA dimensionality reduction strictly follows the principle of training set fitting and test set transformation to avoid data leakage.

[0034] Step S203: Perform feature concatenation on all first feature vectors to obtain concatenated feature vectors.

[0035] Step S204: Input the spliced ​​feature vector into the fusion binary classification model and output the binary classification result.

[0036] Among them, the binary classification results are either positive for gastritis or negative for gastritis.

[0037] This fusion binary classification model is based on a training set constructed using all data types and the gastritis positive / negative label as a training dataset. Specifically, during training, each data type is separately classified using a corresponding single-modal binary classification model to obtain its first feature vector, which is then concatenated. This concatenated feature vector, along with the gastritis positive / negative label, forms the training dataset. Therefore, the fusion binary classification model can output either a positive or negative gastritis classification result.

[0038] Step S205: Determine the gastritis screening result of the user to be screened based on the binary classification result.

[0039] Once the two classification results—positive or negative—are known, the gastritis screening result for the user to be screened can be determined.

[0040] This application embodiment is based on a fusion binary classification model and six independent unimodal binary classification models. The corresponding unimodal binary classification models are used to classify the six types of data respectively. The feature vectors output by the pooling layer of each unimodal binary classification model are captured. The feature vectors are concatenated and then input into the fusion binary classification model for classification, thereby achieving the screening of positive or negative gastritis. Compared with fusion text description, the single-modal classification fusion method can effectively integrate the four diagnostic methods of traditional Chinese medicine in the field of gastritis screening, so as to improve the accuracy of gastritis screening.

[0041] like Figure 3 The diagram shown is a flowchart of a gastritis screening method based on the four diagnostic methods of traditional Chinese medicine provided in Embodiment 2 of this application. The step S203 above, which involves concatenating all the first feature vectors to obtain a concatenated feature vector, may include the following steps: Step S301: With the constraint that the data variance is greater than a preset threshold, perform dimensionality reduction processing on each of the first feature vectors to obtain the second feature vector corresponding to each of the first feature vectors.

[0042] Step S302: Perform feature concatenation on all second feature vectors to obtain concatenated feature vectors.

[0043] Since the first feature vector may have a relatively high dimension, dimensionality reduction can be performed to reduce the amount of data computation, provided that the data variance is greater than a preset threshold, for example, a preset threshold of 95%. Concatenating the dimensionality-reduced feature vectors results in a significantly lower dimension of the concatenated feature vector, improving computational efficiency while maintaining accuracy.

[0044] Optionally, the step of performing dimensionality reduction processing on each of the first feature vectors, constrained by a data variance greater than a preset threshold, to obtain a second feature vector corresponding to each of the first feature vectors, includes: Based on principal component analysis, autoencoder, linear discriminant analysis, or t-SNE algorithm, with the constraint that the data variance is greater than a preset threshold, dimensionality reduction is performed on each of the first feature vectors to obtain the second feature vector corresponding to each of the first feature vectors.

[0045] Optionally, the step of concatenating all second feature vectors to obtain a concatenated feature vector includes: Based on the preset splicing order, each of the second feature vectors is spliced ​​to obtain a spliced ​​feature vector.

[0046] Optionally, the step of concatenating all second feature vectors to obtain a concatenated feature vector includes: Based on attention mechanism fusion, cross-modal feature alignment and adaptive weighted fusion, each second feature vector is concatenated to obtain a concatenated feature vector.

[0047] The embodiments of this application perform dimensionality reduction processing, which can effectively reduce the amount of computation and improve screening efficiency.

[0048] like Figure 4 The diagram shown is a schematic diagram of the research process of a gastritis screening method based on the four diagnostic methods of traditional Chinese medicine provided in Embodiment 3 of this application.

[0049] This application employs a fusion binary classification model and six independent unimodal binary classification models as its foundation. The corresponding unimodal binary classification models are used to classify the six types of data, capturing the feature vectors output from the pooling layer of each unimodal binary classification model. These feature vectors are then concatenated and input into the fusion binary classification model for classification, thereby achieving screening for positive or negative gastritis. This is a superior screening method and also a highly accurate and reliable method for screening CNAG with erosion.

[0050] The following describes the process of using YOLO11s-cls as the architecture of a unimodal binary classification model, and LightGBM and CatBoost as architectures for fusion binary classification, respectively, to study different multimodal feature fusion strategies. The experimental environment is as follows: Hardware configuration: NVIDIA GeForce RTX 4090D graphics card; Software environment: Ubuntu operating system, Python 3.10 programming language; Framework dependencies: Ultralytics YOLO library based on the PyTorch framework for deep feature extraction; LightGBM and CatBoost models implemented based on the official native library. A unified hardware and software environment ensures the reproducibility and stability of the experiments.

[0051] In addition to using the aforementioned unimodal binary classification model to extract unimodal deep features, we also added the extraction and review of detailed features for traditional Chinese medicine (TCM) observation. Specifically, we used a TCM tongue and pulse classification platform to automatically extract detailed features for TCM observation, including the patient's complexion, lip color, palm, tongue body (pale white, pale red, deep red), tongue surface (teeth marks, prickles, cracks, thickness), tongue coating color (yellow, white), tongue coating texture (thickness, moisture, dryness, greasiness, peeling), and tongue underside. The extracted features were reviewed and corrected by human experts, achieving a consistency rate of 98.6%. If there were disagreements, a third party was consulted for arbitration. Features that passed the review were used as the clinical baseline features and the detailed features for TCM observation.

[0052] Three multimodal feature fusion strategies are designed to construct fused feature vectors as inputs to downstream classification models: (1) Single-modal deep feature concatenation: For example, the 128-dimensional PCA dimensionality reduction feature vectors of six single-modal features, namely tongue surface, tongue bottom, facial image, hand image, left pulse image and right pulse image, are concatenated in a fixed order to form a 768-dimensional fusion feature vector. Only the high-level semantic features of the image automatically extracted from end to end are retained, realizing the preliminary alignment and merging of multimodal information, providing a unified input interface for downstream models, and retaining the source information of each feature dimension, laying the foundation for subsequent feature importance analysis and model interpretability research, and comparing the results with the single-modal model to evaluate the best performance model.

[0053] (2) The clinical baseline features are spliced ​​with the detailed features of TCM inspection. For example, the patient's clinical baseline features (gender, age) are spliced ​​with the detailed features of TCM inspection (face color, lip color, hand color, tongue color, tongue shape, coating color, coating texture, and tongue veins) that have been reviewed and corrected by experts to form a fusion feature vector, which serves as the input interface for the downstream model and is compared with other fusion models. (3) Full feature splicing, for example, splicing 768-dimensional single-modal deep features, clinical baseline features and TCM observation and diagnosis details in a fixed order to form the final full feature fusion vector, which is used as the input interface of the downstream model and compared with the above models.

[0054] Various fused feature vectors are used as inputs to construct LightGBM and CatBoost binary classification models, respectively, outputting the positive probability of "CNAG with erosion". Both models adopt a gradient boosting decision tree structure, gradually optimizing the prediction error through residual learning, and introduce an automatic encoding mechanism for category features, eliminating the need for manual data processing.

[0055] The LightGBM model is implemented based on LGBMClassifier, with the following core parameter configurations: the base number of iterations n_estimators is set to 1000, and the learning rate learning_rate is adjusted to 0.05; to suppress overfitting, the maximum tree depth max_depth is limited to 3, and L1 regularization (reg_alpha=0.1) and L2 regularization (reg_lambda=0.1) are introduced, while the subsampling rate subsample=0.8 and the feature sampling rate colsample_bytree=0.8 are set; the random seed random_state is fixed at 42 to ensure experimental reproducibility, and the number of parallel threads n_jobs=-1 to maximize the utilization of computational resources. During the training phase, the test set partitioned by cross-validation is used as the evaluation set. The AUC metric is monitored, and an early stopping mechanism is enabled (early_stopping(stopping_rounds=100)). Training is terminated when the test set AUC shows no improvement for 100 consecutive rounds, and the model with the optimal number of iterations is retained; redundant output is turned off during training (verbose=-1), and only early stopping-related logs are retained to facilitate tracking of training progress.

[0056] The CatBoost model is built using CatBoostClassifier, with the following key parameters set: 1000 iterations, 0.1 learning rate, a tree depth limit of 5, and a fixed random seed of 42 to ensure reproducible results. During training, the test set partitioned by cross-validation is used as the evaluation set, and an early stopping strategy (early_stopping_rounds=100) is enabled. If the test set loss does not improve for 100 consecutive rounds, training is terminated early, and the best-performing model on the test set is automatically retained by setting use_best_model=True. Training logs are output every 100 rounds (verbose=100) for real-time monitoring of the training progress.

[0057] The single-modal deep features are extracted based on the YOLO11s-cls model. The training parameters of this module are independent of the LightGBM and CatBoost fusion classification models. The specific configuration is as follows: ① Optimizer: The Adam optimizer is used, with an initial learning rate of 0.01. The learning rate is dynamically adjusted through the cosine annealing algorithm and eventually decays to 0.001; ② Loss function: The binary cross-entropy loss function is selected to accurately quantify the error between the model prediction result and the true label; ③ Training hyperparameters: The maximum number of training epochs is 50, and the batch size is 16. Early stopping is used to prevent overfitting. Training is terminated when the test set loss does not decrease significantly for 20 consecutive epochs, and the optimal model parameters are saved.

[0058] The dataset is divided into 10 mutually exclusive subsets. Each fold iteration uses independent training and test sets, and each fold has an independent early stopping mechanism to minimize model overfitting and ensure the robustness of the evaluation results.

[0059] This study used the mean ± standard deviation after 10-fold cross-validation as the final evaluation result, and used accuracy, area under the ROC curve (AUC), and F1 score as comprehensive evaluation indicators for the CNAG-associated erosion screening model.

[0060] CNAG with erosion is recorded as positive, and CNAG group is recorded as negative. In actual prediction results, there are four situations: True Positive (TP) - the actual value is positive and the predicted value is also positive; True Negative (TN) - the actual value is negative and the predicted value is also negative; False Positive (FP) - the actual value is negative and the predicted value is positive; and False Negative (FN) - the actual value is positive and the predicted value is negative.

[0061] ①Accuracy refers to the proportion of correctly predicted samples out of the total number of samples. Accuracy can be used to make a rough performance evaluation of the model. Generally speaking, the higher the accuracy of the model, the better its predictive performance. The calculation formula is: Accuracy = (TP+TN) / (TP+FN+TN+FP).

[0062] ② The ROC (Receiver Operating Characteristic Curve) is plotted by iterating through different classification thresholds, with the False Positive Rate (FPR) on the horizontal axis and the True Positive Rate (TPR) on the vertical axis, thus visually demonstrating the model's dynamic classification performance. AUC (Area Under the Curve) is the area under the ROC curve, ranging from [0,1]. The closer the AUC value is to 1, the higher the diagnostic value of the model and the better its classification performance. TPR and FPR are calculated using the formulas: FPR = FP / (FP+TN) and TPR = TP / (TP+FN), respectively.

[0063] ③ The F1 score is a metric used to measure the performance of a classification model. It combines precision and recall (or sensitivity), with a numerical range of [0,1]. A higher F1 score indicates that the model has a good balance between precision and recall. Precision and recall are calculated using the formulas: Precision = TP / (TP+FP) and Recall = TP / (TP+FN), respectively. The F1 score is calculated using the formula: F1 = 2·(Precision·Recall) / (Precision+Recall).

[0064] To ensure the robustness and reproducibility of the evaluation results, this study used a ten-fold cross-validation strategy to calculate the above indicators for the final optimized model. The final reported results are the mean ± standard deviation of each fold.

[0065] The SHAP (SHapley Additive exPlanations) method was used to analyze the interpretability of the fusion model. The folded model with the diagnostic performance closest to the mean in the ten-fold cross-validation was selected, and the analysis was performed based on the independent test set of that fold. By calculating the contribution value of each feature when it is added to the model, the contribution and direction of each feature to the model's prediction results were quantified, the core features and mechanisms of action of the model's prediction were clarified, and the "black box" of the deep learning model was partially deciphered.

[0066] After data cleaning and screening, this study ultimately included 232 patients with CNAG and erosion, and 146 patients with CNAG. The age, gender, TCM syndrome type, and Hp infection distribution of the two groups are shown in Table 1.

[0067] Regarding age, the average age of the CNAG with erosion group was 47.89±10.29 years, while the average age of the CNAG group was 45.95±11.41 years. The average age of the CNAG with erosion group was slightly higher than that of the CNAG group, but there was no statistically significant difference in age distribution between the two groups (t=1.671, P=0.096>0.05).

[0068] Regarding gender, in the CNAG with erosion group, there were 126 males (54.3%) and 106 females (45.7%), while in the CNAG group, there were 78 males (53.4%) and 68 females (46.6%). The gender distribution trends were similar in both groups, with males accounting for over 50% in both cases, and there was no statistically significant difference between the two groups (χ2=0.028, P=0.866>0.05).

[0069] The distribution of TCM syndrome types differed significantly between the two groups (χ2=27.318, P<0.001). In the CNAG with erosion group, the predominant syndromes were spleen and stomach damp-heat (32.8%), liver and stomach heat stagnation (30.2%), and liver and stomach qi stagnation (25.4%), totaling 88.4%. In the CNAG group, the predominant syndromes were spleen and stomach damp-heat (34.9%), liver and stomach qi stagnation (22.6%), and spleen and stomach qi deficiency (15.1%), totaling 72.6%. The incidence of spleen and stomach deficiency-cold syndrome, stomach yin deficiency syndrome, and stomach meridian obstruction syndrome was low in both groups, with spleen and stomach deficiency-cold syndrome having a relatively higher proportion in the CNAG group.

[0070] Regarding the distribution of Hp infection, 72 cases (31.0%) were positive and 160 cases (69.0%) were negative in the CNAG with erosion group, while 42 cases (28.8%) were positive and 104 cases (71.2%) were negative in the CNAG group. There was no statistically significant difference in Hp infection rate between the two groups (χ2=0.174, P=0.640>0.05).

[0071] Table 1 Continued from Table 1 In Table 1 and Table 1 (continued) above, 1. Age is a quantitative data point, expressed as (…). 1. Mean ± s) indicates the number of cases, and the independent samples t-test was used for comparisons between groups; 2. Gender, TCM syndrome type, and Hp infection are count data, expressed as number of cases (percentage %), and the χ2 test was used for comparisons between groups; 3. The distribution of TCM syndrome type was χ2=27.318 after χ2 test, with degrees of freedom df=6, P<0.001; 4. *P<0.05.

[0072] After extraction, detailed characteristics of the CNAG with erosion group and the CNAG group in terms of facial color, lip color, hand color, tongue color (pale white tongue, pale red tongue, crimson tongue), tongue shape (teeth marks, prickles, cracks, swollen or thin), tongue coating color (yellow coating, white coating), tongue coating texture (thickness, moisture, dryness, greasiness, peeling), and tongue base (sublingual veins) were found to be consistent with those of the CNAG group after expert review. The corrected statistical results are shown in Table 2.

[0073] The difference in facial color distribution between the two groups was statistically significant (χ2=15.626, P=0.005<0.05). The CNAG with erosion group was predominantly bluish (70.3%), followed by white (15.5%); the CNAG group was also predominantly bluish (58.2%), but the proportion of white (29.5%) was significantly higher than that of the CNAG with erosion group.

[0074] The differences in lip color distribution between the two groups were statistically significant (χ2=12.386, P=0.006<0.05). The proportions of deep red and purplish-red lips in the CNAG with erosion group (22.4%, 8.6%) were higher than those in the CNAG group (12.3%, 3.4%), while the proportion of rosy lips in the CNAG group (71.2%) was significantly higher than that in the CNAG with erosion group (55.2%).

[0075] The difference in hand color distribution between the two groups was statistically significant (χ2=16.954, P=0.002<0.05). The CNAG with erosion group mainly showed palmar stagnation (53.0%), while the CNAG group mainly showed palmar stagnation (39.0%) and palmar stagnation (42.5%). No normal palmar stagnation, palmar stagnation due to liver disease, or palmar stagnation due to blood deficiency were observed in either group.

[0076] There was no statistically significant difference in tongue color distribution between the two groups (χ2=0.946, P=0.644>0.05). Both the CNAG with erosion group and the CNAG group showed predominantly pale red tongues (92.7% and 94.5%, respectively), with lower proportions of pale white and deep red tongues. Neither group exhibited cyanotic tongues.

[0077] Regarding the distribution statistics of tongue shape, there were no statistically significant differences in the distribution among the various indicator groups (P>0.05): the incidence rates of teeth marks, punctures, fissures, and swollen tongue in the CNAG with erosion group were 60.8%, 19.8%, 34.9%, and 32.8%, respectively, while those in the CNAG group were 64.4%, 26.7%, 26.7%, and 34.9%, respectively. The distribution trends of tongue shape characteristics were similar in the two groups; the incidence rate of thin tongue was 0 in both groups, and there was no valid statistical data.

[0078] Regarding tongue coating thickness, the proportion of thick coating in the CNAG with erosion group (30.2%) was higher than that in the CNAG group (21.9%). Although there was a trend of numerical difference, the difference between the two groups was not statistically significant (χ2=3.099, P=0.078>0.05). Regarding coating texture, the proportion of greasy coating in the CNAG with erosion group was 64.2%, and in the CNAG group it was 58.2%. The proportions of moist coating were 35.8% and 41.8%, respectively. The CNAG with erosion group had a higher proportion of greasy coating, while the CNAG group had a higher proportion of moist coating, but the difference between the two groups was not statistically significant (χ2=1.370, P=0.242>0.05). The incidence of peeling coating was extremely low, at 1.7% in the CNAG with erosion group and 1.4% in the CNAG group, with no statistically significant difference between the two groups (χ2=0.072, P=1.000>0.05). No dry or putrid coatings were observed in either group.

[0079] The difference in tongue coating distribution between the two groups was statistically significant (χ2=4.209, P=0.043<0.05). The proportion of yellow tongue coating (62.1%) in the CNAG with erosion group was higher than that in the CNAG group (51.4%), while the proportion of white tongue coating (37.9%) was lower in the CNAG group (48.6%).

[0080] There was no statistically significant difference in the color distribution of the sublingual veins between the two groups (χ2=2.133, P=0.344>0.05). Both the CNAG with erosion group and the CNAG group showed predominantly purplish-red lesions (47.4% and 40.4%, respectively), with similar proportions of pale and red lesions.

[0081] Table 2 Continued from Table 2 Continued from Table 2 In Table 2 and Table 2 (continued), 1. Count data are expressed as number of cases (percentage %), and the chi-square test was used for comparison between groups; 2. The number of cases in both groups for hand color "normal, liver disease palm, blood deficiency palm", tongue color "cyanotic", tongue shape "thin tongue", and coating texture "dry coating, putrid coating" was 0. After verification by Fisher's exact test, the chi-square test results of the corresponding indicators were reliable (P value was consistent with the original test); 3. Tongue shape is a non-mutually exclusive morphological feature and does not require case summation verification. There was no valid data for thin tongue and no statistical test was performed (marked "-"); 4. Peeled coating is a special subclass of coating texture and was statistically tested separately; 5. *P<0.05.

[0082] To evaluate the discriminative ability of single modalities for CNAG with erosion, six single-modal models (face, hand, tongue surface, tongue subsidence, right pulse, and left pulse) were trained, and their accuracy and AUC on the test set were calculated. The results are shown in Table 3. As shown in Table 3, the tongue surface model had the highest accuracy (0.7632), while the face model had the highest AUC (0.8095), indicating that the visual features of the tongue surface and face modalities have higher discriminative value for CNAG with erosion. The accuracy of the hand, left pulse, and right pulse models was consistent (0.6842), but their AUCs differed (0.7173, 0.6726, and 0.6101, respectively). The hand model had a relatively higher AUC, suggesting that its overall discriminative performance was better than the left and right pulse models. The tongue subsidence model had the lowest accuracy (0.6579) and AUC (0.5804), possibly reflecting the limited discriminative ability of this modality.

[0083] Table 3 YOLO11s-cls deep features were extracted from six modalities: tongue surface, tongue base, face, left pulse, right pulse, and hand. The 128-dimensional features of each modality were concatenated into a 768-dimensional fusion feature, and then LightGBM and CatBoost binary classification models were constructed. The model performance is shown in Table 4.

[0084] The LightGBM model achieved an AUC of 0.9417, an F1 score of 0.8696, and an accuracy of 0.8421; the CatBoost model achieved an AUC of 0.9278, an F1 score of 0.8085, and an accuracy of 0.7632. Based on all metrics, LightGBM outperformed CatBoost in this task, and the overall discriminative performance of the single-modal deep feature concatenation model was superior to that of the single-modal model.

[0085] Table 4 After fusing patient clinical baseline characteristics (gender, age) with detailed features from traditional Chinese medicine observation, two binary classification models, LightGBM and CatBoost, were constructed, and their performance is shown in Table 5. The LightGBM model achieved an AUC of 0.8111, an F1 score of 0.7143, and an accuracy of 0.6842; the CatBoost model achieved an AUC of 0.7528, an F1 score of 0.7273, and an accuracy of 0.6842. Overall, LightGBM outperformed CatBoost in AUC (0.8111 > 0.7528), while CatBoost had a slightly higher F1 score (0.7273 > 0.7143), and both models had similar accuracy. The overall performance of both models was lower than that of the single-modal deep feature concatenation model.

[0086] Table 5 After fusing six unimodal deep features (tongue surface, tongue floor, tongue face, left pulse, right pulse, and hand), clinical baseline features (gender, age), and detailed features from traditional Chinese medicine observation, a binary classification model of LightGBM and CatBoost was constructed. The performance is shown in Table 6. The LightGBM model achieved an AUC of 0.9361, an F1 score of 0.8511, and an accuracy of 0.8158; the CatBoost model achieved an AUC of 0.9139, an F1 score of 0.7451, and an accuracy of 0.6579. Based on these metrics, LightGBM outperforms CatBoost in AUC, F1 score, and accuracy, with a more significant advantage in accuracy and F1 score.

[0087] Table 6 The multimodal deep feature concatenation strategy demonstrates the best overall performance in AUC, F1 score, and accuracy, outperforming individual single-modal models and other fusion strategies. Although this advantage is based on a single dataset partition and has some randomness, it provides a clear direction for further rigorous validation of this fusion strategy.

[0088] To overcome the performance bias caused by a single random partitioning in small sample sizes and obtain more reliable generalization performance estimates, ten-fold stratified cross-validation was implemented on the LightGBM and CatBoost models under this strategy to further evaluate the stability, generalization ability, and clinical applicability of the two models. The validation process used patients as independent partitioning units to avoid bias caused by data leakage and imbalanced sample distribution. Meanwhile, regularization parameters (reg_alpha=0.1, reg_lambda=0.1 for the LightGBM model) were set to suppress overfitting in small sample, high-dimensional feature scenarios, ensuring the reliability of the validation results. Detailed results for each fold are shown in Tables 7 and 8, and the overall performance comparison of the two models is shown in Table 9.

[0089] The results show that the LightGBM model exhibits relatively small performance fluctuations across folds and excellent stability: AUC ranges from 0.7899 to 0.9014 with a mean of 0.8453; F1 score ranges from 0.7541 to 0.8511 with a mean of 0.8157; and accuracy ranges from 0.6053 to 0.8108 with a mean of 0.7461. The CatBoost model shows more significant fluctuations across folds: AUC ranges from 0.7913 to 0.9246 with a mean of 0.8559; F1 score ranges from 0.7556 to 0.9200 with a mean of 0.8203; and accuracy ranges from 0.7105 to 0.8947 with a mean of 0.7648.

[0090] Table 9 summarizes the overall performance of the two models in 10-fold cross-validation (expressed as mean ± standard deviation). In terms of average performance, CatBoost's AUC, F1 score, and accuracy are slightly higher than LightGBM, suggesting a slight advantage in overall discrimination ability in this study task. However, from a stability perspective, LightGBM has smaller standard deviations across the three core metrics (AUC standard deviation 0.0295 vs 0.0375, F1 score standard deviation 0.0286 vs 0.0476, accuracy standard deviation 0.0548 vs 0.0581). A smaller standard deviation indicates better performance consistency across different data subsets, stronger robustness, and better adaptability to real-world scenarios with significant differences in sample characteristics in clinical settings.

[0091] Given that this study is a medical AI research scenario with small sample sizes and high-dimensional features, the stability and reproducibility of the model in clinical applications are far more practically significant than simply considering inter-variable average performance—a stable model can effectively avoid discrimination bias caused by sample differences and improve the reliability of clinical applications. Therefore, considering both the average performance and stability of the model, LightGBM is determined to be the optimal classification model for this study.

[0092] Table 7 Table 8 Table 9 Based on the performance verification results of the aforementioned multimodal fusion model, the model under the single-modal deep feature splicing strategy demonstrates superior overall performance in the discrimination of CNAG with erosion. To ensure the representativeness, robustness, and objectivity of the SHAP interpretability analysis results, this study uses the minimum Euclidean distance between the AUC, F1 score, and accuracy and the mean of the ten-fold cross-validation as the criterion, selecting the folded model whose performance indicators are closest to the mean for analysis: among them, the LightGBM model selected the fourth fold (AUC=0.8638, deviation from the mean 0.8453 by 0.0185; F1 score=0.8235, deviation from the mean 0.8157 by 0.0185). The CatBoost model was selected at the 9th fold (AUC = 0.8540, deviation from mean 0.8559 0.0019; F1 score = 0.8333, deviation from mean 0.8203 0.0130; accuracy = 0.7838, deviation from mean 0.7648 0.0190) to ensure that the analysis results truly reflect the actual decision-making patterns of the model.

[0093] To clarify the contribution and influence of each feature on the model's prediction results, this study uses the SHAP method to conduct interpretability analysis on two models, CatBoost and LightGBM. In the CatBoost model, features are ranked from highest to lowest importance, with facial features mian_0 and mian_1 being the most core input variables. The SHAP value distribution direction analysis results show that high values ​​(red dots) of facial features such as mian_0 and mian_1 are mostly concentrated in the positive SHAP value region, indicating that their increased values ​​will significantly drive the model to predict CNAG with erosion. High values ​​of tongue features such as shedi_1 are mostly distributed in the negative SHAP value region, showing a driving effect on the prediction of CNAG. The SHAP values ​​of other features such as shou_69 and shedi_7 are more concentrated near 0, and their influence on the model output is relatively weak.

[0094] In the LightGBM model, the ranking of feature importance is highly consistent with that of the CatBoost model. main_0 and main_1 are still among the top core features, with only minor differences in the ranking of importance of secondary features. The SHAP value direction analysis results are completely consistent with the CatBoost model. The high values ​​of facial features such as main_0 and main_1 also correspond to positive SHAP values, further verifying their positive correlation with the risk of CNAG with erosive disease. The influence direction of other features has not shown any fundamental reversal.

[0095] In summary, the SHAP interpretability analysis clarified the core features and mechanisms of the model's predictions, verified the rationality and reliability of the prediction results of the single-modal deep feature splicing model, and demonstrated a high degree of consistency between the two models in identifying the core features, further proving the interpretability of the model in the discrimination of CNAG with erosion. Furthermore, the core features are concentrated in areas such as the face, tongue floor, and hand image, which corroborates the previous single-modal model performance analysis, providing a theoretical basis and practical guidance for subsequent model optimization and clinical application.

[0096] This study constructed three multimodal models with different fusion strategies and comprehensively compared and analyzed their discriminative efficacy. The fusion model of single-modal deep feature splicing was superior to six single-modal binary classification models. This result not only reflects the advantages of deep learning technology, but also fits the core diagnostic and treatment concept of "four diagnostic methods combined" in traditional Chinese medicine - to achieve a comprehensive assessment of the patient's overall pathogenesis through the fusion of features from multiple sites.

[0097] From the perspective of multimodal fusion strategies, the performance of the single-modal deep feature concatenation model (LightGBM: AUC=0.9417, accuracy=0.8421) is significantly better than both the concatenation of clinical baseline features and TCM observation details (LightGBM: AUC=0.8111, accuracy=0.6842) and the full feature concatenation (LightGBM: AUC=0.9361, accuracy=0.8158). The core reason is that the deep learning features extracted by the YOLO11s-cls model can uncover subtle features invisible to the naked eye (such as tongue texture, changes in facial color brightness, and pulse waveform details). These features correspond to microscopic pathogenesis information in TCM diagnosis, further improving the model's discrimination accuracy. In contrast, the patient clinical baseline characteristics (gender, age) and TCM diagnostic details, which are text-based data, are relatively superficial. Even with expert review, the judgment is somewhat subjective and it is difficult to fully capture the deep pathogenesis information. At the same time, there is no significant difference in gender among the patient clinical baseline characteristics, and age can only reflect the basic physical condition. Therefore, adding baseline and diagnostic details to the single-modal deep features not only does not improve the model performance, but may also introduce redundant information, resulting in a slight decrease in performance.

[0098] It should be noted that the above performance data are all based on a single 9:1 random partition, and their effectiveness values ​​are subject to certain risks of overestimation, mainly because the sample distribution of a single test set is prone to accidental bias in small sample scenarios. In contrast, 10-fold stratified cross-validation, through multiple rounds of cyclical validation of mutually exclusive subsets, can more objectively reflect the generalization performance of the model in real clinical scenarios. Therefore, this study uses the results of 10-fold cross-validation as the final evaluation basis for model performance.

[0099] Comparing the two algorithms, 10-fold cross-validation showed that the CatBoost model had a slightly higher average performance than the LightGBM model. However, the LightGBM model had smaller standard deviations in AUC, F1 score, and accuracy (AUC standard deviation 0.0295 vs 0.0375, F1 score standard deviation 0.0286 vs 0.0476), indicating lower volatility and stronger robustness. Considering that this study involved a small sample size and high-dimensional features, model stability was more clinically significant than instantaneous mean—in clinical applications, a stable model can reduce the risk of misdiagnosis and missed diagnosis. Therefore, the LightGBM model was deemed more suitable as the optimal classification model for this study. This result is highly consistent with the characteristics of the two algorithms: LightGBM, based on histogram decision trees, is easier to control in terms of complexity and reduces the risk of overfitting in small sample, high-dimensional data, and can provide an algorithmic reference for similar multimodal studies of TCM diagnostic methods.

[0100] Compared with the prior art, this application has the following significant advantages and beneficial effects: 1. Achieve truly non-invasive screening: This method can complete the initial screening of CNAG with erosion risk by collecting images of the body surface such as tongue, face, palm, and pulse. It does not require invasive operation, ionizing radiation, or fasting preparation, and has high patient compliance. It is suitable for large-scale population screening and grassroots promotion.

[0101] 2. Multimodal fusion significantly improves recognition performance: The LightGBM model under the single-modal deep feature stitching strategy achieved an AUC of 0.9417, an accuracy of 0.8421, and an F1 score of 0.8696 in a single segmentation. The mean AUC of the 10-fold cross-validation results was 0.8453±0.0295, the mean accuracy was 0.7461±0.0548, and the mean F1 score was 0.8157±0.0286, which significantly outperformed all single-modal models and the clinical baseline + visual detail feature stitching model, verifying the effectiveness of multi-source information fusion.

[0102] 3. In line with the TCM theory of "integration of the four diagnostic methods": The simultaneous acquisition scheme of six types of TCM body surface image data has constructed a multi-dimensional TCM body surface feature dataset covering inspection (tongue, face, palm) and palpation (bilateral pulse). SHAP analysis shows that facial features are the core variable for model prediction, while tongue and hand features also play an important role. The distribution of feature importance shows multi-dimensional and multi-level characteristics, which is highly consistent with the TCM theory of "integration of the four diagnostic methods" and holistic diagnosis, providing a technical paradigm for the objectification and intelligentization of TCM diagnosis.

[0103] 4. The model possesses interpretability: Employing the SHAP interpretability analysis method, the contribution and direction of influence of each feature on the model's predictions are quantified, providing decision-making support for clinicians, enhancing model credibility, and facilitating the clinical application of the model. The two models (LightGBM and CatBoost) demonstrate a high degree of consistency in identifying core features, validating the model's rationality and reliability.

[0104] 5. The model has excellent stability and generalization ability: The LightGBM model has small standard deviations for all evaluation indicators in 10-fold cross-validation (AUC standard deviation 0.0295, F1 standard deviation 0.0286, accuracy standard deviation 0.0548), with lower fluctuations and stronger robustness. It is better able to adapt to the actual scenario in clinical practice where there are large differences in sample characteristics, and reduce the risk of misdiagnosis and missed diagnosis.

[0105] 6. The reliability of detailed features of TCM observation diagnosis is ensured by expert review: Detailed features of observation diagnosis are automatically extracted through the TCM tongue, face and pulse classification platform and reviewed and corrected by more than two associate chief TCM physicians, with a consistency rate of 98.6%, ensuring the clinical reliability and standardization of the feature data.

[0106] Corresponding to the gastritis screening method based on the four diagnostic methods of traditional Chinese medicine in the above embodiment, Figure 5 This diagram illustrates the structural block diagram of the gastritis screening device based on the four diagnostic methods of Traditional Chinese Medicine provided in Embodiment 4 of this application. For ease of explanation, only the parts relevant to the embodiments of this application are shown. like Figure 5 As shown, this gastritis screening device based on the four diagnostic methods of traditional Chinese medicine includes: Data receiving module 51 is used to receive TCM four diagnostic data of the user to be screened. The TCM four diagnostic data includes six types of data, namely tongue surface image, tongue bottom image, facial image, hand image, left pulse signal and right pulse signal. The feature capture module 52 is used to input each type of data in the four diagnostic methods of traditional Chinese medicine into a corresponding single-modal binary classification model for binary classification, and capture the first feature vector output by the pooling layer of each single-modal binary classification model; The feature concatenation module 53 is used to concatenate all the first feature vectors to obtain the concatenated feature vector; The feature classification module 54 is used to input the spliced ​​feature vector into the fusion binary classification model and output the binary classification result, wherein the binary classification result is either gastritis positive or gastritis negative; The gastritis screening module 55 is used to determine the gastritis screening result of the user to be screened based on the binary classification result.

[0107] Optionally, the feature splicing module 53 includes: The feature dimensionality reduction unit is used to perform dimensionality reduction processing on each of the first feature vectors with the constraint that the data variance is greater than a preset threshold, so as to obtain the second feature vector corresponding to each of the first feature vectors. The feature concatenation unit is used to concatenate all the second feature vectors to obtain the concatenated feature vector.

[0108] Optionally, the feature dimensionality reduction unit includes: The feature dimensionality reduction subunit is used to perform dimensionality reduction processing on each of the first feature vectors based on principal component analysis algorithm, autoencoder, linear discriminant analysis algorithm or t-SNE algorithm, with the constraint that the data variance is greater than a preset threshold, to obtain the second feature vector corresponding to each of the first feature vectors.

[0109] Optionally, the feature splicing unit includes: The first feature splicing subunit is used to splice each of the second feature vectors according to a preset splicing order to obtain a spliced ​​feature vector.

[0110] Optionally, the feature splicing unit includes: The second feature splicing subunit is used to splice features from each second feature vector based on attention mechanism fusion, cross-modal feature alignment and adaptive weighted fusion to obtain a spliced ​​feature vector.

[0111] Optionally, the single-modal binary classification model is constructed using YOLO11s-cls, ResNet, EfficientNet-V2, MobileNet-V3, or Vision Transformer, and the fusion binary classification model is constructed using LightGBM, CatBoost, XGBoost, Random Forest, Support Vector Machine, or Deep Neural Network.

[0112] Optionally, the six independent single-modal binary classification models are tongue surface binary classification model, tongue base binary classification model, facial image binary classification model, hand image binary classification model, left pulse image binary classification model, and right pulse image binary classification model. The feature capture module 52 includes: The tongue surface binary classification unit is used to input the tongue surface image into the tongue surface binary classification model for binary classification. The tongue underside binary classification unit is used to input the tongue underside image into the tongue underside binary classification model for binary classification. A face image binary classification unit is used to input the face image into the face image binary classification model for binary classification. The hand image binary classification unit is used to input the hand image into the hand image binary classification model for binary classification. The left pulse image binary classification unit is used to convert the left pulse image signal into a left pulse image image, and input the left pulse image image into the left pulse image binary classification model for binary classification. The right pulse binary classification unit is used to convert the right pulse signal into a right pulse image and input the right pulse image into the right pulse binary classification model for binary classification.

[0113] It should be noted that the information interaction and execution process between the above modules, units, and sub-units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0114] This application also provides an electronic device 60, please refer to... Figure 6 It includes a memory 61 and a processor 62, wherein the memory 61 is used to store computer programs; the processor 62 is used to execute the programs stored in the memory 61 to implement the gastritis screening method based on the four diagnostic methods of traditional Chinese medicine described in any embodiment of this application.

[0115] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the gastritis screening method based on the four diagnostic methods of traditional Chinese medicine as described in any embodiment of this application.

[0116] In this application, "multiple" refers to two or more.

[0117] In this application, unless otherwise expressly defined, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0118] The terms “first,” “second,” “third,” “fourth,” etc., in this application (if present) are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0119] In this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, in this application, the character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0120] Unless otherwise specified, all steps in this application may be performed sequentially or randomly. For example, if the method includes steps A and B, it means that the method may include steps A and B performed sequentially, or it may include steps B and A performed sequentially. For example, if the method may also include step C, it means that step C may be added to the method in any order. For example, the method may include steps A, B, and C, or it may include steps A, C, and B, or it may include steps C, A, and B, etc.

[0121] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A gastritis screening method based on the four diagnostic methods of Traditional Chinese Medicine, characterized in that, The gastritis screening based on the four diagnostic methods of Traditional Chinese Medicine is applied to the server. The server is equipped with a fusion binary classification model and six independent unimodal binary classification models. Each unimodal binary classification model is trained on a training set constructed using corresponding type data and gastritis positive / negative labels as a set of training data. The fusion binary classification model is trained on a training set constructed using all types of data and gastritis positive / negative labels as a set of training data, including: The system receives TCM diagnostic data from users to be screened. The TCM diagnostic data includes six types of data: tongue surface image, tongue base image, facial image, hand image, left pulse signal, and right pulse signal. Each type of data in the four diagnostic methods of traditional Chinese medicine is input into a corresponding single-modal binary classification model for binary classification, and the first feature vector output by the pooling layer of each single-modal binary classification model is captured. Perform feature concatenation on all the first feature vectors to obtain the concatenated feature vector; The concatenated feature vector is input into the fusion binary classification model, and the binary classification result is output, wherein the binary classification result is either positive for gastritis or negative for gastritis. Based on the binary classification results, the gastritis screening result of the user to be screened is determined.

2. The gastritis screening method based on the four diagnostic methods of traditional Chinese medicine according to claim 1, characterized in that, The step of concatenating all the first feature vectors to obtain the concatenated feature vector includes: With the constraint that the data variance is greater than a preset threshold, dimensionality reduction is performed on each of the first feature vectors to obtain the second feature vector corresponding to each of the first feature vectors. All second feature vectors are concatenated to obtain concatenated feature vectors.

3. The gastritis screening method based on the four diagnostic methods of traditional Chinese medicine according to claim 2, characterized in that, The step of performing dimensionality reduction processing on each of the first feature vectors, constrained by a data variance greater than a preset threshold, to obtain a second feature vector corresponding to each of the first feature vectors, includes: Based on principal component analysis, autoencoder, linear discriminant analysis, or t-SNE algorithm, with the constraint that the data variance is greater than a preset threshold, dimensionality reduction is performed on each of the first feature vectors to obtain the second feature vector corresponding to each of the first feature vectors.

4. The gastritis screening method based on the four diagnostic methods of traditional Chinese medicine according to claim 2, characterized in that, The step of concatenating all second feature vectors to obtain a concatenated feature vector includes: Based on the preset splicing order, each of the second feature vectors is spliced ​​to obtain a spliced ​​feature vector.

5. The gastritis screening method based on the four diagnostic methods of traditional Chinese medicine according to claim 2, characterized in that, The step of concatenating all second feature vectors to obtain a concatenated feature vector includes: Based on attention mechanism fusion, cross-modal feature alignment and adaptive weighted fusion, each second feature vector is concatenated to obtain a concatenated feature vector.

6. The gastritis screening method based on the four diagnostic methods of traditional Chinese medicine according to claim 1, characterized in that, The single-modal binary classification model is constructed using YOLO11s-cls, ResNet, EfficientNet-V2, MobileNet-V3, or VisionTransformer, while the fusion binary classification model is constructed using LightGBM, CatBoost, XGBoost, Random Forest, Support Vector Machine, or Deep Neural Network.

7. The gastritis screening method based on the four diagnostic methods of traditional Chinese medicine according to any one of claims 1 to 6, characterized in that, The six independent single-modal binary classification models are the tongue surface binary classification model, the tongue base binary classification model, the facial image binary classification model, the hand image binary classification model, the left pulse image binary classification model, and the right pulse image binary classification model. The step of inputting each type of data in the four diagnostic methods of traditional Chinese medicine into a corresponding single-modal binary classification model for binary classification includes: The tongue surface image is input into the tongue surface binary classification model for binary classification. The tongue underside image is input into the tongue underside binary classification model for binary classification; The facial image is input into the facial binary classification model for binary classification. The hand image is input into the hand image binary classification model for binary classification. The left pulse signal is converted into a left pulse image, and the left pulse image is input into the left pulse binary classification model for binary classification. The right pulse signal is converted into a right pulse image, and the right pulse image is input into the right pulse binary classification model for binary classification.

8. A gastritis screening device based on the four diagnostic methods of Traditional Chinese Medicine, characterized in that, The gastritis screening based on the four diagnostic methods of Traditional Chinese Medicine is applied to the server. The server is equipped with a fusion binary classification model and six independent unimodal binary classification models. Each unimodal binary classification model is trained on a training set constructed using corresponding type data and gastritis positive / negative labels as a set of training data. The fusion binary classification model is trained on a training set constructed using all types of data and gastritis positive / negative labels as a set of training data, including: The data receiving module is used to receive the TCM four diagnostic data of the user to be screened. The TCM four diagnostic data includes six types of data, namely tongue surface image, tongue bottom image, facial image, hand image, left pulse signal and right pulse signal. The feature capture module is used to input each type of data in the four diagnostic methods of traditional Chinese medicine into a corresponding single-modal binary classification model for binary classification, and capture the first feature vector output by the pooling layer of each single-modal binary classification model; The feature concatenation module is used to concatenate all the first feature vectors to obtain the concatenated feature vector. The feature classification module is used to input the concatenated feature vector into the fusion binary classification model and output the binary classification result, wherein the binary classification result is either positive for gastritis or negative for gastritis. The gastritis screening module is used to determine the gastritis screening result of the user to be screened based on the binary classification results.

9. An electronic device, characterized in that, Including processor and memory, among which, Memory, used to store computer programs; A processor for executing a program stored in memory to implement the gastritis screening method based on the four diagnostic methods of traditional Chinese medicine as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the gastritis screening method based on the four diagnostic methods of traditional Chinese medicine as described in any one of claims 1-7.