Lung cancer subtype diagnosis system based on fusion of imaging and genetic features
Through the attention-based gene feature extraction network and image feature fusion method, the problem of high dimensionality of genetic data and redundancy of image features in the diagnosis of lung cancer subtypes is solved, and a more accurate diagnosis of lung cancer subtypes is achieved.
Patent Information
- Application Number
- CN202111583548.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-22
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-12-22
AI Technical Summary
The existing technology has problems with the high dimensionality of genetic data and the redundancy of imaging features in the diagnosis of lung cancer subtypes, resulting in inaccurate diagnostic results.
Attention-based gene feature extraction network and image feature fusion method are used to reduce the impact of false positive areas through image data cutting and feature extraction at different resolutions, combined with the attention mechanism, and capture the relationship between images and gene features in the diagnostic network correlation.
It improves the difference of image features and the interpretability of feature extraction, reduces the redundancy caused by feature fusion, and achieves accurate diagnosis of lung cancer subtypes.
Smart Images

Figure CN114373538B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence data mining classification and bioinformatics technology, and in particular to a lung cancer subtype diagnosis system based on the fusion of image and gene features. Background Art
[0002] The statements in this section merely mention background art related to the present invention and do not necessarily constitute prior art.
[0003] In the context of artificial intelligence, machine learning technology can help doctors make auxiliary diagnoses of lung cancer subtypes by integrating patients' images and genetic data. How to achieve more accurate subtype diagnosis based on the data provided by patients is a difficulty that still needs to be improved in the current application of machine learning technology in cancer diagnosis.
[0004] The current methods for processing genetic data include: using all gene loci, manually screening the most mutated gene loci, and principal component analysis (PCA) dimensionality reduction methods; the current methods for processing pathological image data mainly include: manually extracting image features, cutting high-resolution pathological images into sub-slices, using convolutional neural networks (CNN) to extract slice features and integrate their diagnostic results to obtain image-level diagnostic results; considering that the features of different views have a certain degree of complementarity, combining the patient's image data with genetic data can help us obtain a better diagnostic result. The current methods mainly include diagnosing each data separately and voting and integrating them at the result level, splicing image features with genetic features and making a diagnosis, etc.
[0005] Due to the high dimensionality of genetic data features, the presence of non-regions of interest in pathological images, and the redundancy caused by the fusion of image features and genetic features, there is still much room for improvement in the accurate diagnosis of lung cancer subtypes in machine learning technology. Summary of the invention
[0006] In order to address the deficiencies of the prior art, the present invention provides a lung cancer subtype diagnosis system based on the fusion of image and gene features; the attention-based gene feature extraction network can adaptively capture important mutation sites in the patient's gene data and give the site a greater attention weight, thereby alleviating the overfitting problem caused by the high dimensionality of the gene data and enabling the feature extraction network to have a certain degree of interpretability. The image feature extraction and combination method can reduce the impact of false positive areas in pathological images during feature combination. In addition, the attention-based cancer subtype diagnosis network can capture the most relevant features of the patient's fused features, which can effectively reduce the redundancy problem caused by feature fusion and achieve accurate diagnosis of cancer subtypes.
[0007] In a first aspect, the present invention provides a lung cancer subtype diagnosis system based on the fusion of image and gene features;
[0008] Lung cancer subtype diagnosis system based on the fusion of imaging and genetic features, including:
[0009] A data acquisition module is configured to: acquire the image data to be diagnosed and the gene data to be diagnosed of the same patient;
[0010] An image feature extraction module is configured to: extract features of the image to be diagnosed at different resolutions from the image data to be diagnosed;
[0011] A gene feature extraction module is configured to: extract the features of the gene to be diagnosed from the gene data to be diagnosed;
[0012] The feature fusion and subtype diagnosis module is configured as follows: feature fusion of the gene features to be diagnosed and the image features to be diagnosed at each resolution to obtain the fused features to be diagnosed at each resolution; diagnose the fused features to be diagnosed at each resolution to obtain the diagnosis results at each resolution; fuse the diagnosis results at all resolutions to obtain the lung cancer subtype diagnosis results of the current patient.
[0013] In a second aspect, the present invention further provides an electronic device, comprising:
[0014] a memory for non-transitory storage of computer-readable instructions; and
[0015] a processor for executing the computer readable instructions,
[0016] When the computer readable instructions are executed by the processor, the following steps are performed:
[0017] Obtaining imaging data and genetic data to be diagnosed from the same patient;
[0018] Extracting features of the image to be diagnosed at different resolutions from the image data to be diagnosed;
[0019] Extracting the features of the gene to be diagnosed from the gene data to be diagnosed;
[0020] The gene features to be diagnosed are fused with the image features to be diagnosed at each resolution to obtain the fused features to be diagnosed at each resolution; the fused features to be diagnosed at each resolution are diagnosed to obtain the diagnosis results at each resolution; the diagnosis results at all resolutions are fused to obtain the diagnosis results of the current patient's lung cancer subtype.
[0021] In a third aspect, the present invention further provides a storage medium that non-temporarily stores computer-readable instructions, wherein when the non-temporary computer-readable instructions are executed by a computer, the following steps are performed:
[0022] Obtaining imaging data and genetic data to be diagnosed from the same patient;
[0023] Extracting features of the image to be diagnosed at different resolutions from the image data to be diagnosed;
[0024] Extracting the features of the gene to be diagnosed from the gene data to be diagnosed;
[0025] The gene features to be diagnosed are fused with the image features to be diagnosed at each resolution to obtain the fused features to be diagnosed at each resolution; the fused features to be diagnosed at each resolution are diagnosed to obtain the diagnosis results at each resolution; the diagnosis results at all resolutions are fused to obtain the diagnosis results of the current patient's lung cancer subtype.
[0026] In a fourth aspect, the present invention further provides a computer program product, comprising a computer program, wherein the computer program is configured to perform the following steps when running on one or more processors:
[0027] Obtaining imaging data and genetic data to be diagnosed from the same patient;
[0028] Extracting features of the image to be diagnosed at different resolutions from the image data to be diagnosed;
[0029] Extracting the features of the gene to be diagnosed from the gene data to be diagnosed;
[0030] The gene features to be diagnosed are fused with the image features to be diagnosed at each resolution to obtain the fused features to be diagnosed at each resolution; the fused features to be diagnosed at each resolution are diagnosed to obtain the diagnosis results at each resolution; the diagnosis results at all resolutions are fused to obtain the diagnosis results of the current patient's lung cancer subtype.
[0031] Compared with the prior art, the present invention has the following beneficial effects:
[0032] The present invention first extracts features from the patient's image data at different resolutions and combines them to obtain the patient's image features at the corresponding resolution, extracts gene features through an attention-based gene feature extraction network, and fuses the extracted gene features with the image-level features combined at the corresponding resolution, then constructs attention parameter layers based on the corresponding resolution fusion features to capture the most relevant features between gene features and image features in the fusion features of the corresponding resolution, and diagnoses the fusion features through a diagnosis network based on the corresponding resolution fusion features, and finally integrates the diagnosis results obtained by the fusion features at each resolution to obtain the patient's final cancer subtype diagnosis result. The present invention can obtain a better image feature representation by adaptively giving a small weight to the false positive slice area, and processing and extracting features from image features at different resolutions can make the image features have both higher tissue cell features and higher structural texture features, thereby further improving the differences between image features in different cancer subtypes, and the attention-based gene feature extraction network can adaptively capture important mutation sites in the patient's gene data and give the site a greater attention weight, thereby alleviating the overfitting problem caused by the high dimensionality of the gene data and enabling the feature extraction network to have a certain degree of interpretability. In addition, the attention-based cancer subtype diagnosis network can capture the most relevant features among the patient's fused features, which can effectively reduce the redundancy problem caused by feature fusion and thus achieve accurate diagnosis of cancer subtypes. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0034] Figure 1 It is a functional module diagram of the first embodiment. DETAILED DESCRIPTION
[0035] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0036] It should be noted that the terms used herein are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that the terms "include" and "have" and any of their variations 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.
[0037] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0038] In this embodiment, all data is obtained in compliance with laws and regulations and based on the user's consent, and is used legally.
[0039] Embodiment 1
[0040] This embodiment provides a lung cancer subtype diagnosis system based on the fusion of image and gene features;
[0041] like Figure 1 As shown in the figure, the lung cancer subtype diagnosis system based on the fusion of imaging and genetic features includes:
[0042] A data acquisition module is configured to: acquire the image data to be diagnosed and the gene data to be diagnosed of the same patient;
[0043] An image feature extraction module is configured to: extract features of the image to be diagnosed at different resolutions from the image data to be diagnosed;
[0044] A gene feature extraction module is configured to: extract the features of the gene to be diagnosed from the gene data to be diagnosed;
[0045] The feature fusion and subtype diagnosis module is configured as follows:
[0046] The gene features to be diagnosed are fused with the image features to be diagnosed at each resolution to obtain the fused features to be diagnosed at each resolution;
[0047] Diagnose the fusion features to be diagnosed at each resolution to obtain the diagnosis results at each resolution;
[0048] The diagnostic results at all resolutions are integrated to obtain the lung cancer subtype diagnosis result of the current patient.
[0049] Further, obtaining the imaging data to be diagnosed and the genetic data to be diagnosed of the same patient;
[0050] Among them, the image data refers to: the patient's tissue pathology section image data;
[0051] Among them, genetic data refers to: the patient's copy number variation data, which has more than 19,000 dimensions, and each dimension corresponds to a gene site of the patient. When a copy number duplication occurs, the genetic data is 1, the normal copy number is 0, and the copy number deletion is -1.
[0052] Furthermore, the extracting of features of the image to be diagnosed at different resolutions from the image data to be diagnosed specifically includes:
[0053] Selecting a region of interest of a set size from the image data to be diagnosed;
[0054] According to different resolutions, the region of interest is cut into several non-overlapping slices;
[0055] All slices corresponding to each resolution are input into the trained feature extraction network of the corresponding resolution to obtain several slice features of the corresponding resolution;
[0056] All slice features corresponding to each resolution are combined to obtain the image features corresponding to each resolution.
[0057] The present invention cuts the patient's image data into several small slices according to different resolutions, extracts slice features by establishing a slice feature extraction network of corresponding resolution, and combines the slice features by adaptively giving a small weight to the false positive slices to combine the slice features into low-dimensional image-level features that can well maintain the differences between different cancer subtypes. In addition, different resolutions can have different levels of features of image data, such as low-resolution images have higher structural texture features, while high-resolution images have higher cell tissue features, thereby further improving the differences between different cancer subtypes.
[0058] Furthermore, the trained feature extraction network of corresponding resolution; the training step comprises:
[0059] Constructing a feature extraction network with a resolution of a1 and a cancer subtype diagnosis network based on slice features, which are connected in sequence; wherein the feature extraction network is implemented by using a convolutional neural network Inception-V3; and the cancer subtype diagnosis network based on slice features is implemented by using a fully connected neural network;
[0060] Constructing a first training set and a validation set; the first training set and the validation set are a number of slice images with a resolution of a1 and known cancer subtype classification labels;
[0061] The first training set and validation set are input into a feature extraction network with a resolution of a1. The feature extraction results of the feature extraction network with a resolution of a1 are input into a cancer subtype diagnosis network based on slice features. The cross entropy loss is calculated using the diagnosis results of the training set. The parameters of the feature extraction network and the cancer subtype diagnosis network based on slice features are optimized using this loss. The parameters with the best diagnostic performance on the validation set are selected as the feature extraction network with a resolution of a1 after training.
[0062] Similarly, the feature extraction network of all resolutions is obtained after training.
[0063] Exemplarily, in the training stage, extracting features of the image to be diagnosed at different resolutions from the image data to be diagnosed specifically includes:
[0064] S1021, obtaining cancer imaging data of the patient, performing preprocessing operations on the data, and converting the imaging data into slice data that is easy to read and convenient for convolutional neural network to calculate.
[0065] Specifically, the specific implementation process of converting the image data into slice data that is easy to read and convenient for the neural network to calculate is as follows:
[0066] First, at the highest resolution, a fixed-size region of interest with good imaging effect and obvious features is selected from the patient's medical image data as the patient's initial image feature.
[0067] Then, because the image data is too large, the neural network cannot directly extract features from the image data, so the region of interest is cut into several non-overlapping but equal-sized small slices at different resolutions. Where n is the number of patients, i is the i-th patient (1≤i≤n), m k is the mth cut at k (k∈{5, 10, 20}) resolution k Slice (1≤m k ≤m k ), m K is the number of slices cut at resolution k. These slices will jointly represent the image features of the patient at resolution k and will be used for subsequent diagnosis of the patient's cancer subtype.
[0068] For example, a 1600x1600 region of interest is selected at the highest resolution of 20x magnification of the pathological slice. If the size of each slice is 200x200, 64 slices can be cut; then we reduce this 1600x1600 area to 10x resolution, the size becomes 800x800, so that 16 slices at 10x magnification can be obtained, and then reduced to 5x magnification, the size is 400x400, and 4 slices at 5x magnification are obtained. Although the resolution of these slice data is different, they all come from the same position of the tissue slice, but the high-resolution slice describes the cell characteristics in more detail, while the low-resolution slice has detailed tissue features, such as keratin beads, acini, etc.
[0069] S1022, extract the features of the slice data, and obtain the slice features with the best representation ability for subsequent feature fusion. The specific steps are as follows:
[0070] First, slice feature extraction networks are constructed according to the corresponding resolutions, and slice data cut from patient image data are input into the slice feature extraction network at the corresponding resolution to extract slice feature vectors of fixed dimensions. The definition is as follows:
[0071]
[0072] in, It is a feature extraction network called Inception-V3, Θ is the parameter of the feature extraction network, k is the resolution of the slice required by the network, is the mth patient extracted at resolution k k The features of the slices, q is the dimension of the extracted features.
[0073] Secondly, a cancer subtype diagnosis network based on slice features at corresponding resolutions is constructed, and the extracted slice feature vectors are The diagnostic network is input for training, and the parameters of the slice feature extraction network and the cancer subtype diagnosis network based on slice features are jointly optimized through cross entropy loss.
[0074] Finally, the slice feature with the best diagnostic effect in the cancer subtype diagnosis network based on slice features is selected as the slice feature vector at k resolution for the subsequent stage.
[0075] S1023, combining slice features, adaptively giving slice features in the false positive region of the slice image a weight smaller than the weight of slice features in the positive region, thereby reducing the influence of the false positive region features on the combined patient image features. The specific steps are as follows:
[0076] First, the image-level feature prototype at the corresponding resolution represented by these slice features is calculated based on the extracted slice features. The definition is as follows:
[0077]
[0078] Among them, m K is the number of slices at resolution k, Refers to m K The image-level feature prototype jointly represented by the slice features, q is the dimension of the combined image-level feature prototype.
[0079] Secondly, use the extracted slice feature vector Image-level feature prototypes Calculate their respective attention weights The definition is as follows:
[0080]
[0081] in, is the mth patient in the ith patient k The Euclidean distance between the feature of a slice and the feature prototype. Through the Softmax formula, the attention weight corresponding to the slice feature can be obtained. The calculation formula of the Euclidean distance between the feature and the feature prototype is defined as follows:
[0082] Finally, according to the extracted slice feature vector And their respective attention weights calculated To combine slice features into image-level features at the corresponding resolution that can maintain the feature differences between different subtypes The definition is as follows:
[0083]
[0084] in, These are the respective attention weights Weighted Slice Features The combined image-level feature representation at the k-resolution, q is the dimension of the combined image-level feature representation. This combination method can reduce the impact of false positive slice features in the region of interest, so that the combined image features can better maintain the feature differences between different subtypes. It will represent the image-level features at the corresponding resolution in the subsequent stage and be used for the diagnosis of cancer subtypes.
[0085] It should be understood that for a tissue image, we can only get that the entire image corresponds to a certain subtype. So we will mark all slices of this image with the corresponding subtype. However, in the tissue image, not all slices taken contain cells of this cancer subtype. Some slices may have the characteristics of normal tissue. Marking a slice with normal tissue characteristics with an incorrect cancer subtype label is called a false positive.
[0086] Further, extracting the characteristics of the gene to be diagnosed from the gene data to be diagnosed; specifically including:
[0087] Using the gene attention mechanism layer of the trained attention-based gene feature extraction network to capture the first gene data feature from the gene data to be diagnosed;
[0088] The trained gene feature extraction sub-network of the attention-based gene feature extraction network is used to extract the second gene data feature from the first gene data feature; and the second gene data feature is used as the gene feature to be diagnosed.
[0089] Furthermore, the attention-based gene feature extraction network includes: a gene attention mechanism layer and a gene feature extraction sub-network connected in sequence;
[0090] Among them, the gene attention mechanism layer is implemented through the attention mechanism layer;
[0091] Among them, the gene feature extraction sub-network is implemented through a fully connected neural network.
[0092] It should be understood that by establishing an attention-based gene feature extraction network to extract features of patient genetic data, it is possible to adaptively capture important mutation sites in the patient genetic data and give the site a greater attention weight, thereby alleviating the overfitting problem caused by the high dimensionality of the genetic data and enabling the feature extraction network to have a certain degree of interpretability.
[0093] Furthermore, the training steps of the trained attention-based gene feature extraction network include:
[0094] Construct an attention-based gene feature extraction network and a gene feature-based cancer subtype diagnosis network that are sequentially connected;
[0095] Among them, the cancer subtype diagnosis network based on gene features is realized through a fully connected neural network;
[0096] Constructing a second training set and a validation set; the second training set and the validation set are first gene data features of known cancer subtype classification labels;
[0097] The second training set and the validation set are input into the attention-based gene feature extraction network. The attention-based gene feature extraction network inputs the gene feature extraction results into the gene feature-based cancer subtype diagnosis network. The cross entropy loss is calculated by the diagnosis results of the training set, and the parameters of the gene feature extraction network and the gene feature-based cancer subtype diagnosis network are optimized by the loss. The parameters with the best diagnostic performance on the validation set are selected as the attention-based gene feature extraction network after training.
[0098] For the division of training set and validation set: we selected 70% of all data sets as training sets and 30% as test sets; for gene feature extraction network and image feature extraction network, we selected 85.5% of the training set for training and 14.5% for validation.
[0099] Exemplarily, in the training phase, the gene feature extraction step includes:
[0100] S1031, build a gene attention mechanism layer to convert the patient's gene data g i Input the gene attention mechanism layer to capture the mutation sites in the gene data that are most conducive to cancer subtype diagnosis, and obtain the patient gene data w⊙g captured by the attention parameters i , thereby reducing the overfitting problem caused by the high dimensionality of genetic data;
[0101] S1032, construct a gene feature extraction subnetwork, input the patient's gene data into the gene feature extraction subnetwork, and extract it into a fixed-dimensional gene feature vector g′ i , defined as follows:
[0102] g′ i =g Φ (w⊙g i ) (5)
[0103] in, and are the original gene data features and the extracted gene features of the ith patient, respectively. Φ is the parameter of the corresponding gene feature extraction network. ⊙ is the symbol for bitwise multiplication. is the attention weight parameter in the gene feature extraction network. This parameter can adaptively capture the most important mutation sites in the patient's genes and help us obtain better gene feature representations for the patient. The attention parameter w is defined as follows:
[0104]
[0105] Among them, w jis the attention weight of the jth dimension in the attention parameter w. The introduction of the attention parameter allows the feature extraction network to adaptively capture important mutation sites in the patient's genetic data during feature extraction and give the site a larger attention weight, thereby alleviating the overfitting problem caused by the high dimensionality of the genetic data and enabling the feature extraction network to have a certain degree of interpretability.
[0106] S1033, inputting the gene features extracted by the gene feature extraction subnetwork into the gene feature-based cancer subtype diagnosis network and using cross entropy loss to optimize the parameters of the attention-based gene feature extraction network and the gene feature-based cancer subtype diagnosis network, using the attention-based gene feature extraction network represented by the optimal parameters to extract gene features and obtain a vector g′ having the optimal gene feature representation i .
[0107] Furthermore, the gene feature to be diagnosed is fused with the image feature to be diagnosed at each resolution to obtain the fused feature to be diagnosed at each resolution; the specific fusion is serial fusion.
[0108] Furthermore, the diagnosing the fusion features to be diagnosed at each resolution to obtain the diagnosis results at each resolution specifically includes:
[0109] The fusion features to be diagnosed at each resolution are input into the fusion feature attention parameter layer of the attention-based cancer subtype diagnosis network to capture the most relevant features between the image features and the gene features in the fusion features; the fusion feature attention parameter layer is realized through the attention mechanism layer;
[0110] The most relevant features are input into the cancer subtype diagnosis subnetwork of the trained attention-based cancer subtype diagnosis network to obtain the diagnosis results at each resolution;
[0111] Among them, the attention-based cancer subtype diagnosis network includes: a fusion feature attention parameter layer and a cancer subtype diagnosis subnetwork connected in sequence;
[0112] Among them, the fusion feature attention parameter layer is realized through the attention mechanism layer;
[0113] Among them, the cancer subtype diagnosis subnetwork is implemented through a fully connected neural network.
[0114] Furthermore, the training process of the trained attention-based cancer subtype diagnosis network includes:
[0115] Constructing an attention-based cancer subtype diagnosis network;
[0116] Constructing a third training set; the third training set is a fusion feature of image features and gene features with known diagnosis results and known resolution;
[0117] Inputting the third training set into the corresponding resolution attention-based cancer subtype diagnosis network, training the network, and obtaining the trained corresponding resolution attention-based cancer subtype diagnosis network by optimizing the cross entropy loss function;
[0118] Similarly, attention-based cancer subtype diagnosis networks corresponding to all resolutions can be obtained.
[0119] It should be understood that the fusion features of the image features and gene features with known diagnostic results and known resolutions are consistent with the process of obtaining the fusion features to be diagnosed.
[0120] Furthermore, the diagnosis results at all resolutions are integrated to obtain the diagnosis result of the lung cancer subtype of the current patient; specifically including: using the result with a high proportion in the diagnosis results as the final diagnosis result.
[0121] The present invention can effectively reduce the redundancy problem caused by feature fusion by establishing attention-based cancer subtype diagnosis networks at corresponding resolutions to adaptively capture the features most closely related to patient imaging features and genetic features, and achieve more accurate diagnosis of cancer subtypes by integrating the diagnostic results of fused features at different resolutions.
[0122] Specifically, the extracted gene features are fused with the extracted and combined image features of different resolutions; the fused features are input into the attention-based cancer subtype diagnosis network based on a specific resolution; the parameter representation with the best diagnostic performance is obtained through cross-entropy loss; the diagnostic network based on the best parameters is used to obtain the diagnostic result of the fused features at the specific resolution; the diagnostic results of the fused features at each resolution are aggregated to obtain the final diagnostic result of the patient.
[0123] Exemplarily, feature fusion and diagnosis; the specific implementation is as follows:
[0124] S1041, integrating the patient's image features and gene features, extracting the gene features g′ i Respectively with the extracted image features Fusion is performed to obtain the fusion features at the patient k resolution The definition is as follows:
[0125]
[0126] in is the image feature at resolution k And the extracted gene feature g′i The fusion feature obtained after fusion, p is the image feature The feature dimension of q is the gene feature g′ i feature dimension.
[0127] S1042, construct attention layers based on the corresponding resolution fusion features, and integrate the fusion features of patients at the corresponding resolution Input fusion feature attention layer μ k To capture the most relevant features between the fused image and the genetic features, and obtain the patient fusion features captured by the attention parameters This reduces the feature redundancy problem caused by the fusion of different data.
[0128] S1043, construct cancer subtype diagnosis subnetworks according to different resolutions, input the patient fusion features at the corresponding resolution captured by the attention parameter into the constructed cancer subtype diagnosis subnetwork for training, and obtain the training loss L through cross entropy, so as to optimize the cancer subtype diagnosis network, which is defined as follows:
[0129]
[0130] in, is the cancer subtype diagnosis subnetwork based on the fusion features at k resolution, Ω is the parameter of the network, ⊙ is the symbol of the multiplication, y i is the cancer subtype label corresponding to the patient, is the attention parameter of the cancer subtype diagnosis subnetwork, The cross entropy loss function optimized for the cancer subtype diagnosis subnetwork is given by the attention parameter μ k , defined as follows:
[0131]
[0132] in, is the attention parameter μ k The attention weight of the jth dimension in , the introduction of this parameter can adaptively capture the most relevant features between images and genes at k resolution, thereby alleviating the impact of redundancy caused by the fusion of image and gene features. As for the cross entropy loss function for cancer subtype diagnosis network optimization Its definition is as follows:
[0133]
[0134] where y i is the known cancer subtype of the patient, and Diagnostic results corresponding to the fusion features at k resolution predicted by the cancer subtype diagnosis network.
[0135] S1044: Integrate the diagnostic results of the fusion features at each resolution to obtain the final diagnostic result of the patient The definition is as follows:
[0136]
[0137]
[0138] where α k is the diagnosis result at k resolution The corresponding weights are used to obtain the final subtype diagnosis result of the patient through weighted integration of the diagnostic results at each resolution.
[0139] In summary, the present invention cuts the patient's image data at different resolutions, extracts features and combines them, then fuses the extracted gene features with the image features at different resolutions through an attention-based gene feature extraction network, and diagnoses the fused features through an attention-based cancer subtype diagnosis network at the corresponding resolution, and finally obtains the final diagnosis result of the patient by integrating the diagnosis results of the fused features at each resolution.
[0140] The present invention first cuts the patient's image data at different resolutions, extracts features and combines them to obtain the patient's image features at the corresponding resolution, extracts gene features through an attention-based gene feature extraction network, and fuses the extracted gene features with the image-level features combined at the corresponding resolution, then constructs attention parameter layers based on the corresponding resolution fusion features to capture the most correlated features between gene features and image features in the corresponding resolution fusion features, diagnoses the fusion features through a diagnosis network based on the corresponding resolution fusion features, and finally integrates the diagnosis results obtained by the fusion features at each resolution to obtain the patient's final cancer subtype diagnosis result.
[0141] The present invention can obtain better image feature representation by adaptively giving a small weight to the false positive slice area. Processing and extracting image features at different resolutions can make the image features have both high tissue cell features and high structural texture features, thereby further improving the differences between different cancer subtypes. The attention-based gene feature extraction network can adaptively capture important mutation sites in the patient's gene data and give the site a greater attention weight, thereby alleviating the overfitting problem caused by the high dimensionality of the gene data and enabling the feature extraction network to have a certain degree of interpretability. In addition, the attention-based cancer subtype diagnosis network can capture the most relevant features of the patient's fused features, which can effectively reduce the redundancy problem caused by feature fusion and achieve accurate diagnosis of cancer subtypes.
[0142] Embodiment 2
[0143] This embodiment further provides an electronic device, including: one or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, the one or more computer programs are stored in the memory, and when the electronic device is running, the processor executes the one or more computer programs stored in the memory, so that the electronic device performs the following steps:
[0144] Obtaining imaging data and genetic data to be diagnosed from the same patient;
[0145] Extracting features of the image to be diagnosed at different resolutions from the image data to be diagnosed;
[0146] Extracting the features of the gene to be diagnosed from the gene data to be diagnosed;
[0147] The gene features to be diagnosed are fused with the image features to be diagnosed at each resolution to obtain the fused features to be diagnosed at each resolution; the fused features to be diagnosed at each resolution are diagnosed to obtain the diagnosis results at each resolution; the diagnosis results at all resolutions are fused to obtain the diagnosis results of the current patient's lung cancer subtype.
[0148] Embodiment 3
[0149] This embodiment further provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed by a processor, the following steps are performed:
[0150] Obtaining imaging data and genetic data to be diagnosed from the same patient;
[0151] Extracting features of the image to be diagnosed at different resolutions from the image data to be diagnosed;
[0152] Extracting the features of the gene to be diagnosed from the gene data to be diagnosed;
[0153] The gene features to be diagnosed are fused with the image features to be diagnosed at each resolution to obtain the fused features to be diagnosed at each resolution; the fused features to be diagnosed at each resolution are diagnosed to obtain the diagnosis results at each resolution; the diagnosis results at all resolutions are fused to obtain the diagnosis results of the current patient's lung cancer subtype.
[0154] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A lung cancer subtype diagnosis system based on the fusion of imaging and genetic features, characterized by: include: A data acquisition module is configured to: acquire the image data to be diagnosed and the gene data to be diagnosed of the same patient; An image feature extraction module is configured to: extract features of the image to be diagnosed at different resolutions from the image data to be diagnosed; A gene feature extraction module is configured to: extract the gene feature to be diagnosed from the gene data to be diagnosed: use the gene attention mechanism layer of the trained attention-based gene feature extraction network to capture the first gene data feature from the gene data to be diagnosed; use the gene feature extraction subnetwork of the trained attention-based gene feature extraction network to extract the second gene data feature from the first gene data feature; use the second gene data feature as the gene feature to be diagnosed; wherein the attention-based gene feature extraction network includes: a gene attention mechanism layer and a gene feature extraction subnetwork connected in sequence; wherein the gene attention mechanism layer is implemented by the attention mechanism layer; wherein the gene feature extraction subnetwork is implemented by a fully connected neural network; The feature fusion and subtype diagnosis module is configured to: fuse the gene features to be diagnosed with the image features to be diagnosed at each resolution to obtain the fused features to be diagnosed at each resolution; diagnose the fused features to be diagnosed at each resolution to obtain the diagnosis results at each resolution; fuse the diagnosis results at all resolutions to obtain the lung cancer subtype diagnosis results of the current patient; The method of diagnosing the fused features to be diagnosed at each resolution to obtain the diagnosis results at each resolution specifically includes: inputting the fused features to be diagnosed at each resolution into the fused feature attention parameter layer of the attention-based cancer subtype diagnosis network to capture the most correlated features between the image features and the gene features in the fused features to be diagnosed; the fused feature attention parameter layer is implemented through the attention mechanism layer; the most correlated features are input into the cancer subtype diagnosis subnetwork of the trained attention-based cancer subtype diagnosis network to obtain the diagnosis results at each resolution; wherein the attention-based cancer subtype diagnosis network includes: a fused feature attention parameter layer and a cancer subtype diagnosis subnetwork connected in sequence; wherein the fused feature attention parameter layer is implemented through the attention mechanism layer; wherein the cancer subtype diagnosis subnetwork is implemented through a fully connected neural network.
2. The lung cancer subtype diagnosis system based on image and gene feature fusion as claimed in claim 1, characterized in that: Extracting features of the image to be diagnosed at different resolutions from the image data to be diagnosed; Specifically include: Selecting a region of interest of a set size from the image data to be diagnosed; According to different resolutions, the region of interest is cut into several non-overlapping slices; All slices corresponding to each resolution are input into the trained feature extraction network of the corresponding resolution to obtain several slice features of the corresponding resolution; All slice features corresponding to each resolution are combined to obtain the image features corresponding to each resolution.
3. The lung cancer subtype diagnosis system based on image and gene feature fusion as claimed in claim 2, characterized in that: The trained feature extraction network of corresponding resolution; The training steps include: Constructing a feature extraction network with a resolution of a1 and a cancer subtype diagnosis network based on slice features, which are connected in sequence; wherein the feature extraction network is implemented by using a convolutional neural network Inception-V3; and the cancer subtype diagnosis network based on slice features is implemented by using a fully connected neural network; Constructing a first training set and a validation set; the first training set and the validation set are a number of slice images with a resolution of a1 and known cancer subtype classification labels; The first training set and the validation set are input into a feature extraction network with a resolution of a1, and the feature extraction results of the feature extraction network with a resolution of a1 are input into a cancer subtype diagnosis network based on slice features, and the cross entropy loss is calculated by the diagnosis results of the training set, and the parameters of the feature extraction network and the cancer subtype diagnosis network based on slice features are optimized by the loss, and the parameters with the best diagnostic performance on the validation set are selected as the feature extraction network with a resolution of a1 after training; Similarly, the feature extraction network of all resolutions is obtained after training.
4. The lung cancer subtype diagnosis system based on image and gene feature fusion as claimed in claim 1, characterized in that: The training steps of the trained attention-based gene feature extraction network include: The attention-based gene feature extraction network and the gene feature-based cancer subtype diagnosis network are connected sequentially; Among them, the cancer subtype diagnosis network based on gene features is realized through a fully connected neural network; Constructing a second training set and a validation set; the second training set and the validation set are first gene data features of known cancer subtype classification labels; The second training set and the validation set are input into the attention-based gene feature extraction network. The attention-based gene feature extraction network inputs the gene feature extraction results into the gene feature-based cancer subtype diagnosis network. The cross entropy loss is calculated by the diagnosis results of the training set. The parameters of the gene feature extraction network and the gene feature-based cancer subtype diagnosis network are optimized by this loss. The parameters with the best diagnostic performance on the validation set are selected as the attention-based gene feature extraction network after training.
5. The lung cancer subtype diagnosis system based on image and gene feature fusion as claimed in claim 1, characterized in that: The trained attention-based cancer subtype diagnosis network, the training process includes: Constructing an attention-based cancer subtype diagnosis network; Constructing a third training set; the third training set is a fusion feature of image features and gene features with known diagnosis results and known resolution; Inputting the third training set into the corresponding resolution attention-based cancer subtype diagnosis network, training the network, and obtaining the trained corresponding resolution attention-based cancer subtype diagnosis network by optimizing the cross entropy loss function; Similarly, attention-based cancer subtype diagnosis networks corresponding to all resolutions can be obtained.
6. The lung cancer subtype diagnosis system based on image and gene feature fusion as claimed in claim 1, characterized in that: The diagnosis results at all resolutions are integrated to obtain the diagnosis result of the lung cancer subtype of the current patient; Specifically including: adopting the result with a higher proportion in the diagnosis results as the final diagnosis result.
7. An electronic device, comprising: a memory for non-transitory storage of computer readable instructions; as well as a processor for executing the computer readable instructions, Wherein, when the computer-readable instructions are executed by the processor, the working process corresponding to the lung cancer subtype diagnosis system based on the fusion of image and gene features as described in any one of claims 1 to 6 is executed.
8. A storage medium characterized by being non-temporary The computer-readable instructions are stored in a non-temporary manner, wherein when the non-temporary computer-readable instructions are executed by a computer, a working process corresponding to the lung cancer subtype diagnosis system based on the fusion of image and gene features as described in any one of claims 1 to 6 is executed.
