Living risk prediction method, device and equipment based on microbiome data

Through the combination of the variational autoencoder model and the Transformer encoder, the problem of high dimensionality and limited sample size of microbiome data is solved, the prediction performance is improved, and the accurate judgment of the survival status of cancer patients is achieved through deep feature extraction, which provides Clinical treatment provides auxiliary help.

CN118538295AInactive Publication Date: 2024-08-23YUNNAN UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410682162.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Deep learning models are susceptible to high dimensionality and limited sample size when processing microbiome data, leading to model overfitting and reduced predictive performance. The interpretability of the data is limited, making it difficult to understand the model decision-making process and extract biological insights.

Method used

The variational autoencoder model is used for data reconstruction and enhancement. By adding the original microbial data and the reconstructed data, the enhanced data expression is obtained, and mapped to a fixed-dimensional vector space, combined with the survival of the Transformer encoder and the fully connected layer. Risk prediction models make predictions.

Benefits of technology

It effectively alleviates the problem of model overfitting, improves prediction performance, provides richer information data through deep feature extraction, enables accurate judgment of the risk level of survival status of cancer patients, and provides auxiliary judgment assistance for clinical treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118538295A
    Figure CN118538295A
Patent Text Reader

Abstract

The invention relates to the technical field of neural network prediction, and discloses a survival risk prediction method and device based on microbiome data, equipment and a storage medium. The method comprises the following steps: acquiring clinical data and original microbiological data of three different types of cancer patients; making classification labels for the original microbiological data according to the clinical data; inputting the original microbiological data into the trained variational auto-encoder model to obtain corresponding reconstructed microbiological data decoded from the potential space; adding the original microbiological data and the corresponding reconstructed microbiological data to obtain enhanced data expression; performing mapping processing on the enhanced data expression to obtain vector space data of a fixed dimension; and inputting the vector space data into a trained survival risk prediction model, and outputting a prediction result. According to the method, the problem of model overfitting caused by the characteristics of high dimension and low sample size of original microbiological data can be greatly relieved, and the model performance and the prediction accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of neural network prediction technology, and in particular to a method, device and equipment for predicting survival risk based on microbiome data. Background Art

[0002] As our understanding of the microbiome continues to deepen, it is becoming increasingly clear that the human microbiome plays a key role in human health and disease development. The microbiome is composed of billions of microorganisms, forming a complex and diverse ecosystem in the human body, affecting all aspects of human life. They have been shown to be associated with the carcinogenic effects of certain cancers. The abundance of various microorganisms varies greatly in different types of cancer and significantly affects the response to cancer treatment. These facts continue to demonstrate the great potential of the microbiome in the diagnosis of various cancer diseases.

[0003] In previous studies, machine learning has played a key role in processing microbiome information and predicting patient survival status. In recent years, some researchers have tried to use attention mechanisms to process biological data. With the continuous development of deep learning, especially the widespread application of variational autoencoders (VAE) and Transformers, patient survival analysis research has continued to develop towards deep learning methods. For example, some studies have applied deep learning methods to analyze the human gut microbiome for disease prediction. These methods effectively solve the problem of poor prediction performance of traditional machine learning models when dealing with high-dimensional, low-data scenarios. Although new technologies continue to enrich human understanding of the expression of microbiome data, there are still challenges in effectively utilizing the potential of these microbial data. First and foremost, microbiome data usually present high dimensions and limited sample sizes. Therefore, during the training process, deep learning methods are susceptible to the curse of dimensionality, resulting in model overfitting, which in turn leads to decreased prediction performance. Secondly, the interpretability of microbiome data is limited, and even if the model is able to make predictions, it will face similar challenges. Therefore, it is still a challenge to understand how the model makes decisions and extract biological insights from it.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a survival risk prediction method, device and equipment based on microbiome data, aiming to solve the problem that the prediction model is easily affected by the high dimension and limited sample size of microbiome data, resulting in model overfitting and thus causing a decrease in prediction performance.

[0006] The first aspect of the present invention provides a survival risk prediction method based on microbiome data, comprising: obtaining clinical data and original microbiological data of three different types of cancer patients, wherein the three different types of cancer refer to skin squamous cell melanoma, lung squamous cell carcinoma and renal clear cell carcinoma, respectively; making corresponding classification labels for the original microbiological data of the cancer patients according to the clinical data, and the classification labels include long-term survival and short-term survival; inputting the original microbiological data into a trained variational autoencoder model to obtain corresponding reconstructed microbial data decoded from a latent space; adding the original microbiological data to the corresponding reconstructed microbial data to obtain an enhanced data expression; mapping the enhanced data expression to obtain vector space data of a fixed dimension; inputting the vector space data into a trained survival risk prediction model to output a prediction result.

[0007] Optionally, in a first implementation manner of the first aspect of the present invention, the step of creating corresponding classification labels for the original microbiological data of the cancer patient based on the clinical data includes: obtaining the clinical data of each cancer patient, the clinical data including the overall survival time, and the overall survival time refers to the overall time from the start of treatment to death of the cancer patient; setting a survival threshold, if the overall survival time of the cancer patient is greater than or equal to the survival threshold, classifying the classification label of the original microbiological data of the cancer patient as long-term survival; if the overall survival time of the cancer patient is less than the survival threshold, classifying the classification label of the original microbiological data of the cancer patient as short-term survival.

[0008] Optionally, in a second implementation of the first aspect of the present invention, the training step of the trained variational autoencoder model includes: constructing an initial variational autoencoder model, wherein the initial variational autoencoder model includes an encoder and a decoder, and the expression formulas thereof are respectively and Among them, X i represents the raw microbiology data of a cancer patient, Encoder(·) represents the encoder of the initial variational autoencoder model, μ i and denote the mean and variance of the latent distribution to which the encoder is mapped, respectively; represents the distribution of the latent space, Z is the latent distribution A sample of Dncoder(·) represents the decoder of the initial variational autoencoder model, is the reconstructed microbial data decoded from the latent space; the loss function of the initial variational autoencoder model is constructed, and its expression formula is: in, Represents the reconstruction loss, which is the input original microbiology data X i Reconstructing microbial data The KL divergence represents the difference between the distribution of latent variables and the standard normal distribution; the initial variational autoencoder model is trained with the original microbiology data so that the loss function of the initial variational autoencoder model reaches the threshold, and the trained variational autoencoder model is obtained.

[0009] Optionally, in a third implementation of the first aspect of the present invention, the original microbiological data is added to the corresponding reconstructed microbiological data to obtain a formula for enhancing data expression: Among them, X i represents the raw microbiology data of cancer patients, It is the reconstructed microbial data decoded from the latent space.

[0010] Optionally, in a fourth implementation of the first aspect of the present invention, by B i =Embedding(E i ) function performs mapping processing on the enhanced data expression to obtain vector space data of fixed dimension.

[0011] Optionally, in a fifth implementation of the first aspect of the present invention, the survival risk prediction model includes multiple Transformer encoders and a fully connected layer connected to the last Transformer encoder, wherein each Transformer encoder includes a multi-head attention and a positional fully connected feedforward neural network.

[0012] Optionally, in a sixth implementation of the first aspect of the present invention, the formula for the multi-head attention is: The formula of the position fully connected feedforward neural network is: Among them, Q, K, and V are the three intermediate results obtained in the attention calculation process, which are obtained by multiplying the input data by three different weight matrices respectively; d k It refers to the characteristic dimension size of the three matrices Q, K, and V. It refers to the result matrix obtained after attention calculation, W1 and W2 refer to the weight matrix in the position fully connected feedforward neural network, and b1 and b2 refer to the bias matrix in the position fully connected feedforward neural network.

[0013] The second aspect of the present invention provides a survival risk prediction device based on microbiome data, comprising: an acquisition module, used to acquire clinical data and original microbiological data of three different types of cancer patients, wherein the three different types of cancer refer to cutaneous squamous cell melanoma, lung squamous cell carcinoma and renal clear cell carcinoma, respectively; a label making module, used to make corresponding classification labels for the original microbiological data of the cancer patients according to the clinical data, and the classification labels include long-term survival and short-term survival; a data reconstruction module, used to input the original microbiological data into a trained variational autoencoder model to obtain the corresponding reconstructed microbial data decoded from the latent space; a data enhancement module, used to add the original microbiological data to the corresponding reconstructed microbial data to obtain an enhanced data expression; a mapping processing module, used to perform mapping processing on the enhanced data expression to obtain vector space data of fixed dimension; a prediction module, used to input the vector space data into a trained survival risk prediction model and output a prediction result.

[0014] A third aspect of the present invention provides a survival risk prediction device based on microbiome data, comprising: a memory and at least one processor, wherein the memory stores computer-readable instructions, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the computer-readable instructions in the memory so that the survival risk prediction device based on microbiome data performs the various steps of the survival risk prediction method based on microbiome data as described above.

[0015] A fourth aspect of the present invention provides a computer-readable storage medium, which stores computer-readable instructions. When the computer-readable storage medium is run on a computer, the computer executes the various steps of the survival risk prediction method based on microbiome data as described above.

[0016] Beneficial effects: The present invention provides a survival risk prediction method based on microbiome data, which greatly reduces the model overfitting problem caused by the high dimension and low sample size characteristics of the original microbiological data through transfer learning, and improves the model performance; further through the hierarchical structure of the Transformer encoder, deep feature extraction is performed on the original microbiological data to provide richer information data for downstream tasks, so that it is possible to more accurately judge the patient's survival status risk level through the cancer patient's microbial data, and provide auxiliary judgment assistance for clinical treatment. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A flowchart of a method for predicting survival risk based on microbiome data provided in an embodiment of the present invention;

[0018] Figure 2It is a schematic diagram of the structure of the variational autoencoder model and the survival risk prediction model of the present invention.

[0019] Figure 3 The figure is a comparison chart of the prognostic prediction results of the Kaplan-Meier curve for three cancer data sets.

[0020] Figure 4 A schematic diagram of the structure of a survival risk prediction device based on microbiome data provided by an embodiment of the present invention;

[0021] Figure 5 A schematic diagram of the structure of a survival risk prediction device based on microbiome data provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0022] Embodiments of the present invention provide a method, apparatus, device and storage medium for predicting survival risk based on microbiome data. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] Microorganisms play a key role in human health and disease development, and they are associated with the carcinogenic effects of certain cancers. The abundance of various microorganisms varies greatly in different types of cancer and significantly affects the response to cancer treatment. However, in the medical field, the main problem is data sparsity. Currently, the microbiological data of cancer patients usually show the characteristics of high dimensionality and low sample size. Therefore, during the model training process, deep learning methods are easily affected by the disaster of data dimensionality, resulting in model overfitting, which in turn leads to decreased prediction performance.

[0024] Based on this, the present invention provides a method for predicting survival risk based on microbiome data, such as Figure 1 As shown, it includes the steps of:

[0025] S10. Obtain clinical data and original microbiological data of patients with three different types of cancer, where the three different types of cancer are cutaneous squamous cell melanoma, lung squamous cell carcinoma, and renal clear cell carcinoma;

[0026] Specifically, the present invention obtains clinical data and original microbiological data of three different types of cancer samples from the cBioPortal public database. These three different types of cancer are cutaneous squamous cell melanoma (SKCM), lung squamous cell carcinoma (LUSC) and renal clear cell carcinoma (KIRC). Because there are a large number of patient samples of these three types of cancer, the model can learn more fully, and after testing, the prediction results of these three types are more prominent and accurate. These data in the present invention are all from the cBioPortal public database, that is, TCGA data downloaded from the cBioPortal public database. This database includes various types of cancer and provides comprehensive clinical and microbiological data information for each patient. In order to capture various types of information, our research focuses on patients with available clinical and microbiological data.

[0027] After obtaining the clinical data and original microbiological data of cancer samples, the present invention also needs to perform consistent preprocessing on them. For clinical data, the original data includes 38 types of patient information, some of which are redundant and repeated. We only used three types of data: patient identifier, overall survival status and overall survival time (calculated in months), some of which have missing values. In order to deal with the missing values ​​in these data, the present invention directly deletes the clinical data related to them. Since the total amount of patient data in the clinical data is greater than the original microbiological data, the present invention only retains the clinical data of patients with original microbiological data, and uses these original microbiological data for pre-training. The patient identifier in the present invention is a special name in the TCGA database, that is, each patient corresponds to a unique identifier. In the present invention, the original microbiological data mainly includes the types and quantities of microorganisms.

[0028] S20, creating corresponding classification labels for the original microbiological data of the cancer patient according to the clinical data, wherein the classification labels include long-term survival and short-term survival;

[0029] Since microbial data lacks classification labels, the present invention needs to make a classification label for each cancer patient sample. Specifically, the clinical data of each cancer patient is obtained, and the clinical data includes the overall survival time, which refers to the overall time from the start of treatment to the death of the cancer patient; a survival threshold is set, and if the overall survival time of the cancer patient is greater than or equal to the survival threshold, the classification label of the original microbiological data of the cancer patient is divided into long-term survival and marked as 1; if the overall survival time of the cancer patient is less than the survival threshold, the classification label of the original microbiological data of the cancer patient is divided into short-term survival and marked as 0; if the overall survival time of the cancer patient cannot be determined, it is marked as 3. According to this rule, the overall survival time of all cancer patients is traversed until the number of samples marked as 1 and 0 is balanced, and the clinical data and original microbiological data of the cancer patient marked as 3 are directly deleted because the survival time length of the patient in this data cannot be determined.

[0030] S30, inputting the original microbiological data into a trained variational autoencoder model to obtain corresponding reconstructed microbiological data decoded from the latent space;

[0031] In the present invention, after data preprocessing and classification label preparation, we use the preprocessed data set for pre-training, train a variational autoencoder (VAE) model to capture the potential distribution of microbial data features, and use the idea of ​​transfer learning to complete data enhancement. Specifically, the training steps of the trained variational autoencoder model include: constructing an initial variational autoencoder model, the initial variational autoencoder model includes an encoder and a decoder, and its expression formulas are respectively and Among them, X i represents the raw microbiology data of a cancer patient, Encoder(·) represents the encoder of the initial variational autoencoder model, μ i and denote the mean and variance of the latent distribution to which the encoder is mapped, respectively; represents the distribution of the latent space, Z is the latent distribution A sample of Dncoder(·) represents the decoder of the initial variational autoencoder model, It is the reconstructed microbial data decoded from the latent space; in the present invention, the function of the encoder is to train a neural network to reduce the data dimension and capture the latent representation of the data features; the decoder samples from the latent distribution obtained from the encoder and then reconstructs the data by training the neural network.

[0032] The loss function of the initial variational autoencoder model is constructed as follows: in, Represents the reconstruction loss, which is the input original microbiology data X i Reconstructing microbial data The KL divergence represents the difference between the distribution of latent variables and the standard normal distribution; the initial variational autoencoder model is trained by the original microbiological data so that the loss function of the initial variational autoencoder model reaches the threshold, so that the reconstructed microbiological data and the original microbiological data are as similar as possible, and a trained variational autoencoder model is obtained. After the VAE model training is completed, the present invention can be used to input X i Obtaining reconstructed microbial data Reconstructing microbial data The potential distribution of the original data is implied.

[0033] S40, adding the original microbiological data to the corresponding reconstructed microbiological data to obtain an enhanced data expression;

[0034] In the present invention, by converting the original microbiological data X i and reconstructing microbial data Addition can obtain an enhanced data expression E i , the relevant formula is Get enhanced data expression E i Afterwards, the data can be used as training data for the Transformer encoder in the subsequent survival risk prediction model to train the encoder's ability to extract deep features.

[0035] S50, performing mapping processing on the enhanced data expression to obtain vector space data of fixed dimension;

[0036] In the present invention, the enhanced data expression first passes through an Embedding(·) function before entering the encoder, which maps the data to a vector space data of a fixed dimension so that the model can better capture the data information. i =Embedding(E i ).

[0037] S60: input the vector space data into a trained survival risk prediction model, and output a prediction result.

[0038] In the present invention, the survival risk prediction model includes multiple Transformer encoders and a fully connected layer connected to the last Transformer encoder, wherein each Transformer encoder includes a multi-head attention and a position fully connected feedforward neural network; the formula of the multi-head attention is: The formula of the position fully connected feedforward neural network is: Among them, Q, K, and V are the three intermediate results obtained in the attention calculation process, which are obtained by multiplying the input data by three different weight matrices respectively; d k It refers to the characteristic dimension size of the three matrices Q, K, and V. It refers to the result matrix obtained after attention calculation, W1 and W2 refer to the weight matrix in the position fully connected feedforward neural network, and b1 and b2 refer to the bias matrix in the position fully connected feedforward neural network. Furthermore, each multi-head attention and position fully connected feedforward neural network is connected with a residual connection layer and a layer normalization layer.

[0039] In the present invention, in order to ensure that the survival risk prediction model has a stable and accurate classification result for the survival risk prediction of cancer patients, it is first necessary to train the survival risk prediction model based on the obtained vector space data and the corresponding classification labels. Specifically, these data can be randomly divided into 8:2, 80% of the samples are used as training sets, and 20% of the samples are used as validation sets for five-fold cross validation to further ensure the stability of the results.

[0040] After the survival risk prediction model is trained and verified, the vector space data is input into the trained survival risk prediction model to output a prediction result, that is, to determine whether the current cancer patient will survive long-term or short-term.

[0041] The effectiveness of the Transformer deep learning model based on the pre-trained variational autoencoder of the present invention is mainly reflected in: a) through transfer learning, the model overfitting problem caused by the high dimension and low sample size characteristics of the data set can be greatly reduced, the model performance can be improved, and the prediction accuracy can be increased; b) the patient's survival status risk level can be more accurately judged through the original microbial data of cancer patients.

[0042] Furthermore, in order to ensure the accuracy of the evaluation, we calculated multiple evaluation indicators for each dataset. These indicators usually appear in the evaluation indicators of classification problems, including Accuracy, Precision, Recall, F1_Score (the harmonic mean of Recall and Precision) and AUC (area under the ROC curve). The calculation of the indicators mainly involves four variables: (1) TP: positive samples predicted as positive by the model; (2) TN: negative samples predicted as negative by the model; (3) FP: negative samples predicted as positive by the model; (4) FN: positive samples predicted as negative by the model. For all evaluation indicators, the larger the value, the better the classification performance of the classification model.

[0043]

[0044] The following is a further explanation of a survival risk prediction method based on microbiome data of the present invention through specific examples:

[0045] Example 1

[0046] This example collects and organizes the original microbial data of 33 cancer patients in the TCGA public database, and obtains the clinical data of the patient samples, including information such as gender, age, pathological stage, and overall survival time.

[0047] Parameter setting: The variational autoencoder model and survival risk prediction model structure provided by this method are as follows Figure 2 As shown in the figure, all parameters in the model are the best parameters obtained through grid range search. Due to the large number of model parameters, only the hyperparameters that have a greater impact on the performance of the survival risk prediction model are placed here, including the learning rate of 8.865*105, the number of attention heads is 2, the number of Transformer encoder blocks is 4, and the VAE hidden layer dimensions are 256 and 20.

[0048] Implementation steps:

[0049] like Figure 2 As shown in the figure, 33 data sets in TCGA are preprocessed and classified labels are made to unify the data range to the same scale to facilitate subsequent model learning. The data sets include cutaneous squamous cell melanoma (SKCM) data set, lung squamous cell carcinoma (LUSC) data set, and renal clear cell carcinoma (KIRC) data set.

[0050] The performance of the survival risk prediction method of the present invention was tested based on the above three different data sets:

[0051] First, the VAE model is pre-trained, and then a pre-trained parameter is obtained and migrated to the VAE-Encoding module of the backbone network to perform data enhancement on the original data.

[0052] Based on the enhanced data, the Transformer encoder is used for deep feature extraction, combined with a layer of feedforward neural network for classification, and the model performance is compared with other baseline methods based on the model results. The results are shown in Tables 1-5.

[0053] Table 1 Accruary performance indicators of the proposed method (VTrans) compared with the baseline method

[0054] Accuracy LR RF DT SVM AE VAE DeepSurv Transformer VTrans(our) SKCM 0.600 0.600 0.600 0.560 0.562 0.562 0.584 0.584 0.685 LUSC 0.533 0.600 0.366 0.455 0.586 0.578 0.602 0.568 0.648 KIRC 0.621 0.586 0.586 0.609 0.575 0.517 0.621 0.644 0.678

[0055] Table 2 Precision performance index of the proposed method (VTrans) compared with the baseline method

[0056]

[0057]

[0058] Table 3 Recall performance indicators of the proposed method (VTrans) compared with the baseline method

[0059] Recall LR RF DT SVM AE VAE DeepSurv Transformer VTrans(our) SKCM 0.699 0.667 0.611 0.612 0.694 0.653 0.571 0.674 0.714 LUSC 0.571 0.643 0.357 0.362 0.702 0.660 0.660 0.553 0.723 KIRC 0.583 0.333 0.418 0.615 0.539 0.462 0.718 0.667 0.692

[0060] Table 4 F1_Score performance index of the proposed method (VTrans) compared with the baseline method

[0061] F1_Score LR RF DT SVM AE VAE DeepSurv Transformer VTrans(our) SKCM 0.673 0.667 0.647 0.606 0.636 0.621 0.602 0.641 0.714 LUSC 0.533 0.600 0.345 0.415 0.635 0.626 0.639 0.578 0.687 KIRC 0.560 0.400 0.455 0.585 0.532 0.462 0.629 0.627 0.659

[0062] Table 5 AUC performance index of the method of the present invention (VTrans) compared with the baseline method

[0063] AUC LR RF DT SVM AE VAE DeepSurv Transformer VTrans(our) SKCM 0.597 0.681 0.597 0.570 0.543 0.552 0.586 0.561 0.692 LUSC 0.522 0.630 0.366 0.504 0.589 0.574 0.598 0.598 0.714 KIRC 0.610 0.628 0.561 0.622 0.543 0.512 0.609 0.589 0.630

[0064] The data in Tables 1 to 5 are all average values ​​of 5 experiments. Tables 1 to 5 show that the classification performance of the method of the present invention is generally better than that of the existing methods compared.

[0065] Furthermore, this example uses the Kaplan-Meier (KM) curve to show the prediction results of the model for cancer patient survival analysis in different data sets. Figure 3 As shown, this embodiment uses the p-value of the log-rank test to quantify the degree of distinction between the two curves. The smaller the p-value, the higher the distinction ability. Figure 3 It can be seen that the method proposed in this embodiment predicts the categories of long-term survival and short-term survival, and is compared with four other deep learning methods. The results show that on the SKCM (skin squamous cell melanoma) and KIRC (renal clear cell carcinoma) cancer datasets, the prediction results of the method in this embodiment (VTrans) have obvious distinction and significant difference, that is, the prediction results are more accurate. However, on the LUSC (lung squamous cell carcinoma) dataset, the method in this embodiment performs slightly worse than the Transformer method.

[0066] In order to verify the influence of the variational autoencoder model pre-training on the performance of the survival risk prediction model in the present invention, this embodiment conducted the first ablation experiment to compare the performance of the VAE-encoded pre-trained model with that of the model without pre-training. The results are shown in Table 6. Since the sample size of microbial data of most cancer data sets in the TCGA database is small, only using a single cancer data set to train the model cannot achieve the expected goals and effects. Therefore, the present invention introduces VAE-encoded model pre-training to improve the overall performance of our model. As can be seen from the data in Table 6, VAE-encoded pre-training significantly improves the performance of our survival risk prediction model.

[0067] Table 6. Performance comparison of VAE-encoder pre-trained and non-pre-trained models

[0068]

[0069] In order to verify the influence of VAE encoding on the performance of our survival risk prediction model, this embodiment conducted a second ablation experiment to compare the model performance of VAE encoding and position encoding. The results are shown in Table 7. In the traditional Transformer model, due to the characteristics of the attention mechanism, position encoding needs to be introduced to assist Transformer in capturing the sequential relationship between words in the input sequence. However, for our characteristic experimental tasks, the input order of features is not our main concern. The main goal of our experiment is to enrich the features of the input data and enhance the feature expression of the data. Therefore, we introduced VAE encoding and used the characteristics of the VAE model to learn the potential distribution of the input data to obtain the hidden representation of the data, and then added the reconstructed data containing the hidden representation to the original data to obtain the enhanced representation of the data. It can be seen from the data in Table 7 that, unlike the traditional position encoding of Transformer, the VAE encoding we use significantly improves the performance of our model.

[0070] Table 7 Comparison of model performance of VAE encoding and position encoding

[0071]

[0072]

[0073] In some embodiments, since there are many microbial features contained in the microbial data, in order to screen out important microorganisms that contribute more to the model classification, the present invention uses a saliency map algorithm in computer vision to evaluate the microorganisms and screen out microorganisms with high contributions in each classification result. The saliency map algorithm formula is as follows: Among them, x i For a patient sample, Z i is the classification probability of the model for the sample, K max It's Z i The index Z of the maximum value in the classification probability i,max Is a about x i The algorithm mainly back-propagates samples through the classification categories output by the model, and calculates the gradient of the classification results corresponding to the samples. In order to ignore the direction of the gradient and only consider the gradient size, the absolute value is added to the back-propagation result to remove the influence of the gradient direction. That is, the contribution of microorganisms to the classification is calculated by the gradient size of the model classification results to the samples.

[0074] After obtaining the contribution of microorganisms in each sample, in order to further comprehensively screen out microorganisms with high comprehensive contributions to each classification result, we start from the classification results of high-risk and low-risk samples respectively. Among them, the classification results of high-risk samples refer to cancer patients judged to have long-term survival, and the classification results of low-risk samples refer to cancer patients judged to have short-term survival. For the high-risk sample class, the above formula is used to calculate the contribution of microorganisms in each sample to the high-risk classification S i Then, for each microorganism M i Calculate the square root of the microbial contribution value from all samples in the high-risk sample class and use this value Score i As the contribution of the microorganism to the classification of high-risk samples. Similarly, for low-risk samples, the above formula is used to calculate the contribution of the microorganism in each sample to the low-risk classification. Then, for each microorganism M i Calculate the square root of the microbial contribution value from all samples in the low-risk sample class and use this value Score i As the contribution of the microorganism to the classification of low-risk samples. The process can be formulated as:

[0075] The present invention uses a saliency graph algorithm to analyze the results of patients in the same survival risk category, calculates the gradient size of each microbial feature, and uses the size as the degree of influence of the microorganism on the classification result. The microorganisms are sorted according to the degree of influence of the microorganism on the classification result, and the microorganisms with the greatest influence on the patient's survival risk are obtained, which is convenient for clinical analysis.

[0076] The above describes the survival risk prediction method based on microbiome data in an embodiment of the present invention. The following describes the survival risk prediction device based on microbiome data in an embodiment of the present invention. Figure 4 In one embodiment of the present invention, a survival risk prediction device based on microbiome data includes:

[0077] An acquisition module 10 is used to acquire clinical data and original microbiological data of three different types of cancer patients, wherein the three different types of cancer are cutaneous squamous cell melanoma, lung squamous cell carcinoma, and renal clear cell carcinoma;

[0078] A label making module 20, for making corresponding classification labels for the original microbiological data of the cancer patient according to the clinical data, wherein the classification labels include long-term survival and short-term survival;

[0079] A data reconstruction module 30 is used to input the original microbiological data into the trained variational autoencoder model to obtain corresponding reconstructed microbiological data decoded from the latent space;

[0080] A data enhancement module 40 for adding the original microbiological data to the corresponding reconstructed microbiological data to obtain an enhanced data representation;

[0081] A mapping processing module 50, configured to perform mapping processing on the enhanced data expression to obtain vector space data of fixed dimension;

[0082] The prediction module 60 is used to input the vector space data into the trained survival risk prediction model and output the prediction result.

[0083] above Figure 4 The survival risk prediction device based on microbiome data in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The survival risk prediction device based on microbiome data in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0084] Figure 5 It is a structural schematic diagram of a survival risk prediction device based on microbiome data provided by an embodiment of the present invention. The survival risk prediction device 10 based on microbiome data may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 11 (for example, one or more processors) and a memory 12, and one or more storage media 13 (for example, one or more massive storage devices) storing application programs 133 or data 132. Among them, the memory 12 and the storage medium 13 can be short-term storage or permanent storage. The program stored in the storage medium 13 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the survival risk prediction device 10 based on microbiome data. Furthermore, the processor 11 can be configured to communicate with the storage medium 13 to execute a series of instruction operations in the storage medium 13 on the survival risk prediction device 10 based on microbiome data.

[0085] The survival risk prediction device 10 based on microbiome data may also include one or more power supplies 14, one or more wired or wireless network interfaces 15, one or more input and output interfaces 16, and / or one or more operating systems 131, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that Figure 5 The device structure shown does not constitute a limitation of the survival risk prediction device 10 based on microbiome data, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0086] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of a survival risk prediction method based on microbiome data.

[0087] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0088] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0089] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A survival risk prediction method based on microbiome data, It is characterized in that Includes steps: Obtain clinical data and original microbiological data of patients with three different types of cancer, including squamous cell melanoma of the skin, squamous cell carcinoma of the lung, and clear cell carcinoma of the kidney; Creating corresponding classification labels for the original microbiological data of the cancer patient according to the clinical data, wherein the classification labels include long-term survival and short-term survival; Inputting the raw microbiological data into a trained variational autoencoder model to obtain corresponding reconstructed microbiological data decoded from the latent space; adding the raw microbiological data to the corresponding reconstructed microbiological data to obtain an enhanced data representation; Performing mapping processing on the enhanced data expression to obtain vector space data of fixed dimension; The vector space data is input into a trained survival risk prediction model, and a prediction result is output.

2. The method for predicting survival risk based on microbiome data according to claim 1, It is characterized in that The step of creating corresponding classification labels for the original microbiological data of the cancer patient according to the clinical data comprises: Acquire clinical data of each cancer patient, wherein the clinical data includes overall survival time, which refers to the overall time from the start of treatment to death of the cancer patient; A survival threshold is set. If the overall survival time of a cancer patient is greater than or equal to the survival threshold, the classification label of the original microbiological data of the cancer patient is classified as long-term survival; if the overall survival time of the cancer patient is less than the survival threshold, the classification label of the original microbiological data of the cancer patient is classified as short-term survival.

3. The method for predicting survival risk based on microbiome data according to claim 1, It is characterized in that The training steps of the trained variational autoencoder model include: Construct an initial variational autoencoder model, which includes an encoder and a decoder, and their expression formulas are μ i , and Among them, X i represents the raw microbiology data of a cancer patient, Encoder(·) represents the encoder of the initial variational autoencoder model, μ i and denote the mean and variance of the latent distribution to which the encoder is mapped, respectively; represents the distribution of the latent space, Z is the latent distribution A sample of Dncoder(·) represents the decoder of the initial variational autoencoder model, It is the reconstructed microbial data decoded from the latent space; The loss function of the initial variational autoencoder model is constructed as follows: in, Represents the reconstruction loss, which is the input original microbiology data X i Reconstructing microbial data The mean square error between them, KL divergence indicates the difference between the distribution of latent variables and the standard normal distribution; The initial variational autoencoder model is trained using original microbiological data so that the loss function of the initial variational autoencoder model reaches a threshold, thereby obtaining a trained variational autoencoder model.

4. The method for predicting survival risk based on microbiome data according to claim 3, It is characterized in that The original microbiological data and the corresponding reconstructed microbiological data are added to obtain the formula for enhancing the data expression: Among them, X i represents the raw microbiology data of cancer patients, It is the reconstructed microbial data decoded from the latent space.

5. The method for predicting survival risk based on microbiome data according to claim 4, It is characterized in that By B i =Embedding(E i ) function performs mapping processing on the enhanced data expression to obtain vector space data of fixed dimension.

6. The method for predicting survival risk based on microbiome data according to claim 1, It is characterized in that The survival risk prediction model includes multiple Transformer encoders and a fully connected layer connected to the last Transformer encoder, wherein each Transformer encoder includes a multi-head attention and a position fully connected feedforward neural network.

7. The method for predicting survival risk based on microbiome data according to claim 6, It is characterized in that The formula for the multi-head attention is: The formula of the position fully connected feedforward neural network is: Among them, Q, K, and V are the three intermediate results obtained in the attention calculation process, which are obtained by multiplying the input data by three different weight matrices respectively; d k It refers to the characteristic dimension size of the three matrices Q, K, and V. Refers to the result matrix obtained after attention calculation, W 1 and W 2 refers to the weight matrix in the position fully connected feedforward neural network, b 1 and b 2 Refers to the bias matrix in a position-based fully connected feedforward neural network.

8. A survival risk prediction device based on microbiome data, It is characterized in that include: An acquisition module, used to acquire clinical data and raw microbiology data of patients with three different types of cancer, wherein the three different types of cancer are cutaneous squamous cell melanoma, lung squamous cell carcinoma, and renal clear cell carcinoma; A label making module, used for making corresponding classification labels for the original microbiological data of the cancer patient according to the clinical data, wherein the classification labels include long-term survival and short-term survival; A data reconstruction module, for inputting the raw microbiological data into a trained variational autoencoder model to obtain corresponding reconstructed microbiological data decoded from the latent space; a data enhancement module for adding the original microbiological data to the corresponding reconstructed microbiological data to obtain an enhanced data representation; A mapping processing module, used for performing mapping processing on the enhanced data expression to obtain vector space data of fixed dimension; The prediction module is used to input the vector space data into the trained survival risk prediction model and output the prediction result.

9. A survival risk prediction device based on microbiome data, It is characterized in that comprising a memory and at least one processor, wherein the memory has computer-readable instructions stored therein; The at least one processor calls the computer-readable instructions in the memory to execute the various steps of the survival risk prediction method based on microbiome data as described in any one of claims 1-7.

10. A computer-readable storage medium having computer-readable instructions stored thereon, It is characterized in that When the computer-readable instructions are executed by a processor, the steps of the method for predicting survival risk based on microbiome data as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for predicting disease prognosis survival rate through Cox model based on deep learning

    CN115938585A

  • Theme mining method and device, electronic equipment and storage medium

    CN116932686A