Pancreatic cancer pathological image cell subset distribution prediction method

Through the combination of deep learning technology and single-cell spatial transcriptome technology, a prediction model for cell subpopulation distribution in pancreatic cancer pathological images is constructed, which solves the problem of difficult identification of cell subpopulation distribution in pancreatic cancer pathological images and achieves accurate diagnosis of pancreatic cancer. and provision of individualized treatment plans.

CN118643371APending Publication Date: 2024-09-13SOUTHWEAT UNIV OF SCI & TECH
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410773532.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

It is difficult to directly observe the distribution of cell subpopulations in pancreatic cancer pathological images with existing technology, resulting in inaccurate diagnosis and difficulty in providing individualized treatment plans.

Method used

Combining deep learning technology and single-cell spatial transcriptome technology, pancreatic cancer spatial transcriptome data is obtained through 10x Genomics Visium technology, single-cell spatial transcriptome data is obtained using the Cell2location tool, and a deep learning model is constructed, including Convmixer, Transformer and GraphSAGE modules, to achieve Prediction of cell subpopulation distribution in pancreatic cancer pathological images.

Benefits of technology

It achieves accurate prediction of the distribution of cell subpopulations in pathological images of pancreatic cancer, provides spatial patterns of gene expression and cell distribution, assists pathologists in rapid and accurate diagnosis, and formulates individualized treatment plans for patients.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643371A
    Figure CN118643371A
Patent Text Reader

Abstract

The invention discloses a pancreatic cancer pathological image cell subset distribution prediction method. The method comprises the following specific steps: (1) acquiring paired pancreatic cancer pathological images and single cell space transcriptome data as experimental data; and (2) acquiring a pancreatic cancer cell type distribution gold standard by using a Cell2location tool so as to obtain a real label trained by the fully supervised model. (3) performing preprocessing such as cutting segmentation and data enhancement on the pancreatic cancer pathological image; and (4) constructing a pancreatic cancer pathological image cell distribution prediction model based on a deep learning technology. And (5) training the constructed deep learning model. And (6) the test set is sent to the trained classification model for prediction. According to the method, the distribution, proportion and mutual surrounding condition of the cell subgroups in the pancreatic cancer pathological image can be predicted, and the method can be used for assisting clinical pathologists in diagnosing pancreatic cancer pathology and assisting the clinical pathologists in performing prognosis evaluation and immunotherapy sensitivity evaluation on pancreatic cancer patients.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of medical image processing, and in particular relates to a method for predicting cell subpopulation distribution in pancreatic cancer pathological images. Background Art

[0002] Pancreatic cancer (PC), a highly invasive malignant tumor, is often accompanied by high morbidity and mortality. More than 90% of pancreatic cancers develop from exocrine system cells, such as pancreatic ductal adenocarcinoma. In recent years, the incidence of pancreatic cancer has been rising rapidly, which is closely related to factors such as changes in people's eating habits and lifestyles, and rapid economic growth. However, most patients with the disease are often diagnosed in the late stage, so the prognosis is poor. Only less than 10% of patients can survive for more than five years. It is estimated that by 2033, pancreatic cancer will become the second leading cause of cancer death.

[0003] Usually, the gold standard for clinical diagnosis of pancreatic cancer is the evaluation of pathological images (H&E staining images) by pathologists. However, in the current practice of pancreatic cancer pathology diagnosis, pathologists can usually only identify regional cell types in pancreatic cancer pathology images, and it is difficult to directly observe the distribution of cell subpopulations in pathology images, and the distribution of cell types cannot show the specific location in pancreatic cancer pathology images. Single-cell spatial transcriptomics (ST) has gradually emerged in recent years. As a revolutionary technology, it not only enables researchers to observe which genes are being expressed in tissue samples, but more importantly, it can show the specific location of these gene expressions in tissues. The emergence of this technology has greatly expanded the understanding of gene expression and cell interactions in complex tissue environments. At the same time, since single-cell spatial transcriptomics technology can provide gene expression information and spatial location information for each cell, from the gene level, this also helps to deeply understand the interaction of cells in tissues and the distribution of cell types. In addition, this method can also reveal the spatial pattern of gene expression and the distribution of cells by using a series of spots.

[0004] In summary, the present invention aims to use deep learning technology and single-cell spatial transcriptome technology to predict the distribution of cell subpopulations in pancreatic cancer pathological images and reveal the results of the interaction between cells and gene expression. By deeply locating the specific spatial locations of different cell types in the pancreatic tumor microenvironment, it can assist pathologists in quickly and accurately diagnosing pancreatic cancer and develop more personalized and precise treatment plans for patients. Summary of the invention

[0005] The present invention provides a method for predicting cell subpopulation distribution in pancreatic cancer pathological images.

[0006] The purpose of the present invention is to use single-cell spatial transcriptome technology to reveal the complex cellular environment within pancreatic tumors at the genetic level, and to construct a prediction model for the distribution of cell subpopulations in pancreatic cancer pathological images based on deep learning technology, so as to accurately predict the microscopic distribution of nine cell subpopulations such as immune cells, endocrine cells, fibroblasts, and tubular glandular cells only through macroscopic pathological images.

[0007] The technical solution adopted by the present invention comprises the following steps:

[0008] (1) In the present invention, 10x Genomics Visium technology was used to obtain spatial transcriptome data of pancreatic cancer, and a microscope scanning system was used to obtain paired pancreatic cancer pathological images. The gold standard data set contained 15 whole pancreatic cancer samples, all cell types in pancreatic cancer tissues, gene expression at spatial points and their coordinates;

[0009] (2) Use the Cell2location tool to obtain accurate category information of spots in pancreatic cancer single-cell spatial transcriptome data;

[0010] (2a) First, bioinformatics software was used to preprocess the pancreatic cancer single-cell spatial transcriptome data, including data cleaning, normalization, and gene expression calculation;

[0011] (2b) Using Cell2location for deconvolution analysis, the goal is to accurately infer the proportion of cell types in each pancreatic cancer pathology image spot, and select the cell type with the highest proportion as the true category label of each spot, so as to obtain the gold standard of pancreatic cancer cell type distribution;

[0012] (3) Perform preprocessing operations such as cropping, segmentation, and data enhancement on pancreatic cancer pathology images;

[0013] (4) Construct a cell distribution prediction model A for pancreatic cancer pathology images based on deep learning technology;

[0014] (4a) First, use the depthwise separable convolution (Convmixer) to perform a Patch Embedding two-dimensional convolution operation on the image block extracted in step (3):

[0015] e 0 =Conv cin→n (stride=h,kernel size =p)

[0016] After extracting the image patch embedding, the channels are first spatially convolved separately and the outputs are concatenated, and then the channel convolution is performed using the unit convolution kernel to obtain the feature map:

[0017] e l= BN(σ{ConvDepthwise(e l-1 )})+e l-1

[0018] e l+1 =BN(σ{ConvPointwise(e l )})

[0019] (4b) Secondly, based on the self-attention mechanism (Transformer), the feature e extracted in step (4a) is first l+1 Fuse with the x and y coordinate information of each image block as the initial feature information of the Transformer model:

[0020] e l+2 =e l+1 +e x +e y

[0021] The fused features l+2 The multi-head self-attention layer input into the Transformer module is used to process the input features:

[0022] MultiHead(Q,K,V)=[head 1 ,....,head c ]×W 0

[0023] Among them, Q, K, and V are query, key, and value respectively, and W 0 is the weight matrix;

[0024] (4c) Finally, the backbone of the graph neural network (GNN) uses GraphSAGE and the Euclidean algorithm to calculate the distance between every two nodes u and v:

[0025]

[0026] GraphSAGE aggregates the information of each point through an aggregation mechanism:

[0027]

[0028] Among them, N (v) is the set of first-order neighbors randomly sampled from node v, mean() is the mean aggregation function, Represents the feature information of all neighbors of node v, W k is the weight matrix;

[0029] (5) Select the balanced binary cross entropy loss function as the loss objective function of model A, calculate the loss value of the sample pair, send the loss value calculated by the loss objective function to the optimizer, and update the weight parameter set of model A;

[0030] (6) Select pancreatic cancer pathological images from the training set, loop steps (4) to (5) until model A converges, save the final weight parameter training results of model A, and finally complete the training of model A;

[0031] (7) The trained model A is tested on the test set to obtain the predicted distribution of cell subpopulations in the entire pancreatic cancer pathology image. The accuracy of the predicted results of the entire pancreatic cancer pathology image is then calculated with the true label. The testing process of each pancreatic cancer pathology image in the test set on model A is the same.

[0032] Compared with the prior art, the present invention has the following advantages:

[0033] (1) Multimodality of data fusion: This paper integrates pancreatic cancer pathological images and single-cell spatial transcriptome data into a framework, realizing the fusion of multimodal information. Pancreatic cancer pathological images provide macroscopic information about cell morphology and tissue structure, while single-cell spatial transcriptome data provide gene expression information and microscopic information about the spatial position of cells in the pancreatic tumor microenvironment. The two complement each other and lay the foundation for the accurate classification of cell types and the precise distribution of cell subpopulations.

[0034] (2) Combination of deep learning technology and single-cell spatial transcriptomics technology: This method not only makes full use of the powerful feature extraction ability of deep learning models in pathological images, but also integrates the single-cell gene expression information provided by single-cell spatial transcriptomics technology. Through gene-level analysis, it reveals the expression differences between different cell subpopulations, thereby enabling the model to more accurately predict cell types and provide a more reliable scientific basis for precision medicine.

[0035] (3) The deep learning model constructed by the present invention uses fewer parameters, has a fast training speed and good results, and is the best model for predicting the distribution of cell subpopulations in pancreatic cancer pathological images. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a flow chart for implementing the present invention.

[0037] Figure 2 This is a diagram of the cell distribution prediction model for pancreatic cancer pathology images constructed by the present invention based on deep learning technology.

[0038] Figure 3 Schematic diagram of the Convmixer module in model A of the present invention.

[0039] Figure 4 Schematic diagram of the Transformer module in model A of the present invention.

[0040] Figure 5 Schematic diagram of the GNN module in model A of the present invention.

[0041] Figure 6 This is a diagram showing the effect of predicting cell distribution in pancreatic cancer pathology images implemented in the present invention. DETAILED DESCRIPTION

[0042] The present invention will be further described in detail below in conjunction with the accompanying drawings and prediction effect diagrams.

[0043] The process of the present invention is as follows Figure 1 As shown, the specific implementation steps are as follows:

[0044] (1) In the present invention, 10x Genomics Visium technology is used to obtain pancreatic cancer spatial transcriptome data, and a microscope scanning system is used to obtain paired pancreatic cancer pathological images. The gold standard data set contains 15 pancreatic cancer whole samples, all cell types in pancreatic cancer tissue, gene expression at spatial points and their coordinates. The 15 pancreatic cancer pathological images are then divided into 10 training sets and 5 test sets;

[0045] (2) Use the Cell2location tool to obtain accurate category information of spots in pancreatic cancer single-cell spatial transcriptome data;

[0046] (2a) First, the spatial transcriptome data of pancreatic cancer single cells can be obtained with a size of 55*55um 2 The gene expression level within (this area is the smallest unit) was preprocessed using bioinformatics software for pancreatic cancer single-cell spatial transcriptome data, including data cleaning, normalization, and gene expression calculation to obtain the gene expression matrix:

[0047] <![CDATA[gene 1 ]]> <![CDATA[gene 2 ]]> <![CDATA[gene 3 ]]> ... <![CDATA[gene n ]]> <![CDATA[spot 1 ]]> 0.01 0.04 0.03 ... 0.01 <![CDATA[spot 2 ]]> 0.05 0.02 0.01 ... 0.02 ... ... ... ... ... ... <![CDATA[spot n ]]> 0.08 0.01 0.01 ... 0.06

[0048] The above values ​​are only for illustration and are not the actual gene expression matrix;

[0049] (2b) Using Cell2location for deconvolution analysis, we can obtain the 55*55um spatial transcriptome data of pancreatic cancer single cells. 2 The gene expression level within 55*55um is inferred 2 The cell types and corresponding proportions in the pancreatic cancer pathology images of different sizes. The cell type with the highest proportion is selected to represent 55*55um 2 The cell types in the square-sized area are used to obtain the gold standard for the distribution of pancreatic cancer cell types;

[0050] label=max(p 1 ,p 2 ,...,p n )

[0051] where p 1 ,p 2 ,...,p n They are the proportion of cell types in a spot;

[0052] (3) Perform preprocessing operations such as cropping, segmentation, and data enhancement on pancreatic cancer pathology images. According to step (2b), a 160 pixel x 160 pixel image block is segmented around each spot. Each image block is assigned a corresponding cell type label, providing accurate real labels for model training. The image is vertically flipped with a probability of 50% and randomly rotated with a rotation angle between [-20, 20] degrees;

[0053] (4) Figure 2 As shown, a pancreatic cancer pathology image cell distribution prediction model A is constructed based on deep learning technology;

[0054] (4a) First, if Figure 3 As shown in the figure, the local cell features of pancreatic cancer pathology images are extracted using deep separable convolution (Convmixer). The image blocks extracted in step (3) are subjected to Patch Embedding two-dimensional convolution operation. By setting the specified number of input channels c in , the number of output channels n, the convolution kernel size p and the step size h are used for convolution operation, which can extract the detailed features of each image block and form an embedded representation:

[0055] e 0 =Conv cin→n (stride=h,kernel size =p)

[0056] After extracting the image patch embedding, the image embedding information is further processed using depthwise separable convolution (i.e., grouped convolution with one-to-one correspondence between input channels and output channels) and subsequent pointwise convolution (i.e., convolution with a kernel size of 1×1). After each round of convolution, the GELU activation function and BatchNorm normalization are applied:

[0057] e l = BN(σ{ConvDepthwise(e l-1 )})+e l-1

[0058] e l+1 =BN(σ{ConvPointwise(e l)})

[0059] (4b) Secondly, if Figure 4 As shown in the figure, the global spatial dependency of cells in pancreatic cancer pathological images is captured based on the self-attention mechanism (Transformer), and the feature e extracted in step (4a) is l+1 Fuse with the x and y coordinate information of each image block as the initial feature information of the Transformer model:

[0060] e l+2 =e l+1 +e x +e y

[0061] The Transformer encoder consists of L layers of normalization, multi-head self-attention mechanism and MLP network, and the fused feature e l+2 The multi-head self-attention layer input into the Transformer module is used to process the input features, and the linear layer is used to perform feature selection on the outputs of multiple heads to aggregate them into a new embedding representation:

[0062] MultiHead(Q,K,V)=[head 1 ,....,head c ]×W 0

[0063] Among them, Q, K, and V are query, key, and value respectively, and W 0 is the weight matrix;

[0064] (4c) Finally, if Figure 5 As shown in the figure, the neighborhood cell features of pancreatic cancer pathology images are aggregated based on the graph neural network (GNN). The backbone of the graph neural network uses GraphSAGE. In the process of graph construction, the spots in the single-cell spatial transcriptome data can be regarded as nodes. The corresponding node features come from step (4b). The graph structure G = (V, E) is constructed by selecting 4 neighbors for each spot, where N = |V| represents the number of nodes, E represents the edges connecting the nodes, and the Euclidean algorithm is used to calculate the distance between each two nodes u and v:

[0065]

[0066] GraphSAGE aggregates the information of each point through an aggregation mechanism:

[0067]

[0068] Among them, N (v) is the set of first-order neighbors randomly sampled from node v, mean() is the mean aggregation function, Represents the feature information of all neighbors of node v, W k is the weight matrix;

[0069] (5) Select the balanced binary cross entropy loss function as the loss objective function of model A, calculate the loss value of the sample pair, send the loss value calculated by the loss objective function to the optimizer, and update the weight parameter set of model A:

[0070]

[0071] in, is category y i The distribution of w i is category y i The weight of z i is the bias term.

[0072] (6) Select pancreatic cancer pathology images from the training set. The training image blocks adopt a sliding window method and use the random.randint() function to randomly select the x and y coordinates of the image blocks in the entire pathology image. The window size is set to 50. The image blocks that meet the conditions are the training samples. Repeat steps (4) to (5) until model A converges. The final weight parameter training results of model A are saved, and the training of model A is finally completed. The training model A is optimized using the Adam optimizer and the StepLR learning rate scheduler. The initial learning rate is 0.00001 and the batch size is 1.

[0073] (7) The trained model A is tested on the test set to obtain the predicted distribution of cell subpopulations in the entire pancreatic cancer pathology image. The accuracy of the predicted results of the entire pancreatic cancer pathology image is then calculated with the true label. The testing process of each pancreatic cancer pathology image in the test set on model A is the same.

[0074] like Figure 6 As shown, in order to verify the effectiveness of the present invention, the predicted distribution of cell subpopulations in the entire pancreatic cancer pathology image is visualized, where (a), (b), (c) and (d) respectively represent the original pancreatic cancer pathology image, the true label, the predicted result and a statistical graph of the number of cells in a pancreatic cancer pathology image.

[0075] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for predicting cell subpopulation distribution in pancreatic cancer pathological images, characterized in that: The specific steps are as follows: (1) In the present invention, 10x Genomics Visium technology is used to obtain pancreatic cancer spatial transcriptome data, and a microscope scanning system is used to obtain paired pancreatic cancer pathological images; (2) Use the Cell2location tool to obtain accurate category information of spots in pancreatic cancer single-cell spatial transcriptome data; (2a) First, bioinformatics software was used to preprocess the pancreatic cancer single-cell spatial transcriptome data, including data cleaning, normalization, and gene expression calculation; (2b) Using Cell2location for deconvolution analysis, the goal is to accurately infer the proportion of cell types in each pancreatic cancer pathology image spot, and select the cell type with the highest proportion as the true category label of each spot, so as to obtain the gold standard of pancreatic cancer cell type distribution; (3) Perform preprocessing operations such as cropping, segmentation, and data enhancement on pancreatic cancer pathology images; (4) Construct a cell distribution prediction model A for pancreatic cancer pathology images based on deep learning technology; (4a) First, use the depthwise separable convolution (Convmixer) to perform a PatchEmbedding two-dimensional convolution operation on the image blocks extracted in step (3): e0=Conv cin→n (stride=h,kernel size =p) After extracting the image patch embedding, the channels are first spatially convolved separately and the outputs are concatenated, and then the channel convolution is performed using the unit convolution kernel to obtain the feature map: in l =BN(σ{ConvDepthwise(e l-1 )})+e l-1 And l+1 =BN(σ{ConvPointwise(e l )}) (4b) Secondly, based on the self-attention mechanism (Transformer), the feature e extracted in step (4a) is first l+1 The x and y coordinate information of each image block is fused as the initial feature information of the Transformer model. The fused features are input into the multi-head self-attention layer in the Transformer module to process the input features: MultiHead(Q,K,V)=[head1,....,head c ]×W0 Among them, Q, K, V are query, key, and value respectively, and W0 is the weight matrix; (4c) Finally, the backbone of the graph neural network (GNN) uses GraphSAGE and the Euclidean algorithm to calculate the distance between every two nodes u and v: GraphSAGE aggregates the information of each point through an aggregation mechanism: Among them, N (v) is the set of first-order neighbors randomly sampled from node v, mean() is the mean aggregation function, Represents the feature information of all neighbors of node v, W k is the weight matrix; (5) Select the balanced binary cross entropy loss function as the loss objective function of model A, calculate the loss value of the sample pair, send the loss value calculated by the loss objective function to the optimizer, and update the weight parameter set of model A; (6) Select pancreatic cancer pathology images from the training set, loop steps (4) to (5) until model A converges, save the final weight parameter training results of model A, and finally complete the training of model A; (7) The trained model A is tested on the test set to obtain the predicted distribution of cell subpopulations in the entire pancreatic cancer pathology image. The accuracy of the predicted results of the entire pancreatic cancer pathology image is then calculated with the true label. The testing process of each pancreatic cancer pathology image in the test set on model A is the same.

2. According to claim 1, a method for predicting the distribution of cell subpopulations in pancreatic cancer pathological images, characterized in that In step (1), the gold standard data set obtained includes 15 whole pancreatic cancer samples, all cell types in pancreatic cancer tissues, gene expressions at spatial points and their coordinates.

3. According to claim 1, a method for predicting the distribution of cell subpopulations in pancreatic cancer pathological images, characterized in that In the step (2b), a 55*55um spatial transcriptome of pancreatic cancer single cells is obtained based on the above pancreatic cancer single cell spatial transcriptome data. 2 The gene expression level in the region can be inferred using the Cell2location bioinformatics analysis tool at each 55*55um 2 The cell types and their corresponding proportions in the pancreatic cancer pathology image area of ​​different sizes are analyzed, and the cell type with the highest proportion is selected to represent the cell type in the area: label=max(p1,p2,...,p n ) where p1, p2, ..., p n They are the proportions of cell types in a spot respectively.

4. According to claim 1, a method for predicting cell subpopulation distribution in pancreatic cancer pathological images, characterized in that In the step (2b), the cell types obtained after deconvolution analysis using Cell2location include Fibroblast, B, Ductal1, Ductal2, CD8T, Endocrine, Endothelial, Pericyte, and Unknown.

5. According to claim 1, a method for predicting the distribution of cell subpopulations in pancreatic cancer pathological images is characterized in that In step (3), the diameter of the spot in the pancreatic cancer single-cell spatial transcriptome is 55um, and the area of ​​55*55um is cropped. 2 The square size of the image is matched to the diameter of the spot.

6. According to claim 1, a method for predicting the distribution of cell subpopulations in pancreatic cancer pathological images, characterized in that In step (4b), by fusing the features from step (4a) with the image x and y coordinate information, the model can understand the specific location of each image block in the image, thereby retaining the spatial structure information. And l+2 =and l+1 +e x +e y 7. According to claim 1, a method for predicting cell subpopulation distribution in pancreatic cancer pathological images, characterized in that In the step (4d), since there are certain differences between the numbers of fibroblasts, B cells, tubular gland cells, Schwann cells, plasmablasts, etc., a balanced binary cross entropy loss function is used, which can be defined as: in, is category y i The distribution of w i is category y i The weight of z i is the bias term.

Citation Information

Cited By

  • METHOD AND SYSTEM FOR PROCESSING PANCREASE CANCER IMAGES BASED ON ARTIFICIAL INTELLIGENCE

    BE1031948A1

  • Pathological section curative effect prediction method based on graph convolutional network

    CN119324071A

  • Method for screening chemical hepatotoxicity based on high content cell imaging and convolutional neural network

    CN119648642A

  • Breast cancer detection method and system based on morphological image and space transcriptome cross-graph collaborative learning

    CN121582228A