A deep learning system for multimodal image-assisted diagnosis of pancreatic lesions

Through the multi-modal image-assisted deep learning system, the Transformer structure is used to process CT and EUS images to achieve accurate segmentation of pancreatic lesions and prediction of disease types, solving the problems of false negative and traumatic puncture in the diagnosis of pancreatic diseases, and improving diagnostic accuracy. and security.

CN118212228BActive Publication Date: 2024-10-18THE FIRST AFFILIATED HOSPITAL OF NAVAL MEDICAL UNIVERSITY OF CHINESE PEOPLES LIBERATION ARMY
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410491586.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-23
Publication Date
2024-10-18
Estimated Expiration
2044-04-23

AI Technical Summary

Technical Problem

In the diagnosis of pancreatic diseases, EUS device-assisted puncture after CT examination may lead to false negative results, increase the patient's risk of disease progression, and the puncture process is highly invasive.

Method used

A multi-modal image-assisted deep learning system is used to take CT and EUS images as input through a network with a Transformer structure to perform lesion segmentation and type prediction, reducing the number of punctures and improving diagnostic accuracy.

Benefits of technology

The system can accurately predict pancreatic diseases with little or no need for puncture, improve diagnostic accuracy and reduce patient risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118212228B_ABST
    Figure CN118212228B_ABST
Patent Text Reader

Abstract

The present invention discloses a deep learning system for assisting the diagnosis of pancreatic lesions through multimodal images, and relates to the technical field of disease diagnosis. The model in the system takes paired CT and EUS images as input, adopts a Transformer structure as the backbone of the network, and the network outputs lesion segmentation results in the corresponding CT and EUS images, and predicts the type of the lesion. The deep learning system for assisting the diagnosis of pancreatic lesions through multimodal images constructs an MMED-Net model based on the Transformer architecture. The model takes EUS and CT multimodal images of the patient's pancreas as input. After a series of encoding and decoding networks, the model can accurately segment the lesion from the image and predict the disease type of the image combination. Pancreatic diseases can be accurately predicted without or with less puncture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of disease diagnosis, and specifically to a deep learning system for assisting pancreatic lesion diagnosis through multimodal images. Background Art

[0002] In the actual clinical diagnosis process of pancreatic diseases, almost all patients must first undergo a CT scan. When possible lesions are found in the CT images, professional physicians use the EUS device to further examine and obtain relevant lesion tissues through a puncture needle, waiting for the final pathological results. However, there is a great possibility of false negatives during the puncture process, that is, when the patient is observed to be highly positive in CT, and the pathological result obtained by the physician with the assistance of the EUS device is negative, then the problem of re-puncture will be faced. More importantly, invasive puncture examinations are likely to damage the structure of tissues or lesions, thereby increasing the risk of worsening of the patient's disease. Therefore, a deep learning system that assists in the diagnosis of pancreatic lesions through multimodal images is proposed. Summary of the invention

[0003] To achieve the above objectives, the present invention is implemented through the following technical solutions: a deep learning system for multimodal image-assisted pancreatic lesion diagnosis is provided, in which the model takes paired CT and EUS images as input, adopts the Transformer structure as the backbone of the network, and the network outputs the lesion segmentation results in the corresponding CT and EUS images, and predicts the type of the lesion.

[0004] Optionally, the length L of the input sequence of the Transformer is set to The output sequence of Transformer can be the target feature map x f , in order to obtain Long input sequence, input image x∈R H×W×3 , divided into image patches, by using a 2D convolution operation f:p→e∈R C , each vector image block p is further mapped to a potential representation space (dimension C), so that a one-dimensional embedding sequence of an image x has been generated, where the kernel size of the two-dimensional convolution is 16×16 and the step size is 16, which can be adjusted according to the size of the actual image block; in order to encode the spatial information of the image block, each position i learns a specific embedding p i (using the method of truncated normal distribution), and add it to e i The final sequence input E = {e1+p1,e2+p2,....,e L +p L}, the spatial information of the image block is preserved in the Transformer. After the image serialization operation, the EUS and CT images input to the network will be transformed into corresponding feature vectors.

[0005] Optionally, in the present model, a one-dimensional embedding sequence E is given as input, and then multiple stacked Transformer layers are used to learn the features. The encoder of the stacked Transformer layers is composed of L e The self-attention module is composed of a multi-head self-attention block and a multi-layer perceptron block. In each layer l, the input of the self-attention module is from Z l-1 ∈R L×C , the triple (query vector Q, key vector K, value vector V) calculated in, that is:

[0006] Q=Z l-1 W Q ,K=Z l-1 W K ,V=Z l-1 W V (1)

[0007] Where W Q / W k / W v ∈R C×d , are the learnable weight parameters in the three linear mapping layers, and d is the feature dimension of the triplet; the self-attention mechanism is expressed as:

[0008]

[0009] MSA is an extension with m independent SA operations and maps their joint output:

[0010] MSA(Z l-1 )=[SA1(Z l-1 );SA2(Z l-1 );....;SA m (Z l-1 )]W O , where W O ∈R md×C ,d is set to C / m, the output of MSA is transformed by the MLP block, and the residual connection is used as the output of the layer:

[0011] Z l =MSA(Z l-1 )+MLP(MSA(Z l-1 ))∈R L×C (3)

[0012] {Z 1 ,Z 2 ,...,Zle} as features of the Transformer layer.

[0013] Optionally, after the model extracts features through multiple Transformer layers, the model generates feature vectors F0 and F1 corresponding to the EUS and CT images. Based on F0 and F1, a decoder for CT / EUS lesion segmentation and a separator for disease prediction are constructed. Since the goal of the decoder is to generate segmentation results in the original two-dimensional image space H×W, it is necessary to reconstruct the features F0 and F1, that is, from a size of 2D shape to standard 3D feature map Then, the feature map is restored to a segmentation mask of the same size as the original image through the corresponding transformation strategy. This model adopts three upsampling strategies, namely the progressive upsampling strategy PUP, the multi-scale feature fusion strategy MSFF and the U-type upsampling strategy. The MSFF method is used in MMED-Net.

[0014] Optionally, the upsampling strategy PUP: This method alternates convolutional layers and upsampling operations, limits the upsampling to 2×, and requires a total of 4 upsampling operations to restore F0 or F1 to the original size of the input image. First, the serialized feature map F0 or F1 is adjusted to a three-dimensional form. After the first upsampling, the length and width of the feature map are doubled. becomes The number of channels is reduced by 4 times from 1024 to 256. The second and third upsamplings double the length and width of the feature map, but the number of channels remains unchanged, that is, 256. The last upsampling restores the feature map to the size of the input image, and the number of channels becomes 2. The 0th channel represents the background, and the 1st channel represents the lesion.

[0015] Optionally, the U-type upsampling strategy is used in a model with a feature pyramid structure as the backbone network. It is derived from the U-Net network, and uses bilinear interpolation or transposed convolution to upsample features of different scales in the decoder, and concatenates the results with features of the same scale in the encoder and then adjusts them through a convolutional layer, and outputs the segmentation results in this way.

[0016] Optionally, the multi-scale feature fusion strategy MSFF: This model is based on the Transformer structure, with a total of 24 layers, and the output feature scale of each layer is the same The features of the 6th, 12th, 18th and 24th layers in the encoder are extracted respectively, namely Z 6 , Z 12 , Z 18 , Z 24, and then adjusted to a 3D form, three groups of convolutional layers with kernel sizes of 1×1, 3×3 and 3×3 were used for calculation, respectively. The feature channels were halved in the first and third layers, and the spatial size was increased by 4 times through bilinear operation after the third layer. In order to strengthen the interaction between different data streams, a top-down aggregation design was introduced after the first layer by adding corresponding elements. After obtaining four groups of features, they were concatenated in the channel direction and restored to the original image size using convolution and bilinear 4-fold upsampling. Since the segmentation task is only used to identify lesions, the number of output channels is 2; MMED-Net obtains two one-dimensional feature vectors after a global average pooling AP(·) for the features F0 and F1 in the channel direction, and then adds them to each other and maps them to the feature C of the number of categories through a linear layer FC(·). Δ , the process is as follows:

[0017] C Δ =FC(AP(F0+F1)); (4)

[0018] The output result can be used to obtain the predicted probability of each category through a Softmax function. The calculation process is as follows:

[0019] Among them, exp() represents the natural exponential function, C Δi is the vector C Δ The summation part in the denominator is for all elements C Δj Find the sum after exponentiation, for any element C Δi , the value after conversion by the Softmax function is a real number between (0,1), and the sum of the values ​​of all elements after conversion by the Softmax function is 1, so it is regarded as a probability distribution.

[0020] The present invention provides a deep learning system for pancreatic lesion diagnosis assisted by multimodal images, which has the following beneficial effects:

[0021] This deep learning system for multimodal image-assisted pancreatic lesion diagnosis builds an MMED-Net model based on the Transformer architecture. The model takes the EUS and CT multimodal images of the patient's pancreas as input. After a series of encoding and decoding networks, it can not only accurately segment the lesions from the image, but also predict the disease type of the image combination. It can accurately predict pancreatic diseases without or with less puncture. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a single-modality pancreatic disease diagnosis model diagram based on CT or EUS images of the present invention;

[0023] Figure 2 A comparison diagram of the input image processing methods of the CNN and Transformer architectures of the present invention;

[0024] Figure 3 This is a progressive upsampling strategy diagram of the present invention;

[0025] Figure 4 It is a multi-scale feature fusion graph of the present invention;

[0026] Figure 5 This is a visualization result diagram of different multimodal prediction models of the present invention. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0028] See also Figures 1 to 5 The present invention provides a technical solution: a deep learning system for multimodal image-assisted pancreatic lesion diagnosis, in which the model takes paired CT and EUS images as input, adopts the Transformer structure as the backbone of the network, and the network outputs the lesion segmentation results in the corresponding CT and EUS images, and predicts the type of the lesion.

[0029] Furthermore, those skilled in the art will know that the length L of the input sequence of Transformer is set to The output sequence of Transformer can be the target feature map x f , in order to obtain Long input sequence, input image x∈R H×W×3 , divided into image patches, by using a 2D convolution operation f:p→e∈R C , each vector image block p is further mapped to a potential representation space with dimension C, so that a one-dimensional embedding sequence of an image x has been generated, where the kernel size of the two-dimensional convolution is 16×16 and the step size is 16, which can be adjusted according to the size of the actual image block; in order to encode the spatial information of the image block, a truncated normal distribution method is used to learn a specific embedding p for each position i i and add it to e i The final sequence input E = {e1+p1,e2+p2,....,e L +p L}, the process is as follows Figure 1As shown in the figure, the spatial information of the image block is also retained in the Transformer. After the image serialization operation, the EUS and CT images input to the network will be transformed into corresponding feature vectors.

[0030] Furthermore, those skilled in the art will appreciate that, in this model, given a one-dimensional embedding sequence E as input, multiple stacked Transformer layers are used to learn the features, which means that each Transformer layer has the characteristics of a global receptive field, solving the problem of the limited receptive field of the existing FCN encoder. The encoder with stacked Transformer layers consists of L e The self-attention module is composed of a multi-head self-attention block and a multi-layer perceptron block. In each layer l, the input of the self-attention module is from Z l-1 ∈R L×C , the triples calculated in: query vector Q, key vector K, value vector V, that is:

[0031] Q=Z l-1 W Q ,K=Z l-1 W K ,V=Z l-1 W V (1)

[0032] Where W Q / W k / W v ∈R C×d , are the learnable weight parameters in the three linear mapping layers, and d is the feature dimension of the triplet; the self-attention mechanism is expressed as:

[0033]

[0034] MSA is an extension with m independent SA operations and maps their joint output:

[0035] MSA(Z l-1 )=[SA1(Z l-1 );SA2(Z l-1 );....;SA m (Z l-1 )]W O , where W O ∈R md×C ,d is set to C / m, the output of MSA is transformed by the MLP block, and the residual connection is used as the output of the layer:

[0036] Z l =MSA(Z l-1 )+MLP(MSA(Z l-1 ))∈R L×C (3)

[0037] {Z 1 ,Z 2 ,...,Z le} as features of the Transformer layer.

[0038] Furthermore, those skilled in the art will know that after the model extracts features through multiple Transformer layers, the model generates feature vectors F0 and F1 corresponding to the EUS and CT images. Based on F0 and F1, a decoder for CT / EUS lesion segmentation and a separator for disease prediction are constructed. Since the goal of the decoder is to generate segmentation results in the original two-dimensional image space (H×W), it is necessary to reconstruct the features F0 and F1, that is, from a size of 2D shape to standard 3D feature map Then, the feature map is restored to a segmentation mask of the same size as the original image through the corresponding transformation strategy. This model adopts three upsampling strategies, namely the progressive upsampling strategy PUP, the multi-scale feature fusion strategy MSFF and the U-type upsampling strategy. The MSFF method is used in MMED-Net.

[0039] Furthermore, those skilled in the art will know that the upsampling strategy PUP: This method alternates convolutional layers and upsampling operations, limits the upsampling to 2×, and requires a total of 4 upsampling operations from F0 or F1 to the original size of the input image. First, the serialized feature map F0 or F1 is adjusted to a three-dimensional form. After the first upsampling, the length and width of the feature map are doubled, and the becomes The number of channels is reduced by 4 times from 1024 to 256. The second and third upsamplings double the length and width of the feature map, but the number of channels remains unchanged, that is, 256. The last upsampling restores the feature map to the input image size, H×W, and the number of channels becomes 2. The 0th channel represents the background, and the 1st channel represents the lesion.

[0040] Furthermore, those skilled in the art can know that the U-type upsampling strategy is used in the model with the feature pyramid structure as the backbone network. It is derived from the U-Net network, and uses bilinear interpolation or transposed convolution to upsample the features of different scales in the decoder, and then splices the result with the features of the same scale in the encoder and adjusts it through the convolution layer, and outputs the segmentation result by analogy. Specifically, the downsampling multiple of the shallow layer of the network is small, and the feature map has more detailed graph features. The downsampling multiple of the deep layer of the network is large, and the information is condensed a lot. The space loss is large, but it is helpful for the classification and judgment of the target area. When the high-level and low-level features are fused, the segmentation effect is often very good. To some extent, this jump connection can also be regarded as a deep supervision network.

[0041] Furthermore, those skilled in the art will know that the multi-scale feature fusion strategy MSFF: This model is based on the Transformer structure, with a total of 24 layers, and the output feature scale of each layer is the same. The features of the 6th, 12th, 18th and 24th layers in the encoder are extracted respectively, namely Z 6 , Z 12 , Z 18 , Z 24 , and then adjusted to a 3D form, three groups of convolutional layers with kernel sizes of 1×1, 3×3, and 3×3 are used for calculation. The feature channels are halved in the first and third layers, and the spatial size is increased by 4 times through bilinear operations after the third layer. In order to strengthen the interaction between different data streams, a top-down aggregation design is introduced after the first layer by adding corresponding elements, such as Figure 4 As shown in the figure, after obtaining four sets of features, they are concatenated in the channel direction and restored to the original image size using convolution and bilinear 4x upsampling. Since the segmentation task is only used to identify lesions, the number of output channels is 2; MMED-Net obtains two one-dimensional feature vectors after a global average pooling AP(·) on the features F0 and F1 in the channel direction, then adds them together and maps them to the feature C of the number of categories through a linear layer FC(·). Δ , the process is as follows:

[0042] C Δ =FC(AP(F0+F1)); (4)

[0043] The output result can be used to obtain the predicted probability of each category through a Softmax function. The calculation process is as follows:

[0044] Among them, exp() represents the natural exponential function, C Δi is the vector C Δ The summation part in the denominator is for all elements C Δj Find the sum after exponentiation, for any element C Δi , the value after conversion by the Softmax function is a real number between (0,1), and the sum of the values ​​of all elements after conversion by the Softmax function is 1, so it is regarded as a probability distribution.

[0045] experiment:

[0046] Dataset and evaluation indicators: This experiment uses all the data in the ECPDia dataset, which includes 199 PC patients, 120 AIP patients (including mass type), 118 CP patients (including mass type), and 37 normal patients. Each patient has corresponding CT and EUS image data. These data are randomly divided into training set, validation set and test set in a ratio of 6:2:2 based on the patient. The relevant data distribution is shown in Table 1;

[0047] This model has multimodal input. The number of CT and EUS images of the same patient is not equal. In this case, every time a CT image of a patient is read, the system will randomly extract an EUS image of the patient as an "image pair" input into the model. Recall rate, precision, accuracy and F1 score are used as quantitative indicators to evaluate the classification effect of the model. Dice coefficient (DSC) and mean intersection over union (mIoU) are used to quantitatively compare different segmentation effects.

[0048] Experimental settings: The model is deployed and implemented on the Pytorch platform. The hardware environment is a single NVIDIA GeForce GTX3090Ti GPU with 24G video memory. The input image size of this model is 256×256, so the image needs to be adjusted to a fixed size before training the model. At the same time, random cropping and scaling, random horizontal flipping, random upside down flipping and mean-variance normalization data enhancement methods are used. The pre-trained weights provided by ViT (with 24 layers of Transformer layers, denoted as VL) are used to initialize all transformation layers and input linear projection layers in the model. The SGD optimizer is used to train the network. Its initial learning rate is 10-2, the batch size is 8, and a total of 100 rounds are trained. The learning rate decreases by 10 times every 20 rounds. The momentum and decay coefficients use default parameters. The predicted masks and predicted categories of CT and EUS image lesions were compared with the true labels using cross entropy loss and merged according to L = 0.5LCT + 0.5LEUS + 0.1LCLA for gradient back propagation. In all experiments, image patches of size 16 × 16 were used, and the pre-trained position embeddings were interpolated in two dimensions and fine-tuned for different input sizes according to their positions in the original image.

[0049] In the task, the model aims to predict the area of ​​lesions and the type of disease by inputting CT and EUS images of patients. In order to verify the effectiveness of the model proposed in this invention, the following baseline model is constructed for comparison:

[0050] CA-Net: This model is a typical "data-level fusion" method, that is, all input images are resized to a specified size and then spliced ​​together, and encoded and decoded through a U-shaped network. In addition, the author also uses multi-scale spatial fusion and channel attention modules to further extract features. Since this method does not predict the category of the input multimodal image, a classification branch similar to that in MMED-Net is added to the encoder output of its model, and it is trained and verified on the ECPDia dataset through a strategy of co-optimization with the segmentation loss.

[0051] Hyper-DenseNet: This network extends the dense connections in the existing CNN network to the multimodal segmentation problem. It can learn more complex modal combinations within and between all abstract layers with complete freedom. This "feature-level fusion" method greatly increases the correlation learning between representations. According to the construction method of CANet, it also has the function of category prediction. As a baseline model, it is denoted as Hyper-Net.

[0052] ABAF: This model uses the attention mechanism at the "feature-level fusion" level to generate weights for adaptive feature connections and balance the importance of features between various modalities. At the same time, the weights generated by the attention mechanism are used as weight coefficients for each loss at the decision layer to balance the contribution of the corresponding modality to the total loss function. U-Net is used as the backbone network of the model for the segmentation of EUS and CT images, respectively. Then, the output of the U-Net encoder is fused and learned according to the ABAF method for image category prediction.

[0053] Two unimodal segmentation and classification models based on MMED-Net were constructed and trained on EUS and CT image sets, respectively. In the testing phase, they predicted the lesion segmentation masks for each type of image, and selected the predicted category with the highest confidence in the two models as the final result.

[0054] Experimental Results

[0055] Table 2 lists the quantitative results of different multimodal network models on the ECPDia internal test set, where the DSC and mIoU scores are the mean ± variance of the predicted segmentation results of all images in the test set. As can be seen from the table, the MMED-Net multimodality proposed in the present invention achieved the best results in the diagnosis of pancreatic diseases, with accuracy, recall, precision and F1 scores of 0.94, 0.576, 0.63 and 0.6 respectively. And MMED-Net*, a combination of multiple single-modal models based on MMED-Net, achieved a DSC of 0.574 and an mIoU score of 0.429 in the indicators of CT image segmentation, and obtained DSC and mIoU scores of 0.769 and 0.654 in the test of EUS image segmentation. However, it showed the worst results in classification accuracy, with accuracy, recall, precision and F1 score of only 0.825, 0.487, 0.478 and 0.482, which shows that the multimodal network structure plays an important role in learning the consistent representation of each modality data and is beneficial to the joint disease diagnosis task. For the other three models, although CA-Net based on "data-level fusion" performs well in EUS image segmentation, it performs poorly in CT image segmentation (DSC: 0.205, mIoU: 0.146) and disease classification (accuracy: 0.902, recall: 0.549, precision: 0.537, F1 score: 0.543). It is very obvious that the Hyper-DenseNet model based on "feature and fusion" achieves the opposite effect of CA-Net, that is, it accurately segments the lesions in CT images and has a high accuracy in disease classification, but is slightly worse than CA-Net in the EUS image segmentation task. For the "decision-level fusion" ABAF model, the accuracy of image segmentation tasks is low, but the accuracy of classification decisions is higher than that of CA-Net. It can be seen that these three models have certain differences in balancing the characteristics of multiple modal data, and have their own advantages and disadvantages in the test results. In order to more intuitively compare the effects of various network models on lesion segmentation in EUS / CT images, CT and EUS images were randomly selected from AIP, CP and PC patients in the ECPDia test set, and input into these five baseline models. Figure 5The relevant visualization segmentation results are shown when the category prediction is correct. The green closed curve in the figure is the prediction result, the red one is the true label of the lesion, and the DSC score of the current image is also marked. From the analysis of the figure, it can be concluded that the MMED-Net* structure has the best segmentation effect for lesions in EUS and CT images, and the MMED-Net method performs second, but there are still some misestimations of the edges of the lesions. It is particularly obvious that CA-Net is inaccurate in the lesion segmentation of these three patients in CT images, and even has DSC scores of 0.1 and 0. The same situation also occurs in the diagnosis of PC patients by the ABAF model. Compared with these two models, the segmentation accuracy of the Hyper-DenseNet network is relatively stable. The above visualization results also show that the MMED-Net method has great advantages in balancing the effectiveness of various tasks.

[0056] Table 1 Distribution statistics of the ECPDia dataset for the pancreatic EUS / CT multimodal diagnosis model

[0057]

[0058]

[0059] Table 3 Comparison of quantization results of different multimodal network models (segmentation results: mean ± variance)

[0060]

[0061]

[0062] Ablation experiment:

[0063] Table 3 lists the ablation experiment results of the architecture proposed in the present invention. The models are numbered from M1 to M11. These models compare the effects of different backbone networks, upsampling methods and pooling methods (in classification tasks) on the segmentation and classification results of CT and EUS. The overall model can be divided into four groups for discussion. Models M1, M2 and M3 use ResNet50, DenseNet121 and InceptionV3 convolutional networks as the backbone (including 4 sets of stacked convolution, activation, downsampling and normalization layers, and the input image size is 256×256. The images from EUS and CT will pass through the shared backbone network). The extracted multimodal features will be used to predict the segmentation results by two decoders using U-shaped upsampling methods. The construction of the classification task is the same as that of MMED-Net. The experimental results show that in the multimodal model with convolutional neural network as the backbone, the segmentation and classification performance of InceptionV3 are higher than ResNet and DenseNet, and the DSC and mIoU scores of 0.4 and 0.296 can be obtained. In the classification task, its accuracy, recall rate, precision and F1 score can reach 0.919, 0.567, 0.593 and 0.579 respectively. This shows that the asymmetric structural splitting of deep separable convolution has better effects in processing more and richer multimodal spatial features and increasing their diversity.

[0064] The M4, M5 and M6 models are MMED-Net variants that use different numbers of stacked Transformer layers, where VB contains 12 layers, VL contains 24 layers (i.e. the configuration used in MMED-Net), and VH contains 32 layers. Their feature dimensions in the encoding process are 768, 1024 and 1280, respectively. Global mean pooling is used for feature fusion in classification tasks, and the PUP strategy is selected as the upsampling method of the decoder. The M7, M8 and M9 models use the MSFF strategy. The decoder of M7 uses the Transformer features of the 3rd, 6th, 9th and 12th layers, M8 uses the 6th, 12th, 18th and 24th layers, and M9 uses the 11th, 17th, 25th and 32nd layers. Through these two sets of experiments, we can see that MMED-Net with more Transformer layers can achieve better segmentation and classification effects. At the same time, the upsampling strategy of MSFF can further improve the accuracy of the model. The VH-based model M09 obtained the highest DSC and mIoU scores (0.524 and 0.388), and also achieved the best accuracy, recall, precision and F1 score (0.941, 0.579, 0.632 and 0.604). In addition, the parameters of the VB, VL and VH models using the PUP strategy are 93.53M, 312.43M and 640.98M respectively, and the parameters of the VB, VL and VH models using the MSFF strategy are 104.17M, 324.84M and 655.16M respectively. After balancing the computational efficiency and accuracy, the MMED-Net model with VL as the backbone is selected;

[0065] In order to compare the effects of different pooling methods on the experimental results in the classification task, the M10 and M11 models were designed. They used VL and MSFF strategies as the backbone network and upsampling methods, and global mean pooling and global maximum pooling operations were respectively adopted on the classification branch. The relevant quantitative results show that using the global mean pooling operation as a multimodal feature fusion method in the classification task is helpful for subsequent accurate classification, and has little effect on the segmentation results, that is, it improves the DSC and mIoU scores by 0.006 and 0.007 respectively, and improves the accuracy, recall, precision and F1 score by 0.008, 0.005, 0.019 and 0.01 respectively compared with the global maximum pooling.

[0066]

[0067]

[0068]

[0069] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A deep learning system for multimodal image-assisted pancreatic lesion diagnosis, characterized by: The MMED-Net model in this system takes paired CT and EUS images as input and uses the Transformer structure as the backbone of the network. The network outputs the lesion segmentation results in the corresponding CT and EUS images and predicts the type of the lesion. The length L of the Transformer input sequence is set to The output sequence of Transformer is the target feature map x f , in order to obtain Long input sequence, input image x∈R H×W×3 , divided into image patches, by using a 2D convolution operation f:p→e∈R C , each vector image block p is further mapped to a potential representation space with dimension C, so that a one-dimensional embedding sequence of an image x has been generated, where the kernel size of the two-dimensional convolution is 16×16 and the step size is 16, which can be adjusted according to the size of the actual image block; in order to encode the spatial information of the image block, each position i learns a specific embedding p i and add it to e i The final sequence input E = {e1+p1,e2+p2,....,e L +p L }, the spatial information of the image block is preserved in the Transformer. After the image serialization operation, the EUS and CT images input to the network will be transformed into corresponding feature vectors; After the model in the present system extracts features through multiple Transformer layers, the model generates feature vectors F0 and F1 corresponding to EUS and CT images. Based on F0 and F1, a decoder for CT / EUS lesion segmentation and a classifier for disease prediction are constructed. Since the goal of the decoder is to generate segmentation results in the original two-dimensional image space H×W, it is necessary to reconstruct the features F0 and F1, that is, from a size of 2D shape to standard 3D feature map Then, the feature map is restored to a segmentation mask of the same size as the original image through the corresponding transformation strategy. This model adopts three upsampling strategies, namely progressive upsampling strategy PUP, multi-scale feature fusion strategy MSFF and U-type upsampling strategy. The MSFF method is used in MMED-Net. The multi-scale feature fusion strategy MSFF: This model is based on the Transformer structure, with a total of 24 layers, and the output feature scale of each layer is the same. The features of the 6th, 12th, 18th and 24th layers in the encoder are extracted respectively, namely Z 6 , Z 12 , Z 18 , Z 24 , and then adjusted to a 3D form, three groups of convolutional layers with kernel sizes of 1×1, 3×3 and 3×3 were used for calculation, respectively. The feature channels were halved in the first and third layers, and the spatial size was increased by 4 times through bilinear operation after the third layer. In order to strengthen the interaction between different data streams, a top-down aggregation design was introduced after the first layer by adding corresponding elements. After obtaining four groups of features, they were concatenated in the channel direction and restored to the original image size using convolution and bilinear 4-fold upsampling. Since the segmentation task is only used to identify lesions, the number of output channels is 2; MMED-Net obtains two one-dimensional feature vectors after a global average pooling AP(·) for the features F0 and F1 in the channel direction, and then adds them to each other and maps them to the feature C of the number of categories through a linear layer FC(·). Δ , the process is as follows: C Δ =FC(AP(F0+F1)); (4) The output result can be used to obtain the predicted probability of each category through a Softmax function. The calculation process is as follows: Among them, exp() represents the natural exponential function, C Δi is the vector C Δ the i-th element of ; the summation part in the denominator is for all elements C Δj Find the sum after exponentiation, for any element C Δi , the value after conversion by the Softmax function is a real number between (0,1), and the sum of the values ​​of all elements after conversion by the Softmax function is 1, so it is regarded as a probability distribution.

2. The deep learning system for multimodal image-assisted pancreatic lesion diagnosis according to claim 1, characterized in that: In the model, a one-dimensional embedding sequence E is given as input, and then multiple stacked Transformer layers are used to learn the features. The encoder of the stacked Transformer layer is composed of L e The self-attention module is composed of a multi-head self-attention block and a multi-layer perceptron block. In each layer l, the input of the self-attention module is from Z l-1 ∈R L×C The triples calculated in: query vector Q, key vector K, value vector V, that is: Q=Z l-1 W Q ,K=Z l-1 W K ,V=Z l-1 W V (1) Where W Q / W k / W v ∈R C×d , are the learnable weight parameters in the three linear mapping layers, and d is the feature dimension of the triplet; the self-attention mechanism is expressed as: MSA is an extension with m independent SA operations and maps their joint output: MSA(Z l-1 )=[SA1(Z l-1 );SA2(Z l-1 );....;SA m (Z l-1 )]W O , where W O ∈R md×C ,d is set to C / m, the output of MSA is transformed by the MLP block, and the residual connection is used as the output of the layer: Z l =MSA(Z l-1 )+MLP(MSA(Z l-1 ))∈R L×C (3) {Z 1 ,Z 2 ,...,Z le } as features of the Transformer layer.

3. The deep learning system for multimodal image-assisted pancreatic lesion diagnosis according to claim 1, characterized in that: The upsampling strategy PUP: This method alternates convolutional layers and upsampling operations, limiting the upsampling to 2×. It takes a total of 4 upsampling operations to restore F0 or F1 to the original size of the input image. First, the serialized feature map F0 or F1 is adjusted to a three-dimensional form. After the first upsampling, the length and width of the feature map are doubled. becomes The number of channels is reduced by 4 times from 1024 to 256. The second and third upsamplings double the length and width of the feature map, but the number of channels remains unchanged, that is, 256. The last upsampling restores the feature map to the input image size H×W, and the number of channels becomes 2. The 0th channel represents the background, and the 1st channel represents the lesion.

4. The deep learning system for multimodal image-assisted pancreatic lesion diagnosis according to claim 1, characterized in that: The U-type upsampling strategy is used in a model with a feature pyramid structure as the backbone network. It is derived from the U-Net network and uses bilinear interpolation or transposed convolution to upsample features of different scales in the decoder. The result is concatenated with features of the same scale in the encoder and then adjusted through a convolutional layer, and the segmentation result is output in this way.

Citation Information

Patent Citations

  • A method for intelligent assisted identification for diseases like pancreatic cancer and pancreatitis

    CN108537773A

  • Artificial intelligence-based pancreatic space occupying EUS-FNA on-site rapid cell pathology assessment system

    CN113935990A

  • Machine learning system for pancreatic cancer diagnosis based on serum miRNA

    CN114550830A

  • Pancreatic cystic lesion detection method and device

    CN114841914A

  • Intelligent pancreatic canceration detection method and platform based on ultrasonic endoscope

    CN115153647A