Intelligent lung cancer metastasis prediction system based on GCAVE-GAN and multi-mode fusion
Through GCAVE-GAN and multi-modal fusion technology, combined with CT images and genetic data, the problem of insufficient accuracy in lung cancer metastasis prediction is solved, high accuracy and reliability of lung cancer metastasis prediction are achieved, and the treatment effect of patients is improved. Diagnosis and treatment efficiency.
Patent Information
- Application Number
- CN202410801062.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-20
AI Technical Summary
Existing lung cancer metastasis prediction methods have shortcomings in accuracy and early detection capabilities. In particular, traditional imaging examinations and biomarker analysis are difficult to effectively utilize global and tumor edge contextual information, and multi-modal data fusion suffers from structural consistency and Modal balance challenge.
Using an intelligent prediction method based on GCAVE-GAN and multi-modal fusion, through the image data enhancement module, image feature fusion module, gene feature extraction module and multi-modal fusion module, combined with CT images and genetic data, deep learning algorithms are used to generate high-quality High-quality tumor images and extracted features to achieve accurate prediction of lung cancer metastasis.
Significantly improves the accuracy and reliability of lung cancer metastasis prediction, can more effectively diagnose and predict lung cancer metastasis, improves patient treatment effects and survival expectations, has a classification accuracy of 96.88%, an AUC of 97.12%, and reduces medical costs. , improving the efficiency of diagnosis and treatment.
Smart Images

Figure CN118628462A
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of artificial intelligence and medical image analysis, and specifically to a system for predicting lung cancer metastasis by using a GCAVE-GAN (generative adversarial network) and multimodal data fusion technology. Background Art
[0002] Lung cancer is one of the most lethal malignant tumors in the world. Its metastatic characteristics make early identification and accurate prediction particularly important, which has a decisive impact on improving patients' survival rate and quality of life. At present, the prediction of lung cancer metastasis mainly relies on traditional imaging examinations and biomarker analysis. However, these methods face many challenges, especially in terms of accuracy and early detection capabilities, which are often limited by the limitations of the technology and methods themselves, resulting in frequent misdiagnosis and missed diagnosis. With the development of science and technology, especially in the fields of genomics and medical image processing, researchers have begun to explore how to improve the accuracy of lung cancer metastasis prediction by fusing these multimodal data. Despite this, challenges such as sample size limitations and heterogeneity of data types still exist and require innovative solutions.
[0003] Existing studies have confirmed that deep learning techniques, especially deep convolutional neural networks (DCNNs), have shown excellent potential in dealing with such problems. For example, some studies have achieved high-accuracy prediction of lymph node metastasis by designing 3D multi-scale DCNN models to analyze lung CT scan data. At the same time, mask-guided two-stream attention networks can effectively predict distant metastasis of lung cancer. These techniques are based on lung images and focus on local analysis of tumor features. However, current methods have obvious limitations. They often only focus on local tumor features in CT images, ignoring global and tumor edge contextual information that can provide more information about metastatic potential. In fact, non-small cell lung cancer tumors may show a series of irregular texture features, such as pleural invasion, bronchial interruption, and vascular attachment, which are important clues for predicting tumor behavior. In addition, the molecular genetic characteristics of tumors, such as gene expression characteristics, also provide valuable information for tumor prediction. Combining these genetic data with imaging features can provide a comprehensive tumor assessment from both microscopic and macroscopic levels. Especially in the field of multimodal data fusion, new deep learning frameworks, such as the deep orthogonal fusion (DOF) model, have been shown to intelligently combine radiological, pathological and genomic features, improving the complementarity and accuracy of the prediction model. In response to the challenges of multimodal data fusion in structural consistency and modal balance, the present invention proposes an intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion to fuse CT images and genetic data to predict the risk of lung cancer metastasis. This method not only overcomes the shortcomings of traditional methods in dealing with modal heterogeneity and data inconsistency, but also provides a new and more accurate multimodal fusion lung cancer metastasis prediction model. Through this technology, the metastasis of lung cancer can be diagnosed and predicted more effectively, ultimately improving the treatment effect and survival expectancy of patients. Summary of the invention
[0004] Based on the above ideas, the present invention proposes an intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion. The goal of this method is to improve the accuracy of lung cancer metastasis risk prediction by developing a new model, integrating multimodal data, and using a novel feature extraction and fusion mechanism. This method first uses GCAVE-GAN to generate more high-quality and high-authenticity medical images of lung cancer metastasis, and improves the training effect of the model through these enhanced data. At the same time, combined with the multimodal information of the patient's image and genetic data, a comprehensive prediction model is formed through comprehensive analysis of the deep learning algorithm, which can effectively predict the metastasis of lung cancer.
[0005] In order to achieve the above purpose, the following technical solutions are adopted:
[0006] Image data enhancement module GCAVE-GAN: used to enhance the data of tumor images. This module can explore the complementary relationship between images and genes, link tumor imaging features with potential tumor genetic information and other data, reveal the potential correlation with lung cancer metastasis, generate high-quality tumor images with a small sample size, and maintain the richness of genetic information in the image;
[0007] Image feature fusion module: This module includes a dual-path encoder and a boundary-guided context attention part. The purpose of each path encoder is to more accurately obtain specific features corresponding to the input data;
[0008] Gene feature extraction module: Since the sample size of gene data of lung cancer patients is small and the dimension is high, and high-dimensional data is rich in redundant features, the Adaboost algorithm is used to select features of gene data. At the same time, there are large differences in the gene data of different patients, and there is a large error in convolving the overall gene data as a matrix. Therefore, a channel-level convolution mechanism is used to independently extract the gene data of each patient;
[0009] Multimodal fusion module CFF: In order to solve the problem of inconsistent data in different modalities, a cross-modal feature fusion (CFF) module based on channel spatial attention is designed to extract features from calibrated image features and non-image features;
[0010] Classifier module: The features output by the multimodal fusion module are passed through the classifier to obtain accurate lung cancer metastasis classification prediction results.
[0011] The image data enhancement module mainly realizes tasks such as gene-to-image and medical cross-modal conversion. GCAVE-GAN provides an effective solution, which is characterized by the fact that it can introduce additional genomic conditional information in the generation process, thereby achieving more genetically informative image generation. There are mainly the following steps: 1) Encoder E, which projects the tumor image to the latent space z, 2) Generator G, which converts the latent vector z to a tumor, 3) Discriminator D, which determines whether the tumor image is real or fake, 4) Classifier C that projects the tumor image to the gene space. The input is the tumor region image and gene data, and the output is the enhanced tumor image.
[0012] The average feature matching objective is also applied to the loss function to achieve a similar purpose. The encoder outputs the mean and covariance of the latent vector. Then the Kullback-Leibler (KL) loss is used to make the distribution of the latent space close to the Gaussian distribution. The KL loss can be expressed as:
[0013]
[0014] where μ is the mean and ε is the covariance.
[0015] The purpose of the generator is to capture the distribution characteristics of the data, while the discriminator aims to determine whether a sample is directly extracted from real data or generated by the generator. Both networks may take the form of nonlinear mapping functions, similar to the multi-layer perceptron structure. During the training process, the entire system adjusts the parameters of the two models by optimizing the objective function. In the generation process, a condition is given and a certain output is generated. The objective function is as follows:
[0016]
[0017] To effectively train the model to enhance its ability to distinguish real tumors from synthetic ones, the discriminator minimizes the following loss function:
[0018]
[0019] In order to solve the problem of unstable gradient of G during training, this paper uses the average feature matching objective:
[0020]
[0021] L GD Acts as the perceptual loss, where f D (x) represents the features at the first fully connected layer of the discriminator.
[0022] Since the encoded gene data reveals a trend of over-expression or under-expression of a certain group of genes, we choose not to use the logarithmic loss function for fitting. Instead, we use the mean squared error loss to process these data:
[0023]
[0024] In order to make the tumor image generated by G belong to the corresponding category c, it is necessary to minimize the function:
[0025]
[0026] Then, the latent vector z can be sampled as z = μ + r⊙exp(ε), where r~N(0,I) is a random vector and ⊙ represents element-wise multiplication. After inputting z into the generator G, we can get the synthetic tumor The generator loss is calculated as follows:
[0027]
[0028] where f D and f C are the features of the first FC layer of the discriminator D and the classifier C, respectively.
[0029] The image feature fusion module is mainly designed to more accurately grasp the contextual area of the tumor and the information provided by the tumor mask. The module includes a dual-path encoder and a boundary-guided contextual attention part. This design aims to make full use of the rich information of the area surrounding the tumor and the morphological features of the tumor mask, such as shape, boundary and position.
[0030] In the dual-path encoder, the GCAVE-GAN method is first used to perform dual-branch encoding on the tumor image and the mask image after enhancement, and then reassembled into 3D blocks for deep analysis. The feature extraction of the tumor region uses a 3D-Unet model, which operates at two different scales (1.5× and 2.0×) to capture more details. For the mask branch, 3D-Unet is also used to extract boundary detail features.
[0031] The context features, tumor features, and boundary features extracted by the dual-path encoder are represented as M c 、M t and M b , feature aggregation is achieved by guiding the context attention part through the boundary,
[0032] First, the feature map obtained by the image branch is used to extract the context region features and tumor region features, which are denoted as M c and M t , extract boundary features from the mask branch, denoted as M b , using an attention mechanism and Get the updated context feature M c ′, boundary feature M b ′, where α c , α t The image is passed through the encoder to obtain context attention and tumor attention, α b It is the mask that gets the boundary attention after passing through the encoder.
[0033]
[0034] In order to consider the different effects of tumor context and boundary information on the classification results, the proposed network makes the tumor c +W b = 1 under the condition of adaptive learning W c and W b . They represent the weights represented in the fusion, and the specific calculation process is as follows:
[0035]
[0036] Where F represents the operation after two fully connected layers and softmax, Represents element-wise multiplication
[0037] The gene feature extraction module first performs Z-score normalization preprocessing on the sample data, takes the expression value of each gene as a feature, and the label of the sample as the target variable of the classifier; then the classifier is trained by weighting to pay more attention to those samples that are often misclassified; finally, multiple iterations are performed to select the optimal gene subset, and the expression values of these genes are input into the model as the final features for feature extraction. Considering that the Adaboost algorithm gradually reduces the error rate in each round of iteration, it tends to combine multiple classifiers to improve the classification accuracy, and weight the training samples to reduce the influence of abnormal data, select the features with the highest discrimination, and improve robustness. Since the Gini index in the CART classification tree is used in the Adaboost model to select the optimal segmentation attribute, the Gini index can be used to measure the importance of the feature. In order to reduce the complexity of the model, feature selection can be achieved by inputting the original feature set into the Adaboost model, then calculating the feature importance based on the Gini coefficient, and sorting according to the feature importance. Specifically, the importance of each feature on each tree is calculated, and the weighted average is taken to obtain the overall importance of the feature. The calculation formula is as follows:
[0038] F imp (j) = ω k ×IMP j
[0039] As can be seen from the above formula, the higher the feature importance, the greater the contribution to the model, and therefore the better the model performance.
[0040] Where ωk represents the weight of the weak learner and IMPj is the importance of the feature in a single tree.
[0041]
[0042] In the formula, L-1 represents the number of non-leaf nodes in the tree, and ΔR represents the reduction in weighted impurity when a non-leaf node is split. The larger the reduction, the more important the feature is. The weighted impurity calculation formula for node i is R i =P i ×E i , where P i is the node probability, E i is the impurity of the node. This paper uses the Gini coefficient Gini(i) to measure the impurity of node i as follows:
[0043]
[0044] The channel-level convolution mechanism is used to independently extract the genetic data of each patient. The introduction of the channel-level convolution mechanism allows each convolution kernel to convolve only the data from one patient. The designed network can independently extract the required features from multiple patients without being interfered by other patients. In the channel-wise convolution operation, only one convolution kernel is used for each channel. The genetic data of patient N is recorded as The channel convolution kernel is denoted as The number of channels of both is the same, and the feature map generated by the gene data after the convolution kernel is recorded as And perform the operation according to the following formula, where It is represented as a convolution operation. By convolving the genetic data of each patient with a separate channel, the features of each patient will not interfere with each other. After multiple layers of channel convolution, a higher-level feature map is learned, which reduces the number of parameters for network training, can efficiently extract useful features, and greatly improve network efficiency.
[0045]
[0046] The multimodal fusion module CFF extracts features from image features and non-image features. First, the two types of features are globally pooled and averaged in the channel dimension to extract more comprehensive features and focus more on learning global information. Then the four features are concatenated and transmitted to the MLP to obtain different attentions, which are mapped to [0,1] through the activation function. The new feature weights obtained after the segmentation operation are recorded as and The image and non-image features after channel attention are recorded as F' image and F' non-image , the overall process is as follows:
[0047]
[0048] Where σ represents the sigmoid function, Represents element-wise multiplication.
[0049] Next, a spatial attention mechanism is used to learn more local information. First, F' image and F' non-image After splicing, it passes through the convolution layer, relu activation function, and convolution layer in turn to generate the global feature F, and then the split operation generates a new spatial feature weight recorded as and The obtained spatial feature weight And the image feature F' after channel attention image Multiply element by element to get F" image . The non-image feature F' that has been subjected to channel attentionnon-image Spatial feature weights of image features Multiply element by element to get F" non-image Finally, the aggregation generates F fuse For lung cancer metastasis prediction, the overall process is defined as follows:
[0050]
[0051] in Indicates series connection, Represents element-by-element multiplication, and the final output is recorded as F fuse .
[0052] The classifier module is composed of three fully connected layers and a softmax function. The loss function is defined as the cross entropy loss, and the formula is as follows:
[0053]
[0054] where y i represents the label of the sample, p i Represents the probability that a sample is predicted to be a positive class.
[0055] During the training process of the algorithm, we use the gradient descent method to calculate the minimum value of the loss function. This method gradually adjusts and optimizes the model parameters according to the obtained gradient direction. As the training progresses, the model gradually converges and eventually achieves a relatively ideal classification prediction effect, significantly improving the accuracy and reliability of the classification.
[0056] Beneficial effects of the present invention
[0057] The present invention provides an intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion, which effectively combines the latest deep learning technology and medical imaging analysis, generates high-quality tumor images through a generative adversarial network (GCAVE-GAN), and performs multimodal fusion analysis with the patient's biomarker data. The method can achieve accurate prediction of lung cancer metastasis and significantly improve the accuracy and reliability of the prediction. First, the present invention effectively enhances the data volume and quality of lung medical images through GCAVE-GAN technology, enables the model to be trained on a richer data set, and improves the model's learning ability for lung cancer metastasis characteristics. Secondly, through multimodal data fusion technology, the present invention combines image data and gene data, and performs comprehensive analysis through a deep learning model, further improving the comprehensive judgment of the prediction model. In addition, the method of the present invention can not only be used for preclinical lung cancer metastasis risk assessment, but also assist doctors in formulating more personalized treatment plans, thereby improving the treatment effect. Due to its efficient processing flow and excellent prediction performance, the method is expected to be widely used in the diagnosis and treatment of lung cancer, which is of great significance to improving the survival rate and quality of life of lung cancer patients. Ultimately, the implementation of this invention will reduce medical costs, improve diagnosis and treatment efficiency, and bring innovative technical solutions to the medical industry, promoting the development of medical imaging and artificial intelligence technologies.
[0058] The classification accuracy of the intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion is 96.88%, the AUC is 97.12%, and the response time for completing a classification task is usually less than or equal to 1.5 seconds. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 It is a schematic diagram of the overall process of the intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion of the present invention;
[0060] Figure 2 It is the structural framework of the GCAVE-GAN image data enhancement module of the present invention;
[0061] Figure 3 It is a schematic diagram of the operation of the image feature fusion module of the present invention;
[0062] Figure 4 It is the structural framework of the gene feature extraction module of the present invention;
[0063] Figure 5 It is a specific flow chart of the multimodal fusion module CFF of the present invention;
[0064] Figure 6 This is a schematic diagram of the image enhancement effect of the GCAVE-GAN method of the present invention;
[0065] Figure 7 Visualization of the classification results of the intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion of the present invention;
[0066] Figure 8 The figure is a ROC curve diagram comparing the intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion of the present invention with four other methods;
[0067] Fig. 9 This is a detection rate graph comparing the intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion of the present invention with four other methods. DETAILED DESCRIPTION
[0068] The present invention is described in detail below in conjunction with specific embodiments.
[0069] The present invention uses CT imaging data and gene expression mRNASeq data of specific lung cancer patients annotated by professional physicians for testing. The whole process is as follows: Figure 1 As shown in the figure. First, GCAVE-GAN is used to process lung CT scan images to generate lung cancer tumor images containing genetic information; then, image features are extracted through the image feature fusion module; then, these image features are multimodally fused with genetic data to extract deeper features; finally, the developed deep learning model is used for training and verification. The verification results show that the prediction accuracy and sensitivity of the present invention are significantly higher than those of traditional methods, effectively improving the diagnosis and prognosis evaluation capabilities of lung cancer metastasis.
[0070] A1: First, use Figure 2 The method based on GCAVE-GAN (gene-guided conditional adversarial generative network) is shown to generate and enhance tumor images. In the experiment, each patient CT slice contains 512×512 pixels. First, the lung tumor area is cropped out according to the ROI mask annotated by professional physicians, and the corresponding gene data is found for the experiment.
[0071] A2: First, the original tumor image is projected into the latent space z through the encoder E. This process is implemented through a deep learning model (convolutional neural network) that is trained to capture the key features and attributes of tumor images. In this way, the encoder can extract the core information in the image and convert it into a latent vector z, which will serve as the input of the generator. The encoder outputs the mean and covariance of the latent vector. The Kullback-Leibler (KL) loss is then used to make the distribution of the latent space close to a Gaussian distribution. The representation of the KL loss is as follows, with μ as the mean and ε as the covariance:
[0072]
[0073] A3: The conversion from latent vector to tumor image is then mainly completed by the generator G, which accepts the latent vector z from the encoder, captures the distribution characteristics of the data, and generates a new tumor image based on this vector. The generator is a deconvolutional neural network that can gradually convert the latent vector into image data. In this process, the generator will try to create images that are visually indistinguishable from real tumor images. These images are richer and more accurate in details, reflecting the tumor characteristics encoded in the genetic data.
[0074] A4: The task of the discriminator D is to evaluate whether the generated tumor images are realistic enough, that is, to determine whether these images are real or generated by the generator. The discriminator is also a convolutional neural network, which makes judgments by analyzing the details, textures, and other visual features of the image. The training goal of the discriminator is to accurately distinguish between real images and generated images, thereby prompting the generator to produce higher quality images.
[0075] A5: Both networks may adopt the form of nonlinear mapping functions, similar to the multi-layer perceptron structure. During the training process, the entire system adjusts the parameters of the two models by optimizing the objective function. In the generation process, a condition is given and a certain output is generated. The objective function is as follows:
[0076]
[0077] A6: Classifier C projects the generated tumor images into gene space, a step that is one of the core innovations of the GCAVE-GAN method. The classifier analyzes the tumor image and tries to predict the gene expression pattern or mutation information associated with it. This can be achieved by extracting features directly from the image and associating them with the gene data. The output of the classifier helps to understand the relationship between image features and gene expression, which is then used to guide the generator to create more accurate and personalized tumor images.
[0078] A7: In order to effectively train the model to enhance its ability to distinguish real tumors from synthetic tumors, the discriminator adopts the following method to minimize the loss function:
[0079]
[0080] A8: To solve the problem of unstable gradient of G during training, use average feature matching objective:
[0081]
[0082] L GD Acts as the perceptual loss, where f D (x) represents the features at the first fully connected layer of the discriminator.
[0083] A9: Since the encoded gene data revealed a trend of over-expression or under-expression of a group of genes, we chose not to use the logarithmic loss function for fitting. Instead, we used the mean square error loss to process these data:
[0084]
[0085] A10: In order to make the tumor image generated by G belong to the corresponding category c, it is necessary to minimize the function:
[0086]
[0087] A11: Then, the latent vector z can be sampled as z = μ + r⊙exp(ε), where r~N(0,I) is a random vector and ⊙ represents element-wise multiplication. After inputting z into the generator G, we can get the synthetic tumor The generator loss is calculated as follows, where f D and f C are the features of the first FC layer of the discriminator D and the classifier C respectively. :
[0088]
[0089] A12: Through the above steps, the system finally outputs an enhanced tumor image. This enhanced image is not only more detailed and accurate visually, but also better reflects the true characteristics of the tumor at the molecular level.
[0090] B1: Using the image feature fusion module (such as Figure 3 The module includes a dual-path encoder and a boundary-guided contextual attention part to better extract the contextual regional features and tumor mask features of the tumor. This design aims to make full use of the rich information of the area surrounding the tumor and the morphological features of the tumor mask, such as shape, boundary and position.
[0091] B2: In the dual-path encoder, the enhanced tumor image and the mask image are first encoded using the method described in A1, and then reassembled into 3D blocks for deep analysis. The feature extraction of the tumor region uses a 3D-Unet model, which operates at two different scales (1.5× and 2.0×) to capture more details. For the mask branch, 3D-Unet is also used to extract boundary detail features.
[0092] B3: The context features, tumor features, and boundary features extracted by the dual-path encoder are represented as M c 、M t and M b , feature aggregation is achieved by guiding the context attention part through the boundary,
[0093] B4: First, extract the context region features and tumor region features from the feature map obtained by the image branch, denoted as M c and M t , extract boundary features from the mask branch, denoted as M b , using an attention mechanism and Get the updated context feature M c ′, boundary feature M b ′, where α c , α t The image is passed through the encoder to obtain context attention and tumor attention, α b It is the mask that gets the boundary attention after passing through the encoder.
[0094]
[0095] B5: In order to consider the different effects of tumor context and boundary information on the classification results, the proposed network makes the tumor c +W b = 1 under the condition of adaptive learning W c and W b They represent the weights represented in the fusion, and the specific calculation process is as follows, where F represents the operation after two fully connected layers and softmax. Represents element-wise multiplication:
[0096]
[0097] C1: Next, we extract features from the gene data. First, we normalize the gene sample data by Z-score, so that the expression value of each gene has a uniform proportion and distribution, so as to more effectively perform feature selection. This step standardizes the data, reduces the deviation between features of different magnitudes, and provides a stable input basis for subsequent classifier training.
[0098] C2: Next, use the Adaboost algorithm to train the classifier. Adaboost is an ensemble learning method that builds a strong classifier by combining multiple weak classifiers. In each iteration, Adaboost increases the weight of samples that were misclassified in the previous round and reduces the weight of correctly classified samples, so that the classifier pays more attention to samples that are difficult to classify in subsequent iterations. This method helps to improve the overall classification accuracy of the model and reduce the impact of abnormal data.
[0099] C3: During the training process of Adaboost, since the Gini index can be used to measure the importance of features, the Gini index of the CART classification tree is used to evaluate and select features. The Gini index is a way to measure data impurity, and the Gini impurity of a node can indicate the uncertainty of the node. Each time a node splits, the reduction in impurity (ΔR) is calculated. The larger the reduction, the more important the feature. By calculating the reduction in impurity caused by each feature on each tree and taking a weighted average of these values, the overall importance of each feature can be evaluated. In order to reduce the complexity of the model, feature selection can be achieved by inputting the original feature set into the Adaboost model, then calculating the feature importance based on the Gini coefficient, and sorting according to the feature importance. Specifically, the importance of each feature on each tree is calculated, and the weighted average is taken to obtain the overall importance of the feature. The calculation formula is as follows:
[0100] F imp (j) = ω k ×IMP j
[0101] C4: From the above formula, we can see that the higher the feature importance, the greater the contribution to the model, so the better the model performance. Where ωk represents the weight of the weak learner, and IMPj is the importance of the feature in a single tree.
[0102]
[0103] C5: In the formula, L-1 represents the number of non-leaf nodes in the tree, and ΔR represents the reduction in weighted impurity when a non-leaf node is split. The greater the reduction, the more important the feature is. The weighted impurity calculation formula for node i is R i =P i ×E i , where P i is the node probability, E i is the impurity of the node. This paper uses the Gini coefficient Gini(i) to measure the impurity of node i as follows:
[0104]
[0105] C6: In order to extract the genetic characteristics of individual patients without being interfered by other patients' data, a channel-level convolution mechanism is introduced. Under this mechanism, the genetic data of each patient is processed by an independent convolution kernel to ensure the independence of feature extraction. This method can effectively extract features from each patient's data independently and avoid mutual interference between data. Through multi-layer channel convolution, the network can learn higher-level feature representations from genetic data, while reducing the number of model parameters and improving the efficiency and effectiveness of the network. In the convolution operation in the channel direction, only one convolution kernel is used for each channel. The genetic data of patient N is recorded as The channel convolution kernel is denoted as The number of channels of both is the same, and the feature map generated by the gene data after the convolution kernel is recorded as And perform the operation according to the following formula, where It is represented as a convolution operation. By convolving the genetic data of each patient with a separate channel, the features of each patient will not interfere with each other. After multiple layers of channel convolution, a higher-level feature map is learned, which reduces the number of parameters for network training, can efficiently extract useful features, and greatly improve network efficiency.
[0106]
[0107] C7: In terms of model training and feature optimization, after multiple iterations, the best performing gene subsets were selected as the final feature input model. These optimized features can better reflect the relationship between gene data and target variables (lung cancer metastasis status), thereby improving the prediction accuracy and robustness of the model.
[0108] D1: Next, the multimodal fusion module CFF is used to achieve feature fusion of image features and non-image features. First, global pooling and average pooling operations are performed on image features and non-image features. The purpose of this step is to extract more comprehensive features in the channel dimension and focus on capturing global context information. Global pooling helps to extract information from the entire feature map, while average pooling can reduce the feature dimension while maintaining important feature information.
[0109] D2: Next, the four feature vectors obtained by global pooling and average pooling are concatenated and merged into a comprehensive feature representation. This merged feature vector is then input into a multi-layer perceptron (MLP) to obtain different attention weights. These attention weights are mapped to the [0,1] interval through an activation function (such as the sigmoid function σ), generating channel attention weights for image features and non-image features, which are denoted as and The image features and non-image features after channel attention weighting are obtained, which are represented as F'image and F' non-image The overall process is as follows:
[0110]
[0111] Where σ represents the sigmoid function, Represents element-wise multiplication.
[0112] D3: Subsequently, the module introduces a spatial attention mechanism to further learn local information. First, the image feature F' weighted by channel attention is image and non-image features F' non-image Concatenate and pass through a convolutional layer, a relu activation function, and another convolutional layer to generate a global feature F. Then perform a split operation to generate a new spatial feature and
[0113] D4: Spatial feature weights And the image feature F' after channel attention image Multiply element by element to get F" image Similarly, the non-image feature F' that has been subjected to channel attention non-image Spatial feature weights of image features Multiply element by element to get F" non-image This step further refines the representation of the two features by combining channel attention and spatial attention. Finally, F”image and F”non-image are aggregated to generate F fuse For lung cancer metastasis prediction, this final fusion feature combines the global and local information of images and non-images, providing a richer and more accurate feature representation for lung cancer metastasis prediction. The overall process is defined as follows:
[0114]
[0115] in Indicates series connection, Represents element-by-element multiplication, and the final output is recorded as F fuse .
[0116] D5: Overall, the CFF module achieves effective integration of image features and non-image features through a carefully designed process that combines the attention mechanism and feature fusion strategy. This approach is expected to significantly improve the performance of lung cancer metastasis prediction and provide doctors with more accurate diagnostic information.
[0117] E1: In order to build an effective lung cancer metastasis prediction model, we used a classifier module consisting of three fully connected layers (FC) and a softmax function. The following is a detailed description of the steps and process optimization of this module:
[0118] E2: The fully connected layer is a commonly used structure in deep learning, which can connect the output of the previous layer to each neuron in this layer. In this classifier module, three such fully connected layers are used to increase the learning and representation capabilities of the model. Each layer is connected to the output of the previous layer through weights and biases, and uses activation functions (such as ReLU) to increase nonlinearity, which can help the model capture more complex features. On the output of the last fully connected layer, we apply the softmax function to transform the output of the model to obtain a probability distribution. The Softmax function can convert any real value to a value between 0 and 1, and ensure that the sum of all output values is 1. This allows the output of the model to be directly interpreted as the predicted probability of each category.
[0119] E3: The training goal of the model is to minimize the loss function. This model uses the cross entropy loss function formula as follows:
[0120]
[0121] where y i represents the label of the sample, p i Represents the probability that a sample is predicted to be a positive class.
[0122] E4: During the training process of the algorithm, we use the gradient descent method to calculate the minimum value of the loss function. This method gradually adjusts and optimizes the model parameters according to the obtained gradient direction. As the training progresses, the parameters of the model are gradually adjusted through continuous iterative optimization. During the training process, the value of the loss function will gradually decrease, and the accuracy of the model prediction will gradually increase. Finally, the model will converge to a relatively stable state, and the model at this time can provide a more ideal classification prediction effect. Through this series of optimization steps, the classifier module can significantly improve the accuracy and reliability of the classification task, and has a wide range of application potential in a variety of application scenarios.
[0123] Figure 6The figure is a schematic diagram of the image enhancement effect of the GCAVE-GAN method of the present invention; compared with other methods of generating networks, GCAVE-GAN is better than the conditional variational autoencoder generative adversarial network CVAE-GAN and the conditional adversarial network CGAN. The core innovation of the present invention is the introduction of genomic data as auxiliary conditional information, and this strategy greatly enhances the model's ability to generate images. By associating genomic data with images, GCAVE-GAN can more deeply understand and capture the subtle features of the image during the generation process. When generating CT images describing tumor characteristics, the model can use genomic information to accurately encode the details of the tumor and generate more accurate and vivid images. This method not only improves the quality of the generated images, but also increases the diversity and accuracy of the images. In particular, in the challenging task of lung cancer metastasis prediction, GCAVE-GAN plays an important role through image enhancement technology.
[0124] Figure 7 This is a visualization of the classification results of the intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion in the present invention; when the image only uses boundary attention (e.g. Figure 7 (b)), the network not only pays attention to the morphological information of the nodule itself (contour and position, etc.), but also pays attention to some features of the boundary. However, sometimes it pays too much attention to the boundary information, thus ignoring the contextual features around the tumor that are closely related to lung cancer metastasis, affecting the final prediction results. Compared with using only boundary attention, when contextual information is introduced (such as Figure 7 (c)), the image feature extraction module of the present invention will give greater weight to the tumor boundary and its vicinity rather than other irrelevant information in the entire lung parenchyma, which will learn the rich semantic information of the tumor features and its surroundings. Figure 7 The fifth and tenth columns in the figure show that irrelevant context feature information will not interfere with experimental judgment. This also fully illustrates the importance of the module proposed in the present invention, which can greatly improve the accuracy of non-small cell lung cancer metastasis risk prediction.
[0125] Figure 8The ROC curves of the intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion of the present invention and four other methods are shown; Method 1 only uses single image data for lung cancer metastasis prediction; Method 2 uses single gene data for lung cancer metastasis prediction; Method 3 uses image gene series to predict lung cancer metastasis; Method 4 introduces the multimodal fusion method of the present invention to perform image gene fusion to predict lung cancer metastasis, but does not introduce an image data enhancement module; The present invention adopts the intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion, and achieves an excellent AUC of 97.12%. Compared with the existing models, the present invention shows significant improvements and superior comprehensive performance, with higher accuracy, sensitivity and specificity. This is due to the innovative image enhancement, feature extraction and multimodal fusion strategies of the present invention, which show significant advantages in lung cancer metastasis risk prediction, revealing the indispensability of multimodality in the metastasis prediction risk task.
[0126] Fig. 9 This is a comparison chart of the detection rates of the intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion and the other four methods. Figure 8 ,It can be seen that the detection rate of the system proposed by ,the present invention is the highest one compared with other methods, and ,with the increase of image sequences, the average detection rate is still ,higher than the other four models.
[0127] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.
Claims
1. An intelligent prediction system for lung cancer metastasis based on GCAVE-GAN and multimodal fusion, characterized in that: It includes image data enhancement module GCAVE-GAN, image feature fusion module, gene feature extraction module, multimodal fusion module CFF and classifier module; Image data enhancement module GCAVE-GAN: used to enhance the data of tumor images. This module can explore the complementary relationship between images and genes, link tumor imaging features with potential tumor genetic information and other data, reveal the potential correlation with lung cancer metastasis, generate high-quality tumor images with a small sample size, and maintain the richness of genetic information in the image; Image feature fusion module: This module includes a dual-path encoder and a boundary-guided context attention part. The purpose of each path encoder is to more accurately obtain specific features corresponding to the input data; Gene feature extraction module: Since the sample size of gene data of lung cancer patients is small and the dimension is high, and high-dimensional data is rich in redundant features, the Adaboost algorithm is used to select features of gene data. At the same time, there are large differences in the gene data of different patients, and there will be large errors when the overall gene data is regarded as a matrix for convolution. Therefore, a channel-level convolution mechanism is used to independently extract the gene data of each patient; Multimodal fusion module CFF: In order to solve the problem of inconsistent data in different modalities, a cross-modal feature fusion module based on channel spatial attention is designed to extract features from calibrated image features and non-image features; Classifier module: The features output by the multimodal fusion module are passed through the classifier to obtain accurate lung cancer metastasis classification prediction results.
2. The intelligent prediction method for lung cancer metastasis based on GCAVE-GAN and multimodal fusion according to claim 1, characterized in that: The image data enhancement module realizes the conversion tasks from gene to image and medical cross-modality; GCAVE-GAN includes the following steps: 1) encoder E, which projects the tumor image to the latent space z, 2) generator G, which converts the latent vector z to the tumor, 3) discriminator D, which determines whether the tumor image is real or false, 4) classifier C that projects the tumor image to the gene space; the input is the tumor region image and gene data, and the output is the enhanced tumor image.
3. The intelligent prediction system for lung cancer metastasis based on GCAVE-GAN and multimodal fusion according to claim 2, characterized in that: First, the original tumor image is projected into the latent space z through the encoder E. This process is implemented by a deep learning model that is trained to capture the key features and attributes of tumor images. In this way, the encoder can extract the core information in the image and transform it into a latent vector z, which will serve as the input of the generator. The encoder outputs the mean and covariance of the latent vector. Then, the Kullback-Leibler (KL) loss is used to make the distribution of the latent space close to the Gaussian distribution. The KL loss can be expressed as: Where μ is the mean and ε is the covariance; The purpose of the generator is to capture the distribution characteristics of the data, while the discriminator aims to determine whether a sample is directly extracted from real data or generated by the generator; both networks may take the form of nonlinear mapping functions, similar to the multi-layer perceptron structure; during the training process, the entire system adjusts the parameters of the two models by optimizing the objective function; in the generation process, a condition is given and a certain output is generated. The objective function is as follows: To effectively train the model to enhance its ability to distinguish real tumors from synthetic ones, the discriminator minimizes the following loss function: In order to solve the problem of unstable gradient of G during training, the average feature matching target is used: L GD Acts as the perceptual loss, where f D (x) represents the features on the first fully connected layer of the discriminator; Since the encoded gene data reveals a trend of over-expression or under-expression of a group of genes, we choose not to use the logarithmic loss function for fitting; instead, we use the mean squared error loss to process these data: In order to make the tumor image generated by G belong to the corresponding category c, it is necessary to minimize the function: Then, the latent vector z can be sampled as z = μ + r⊙exp(ε), where r~N(0,I) is a random vector and ⊙ represents element-by-element multiplication; after inputting z into the generator G, the synthesized tumor The generator loss is calculated as follows: where f D and f C are the features of the first FC layer of the discriminator D and the classifier C, respectively.
4. The intelligent prediction system for lung cancer metastasis based on GCAVE-GAN and multimodal fusion according to claim 1, characterized in that: The image feature fusion module is designed to more accurately grasp the contextual region of the tumor and the information provided by the tumor mask. The module includes a dual-path encoder and a boundary-guided contextual attention part; Aims to make full use of the rich information of the tumor surrounding area and the morphological characteristics of the tumor mask; In the dual-path encoder, the GCAVE-GAN method is first used to perform dual-branch encoding on the tumor image enhancement image and the mask mask image, and then they are reassembled into 3D blocks for deep analysis; the feature extraction of the tumor area uses the 3D-Unet model, which operates at two different scales of 1.5× and 2.0× to capture more details; for the Mask branch, 3D-Unet is also used to extract boundary detail features; The context features, tumor features, and boundary features extracted by the dual-path encoder are represented as M c 、M t and M b , feature aggregation is achieved by guiding the context attention part through the boundary, First, the feature map obtained by the image branch is used to extract the context region features and tumor region features, which are denoted as M c and M t , extract boundary features from the mask branch, denoted as M b , using an attention mechanism and Get the updated context feature M c ′, boundary feature M b ′, where α c , α t The image is passed through the encoder to obtain context attention and tumor attention, α b The mask gets boundary attention after passing through the encoder; In order to consider the different effects of tumor context and boundary information on the classification results, the proposed network makes the tumor c +W b = 1 under the condition of adaptive learning W c and W b ; They represent the weights represented in the fusion respectively, and the specific calculation process is as follows: Where F represents the operation after two fully connected layers and softmax, Represents element-wise multiplication.
5. The intelligent prediction system for lung cancer metastasis based on GCAVE-GAN and multimodal fusion according to claim 1, characterized in that: The gene feature extraction module first performs Z-score normalization preprocessing on the sample data, takes the expression value of each gene as a feature, and the label of the sample as the target variable of the classifier; then the classifier is trained by weighting to pay more attention to those samples that are often misclassified; finally, multiple iterations are performed to select the optimal gene subset, and the expression values of these genes are input into the model as the final features for feature extraction. Considering that the Adaboost algorithm gradually reduces the error rate in each round of iteration, it tends to combine multiple classifiers to improve the classification accuracy, and weights the training samples to reduce the impact of abnormal data, select the features with the highest discrimination, and improve robustness; since the Gini index in the CART classification tree is used in the Adaboost model to select the optimal segmentation attribute, the Gini index can be used to measure the importance of the feature; in order to reduce the complexity of the model, the feature selection is achieved by inputting the original feature set into the Adaboost model, then calculating the feature importance according to the Gini coefficient, and sorting according to the feature importance; specifically, the importance of each feature on each tree is calculated, and the weighted average is taken to obtain the overall importance of the feature, and the calculation formula is as follows: F imp (j)=ω k ×IMP j From the above formula, we can see that the higher the feature importance, the greater the contribution to the model, and therefore the better the model performance. Where ωk represents the weight of the weak learner, and IMPj is the importance of the feature in a single tree. In the formula, L-1 represents the number of non-leaf nodes in the tree, and ΔR represents the reduction in weighted impurity when the non-leaf node is split. The larger the reduction value, the higher the importance of the feature. The weighted impurity calculation formula of node i is R i =P i ×E i , where P i is the node probability, E i is the impurity of the node. This paper uses the Gini coefficient Gini(i) to measure the impurity of node i as follows: The channel-level convolution mechanism is used to independently extract the genetic data of each patient. The introduction of the channel-level convolution mechanism enables each convolution kernel to convolve only the data from one patient. The designed network can independently extract the required features from multiple patients without being interfered by other patients. In the convolution operation in the channel direction, only one convolution kernel is used for each channel. The genetic data of patient N is recorded as The channel convolution kernel is denoted as The number of channels of both is the same, and the feature map generated by the gene data after the convolution kernel is recorded as And perform the operation according to the following formula, where Represented as a convolution operation; by convolving each patient's genetic data with a separate channel, the features of each patient will not interfere with each other; After multiple layers of channel convolution, higher-level feature maps are learned, which reduces the number of parameters for network training, can efficiently extract useful features, and greatly improve network efficiency; 6. The intelligent prediction system for lung cancer metastasis based on GCAVE-GAN and multimodal fusion according to claim 1, characterized in that: The multimodal fusion module is designed to solve the problem of inconsistency of different modal data. A cross-modal feature fusion (CFF) module based on channel space attention is designed to extract image features and non-image features. First, the two types of features are globally pooled and averaged in the channel dimension to extract more comprehensive features and focus more on learning global information. Then the four features are connected in series and transmitted to the MLP to obtain different attentions, which are mapped to [0,1] through the activation function. The new feature weights obtained after the segmentation operation are recorded as and The image and non-image features after channel attention are recorded as F' image and F' non-image , the overall process is as follows: Where σ represents the sigmoid function, represents element-wise multiplication; Next, a spatial attention mechanism is used to learn more local information. First, F' image and F' non-image After splicing, it passes through the convolution layer, relu activation function, and convolution layer in turn to generate the global feature F, and then the split operation generates a new spatial feature weight recorded as and The obtained spatial feature weight And the image feature F' after channel attention image Multiply element by element to get F" image . The non-image feature F' that has been subjected to channel attention non-image Spatial feature weights of image features Multiply element by element to get F" non-image ; Finally, the polymerization generates F fuse For lung cancer metastasis prediction, the overall process is defined as follows: in Indicates series connection, Represents element-by-element multiplication, and the final output is recorded as F fuse .
7. The intelligent prediction system for lung cancer metastasis based on GCAVE-GAN and multimodal fusion according to claim 1, characterized in that: The classifier module is composed of three fully connected layers and a softmax function. The loss function is defined as the cross entropy loss, and the formula is as follows: where y i represents the label of the sample, p i Indicates the probability that the sample is predicted to be a positive class; During the training process of the algorithm, the gradient descent method is used to calculate the minimum value of the loss function; This method gradually adjusts and optimizes the model parameters according to the obtained gradient direction; as the training progresses, the model gradually converges and eventually achieves a relatively ideal classification prediction effect, significantly improving the accuracy and reliability of the classification.
Citation Information
Patent Citations
Multi-modal tumor data fusion method and device
CN114821137A
Cancer patient prognosis prediction method and device based on multi-modal model
CN116994745A
Multi-modal data-based cancer prediction method, system and equipment
CN117422704A
Multi-modal data classification method based on bimodal attention fusion network
CN117992913A
System and method for MRI image synthesis for the diagnosis of parkinson's disease using deep learning
US20200237284A1
Cited By
Single gene mutation state prediction method, system and product based on CT image
CN118866094A
Acne grading method, system and equipment based on multi-modal fusion and medium
CN119600398A
Bladder volume prediction method based on deep learning
CN119722781A
A deep learning-based bladder volume prediction method
CN119722781B
Tumor identification method based on multi-modal information fusion
CN119810108A
