A deep learning method for cancer molecular typing prediction based on multi-scale fusion attention

By introducing a deep neural network with multi-scale fusion attention in deep learning, and using pyramid convolution and channel attention modules, the problem of underutilization of scale and channel information in cancer pathology images is solved, and the prediction of cancer molecular classification is improved. accuracy.

CN114841979BActive Publication Date: 2024-10-01DUT ARTIFICIAL INTELLIGENCE INST DALIAN +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202210543763.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-18
Publication Date
2024-10-01
Estimated Expiration
2042-05-18

AI Technical Summary

Technical Problem

Existing technologies fail to make full use of different image scales and channel information in cancer pathology image prediction, resulting in unclear molecular classification features and difficulty in classification, and fixed-scale segmentation cannot effectively explore relevant features.

Method used

Using a multi-scale fusion attention deep learning method, the pyramid convolution and channel attention SE modules are introduced through the ResNet-50 backbone network to build a deep neural network model, slide the window to segment pathological images, screen tumor patches, and use transfer learning and multi-scale information acquisition to improve prediction performance.

Benefits of technology

Effectively utilizing different scales and channel information of images improves the performance of cancer molecular classification prediction, improves the model's ability to explore features, and achieves more accurate prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114841979B_ABST
    Figure CN114841979B_ABST
Patent Text Reader

Abstract

The present invention discloses a deep learning cancer molecular typing prediction method with multi-scale fusion attention, which relates to the technical field of intelligent processing of pathological images, and aims to solve the problem that most methods divide full-size digital pathological images into small blocks at a certain magnification to further train classification models at the block level due to the large pixel size of the full-size digital pathological images; by introducing different information focuses at different scales of pathological images, a deep neural network is built to focus on spatial scale information, and channel information is also focused on, and block information is fully utilized from multiple dimensions. When there is no prior knowledge to determine the characteristic manifestations of molecular typing in pathological images, spatial information of different scales is fully utilized, and different channels of model training are emphasized, making it easier for the model to explore characteristic manifestations related to molecular typing, thereby improving prediction performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent processing of pathological images, and specifically to a multi-scale fusion attention deep learning cancer molecular typing prediction method. Background Art

[0002] According to data from the International Agency for Research on Cancer (IARC) under the World Health Organization, in 2020, the number of new cancer cases in China was about 4.57 million, exceeding that of other countries in the world. Cancer has become a major public health issue. Accurate cancer prognosis analysis can help assist doctors in making diagnosis and treatment decisions and improve patients' chances of survival and survival levels. Among the methods of prognosis prediction, molecular typing provides considerable help, but the methods for obtaining molecular typing are often expensive and time-consuming. Therefore, more convenient and cheaper auxiliary methods are needed. The development of deep learning provides this possibility. For example, Hinata M, Ushiku T. Detecting immunotherapy-sensitive subtype in gastric cancer using histologic image-based deep learning [J]. Science Reports, 2021, 11: 22636. In this article, transfer learning was used to screen EBV and MSI / dMMR subtypes that are highly sensitive to immune checkpoint inhibitors in patients with gastric adenocarcinoma using pathological images. Acwa B, Me C, Jga B, et al. Deep Learning Predicts Molecular Subtype of Muscle-invasive Bladder Cancer from Conventional Histopathological Slides [J]. European Urology, 2020, 78 (2): 256-264. In this article, a mibCNN network was built to use pathological images to predict the MDA subtype of bladder cancer. Since the pixel size of full-size digital pathology images is too large, most methods divide them into small tiles at a certain magnification to further train the classification model at the tile level. Since the determination of molecular typing often comes from molecular methods, the features on the image are often not clear, so the fixed scale cannot fully explore the relevant features, and at the same time, the information of different scales of pathological images is not fully utilized. In the training process of the image block, the existing methods also do not fully utilize the information of the image block itself, such as the channel that the feature focuses on. Summary of the invention

[0003] In view of the problems existing in the prior art, the present invention discloses a multi-scale fusion attention deep learning cancer molecular typing prediction method, the technical solution adopted is, comprising the following steps:

[0004] S1, data acquisition and preprocessing, obtain the molecular classification of cancer patients, and obtain the full-size digital pathology slice images of the corresponding patients at the same time. According to the characteristics of the cancer type and the known relevant pathological knowledge of the molecular classification, select the appropriate magnification to perform sliding window segmentation on the pathology image to obtain non-overlapping fixed-size blocks. If the size of the block cut out from the edge of the image is less than the fixed size, it will be discarded. The remaining blocks are evaluated, and the blocks with effective tissue accounting for less than 50% of the block are screened out according to the pixel value. The remaining blocks are color-standardized to unify the staining space;

[0005] S2, screening tumor blocks. Cancer molecular typing is more relevant to tumors. Necrotic, pure stroma, and tumor-containing blocks are marked. Since this classification feature is more obvious and the classification difficulty is relatively low, the existing classification network in the field of computer vision is used for transfer learning. After obtaining the trained model, all blocks are screened to screen out the tumor-containing blocks;

[0006] S3, build a multi-scale fusion attention deep neural network model, use ResNet-50 as the backbone network, introduce the pyramid convolution PyConv module and channel attention SE module to build a deep neural network model

[0007] S4, training of the image block classification model, setting the training learning rate, optimizer, and loss function, randomly cropping the training set image blocks to (3, 224, 224) and sending them to the constructed neural network, calculating the loss value, updating the network parameters after back propagation, and iterating multiple times to complete the model training and realize the classification of image block molecular typing;

[0008] S5, block and case prediction, randomly crop the test set blocks to (3,224,224) and send them to the trained model for forward propagation to obtain the test value of the final block. The true value of the molecular typing is the true value at the case level. Therefore, the predicted values ​​of all blocks of the case are averaged to represent the prediction result of the case, realizing the prediction of the molecular typing of the case.

[0009] As a preferred technical solution of the present invention, the multi-scale fusion attention deep neural network model in S3 is built, and the size of the block sent to the network is required to be (3,224,224). The specific steps of network construction are as follows:

[0010] S301, the network starts to build convolutional layers and batch normalization layers, and the output size after ReLU is (64, 112, 112);

[0011] S302, multi-scale information acquisition of pathological images, consists of three basically identical pyramid convolution model blocks;

[0012] S303, acquiring attention of the image channel, building four basically identical attention modules;

[0013] S304, multi-scale information acquisition of pathological images, consisting of 6 pyramid convolution modules;

[0014] S305, pathological image information acquisition, consists of 3 pyramid convolution modules;

[0015] S306, the previous feature set undergoes adaptive average pooling and a fully connected layer at this stage, and is finally passed to the output. The number of output nodes is the number of categories of molecular typing, and the output result is the predicted probability of each category.

[0016] As a preferred technical solution of the present invention, in S302, each module is respectively connected in series by a combination of three groups of convolutional layers and batch normalization layers, and output through ReLU, wherein the second group of convolutional layers is a pyramid convolution, and the only difference between the three pyramid convolution modules is that the first module adds a combination of a maximum pooling layer, a convolutional layer and a batch normalization layer at the end for downsampling. In this stage, all pyramid convolutions have four sizes of convolution kernels in parallel, and the sizes of the convolution kernels are 3*3, 5*5, 7*7, and 9*9, respectively, forming a pyramid form. After the preceding feature set is convolved with each convolution kernel, the generated features are spliced, and the final output of this stage is a feature set of size (256, 56, 56).

[0017] As a preferred technical solution of the present invention, in S303, only the first module has a combination of a maximum pooling layer, a convolution layer and a batch normalization layer at the end for downsampling. The attention module embeds the SE module into the residual module of ResNet-50 to become an SE-ResNet module. This module is based on the residual module. Before the jump connection, the spatial dimension of the previous feature set is first compressed into a real number as a channel descriptor through global pooling, and then the fully connected layer operation is performed to generate each channel weight map to each feature channel. The output size of this stage is a feature set of (512, 28, 28).

[0018] As a preferred technical solution of the present invention, in S304, the parallel convolution kernels in each pyramid convolution are of two sizes, 3*3 and 5*5 respectively, and the output size of this stage is a feature set of (1024, 14, 14).

[0019] As a preferred technical solution of the present invention, the difference between S305 and S302 is that there are 3 pyramid convolution modules in this stage, and each pyramid convolution has only one convolution kernel of size 3*3. Since there is only one convolution kernel of size left in the pyramid convolution, the actual pyramid convolution is reduced to a common convolution layer with a convolution kernel of 3*3. The output size of this stage is (2048, 7, 7).

[0020] Beneficial effects of the present invention: The present invention introduces different emphases on information at different scales of pathological images, builds a deep neural network that focuses on spatial scale information, and also focuses on channel information, and fully utilizes block information from multiple dimensions. When there is no prior knowledge to determine the characteristic manifestations of molecular typing in pathological images, it fully utilizes spatial information of different scales and focuses on different channels of model training, making it easier for the model to explore characteristic manifestations related to molecular typing and improving prediction performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the specific implementation of the present invention or the technical solution in the prior art, the following will briefly introduce the drawings required for the specific implementation or the prior art description. In all the drawings, each element or part is not necessarily drawn according to the actual scale.

[0022] Figure 1 is a flow chart of the cancer molecular typing prediction method of the present invention;

[0023] Figure 2 This is a deep neural network model diagram of the multi-scale fusion attention of the present invention;

[0024] Figure 3 Schematic diagram of pyramid convolution of the present invention;

[0025] Figure 4 Schematic diagram of the SE-ResNet attention module of the present invention. DETAILED DESCRIPTION

[0026] Example 1

[0027] like Figures 1 to 4 As shown, the present invention discloses a multi-scale fusion attention deep learning cancer molecular typing prediction method, the technical solution adopted is, comprising the following steps:

[0028] S1, data acquisition and preprocessing. In this specific embodiment, the data set is obtained from the TCGA database, and the muscle-invasive bladder cancer pathological images therein are used. The UNC classification is used as the prediction target, with 165 cases of basal type and 210 cases of luminal type. The case data set obtained is randomly divided into a training set, a validation set and a test set at a ratio of 6:2:2. All pathological images are non-overlappingly segmented to obtain 256*256 pixel-level blocks. Blocks with insufficient size after segmentation at the edge of the image are selected and discarded. Blocks with insufficient information are screened out according to the block situation. In this embodiment, the image colors are all darker. The RGB blocks are converted into grayscale images, and the proportion of pixels with grayscale values ​​greater than 220 in the blocks is calculated. If the proportion is greater than 50%, it is considered that the information is insufficient and is discarded. The remaining blocks are color-standardized. In this embodiment, the Macenko method is used;

[0029] S2, screening tumor tiles. After preprocessing, experts randomly select and label necrotic, pure stroma, and tumor-containing tiles. In this embodiment, 2000 tiles are labeled. The Inception V3 model pre-trained by ImageNet is used for transfer learning. The labeled tiles are randomly divided into training set, validation set, and test set with a ratio of 6:2:2. The training set is enlarged to (3,299,299) and sent to the Inception V3 model for training. The validation set and test set are used for model verification and testing respectively. Stochastic gradient descent is used as the optimizer for training. The learning rate is 0.01, the training batch size is 64, and a total of 10,000 steps are trained. The test set is sent to the trained network for testing. The evaluation index AUC reaches 0.99, which has good performance. The model is used to screen all tiles to screen out tumor-containing tiles.

[0030] S3, build a deep neural network model with multi-scale fusion attention;

[0031] S301, the network goes through convolution layer, batch normalization layer, ReLU, and outputs a feature set of size (64, 112, 112);

[0032] S302, multi-scale information acquisition of pathological images, build three basically identical pyramid convolution modules, each module is composed of three groups of convolution layers and batch normalization layers connected in series, and output through ReLU, among which the second group of convolution layers is pyramid convolution, and the only difference between the three pyramid convolution modules is that the first module adds a combination of a maximum pooling layer, a convolution layer and a batch normalization layer at the end for downsampling. In this stage, all pyramid convolutions have four sizes of convolution kernels in parallel, and the sizes of the convolution kernels are 3*3, 5*5, 7*7, and 9*9, respectively, forming a pyramid form. After the previous feature set is convolved with each convolution kernel, the generated features are spliced, as shown in the schematic diagram. Figure 3 The schematic diagram shown takes a pyramid convolution with four-size convolution kernels. This stage finally outputs a feature set of size (256, 56, 56);

[0033] S303, tile channel attention acquisition, build 4 basically identical attention modules, only the first module has an additional combination of a maximum pooling layer, a convolution layer, and a batch normalization layer at the end for downsampling. The attention module embeds the SE module into the residual module of ResNet-50 to become a SE-ResNet module, such as Figure 4 As shown in the figure, this module is based on the residual module. Before the jump connection, the spatial dimension of the previous feature set is first compressed into a real number as a channel descriptor through global pooling, and then the weight of each channel is generated by the fully connected layer operation and mapped to each feature channel. The output size of this stage is a feature set of (512, 28, 28);

[0034] S304, multi-scale information acquisition of pathological images. This stage is similar to S302, except that there are 6 pyramid convolution modules in this stage, and the parallel convolution kernels in each pyramid convolution are of two sizes, 3*3 and 5*5 respectively. The output size of this stage is a feature set of (1024, 14, 14);

[0035] S305, pathological image information acquisition, this stage is similar to S302, the difference is that there are 3 pyramid convolution modules in this stage, and each pyramid convolution has only one convolution kernel of size 3*3. Since there is only one convolution kernel of size left in the pyramid convolution, the actual pyramid convolution is reduced to a common convolution layer with a convolution kernel of 3*3. The output size of this stage is a feature set of (2048,7,7);

[0036] S306, the previous feature set is passed through the adaptive average pooling and fully connected layer at this stage, and finally passed to the output. The number of output nodes is 2, which are the prediction results of the basal type and luminal type.

[0037] S4, tile classification model training, the training set tiles are reduced to (3,224,224) and sent to the constructed model, with cross entropy as the loss function, Adam as the optimizer, the learning rate starting at 0.01, and reduced to one-tenth of the original at 10, 35, and 50 rounds of training respectively, the training batch size is 64, a total of 60 rounds of training, back propagation, update network parameters, and complete training. During training, the validation set tiles are reduced to (3,224,224) and sent to the currently trained model to verify the model, and the model with the best performance in the validation set is selected as the trained model;

[0038] S5, block and case prediction, the test set block is reduced to (3,224,224) and sent to the trained network. After the network output, the predicted value of the block is obtained through softmax. The result of binary classification obtains two separate predicted values. For the case, the UNC typing prediction values ​​of all tumor-containing blocks of the case are averaged as the final predicted value of the case.

[0039] This embodiment performs a prediction test on the test set, and conducts a comparative experiment on the model with ResNet, PyConvResNet, and SE-ResNet. PyConvResNet embeds all the main modules of ResNet into pyramid convolution, and SE-ResNet embeds all the main modules of ResNet into SE modules. The present invention integrates pyramid convolution and SE modules and embeds them into ResNet-50. All four models use ResNet-50 as the backbone. The experimental results are shown in Table 1:

[0040] Table 1 Comparative experiment

[0041]

[0042] By comparing the experimental results, it can be found that the network constructed by integrating the pyramid convolution and the attention module SE module proposed in the present invention can effectively improve the predictive performance of pathological images in predicting cancer molecular typing, which proves the effectiveness of the method and provides assistance for the application of deep learning methods in predicting cancer molecular typing in pathological images. In addition, the network backbone proposed in the present invention is the commonly used ResNet-50, and the introduced pyramid convolution module and attention module are plug-and-play, which has reference significance for the future use of multi-scale and attention.

[0043] Although the specific embodiments of the present invention are described in detail above, the present invention is not limited to the above embodiments. Various changes can be made within the knowledge of ordinary technicians in this field without departing from the purpose of the present invention, and modifications or deformations without creative labor are still within the protection scope of the present invention.

Claims

1. A multi-scale fusion attention deep learning cancer molecular typing prediction method, characterized by: The following steps are involved: S1, data acquisition and preprocessing, obtain the molecular classification of cancer patients, and obtain the full-size digital pathology slice images of the corresponding patients at the same time. According to the characteristics of the cancer type and the known relevant pathological knowledge of the molecular classification, select the appropriate magnification to perform sliding window segmentation on the pathology image to obtain non-overlapping fixed-size blocks. If the size of the block cut out from the edge of the image is less than the fixed size, it will be discarded. The remaining blocks are evaluated, and the blocks with effective tissue accounting for less than 50% of the block are screened out according to the pixel value. The remaining blocks are color-standardized to unify the staining space; S2, screening tumor blocks. Cancer molecular typing is more relevant to tumors. Necrotic, pure stroma, and tumor-containing blocks are marked. Since this classification feature is more obvious and the classification difficulty is relatively low, the existing classification network in the field of computer vision is used for transfer learning. After obtaining the trained model, all blocks are screened to screen out the tumor-containing blocks; S3, build a multi-scale fusion attention deep neural network model, using ResNet-50 as the backbone network, introducing the pyramid convolution PyConv module and the channel attention SE module to build a deep neural network model; S4, training of the image block classification model, setting the training learning rate, optimizer, and loss function, randomly cutting the training set image blocks to length 3, width 224, and height 224, and sending them to the constructed neural network, calculating the loss value, updating the network parameters after back propagation, and iterating multiple times to complete the model training and realize the classification of image block molecular typing; S5, block and case prediction, randomly cut the test set blocks to length 3, width 224, height 224 and send them to the trained model for forward propagation to obtain the test value of the final block. The true value of molecular typing is the true value at the case level, so the predicted values ​​of all blocks of the case are averaged to represent the prediction result of the case, realizing the prediction of the molecular typing of the case; The multi-scale fusion attention deep neural network model in S3 is built. The size of the image block sent to the network is required to be 3 in length, 224 in width, and 224 in height. The specific steps of network construction are as follows: S301, the network starts to build convolutional layers and batch normalization layers, and the output size after ReLU is 64 in length, 112 in width, and 112 in height; S302, multi-scale information acquisition of pathological images, consists of three basically identical pyramid convolution model blocks; S303, acquiring attention of the image channel, building four basically identical attention modules; S304, multi-scale information acquisition of pathological images, consisting of 6 pyramid convolution modules; S305, pathological image information acquisition, consists of 3 pyramid convolution modules; S306, the previous feature set is subjected to adaptive average pooling and a fully connected layer at this stage, and is finally passed to the output. The number of output nodes is the number of categories of molecular typing, and the output result is the predicted probability of each category; In the S302, each module is respectively connected in series by a combination of three groups of convolutional layers and batch normalization layers, and output by ReLU, wherein the second group of convolutional layers is a pyramid convolution, and the only difference between the three pyramid convolution modules is that the first module adds a combination of a maximum pooling layer, a convolutional layer and a batch normalization layer at the end for downsampling. In this stage, all pyramid convolutions have four sizes of convolution kernels in parallel, and the sizes of the convolution kernels are 3*3, 5*5, 7*7, and 9*9, respectively, forming a pyramid form. After the preceding feature set is convolved with each convolution kernel, the generated features are spliced, and the final output size of this stage is a feature set of length 256, width 56, and height 56; In the S303, only the first module has a combination of a maximum pooling layer, a convolution layer, and a batch normalization layer at the end for downsampling. The attention module embeds the SE module into the residual module of ResNet-50 to become an SE-ResNet module. This module is based on the residual module. Before the jump connection, the spatial dimension of the previous feature set is first compressed into a real number as a channel descriptor through global pooling, and then the weight of each channel is generated by the fully connected layer operation and mapped to each feature channel. The output size of this stage is a feature set of length 512, width 28, and height 28; In S304, the parallel convolution kernels in each pyramid convolution are of two sizes, 3*3 and 5*5 respectively. The output size of this stage is a feature set of length 1024, width 14, and height 14; In S305, the difference from S302 is that there are 3 pyramid convolution modules in this stage, and each pyramid convolution has only one convolution kernel of size 3*3. Since there is only one convolution kernel of size left in the pyramid convolution, the actual pyramid convolution is reduced to a common convolution layer with a convolution kernel of 3*3. The output size of this stage is 2048 in length, 7 in width, and 7 in height.

Citation Information

Patent Citations

  • Attention mechanism CNN-based 5-day and 9-day incubated egg embryo image classification method

    CN110309880A

  • Construction method of image classification model, image classification method and storage medium

    CN113191390A

  • SAR image layover region extraction method based on multilayer feature fusion attention mechanism

    CN113469191A

  • Semantic segmentation method based on channel attention and pyramid convolution fusion

    CN114155371A

  • Multi-spectral image fusion method based on Y-shaped pyramid network

    CN114283104A