Biomarker identification method for weak supervision multi-instance learning of lung CT (Computed Tomography) image

Through the 2.5D Top-K ranking multi-instance learning method, combined with gated attention and Transformer models, 2.5D instance features are generated and instance selection is performed, which solves the lack of 3D information collection and generalization performance of biomarker recognition in CT images. solve the problem and achieve efficient and accurate biomarker identification.

CN118570604APending Publication Date: 2024-08-30DALIAN UNIV OF TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410698803.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing multi-instance learning methods lack 3D information collection when identifying biomarkers in CT images, have insufficient generalization performance, and rely on package-level supervision, resulting in low recognition accuracy, especially when the visual cues related to biomarkers are weak. Learn effective information.

Method used

The 2.5D Top-K ranking multi-instance learning method is used to generate 2.5D instance features by treating multiple consecutive CT slices as an instance, combined with the gated attention mechanism and the Transformer model, and introduces multi-instance learning based on instance selection. Strategy, using Top-K ranking loss function to improve recognition accuracy.

Benefits of technology

It improves the generalization ability of the network in 3D image recognition, focuses more on the recognition of key instances, improves the accuracy of biomarker recognition and the precision of the recognition model, simplifies the data annotation process, and is suitable for clinical screening needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570604A
    Figure CN118570604A
Patent Text Reader

Abstract

The invention belongs to the field of medical image processing and computer vision, and particularly relates to a lung CT image weak supervision multi-instance learning biomarker identification method. Based on the deep neural network, a multi-instance learning framework is applied to biomarker recognition work on the CT image, 2D image features are aggregated into 2.5 D instance features by using a gating attention mechanism, and the generalization ability of the network for 3D images is improved under the condition that excessive additional parameters are not introduced. Meanwhile, a multi-instance learning method based on 2.5 D instance sorting is designed, so that the network is more focused on key instances in a training image instead of overall information of the image. The key problems that biomarkers are difficult to recognize, and the generalization performance of an MIL method on CT images is low are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of medical image processing and computer vision, and relates to the recognition of computed tomography (CT) images using a deep learning neural network framework, and specifically relates to a method for recognizing biomarkers of weakly supervised multi-instance learning of lung CT images. Background Art

[0002] At present, among various treatments for lung cancer, immunotherapy has attracted widespread attention as an emerging treatment method. However, the formulation of immunotherapy requires complex biomarker immunohistochemical staining examinations, which is very time-consuming and laborious. Therefore, there is an urgent need for an efficient, accurate, and non-invasive biomarker identification method. In recent years, with the development of computer-aided diagnosis (CAD) systems for chest CT images and related technologies such as deep learning. Some deep learning algorithms have begun to be applied to disease diagnosis tasks in lung images. We have observed that CT images can reflect the morphological information of lung tumors and the microenvironment information of tumors from a macroscopic level. Therefore, it is feasible to analyze the biomarker expression level of tumors by analyzing CT images. However, there are currently few studies on the identification of biomarkers. Inspired by the fact that weakly supervised multiple instance learning (MIL) algorithms have been widely used in pathological images, this type of algorithm can fit the target data by utilizing weak labels at the entire image level without labeling the lesion area. We believe that it is also feasible to use this method to directly use CT-level annotation information to identify biomarker expression levels, thereby omitting the step of precise annotation.

[0003] At present, most MIL methods focus on classification research based on 2D pathological images. Although these methods can be directly used to directly identify biomarker expression levels by adopting transverse CT slices as single instance definitions, it is found that the lack of axial information in CT images will affect the recognition performance. At the same time, there are also some MIL methods that use small 3D cubes as 3D medical image instances, which requires a 3D feature encoder to extract features from 3D instances, significantly increasing the number of training parameters and the difficulty of network training. Therefore, it is necessary to design a MIL method suitable for 3D images. In addition, most existing MIL methods study bag-level fusion and rely on bag-level supervision to drive training, while ignoring the selection of representative instances. In the task, due to the weak visual cues related to biomarker recognition, it is difficult to learn effective information related to biomarkers using only bag-level supervision. A reasonable strategy is needed to select representative instances to guide training.

[0004] In order to solve the above problems, the present invention proposes a 2.5D Top-K ranking MIL method. Specifically, in order to solve the problem of feature extraction of 3D images, a 2.5D instance feature extractor is designed, which regards several consecutive transverse CT slices in the axial direction as an instance rather than a single CT slice. In addition, in order to help the model focus more on the recognition of key instances rather than the overall information based on the entire package level, a multi-instance learning strategy based on Top-K ranking is additionally introduced for more accurate recognition. Summary of the invention

[0005] In order to overcome the shortcomings of the existing methods in generalizing three-dimensional CT data and the lack of attention to abnormal instance recognition, the present invention proposes a biomarker CT image recognition method based on 2.5D instance selection weakly supervised multi-instance learning. First, it is necessary to first define the instance of each micro CT volume defined in the previous article. Considering that there are fewer labeled data in the problem to be solved, it is necessary to enhance the input data in a certain way to expand the amount of training data. Considering that the input of the neural network in the present invention is the image feature of a single CT slice, the traditional random data enhancement method for the image cannot be directly introduced into this work. For this reason, a special data enhancement method for this task is designed: before each image is sent to the network for training, for the slice feature in a CT image, the central slice of each instance is first obtained by average sampling, and then by setting the migration amount, the input feature is randomly migrated within a certain range to obtain a 2.5D instance. Then, a neural network pre-trained in a large-scale natural image dataset is used to extract the feature information of each CT slice layer by layer, and a single 2.5D instance feature is generated by a 2.5D instance feature generation module through slice feature aggregation. Finally, an instance selection mechanism based on instance selection and an instance loss function are introduced to help the network focus on screening salient instances and improve the accuracy of the recognition model.

[0006] The specific technical scheme of the present invention is:

[0007] The method for identifying biomarkers of lung CT images by weakly supervised multi-instance learning includes the following steps:

[0008] 1) Collect initial data: For the biomarker identification task, the initial data collected includes: the lung CT images to be identified and the corresponding biomarker expression level annotations for each image.

[0009] 2) Data preprocessing: The CT image data in step 1) is segmented into lung tissue using an automated lung segmentation method to eliminate interference from extra-pulmonary tissue for subsequent network training and testing.

[0010] 3) Multi-instance learning to obtain instance features:

[0011] 3-1) Multi-instance learning: This task is solved using a multi-instance learning framework, in which an image is regarded as a bag containing multiple instances. The bag-level label is determined by the instance-level label: if a bag contains at least one special instance, the bag is labeled as a special bag. Conversely, if a bag does not contain a special instance, the bag is an ordinary bag. During the training process, the model can only obtain the bag label, while the instance-level label is unknown. In this method, a CT image containing multiple slices is regarded as a bag, each bag contains multiple 2.5D instances, and the information features for distinguishing biomarkers exist in an instance in the bag, and this potential mapping relationship is learned using multi-instance learning.

[0012] 3-2) Define a single 2.5D instance: First, we need to define a 2.5D instance. Since the instance in a single CT image should not be limited to a single CT slice, the three-dimensional information of the CT image should be taken into account. Therefore, a single instance is set as a combination of multiple slices, that is, an instance is a tiny CT image containing multiple CT slices. The central slice of each instance is selected, and several CT slices are expanded outward with the slice as the center. These slices are regarded as a group as a single 2.5D instance.

[0013] 3-3) Use a feature extraction network that has been pre-trained in a large-scale dataset (ImageNet (Deng J, Dong W, Socher R, et al. Imagenet: A large-scale hierarchical image database [C] / / 2009 IEEE conference on computer vision and pattern recognition. Ieee, 2009: 248-255.)) (such as Resnet, He K, Zhang X, Ren S, et al. Deep residual learning for image recognition [C] / / Proceedings of the IEEE conference on computer vision and pattern recognition. 2016: 770-778.) to extract features from the single-layer CT image in the 2.5D instance defined in step 3-2) to obtain the image features of each CT slice. In addition, since the feature extraction network is trained on natural images, which is different from the problem to be solved by the present invention, it is necessary to introduce a small residual module after the feature extraction network, which can fine-tune the features output by the feature extraction network to compensate for the domain differences between images of different modalities.

[0014] 3-4) After obtaining the image features of the CT slices, a gated attention module is used to weight the attention of different slice features in a single 2.5D instance to generate instance features for each 2.5D instance.

[0015] The specific implementation of the aggregation method of gated attention is shown in the following formula:

[0016]

[0017]

[0018] Where i represents the 2.5D instance in each CT image, j represents the number of slices in each instance, and a j Represents the contribution of different slices in a single instance to the 2.5D instance feature, and its value is calculated by the gated attention mechanism. In the formula, w, U, and V are all trainable network parameters, and the sigmoid function is the gating function that controls the feature e of each slice. ij Whether it can contribute to the instance feature. In addition, considering that the discriminant features may also be different at the feature level of each slice, tanh is used as the activation function to calculate each slice feature e ijThe positive and negative contribution and size of the instance feature. ij represents a single slice feature extracted by feature fine-tuning. This formula can be used to obtain a 2.5D instance feature f that aggregates multiple slice features. i .

[0019] 4) Multi-instance learning based on instance sorting and selection:

[0020] 4-1) Construct a multi-instance learning network based on top-k sorting:

[0021] In order to capture the overall information of the CT image, this method first uses a Transformer model to enrich the 2.5D instance information. Specifically, in the process of defining the 2.5D CT image in step 3-2), a single 2.5D CT image only integrates the slice information of several slices before and after. In order to model the three-dimensional information of the CT image, a Transformer module is used to model the mutual information between different instances in a single CT image. This module models the global information through self-attention, rather than being limited to local information, to fully explore the overall information of the CT image.

[0022] Then, a classification network is selected to perform regression classification on multiple instances (2.5D CT image blocks) in each CT image to distinguish whether each instance contains information of high biomarker expression. Next, the 2.5D instances in CT images with different biomarker expression levels are top-k sorted according to the model's predicted probability, and the instance with the highest biomarker expression level in each package is selected as the key instance. The network is then trained using cross entropy loss and sorting-based multi-instance loss. The network optimization method is exponential average gradient descent. Through this method, the network can learn the distribution of different instances and obtain a trained instance-level multi-instance learning network.

[0023] 4-2) The 2.5D instance features obtained in step 3) are sent to the top-k sorting based multi-instance learning network in step 4-1) in groups of two according to the different expression levels of biomarkers in the CT images to which they belong, to train the network model.

[0024] 4-3) Supervise the learning process of the network through multiple losses:

[0025] The ranking-based multi-instance loss function is as follows:

[0026] The two input CT images are represented as V and V according to their labels. P and V n , respectively represent CT images with different labels. For the positive sample CT image, the selected first K instances of the positive bag are represented as Ω p, take the first K instances with the highest probability of being predicted as positive examples to build a set For the negative sample CT image, the selected top K instances that define the negative example bag are denoted as Ω n , take the first K instances with the highest probability of being predicted as positive examples to build a set According to the paradigm of multiple instance learning, we know that a positive sample must contain at least one positive sample instance, and a negative sample must not contain a positive sample instance. Based on this, we design a ranking-based multiple instance learning loss The formula is as follows:

[0027]

[0028] In the formula, a normalized loss is introduced To prevent the model from overfitting to instances in images with high biomarker expression, α is a hyperparameter used to control the weight of the sparse constraint term. The specific formula for the normalized loss is:

[0029]

[0030] The total loss of network training is obtained by weighting the sorting loss and the cross entropy loss. The total loss function is as follows:

[0031]

[0032] Where β is a hyperparameter used to adjust the loss weight. is the standard cross entropy loss;

[0033] 5) Reasoning process:

[0034] After the training process in step 4), the parameters of the network are frozen, and the multi-instance learning network based on top-k sorting can be used to identify lung biomarkers in a single CT image. The specific recognition reasoning process is as follows:

[0035] 5-1) After the CT image to be detected is divided into different 2.5D instances according to step 3-2), it is sent to the feature extraction network in step 3-3) to extract CT slice features. After obtaining the slice features of the CT image, the slice features are sent to the gated attention module in step 3-4) to obtain 2.5D CT image block instance features.

[0036] 5-2) The instance features are fed into the trained top-k sorting-based multi-instance learning network to detect the probability of each instance containing a high biomarker expression region.

[0037] 5-3) Sort the predicted probabilities of each instance in the image, select the K instances with the largest probabilities, and average their predicted results as the final CT image recognition result.

[0038] The beneficial effects of the present invention are:

[0039] Based on deep neural networks, the present invention applies the multi-instance learning framework to biomarker identification on CT images. By utilizing the gated attention mechanism to aggregate 2D image features into 2.5D instance features, the generalization ability of the network for 3D images is improved without introducing too many additional parameters. At the same time, a multi-instance learning method based on 2.5D instance sorting is designed to make the network focus more on key instances in the training image rather than the overall image information. The key problems of difficulty in biomarker identification and low generalization performance of the MIL method on CT images are solved. The present invention has the following characteristics:

[0040] 1. The data used are easy to collect and conform to the characteristics of clinical screening data. Only CT examination images are required, without complex immunohistochemistry examinations, and the recognition accuracy is good;

[0041] 2. By fine-tuning the feature extraction network that has been pre-trained in a large-scale dataset, the present invention achieves the migration of model capabilities without introducing too many additional network parameters. In addition, by designing a gated attention method to achieve the migration from 2D features to 2.5D features, it is more suitable for the three-dimensional data features in medical images;

[0042] 3. A ranking-based multi-instance learning loss is designed to make the network focus more on the recognition of key instances rather than the information of the entire image, thus improving the recognition accuracy;

[0043] 4. The performance on biomarker recognition tasks is significantly better than other anomaly detection methods, and the training and testing run speeds are fast, which is conducive to the improvement and iteration of new methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is the overall framework flow chart proposed by the present invention.

[0045] Figure 2 It is the overall flow chart of the present invention.

[0046] Figure 3 It is the experimental visualization result diagram of the present invention. DETAILED DESCRIPTION

[0047] The following is a detailed description of the lung cancer biomarker CT image recognition method based on 2.5D instance selection weakly supervised multi-instance learning proposed by the present invention in conjunction with examples and drawings:

[0048] The present invention designs a CT image recognition method for lung cancer biomarkers based on 2.5D instance selection weakly supervised multi-instance learning. The input image is a pair of CT images, and no precise lesion location annotation is required. The specific implementation process is as follows Figure 1 As shown, the method comprises the following steps:

[0049] 1) Collect initial data:

[0050] 1-1) For the identification of lung biomarkers, we collected a data set by taking the NSCLC PD-L1 identification task as an example. The experiment used a private PD-L1 data set, which collected 223 CT images and the PD-L1 expression level annotation of each image. The annotation divides the images into two categories according to the level of immunohistochemistry.

[0051] 1-2) Dataset division: Considering the small amount of data in medical image recognition tasks, the method of the present invention and other methods were evaluated by a five-fold crossover experiment. In addition, in order to ensure a fair comparison between different methods, the data division method was fixed after the data was randomly divided five times. The average value of the results of each method under the five-fold division method was taken as the final result.

[0052] 2) Preprocessing: Since it is very difficult to develop a weak supervision method directly within the entire CT image, the present invention processes the initial three-dimensional CT data obtained in step 1) into two-dimensional CT data of only the lung part to facilitate subsequent network training and testing. The main purpose is to avoid interference of the extra-pulmonary part on network learning.

[0053] 2-1) Use the mature lung segmentation framework in the existing method (Xu R, Wang Y, Liu T, et al. BG-Net: Boundary-Guided Network for Lung Segmentation on Clinical CT Images [C], In 2020 25th International Conference on Pattern Recognition (ICPR). IEEE, 2021: 8782-8788.) to perform lung segmentation on the input initial three-dimensional CT image data to obtain a three-dimensional lung segmentation result. This operation is only applicable to private datasets because public datasets directly provide three-dimensional lung segmentation results.

[0054] 2-2) The initial 3D CT image data and the corresponding lung segmentation results obtained in step 2-1) are simultaneously resampled to keep the distance between pixels consistent, and finally the axial pixel spacing of all CT images is unified to 1.000×1.000mm 3, this operation is applicable to all datasets.

[0055] 2-3) The resampled data obtained in step 2-2) is centrally cropped to reduce the image resolution so that the subsequent network can learn better. For the training data set and the test data set, the axial cropping size is 256×256.

[0056] 2-4) The center-cropped data obtained in step 2-3) are processed into two-dimensional data along the Z-axis direction. It is worth noting that the CT data needs to pass through the CT window first to clamp the grayscale value within [-1350, 150]. This operation is applicable to all data sets.

[0057] 2-5) Multiplying the two-dimensional CT image data obtained in step 2-4) and the corresponding lung segmentation result to obtain two-dimensional CT image data of only the lung part.

[0058] 3) 2.5D instance feature generation:

[0059] 3-1) Multi-instance learning: This task is solved using a multi-instance learning framework, in which an image is regarded as a bag containing multiple instances. The bag-level label is determined by the instance-level label: if a bag contains at least one special instance, the bag is labeled as a special bag. Conversely, if a bag does not contain a special instance, the bag is an ordinary bag. During the training process, the model can only obtain the bag label, while the instance-level label is unknown. In this method, a CT image containing multiple slices is regarded as a bag, each bag contains multiple 2.5D instances, and the information features for distinguishing biomarkers exist in an instance in the bag, and this potential mapping relationship is learned using multi-instance learning.

[0060] 3-2) A single 2.5D instance is defined. For each instance, a central slice of each instance is selected, and several CT slices are expanded outward with the slice as the center. These slices are regarded as a group and defined as a single instance of the present invention. Since CT images are very different from natural images, the model pre-trained on the natural image dataset ImageNet (Deng J, Dong W, Socher R, et al. ImageNet: A large-scale hierarchical image database [C]. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2009: 248-255.) will lead to deviations in knowledge transfer. Therefore, the present method fine-tunes the features by adding a residual network after the pre-trained network, so as to learn the data features of CT images during the training process.

[0061] 3-3) After obtaining the slice feature information in each instance, a gated attention module is introduced to generate instance features for each 2.5D instance by weighted aggregation of attention to different slice features in a single 2.5D instance. The specific implementation method is:

[0062]

[0063] In the formula, e ij represents different slice features in a single instance, f i Represents the features of a single 2.5D instance. a j Represents the attention scores of different layers, and its calculation formula is

[0064]

[0065] In the formula, a j Represents the contribution of different slices in a single instance to the 2.5D instance feature, and its value is calculated by the gated attention mechanism. In the formula, w, U and V are all trainable network parameters, and the sigmoid function is the gating function that controls the feature f of each slice. ij Whether it can contribute to the instance features. In addition, considering that there may be typical discriminant features at the feature level of each slice, we use tanh as the activation function, which is responsible for calculating each slice feature f ij The sign and magnitude of the contribution to the instance feature.

[0066] 4) Multi-instance learning based on instance sorting and selection: Figure 1 The boxed part shows:

[0067] 4-1) The 2.5D instance features obtained in step 3) are fed into a multi-instance learning network based on top-k sorting in pairs according to the different biomarker expression levels.

[0068] 4-2) Use a long-short term Transformer module to enrich the 2.5D instance information. In this module, according to the distance between different instances, the self-attention mechanism is used to enrich and fuse the features of different instances, thereby obtaining a more representative instance feature. The specific implementation method is:

[0069]

[0070] Where MH represents the multi-head self-attention mechanism, Q, K, and V are the self-attention Query, Key, and Value calculated by the multi-layer perceptron based on the 2.5D instance features, respectively. i ′ is the instance feature in each CT volume after enhancement.

[0071] 4-3) After obtaining all instance features of each CT, an instance-level classifier is used to classify the instance features, obtain the predicted probabilities of all instances, and rank each instance according to the probabilities.

[0072] 4-3) After sorting, select the first K instances with the highest probability in each package. Positive package (V p ) is represented as the set Ω p , negative example package (V n ) is represented as the set Ω n The training process of the network is supervised by the designed multi-instance learning loss. The learning rate is 0.01 and the optimization method is stochastic gradient descent.

[0073] The total loss function of the network is as follows:

[0074]

[0075] The loss function consists of two parts, one is the ranking loss designed by the present invention, and the other is the standard cross entropy loss. The formula of the ranking loss designed in this paper is:

[0076]

[0077] 5) Reasoning process:

[0078] 5-1) After the CT image to be detected is divided into different 2.5D instances according to step 3-2), it is sent to the feature extraction network to extract and obtain the 2.5D instance features of the CT image to be detected.

[0079] 5-2) The instance features are fed into the trained top-k sorting-based multi-instance learning network to detect the probability of each instance containing the biomarker feature region.

[0080] 5-3) Sort the predicted probabilities of each instance in the image, select the K instances with the largest probabilities, and average their prediction results as the final CT image prediction results.

[0081] 6) The three evaluation indicators of ACC (accuracy of recognition), AUC (area under the ROC (sensitivity curve) and the coordinate axis) and F1 score were calculated to compare with other pathological image recognition methods. The test results of the method of the present invention and the comparison with other methods are shown in Table 1. Among them, method (a) directly uses a 3D convolutional network to identify the entire lung area, method (b) uses a 3D convolutional network to identify the tumor area, method (c) is a 3DMIL method with three image blocks as examples (Han Z, Wei B, Hong Y, et al. Accurate screening of COVID-19 using attention-based deep 3D multiple instance learning [J]. IEEE transactions on medical imaging, 2020, 39 (8): 2584–2594.), method (d) and method (e) are the average pooling and maximum pooling methods in traditional multiple instance learning, respectively, method (f) is an MIL method based on attention in the paper (Ilse M, Tomczak J, Welling M. Attention-based deep multiple instance learning [C]. In International conference on machine learning, 2018: 2127–2136.), and method (g) is a MIL method based on attention in the paper (Lu MY, Williamson DFK, Chen TY, et al. Data-efficient and weakly supervised computational pathology on whole-slide images[J].Nature biomedical engineering, 2021, 5(6):555-570.) The method (h) is a dual-stream network MIL proposed in the paper (Li B, Li Y, Eliceiri K W. Dual-stream multiple instance learning network for whole slide image classification with self-supervised contrastive learning[C].In Proceedings of the IEEE / CVF conference on computer vision and pattern recognition, 2021: 14318–14328.) learning method, method (i) is a MIL learning method using Transformer module proposed in the paper (Shao Z, Bian H, Chen Y, et al. Transmil: Transformer based correlated multiple instance learning for whole slide image classification [J]. Advances in neural information processing systems, 2021, 34: 2136–2147.), and method (j) is a multi-layer aggregation MIL learning method proposed in the paper (Zhang H, Meng Y, Zhao Y, et al. DTFD-MIL: Double-tier feature distillation multiple instance learning for histopathology whole slide image classification [C]. In Proceedings of the IEEE / CVF Conference on Computer Vision and Pattern Recognition, 2022: 18802–18812.). . Figure 3 This is the visualization result of this method. The horizontal axis is the CT section and the vertical axis is the predicted probability. The shaded area is the action area of ​​the biomarker.

[0082] Table 1 Comparison of the results of the method of the present invention with other recognition methods

[0083]

[0084]

[0085] According to the comparison of the results in Table 1, the method of the present invention performs better than other methods in the AUC index in the NSCLC-PDL1 biomarker recognition task. Specifically, in the PD-L1 recognition task, the method of the present invention improves the AUC index by 0.07 compared with other optimal methods, which proves the effectiveness of the method.

Claims

1. A method for identifying biomarkers using weakly supervised multi-instance learning of lung CT images, characterized in that: The steps include: 1) Collect initial data: For the biomarker identification task, the initial data collected includes: the lung CT images to be identified and the corresponding biomarker expression level annotations for each image; 2) Data preprocessing: The CT image data in step 1) is segmented into lung tissue using an automated lung segmentation method to eliminate interference from extrapulmonary tissues for subsequent network training and testing; 3) Multi-instance learning to obtain instance features: 3-1) Multi-instance learning: An image is regarded as a package containing multiple instances; the package-level label is determined by the instance-level label: if a package contains at least one special instance, the package is labeled as a special package, otherwise, if there is no special instance in a package, the package is a common package; during the training process, the model can only obtain the package label, while the instance-level label is unknown; in this method, a CT image containing multiple slices is regarded as a package, each package contains multiple 2.5D instances, the information features of the biomarker are discriminated in an instance in the package, and the potential mapping relationship is learned by multi-instance learning; 3-2) Define a single 2.5D instance: Set a single instance as a combination of multiple slices, that is, an instance is a tiny CT image containing multiple CT slices; select the central slice of each instance, and expand several CT slices outward with the slice as the center, and regard these slices as a group as a single 2.5D instance; 3-3) Using a pre-trained feature extraction network Resnet to extract features from the single-layer CT image in the 2.5D instance defined in step 3-2) to obtain the image features of each CT slice; after the feature extraction network, a residual module is introduced to fine-tune the features output by the feature extraction network to compensate for the domain differences between images of different modalities; 3-4) After obtaining the image features of the CT slices, a gated attention module is used to weight the attention of different slice features in a single 2.5D instance to generate instance features for each 2.5D instance; The specific implementation of the aggregation method of gated attention is shown in the following formula: Where i represents the 2.5D instance in each CT image, j represents the number of slices in each instance, and a j represents the contribution of different slices in a single instance to the 2.5D instance feature, and its value is calculated by the gated attention mechanism; where w, U, and V are all trainable network parameters, and the sigmoid function is the gating function that controls the feature e of each slice. ij Whether it can contribute to the instance features; in addition, considering that the discriminant features may also be different at the feature level of each slice, tanh is used as the activation function to calculate each slice feature e ij The positive and negative contribution and magnitude of the instance feature; and e ij represents a single slice feature extracted by feature fine-tuning; the 2.5D instance feature f that aggregates multiple slice features is obtained through this formula i ; 4) Multi-instance learning based on instance sorting and selection: 4-1) Construct a multi-instance learning network based on top-k sorting: In order to capture the overall information of the CT image, a Transformer model is first used to enrich the 2.5D instance information. Specifically, in the process of defining the 2.5D CT image in step 3-2), a single 2.5D CT image only integrates the slice information of several slices before and after. In order to model the three-dimensional information of the CT image, a Transformer module is used to model the mutual information between different instances in a single CT image. This module models the global information through self-attention, rather than being limited to local information, so as to fully explore the overall information of the CT image. Then, a classification network is selected to perform regression classification on multiple instances in each CT image to distinguish whether each instance contains information of high biomarker expression. Next, the 2.5D instances in the CT images with different biomarker expression levels are top-k sorted according to the model's prediction probability, and the instance with the highest biomarker expression level in each package is selected as the key instance. The network is then trained using cross entropy loss and sorting-based multi-instance loss. The network optimization method is exponential average gradient descent. The network learns the distribution of different instances and obtains a trained instance-level multi-instance learning network. 4-2) The 2.5D instance features obtained in step 3) are sent to the multi-instance learning network based on top-k sorting in step 4-1) in pairs according to the different expression levels of biomarkers in the CT images to which they belong, to train the network model; 4-3) Supervise the learning process of the network through multiple losses: The ranking-based multi-instance loss function is as follows: The two input CT images are represented as V and V according to their labels. P and V n , respectively represent CT images with different labels. For the positive sample CT image, the selected first K instances of the positive bag are represented as Ω p , take the first K instances with the highest probability of being predicted as positive examples to build a set For the negative sample CT image, the selected top K instances that define the negative example bag are denoted as Ω n , take the first K instances with the highest probability of being predicted as positive examples to build a set Designing a Ranking-Based Multi-Instance Learning Loss The formula is as follows: In the formula, a normalized loss is introduced To prevent the model from overfitting to instances in images with high biomarker expression, α is a hyperparameter used to control the weight of the sparse constraint term; the specific formula for the normalized loss is: The total loss of network training is obtained by weighting the sorting loss and the cross entropy loss. The total loss function is as follows: Where β is a hyperparameter used to adjust the loss weight. is the standard cross entropy loss; 5) Reasoning process: After the training process in step 4), the parameters of the network are frozen, and the multi-instance learning network based on top-k sorting is used to identify lung biomarkers in a single CT image. The specific recognition reasoning process is as follows: 5-1) After dividing the CT image to be detected into different 2.5D instances according to step 3-2), the CT image is sent to the feature extraction network in step 3-3) to extract CT slice features; after obtaining the slice features of the CT image, the slice features are sent to the gated attention module in step 3-4) to obtain 2.5D CT image block instance features; 5-2) Sending instance features to the trained multi-instance learning network based on top-k sorting to detect the probability of each instance containing a high biomarker expression region; 5-3) Sort the predicted probabilities of each instance in the image, select the K instances with the largest probabilities, and average their predicted results as the final CT image recognition result.

Citation Information

Cited By

  • Multi-example multi-task learning-based pan-cancer biomarker prediction method and system

    CN119888349A

  • Biomarker prediction method and device, equipment and storage medium

    CN120013931A