- 1Division of Data & Decision Sciences, Tata Consultancy Services Research, Mumbai, India
- 2Department of Systems and Control Engineering, Indian Institute of Technology, Bombay, India
- 3Department of Electrical & Computer Engineering, Rice University, Houston, TX, United States
- 4Department of Computational Medicine and Bioinformatics, University of Michigan, Ann Arbor, MI, United States
- 5Department of Surgery, University of Michigan, Ann Arbor, MI, United States
- 6Department of Biostatistics, University of Michigan, Ann Arbor, MI, United States
- 7Department of Radiation Oncology, University of Michigan, Ann Arbor, MI, United States
- 8Department of Biomedical Engineering, University of Michigan, Ann Arbor, MI, United States
Early detection of Pancreatic Ductal Adenocarcinoma (PDAC), one of the most aggressive malignancies of the pancreas, is crucial to avoid metastatic spread to other body regions. Detection of pancreatic cancer is typically carried out by assessing the distribution and arrangement of tumor and immune cells in histology images. This is further complicated due to morphological similarities with chronic pancreatitis (CP), and the co-occurrence of precursor lesions in the same tissue. Most of the current automated methods for grading pancreatic cancers rely on extensive feature engineering involving accurate identification of cell features or utilising single number spatially informed indices for grading purposes. Moreover, sophisticated methods involving black-box approaches, such as neural networks, do not offer insights into the model’s ability to accurately identify the correct disease grade. In this paper, we develop a novel cell-graph based Cell-Graph Attention (CGAT) network for the precise classification of pancreatic cancer and its precursors from multiplexed immunofluorescence histology images into the six different types of pancreatic diseases. The issue of class imbalance is addressed through bootstrapping multiple CGAT-nets, while the self-attention mechanism facilitates visualization of cell-cell features that are likely responsible for the predictive capabilities of the model. It is also shown that the model significantly outperforms the decision tree classifiers built using spatially informed metric, such as the Morisita-Horn (MH) indices.
1 Introduction
In recent years, there has been an increase in the incidence of pancreatic cancers cases (1). Though there are various forms of exocrine and endocrine tumors such as primary pancreatic lymphoma manifest in the pancreas, Pancreatic Ductal Adenocarcinoma (PDAC) accounts for more than 90% of diagnosed malignancies (2). PDAC is an extremely aggressive malignancy of the pancreas, with a reported overall 5-year survival rate of just 10.8% (3). As with other cancers, there have been precursor lesions that have been identified and associated with sequential progression to PDAC, with the most important being intraductal papillary mucinous neoplasm (IPMN), pancreatic intraductal neoplasia (PanIN), and mucinous cystic neoplasm (MCN), all of which have been well-documented in recent years (4, 5). It is possible for MCN and IPMN to be concomitant with PDAC, with both histologies being present in a patient (6). Additionally, it has been observed that a dense inflammatory mass formation is present in around 30% of CP diagnoses, mimicking the appearance of PDAC, posing additional challenges in differential diagnosis (7).
Currently, qualitative visual analysis of tissue biopsy is the prevailing methodology used by pathologists, where diagnosis is made based on visual markers such as tissue morphology and potential cell phenotype distribution. This visually driven approach has been marred with subjectivity, with very low inter-observer agreements in many cases (8, 9). Moreover, though Hematoxylin and Eosin (H&E) is the most widely used staining paradigm, the emergence of molecular and antigenic-based staining paradigms, such as multiplexed immuno-florescence and CODEX had allowed for the identification of more than 20 antigens on the cell’s surface, enabling richer tissue information to be available (10, 11). It is possible to now characterize multiple sub types of different cell phenotypes, of which immune cells are of great interest. Multiple studies have depicted the differences in the interplay between the different immune populations with a positional component being a key prognostic factor in many cancers, including PDAC (12). Quantitative methods such as the Morisita-Horn index and Shannon Entropy that take into consideration the spatial arrangement of single or multiples cell phenotypes, are being increasingly adopted to quantify cellular organization in the tumor environment tissue (13, 14). Though these methods offer some spatially aware intuition about the image in the overall tissue region, the resultant single number metrics does little to capture the richness in disease heterogeneity. Thus, it would be ideal that the full space of spatial information be leveraged to give insight into the different patterns in tumor and immune engagement in different pancreatic diseases. The identification of such differing spatial patterns can assist in screening patients at risk of PDAC, thus allowing for rigorous treatment planning or resection.
In recent years, a graph-theoretic approach to modeling cellular interactions has been extensively explored. For instance (15–17), propose the notion of using “cell-graphs”, where cellular organization modeled using graph theory concepts can be utilized to understand functional relationships between cells exhibiting similar and different phenotypes. Consequently, the evolution of cancer can be effectively modeled as a graph evolution process (18). Given the spatial distribution of tumor and immune cells in a tissue sample, graph-theoretic methods appear as natural solutions to capture the diversity in distributions; however, the classical graph-based methods do not scale well with the number of cells in a sample. In the recent years, graph neural networks (GNNs) (19–21) and their variants have emerged as viable alternatives that can capture the interdependence of nodes within a graph (or cells within a tissue sample) via message passing between the nodes of the graph. The paradigm shift from employing classical methods to adopting deep learning methods, such as the graph convolutional networks (GCNs), is particularly fueled by the recent advances in network architectures, optimization algorithms, and their parallelizable implementation. Zhou et al. (22) recently proposed a cell graph convolutional network that uses the basic notion of cell graph coupled with the graph representation capabilities of GCNs for colorectal tumor grading. Their approach to construct cell graph is based on accounting for both cell-level information and the overall tissue micro-architecture. The authors employ extensive feature engineering for accurately delineating the boundaries of each nucleus via CIA-Net (23), followed by obtaining representative nuclei using farthest point sampling (FPS) algorithm. The authors identify a set of seventeen nuclear descriptors for their representative nuclei. More recently, the authors in (24) have combined GCN with gene expression profiles for classifying cancer types. Their approach involves designing four GCNs based on co-expression graph, co-expression+singleton graph, protein-protein interaction (PPI) graph, and PPI+singleton graph. Feature design and extraction is extremely critical to the success of both of the above GCN-based approaches, which also limits the applicability of these approaches to scenarios where accessibility to high-fidelity features is difficult.
In this paper, we propose a cell-graph based method for the classification of point patterns derived from mIF-stained histopathology images belonging to six different cohorts of pancreatic diseases. Instead of focusing on extensive feature engineering, we work with cell-graphs consisting of only one feature per node. A modified GCN architecture, comprising of a novel self-attention mechanism, is shown to achieve excellent performance for pairwise classification tasks. We refer to this new GCN architecture as the Cell-Graph ATtention (CGAT) network. The pairwise classifiers are subsequently bootstrapped to build a multi-class classification network, where an input image is predicted to belong to any one of the six different cohorts of pancreatic diseases. The key contributions of this work can be summarized as:
Construction of cell-graphs: Unlike existing methods on tumor grading and classification that employ extensive feature engineering, such as evaluation of mean nuclei intensity, GLCM of dissimilarity, GLCM of homogeneity, solidity and orientation, the proposed CGAT network is provided with an input image where only positions and labels (Epithelial, Cytotoxic Lymphocyte and Regulatory-T) of nuclei are known. The position information is used to construct edges of the associated cell-graph based on pairwise Euclidean distances using the k-nearest neighbors (kNN) graph algorithm (25). The nuclei feature, i.e., the labels of the nuclei are embedded into the CGAT framework using an embedding layer (26).
Self-attention mechanism: The proposed CGAT network incorporates a novel self-attention mechanism (27) at its output in order to facilitate further interactions between the inputs (nodes) of the graph. The self-attention mechanism assigns scores/weights to different node embeddings. The large weighted nodes are likely to contribute more towards the model prediction.
Multi-class consensus classifier: Class imbalance across the six different cohorts makes it extremely challenging to be able to train a single classifier for accurately predicting the correct disease type. We alleviate this issue by bootstrapping multiple pairwise classifiers, each trained to accurately distinguish between two different disease types.
Performance on imbalanced datasets: Spatially informed metrics, such as the Morisita-Horn (MH) dissimilarity indices, indicate that there is significant overlap between histopathological images between two different classes. Despite the overlap and underlying class-imbalance in data acquisition, our CGAT network performs significantly better on the hold-out validation set as compared to decision tree classifiers trained using the MH indices. We thereby conjecture that CGAT is able to pick on several spatial features without having to explicitly design those features.
The rest of the paper is organized as follows. First, we provide a brief description of the data used as input in our framework. The architectural details of the proposed pairwise CGAT network for any two of the six groups in the study is explained in greater detail. Then, the extension of the pairwise classifiers for each disease pair for multi-class classification problems are discussed subsequently. This is followed by a presentation of the results obtained from our framework. Finally, we briefly discuss the biological significance of the results obtained from our classification framework.
2 Materials and Methods
2.1 Dataset Preparation
The study cohort consisted of 388 point pattern representations obtained from multiplexed immunofluorescence (mIF) image cellular data belonging to six different pancreatic disease groups, including pancreatic cancer and non-malignant diseases. These images were obtained from patients at the University of Michigan Pancreatic Cancer Clinic who had undergone surgical resection for various pancreatic diseases, and was done in accordance and approval of the University of Michigan Institutional Review Board.The six pathologies represented in this study were, namely, Chronic Pancreatitis (CP), Pancreatic intraepithelial neoplasia (PanIN), Mucinous cystic neoplasm (MCN), Intraductal Papillary Mucinous Neoplasm (IPMN), IPMN associated cancers (Special Dx IPMN), and traditional Pancreatic Ductal Adenocarcinoma (PDAC). A point pattern representation is obtained when each cell identified is represented by a point on a two-dimensional grid, with the cell location determined by the center of the cell. Out of the 388 image point representations available, 56 were identified as CP, 41 as PanIN, 21 as MCN, 89 as IPMN, 38 as Special Dx IPMN and 143 as PDAC.
For the identification of phenotypes, multiplexed immunofluorescent staining was done on a tissue micro-array composed of 0.6mm cores taken from Formalin-fixed Paraffin-embedded (FFPE) tissue blocks, as explained in our previous work (28). In this process, slides underwent serial rounds of antigen retrieval, followed by primary and secondary antibody staining. DAPI nuclear staining was performed for to identify and segment nuclei and assign spatial locations to every cell present. Nuclear stain phenotyping was done using antibodies for the identification of phenotypes, including CD3, CD8, pancytokeratin, and FoxP3 expression. A subset of the mIF images representative of each cohort is included in the Supplementary Material (see Supplementary Figure 2). Of the available phenotypes, 3 were of interest to us as advised by the physician: the Epithelial cell, the immunosuppressive Regulatory T-cell (Treg), and the immunoreactive Cytotoxic Lymphocytes (CTL). An epithelial cell was considered to be any cell expressing Pancytokeratin, a Treg cell was any cell expressing FoxP3, and a CTL was identified as one expressing CD3 and CD8, identified through mIF staining and imaging procedures. Note that we do not strongly claim that only these cell types are sufficient for the characterization of these diseases, but rather that they are the cells that the proposed CGAT framework examines as a first pass. These cell sets are theoretically known to interact with each other in a biologically meaningful way. In future, we aim to expand the types of cells that we query in the microenvironment. All phenotyping and processing of mIF images was done on AKOYA Biosciences’ Inform Software. Additional clinical and demographic information is presented in Table 1.
2.2 Classification
2.2.1 Pairwise Classification
Our approach is based on constructing a k-NN (k-nearest neighbor) (29) graph from the stained image. The stained image data consists of 2D-coordinates of cell positions, along with the corresponding cell types. Each cell is identified to be one of the three types - (a) Epithelial, (b) Regulatory T (Treg), and (c) Cytotoxic Lymphocyte (CTL). The cell positions are used to construct the k-NN graph, while the cell type reflects the property of each cell and is the only physiological feature to be considered as an input to the proposed CGAT architecture. This is in sharp contrast to existing methods that rely on extensive feature engineering, requiring a lot of morphological and physiological features for imparting predictive capabilities (22, 30). Figure 1 shows sample k-NN graphs from the six different classes.
Figure 1 Construction of k-NN graphs from point pattern data derived from mIF pathological images from six different classes: (A) CP, (B) IPMN, (C) MCN, (D) PanIN, (E) PDAC, (F) IPMN-associated PDAC. Their corresponding k-NN graphs are shown in (G–L), respectively. In all images, the red, blue and green cells correspond to epithelial, cytotoxic lymphocytes, and t-regulatory cells, respectively.
Every k-NN graph defines the corresponding binary graph adjacency matrix, A, with Ai,j = 1 if the jth-cell is a neighbor (connected) to the ith-cell in the k-NN graph. In order to employ cell types for learning to classify disease types, a trainable embedding layer is used which converts symbolic cell type labels to a real vector of a specified dimension d. Thus for a graph with N vertices, the input feature X0 ∈ℝN×d. While the proposed work uses onlythree different cell types for disease class prediction, the CGAT framework is quite general and can accommodate any number of cell types by appropriately modifying the maximum size of the dictionary of embeddings in the embedding layer. An l-layer GCNupdates the vertex embeddings using the following update rule (20):
where denotes the normalized adjacency matrix with and being the degree matrix of . Wt ∈ℝd×d denotes the weight matrix of the tth layer and is a trainable parameter. σ is a nonlinear activation function, such as, rectified linear unit (ReLU) or hyperbolic tangent (tanh). A key component of the proposed CGAT architecture is its novel self-attention mechanism. An attention model helps with focusing on specific parts of the input rather than using all available information to compute the neural response (27). Since its inception, attention models have been used extensively in language-to-language translation, speech recognition and image captioning. The self-attention mechanism of the CGAT takes final node embeddings from GCN as its input and trained to identify vertices (cells) relevant for the prediction task. The self-attention mechanism is specified by the following set of rules:
where s ∈ ℝd is the resulting d-dimensional embedding vector. The parameter w ∈ ℝd is a trainable parameter, while [p] ∈ ℝN represents the relative importance of each vertex embedding towards the classification task. It is important to note that the proposed self-attention mechanism converts an N × d-dimensional embedding to an equivalent d-dimensional embedding. Thus, graphs (or stained images) of varying sizes can be easily accommodated as the final context vector s is simply d-dimensional and independent of the number of cells N. Moreover, sizes of the trainable weight parameters are also independent of N. Finally, a simple feed forward network (FFN) is used to produce a two-dimensional output vector - one for each target class. The weight matrix in the FFN are learned in an end-to-end manner. A final SoftMax layer is applied to produce a probability, one for each of the possible classes. Figure 2 shows the schematic of the proposed CGAT architecture for the pairwise classification of pancreatic cancer and precursor types. CGAT assigns to each graph in the dataset, a different embedding, and subsequently a different context vector, which can then be used to predict the correct disease class.
Figure 2 Schematic of the proposed cellular graph attention network (CGAT). Based on the geometrical coordinates of the epithelial and immune cells, a k-NN graph is constructed and passed through an embedding layer, which converts cell types labels to a d-dimensional vector. The output of the embedding layer is passed through a GCN with self-attention mechanism. The context vector is finally fed to a simple feed forward network, which maps the input graph to one of the two classes. For the multi-class classifier, 15 such pre-trained pairwise classifiers (one for each combination of classes) are bootstrapped in a rule-based manner.
2.2.2 Multi-Class Classification
The anonymized dataset is highly imbalanced in its classes. For instance, there are significantly more number of examples of PDAC (N=143) than MCN (N=21). Consequently, training an end-to-end multi-class CGAT classifier biases the model towards PDAC. At the same time, a pairwise classifier aimed to distinguish a given pancreatic disease type from the rest of the classes in a one-vs-rest classification manner suffers from a similar class imbalance issue. Thus, we build a sequence of pairwise classifiers, each trained to distinguish between two different classes. For six unique classes, we have a pair of 15 unique pairwise classifiers that are bootstrapped to build a multi-class classifier. Note that bootstrapping does not entail training any new classifier, however, it is built upon the pretrained pairwise classifiers sequenced in a rule-based manner. For instance, given the superior performance of pairwise classifiers involving PDAC and CP classes, a consensus based-approach is built to first identify if the input belongs to one of these two classes. We similarly leverage high-performing pairwise classifiers in case the input belongs to any other class.
2.2.3 Model Implementation
All models are implemented in Python 3.6.5 using PyTorch (31) on an Intel i7-7700HQ CPU with 2.8GHz x64-based processor and an NVIDIA GeForce GTX 1060 GPU. The hyperparameters of our CGAT implementation are as follows: optimizer: Adam optimizer (32) with learning rate λ = 10-3; loss function: cross-entropy; number of epochs = 100; embedding dimension d = 30; number of GCN layers l = 2; and number of nearest neighbors in k-NN graph k = 20. The choice of $k=20$ is motivated by the need to strike an optimal balance between a connected only and a complete graph. For the purpose of creating cell graphs and employing a graph neural network architecture, it is desirable to work with graphs that are connected, i.e., there exists a path (a set of edges) between any two nodes in the graph. This facilitates efficient message passing through the cell graph during the aggregation phase of GCN operation. At the same time, it is not desirable to work with complete graphs, i.e., all nodes are connected through direct edges between them, as the node or region-specific properties would not be sufficiently expressed. The code for the implementation of CGAT framework is available on request.
2.3 Model Interpretation Using the Giotto framework
We also wanted to explore neighborhood relationships of the cells which were identified as having high “self-attention weights” in the images for the binary classifier. To achieve this, we perform cell-pair enrichment analysis using Giotto (33). For each sample, a cell neighbor graph is created, in which each node represents a cell, and each node is connected to the cell’s three nearest neighbors. A simulation distribution is then created by shuffling the nodes’ cell type labels, while keeping the graph topology the same. For a cell pair of interest, the number of edges between nodes of those two cell types in the original sample is compared to the distribution of edges in the simulations. If the number of edges is significantly higher compared to the simulation distribution, that cell pair is considered to be “enriched”, where cells of those two types are neighbors more than would be expected at random. In contrast, if the number of edges is significantly lower compared to the simulation distribution, that cell pair is “depleted”, where the cells of those two types are neighbors less frequently than would be expected at random. This is done both for cells of the same phenotype as well as cells belonging to different phenotypes. Implementation of the framework using the Giotto package, and other associated analyses were implemented in R [R Core Team (2013)] (33).
3 Results
Of the 388 immunofluorescent stained images that belong to one of the six pancreatic disease types, nearly 80% of the data is selected randomly for training while the remaining 20% is held out for cross-validation study. The held-out samples are kept separate and the model performances are evaluated on the test set at the end of the training process. In essence, the train/test split includes 44/12 samples for CP, 71/18 for IPMN, 16/5 for MCN, 33/8 for PanIN, 113/30 for PDAC and 30/8 for IPMN-associated PDAC. The training process is further subjected to a 5-fold cross-validation study. Unlike the standard train/test split, a k-fold cross-validation study results in a less biased or less optimistic estimate of the model. In a k-fold cross validation study, the training data is split randomly into k groups of equal sizes. Subsequently, each unique group is considered in an iterative manner as a hold-out or test set, while the model is trained on the remaining k - 1 groups. At the end of each training phase, the trained model is discarded while the evaluation scores are retained. Finally, the performance of the model is summarized using the sample of model evaluation scores on each unique group. For validation purposes, the classification results from our cell-graph attention network classification paradigm was compared with those generated using another spatially informed metric: the Morisita-Horn index (34, 35). This metric has shown to be prognostic in many diseases, including breast cancer (13). A brief description of this method is given in the supplementary section of this paper.
It can be observed that there is significant class imbalance, with MCN having only 16 training samples. A 5-fold cross-validation study further reduces the number of training examples to about 12 or 13 for each unique group. Consequently, the models are going to be biased towards predicting other classes. Despite the absence of sufficient number of examples to train a neural network model, the proposed CGAT framework performs appreciably well.
Table 2 shows the AUC, precision and recall performances of 15 pairwise classifiers for the aforementioned 5-fold cross-validation study on the held-out test set. For every pairwise classifier, the corresponding row and column entries indicate classes 1 (positive) and 0 (negative), respectively. Recall that a large value of AUC (area under curve) implies that the model has a good measure of separability. On the other hand, precision and recall capture the positive predictive value (PPV) and sensitivity of a model. In order to fully evaluate the effectiveness of the model, both precision and recall scores must be examined, since improving precision typically reduces recall and vice versa. Despite the significant class imbalance, it can be seen in Table 2 that most of the pairwise classifiers perform appreciably well, with PDAC being the most easily distinguishable class. Likewise, the performance of pairwise classifiers in distinguishing CP is significantly high. On the other hand, it appears generally difficult to distinguish classes, such as, MCN and PanIN, both having relatively fewer training examples to work with. We leverage the superior performance of PDAC and CP classifiers in building a bootstrapped multi-class classifier.
Table 2 Classification metrics for the 15 pairwise CGAT classifiers from every point pattern set from each disease group.
Table 3 shows the confusion matrix of a multi-class classifier derived from bootstrapping multiple pairwise classifiers. The diagonal entries indicate the number of correctly classified instances on the held-out test set. The label for each row indicates the ‘true’ class, whereas the off-diagonal entries indicate the ‘predicted’ class. It can be observed that of the 12 examples labeled as CP, the model correctly identifies 11 of them. Similarly, PDAC is correctly identified on 28 out of 30 instances. The performance on other classes is not as noteworthy, primarily due to lack of both quality and quantity of the available data.
Table 3 The confusion matrix for the multi-class CGAT classifier for the six different pancreatic diseases.
As mentioned earlier, the Morisita Horn dissimilarity indices were also computed for each image in the cohort to assess the performance of our classifier. A set of decision tree pairwise classifier models were trained for classifying index values for many two pairs of diseases. Table 4 shows the AUC, precision and recall performances obtained from these models. As is evident, we find that the model performs poorly in comparison to the CGAT model for all disease pairs, with the pairs of PDAC and IPMN, PDAC and PanIN, IPMN-associated PDAC and CP, and IPMN-associated PDAC and PDAC performing barely better than a random classifier with AUC of 0.5. This claim is further strengthened by a strong overlap observed in the index values between all six groups, as depicted in Supplementary Figure S1. The AUC values of less than 0.5 observed for the other disease pairs can be explained by the significant class imbalance observed in this dataset.
Table 4 Classification metrics for the 15 pairwise decision-tree classifiers based on the Morisita-Horn index values from every point pattern set from each disease group.
4 Discussion
Despite the advances in pathology imaging paradigms and computational methods, challenges in discrimination between pathologies with similarities still continues to persist. This is specifically seen in the case of pancreatic cancers and their precursor conditions (36). Additionally, surveying the immune landscape and the arrangement and clustering of cells in the disease microenvironment may be crucial in deciphering disease progression and in the development of effective therapeutic regimens. Though spatial methods like the Morisita-Horn dissimilarity index have been used to quantify spatial relationships, they are usually limited to two distinct cell phenotypes. To the best of our knowledge, there has not been an attempted to use this metric to capture the relationships fully in multiplexed data sets (such as mIF imaging data or transcriptomics data) where multi-way phenotype relationships have the potential to be assessed. In this study, we proposed and applied a graph attention-based classification method on a cohort of imaging data from different pancreatic disorders. Rather than utilize single cell features that usually call for extensive feature set creation, our network relies on cell identity and relative locations as inputs for the classification paradigm.
On the application of our framework to the study data, we observe that the k-NN based classification paradigm was able to perform significantly better than the single-number Morisita-Horn indices across all pairwise comparisons. Specifically, we observed that our classifier is able to distinguish between CP and PDAC in a significantly better manner, as opposed to the MH Index. From a clinical perspective, this discrimination is highly relevant, as misdiagnosis of these two diseases with frequently similar pathological appearances may lead to either a missed diagnosis of a severe carcinoma, or repeated biopsies due to the high cancer risk of patients with previous history of CP (37). Similar performance improvements were observed between PDAC and its precursor and co-occurring conditions like MCN and PanIN. This alludes to a nuance in the neighborhood relationships between the three cell phenotypes utilized in this study, which may have been missed during visual observation. Furthermore, our frame can offer hypothesis generation tools for biologists to interrogate the tumor micro-environment.
Of the various cells present in the disease micro-environment, cytotoxic lymphocytes (CTLs) have a functionally significant presence, and play an active role in regulating anti-tumor response, specifically in PDAC (38). Of the various subtypes, the anti-tumor CTLs and immunoregulatory Tregs play a large role in this, with opposing effects on immune mediation and disease prognosis. It has been known that T-regulatory cells play an active role in the immunosuppressive environment present in PDAC, and thus have a greater probability to co-localize and have an inhibitory effect on the more immunoreactive CTLs present in the environment (39). One of the advantages of our proposed CGAT-network is its ability to highlight important nuclei through its self-attention mechanism. The self-attention mechanism helps the model to focus only on specific parts of the input, while learning to ignore unimportant details. Attention mechanisms are not only known to boost model’s predictive performance, they can also assist in better visualization of the features that are likely responsible for the predictive capabilities of the model. Figure 3 shows the original histopathological images (on the left) and the corresponding attention-visualized images (on the right) for three representative images from the PDAC class. The attention weights are computed as described in (2), and the cells with attention scores in the 90th-percentile are highlighted in bold. As observed in Figure 3, these cells are observed to be those in closer proximity to cells of other phenotypes, rather than their own. Additionally, the regions with the highest attention weights also overlaps with regions of higher Treg density (marked in blue). This further lends credence that the presence of Tregs influences the spatial positions, and in turn the functional effect of cytotoxic lymphocytes on epithelial cells in the cancer environment. Further identification and exploration of the spatial arrangement of other associated cell phenotypes at these interaction interfaces holds the key in quantifying the state of the cancer micro-environment in PDAC. This, in turn can potentially lead to more robust methods not only to prevent misdiagnosis, but also is key in earlier identification of the disease for more effective treatment paradigms to be delivered.
Figure 3 Visualization of nuclei with large attention weights for three sample PDAC histopathology images (A–C). Red, green and blue colors indicate the three types of labels - Epithelial, CTL and Treg, respectively. The cells with large attention weights likely belong to the interface of two or more cell types, indicating patterns that govern the various class association.
To reiterate, CGAT’s ingenuity lies in the utilization of only the nuclei class labels for the construction of the k-NN based cell graph used as input for the classification model. This alleviates the need for extensive feature engineering, reducing reliance on the computation of secondary graph summary metrics such as centrality measures. The ability of the attention network to delineate nuclei, and in turn explicitly point to regions influencing classification is a tool that can be leveraged in the identification of novel cell-cell relationships that have been not been previously deemed as influential. This is in sharp contrast to previously applied neural network based methods, which essentially function as a black box and do not completely give context into the decision making process for classification. The identification of these cell clusters can help in the identification of functionally influential cell-cell arrangement of the same phenotype as well as other phenotypes.
We wanted to closely analyze the regions of “attention” pointed out to us by the CGAT framework, and attempt to interpret them from a physiological context. We chose to examine the results from the CP-PDAC classifier, as that had been our best performer, and was of great interest from a biological perspective. For this purpose, we first segmented out the cells lying within the top 50th percentile of attention weights obtained from the CP-PDAC binary classifier, as identified by our framework. This was used as input for the Giotto framework, and the results are mentioned in Tables 2 and 3 in the Supplementary Material. The results from the high attention weight regions point to a few trends. Firstly, we observed an enrichment of Tregs around other Tregs in PDAC with no such phenomenon in CP. This is consistent with known literature stating that factors present in the cancer microenvironment are driving the location-specific polarization of these regulatory cells (40). In contrast, a depletion in neighborhood relationships was observed between Tregs and epithelial cells in the attention regions in PDAC, which goes against current domain knowledge, and potentially suggests that another cell type present in the microenvironment might be influencing Treg polarization. Additionally, it was also observed that there was a depletion in neighborhood proximity between epithelial cells and CTLs in CP when compared to a random neighborhood model, which can be explained by the global inflammatory nature of the disease (41, 42). Though the strength of the relationships were not strong enough, the significance of these contrasting relationships observed between the high attention cells identified by the classifier warrants further exploration in future studies. This would further help us in characterizing the state of the disease micro-environment in a spatially informed manner (43). The availability of this information can also help in deeper analysis of phenotype relationships already postulated in previous literature for related diseases.
While the proposed work uses only three different cell types for disease class prediction, the CGAT framework is quite general and can accommodate any number of cell types by appropriately modifying the maximum size of the dictionary of embeddings in the embedding layer. In an ideal scenario, it would be preferred to have more than just three cell markers. This is reflected in our analysis (see Table 1 in the Supplementary Material) with just two markers - “Tumor” and “Immune”, i.e., both the CTL and Treg markers are masked as a single “Immune” marker. We show that even with just these two markers, the reduction in performance of the proposed CGAT architecture is not significant, indicating that even in the absence of multiple cell markers, CGAT is capable of distinguishing different pancreatic diseases better than the Morisita-Horn index-based approach involving three different cell markers. Due to the generalizability of the framework, its application can be extended to other omics data as well, where spatial information is available. A limiting factor in this study is the disproportionate number of image data sets available from each cohort, biasing a model towards the class with the larger membership. Application of this framework on a more balanced data set would be the next step to diminish this effect, and potentially gain a even higher classification accuracy with better metrics. It is to be noted that even with the disparity in the number of samples per diseases, our model was still able to perform appreciatively well in discerning between any two pairs of diseases.
In conclusion, this proposed and implemented cell-graph based method for the classification of mIF image-derived point patterns obtained from six different cohorts of pancreatic diseases. Instead of focusing on expensive feature engineering, we work with cell-graphs consisting of only one feature per node. With only 3 phenotypes of cells segmented out in each image, this method was able to display excellent classification metrics between all possible pairs of the diseases. An extension of this workflow on a more balanced dataset with a richer amount of cell phenotypic information available would be warranted.
Data Availability Statement
The datasets presented in this article are not readily available because of restrictions on licensing for use by the University of Michigan School of Medicine. The data sets may be available from the corresponding author on request, with appropriate permissions from the institution. Requests to access the datasets should be directed to AR, dWthcnZpbmRAdW1pY2guZWR1.
Ethics Statement
The studies involving human participants were reviewed and approved by University of Michigan Institutional Review Board. The patients/participants provided their written informed consent to participate in this study.
Author Contributions
Methodology: MB, SK, MO, AR. Acquisition of data: TF, SK Writing and reviewing of the manuscript: MB, SK, MO, TF, AR. Supervision: AR. All authors contributed to the article and approved the submitted version.
Funding
AR, SK and MO were supported by CCSG Bioinformatics Shared Resource 5 P30 CA046592, a gift from Agilent technologies, a Research Scholar Grant from the American Cancer Society (RSG-16-005-01), the NCI Grant R37-CA214955, and The University of Michigan (U-M) startup institutional research funds. AR and SK were also partially supported by Precision health Investigator award from U-M Precision Health to AR along with LR and MS. MO was supported by the Advanced Proteome Informatics of Cancer Training Grant (T32 CA140044). None of the funders were involved in the study design, collection, analysis, and interpretation of data, the writing of this article or the decision to submit it for publication.
Conflict of Interest
AR has a consulting agreement with Voxel analytics LLC and consults for Genophyll, LLC. MB is currently employed with the Division of Data and Decision Sciences, Tata Consultancy Services, India.
The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
The funders were not involved in the study design, collection, analysis, and interpretation of data, the writing of this article or the decision to submit it for publication.
Publisher’s Note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary Material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fimmu.2021.727610/full#supplementary-material
References
1. Gordon-Dseagu VL, Devesa SS, Goggins M, Stolzenberg-Solomon R. Pancreatic Cancer Incidence Trends: Evidence From the Surveillance, Epidemiology and End Results (Seer) Population-Based Data. Int J Epidemiol (2017) 47:427–39. doi: 10.1093/ije/dyx232
2. Sarantis P, Koustas E, Papadimitropoulou A, Papavassiliou AG, Karamouzis MV. Pancreatic Ductal Adenocarcinoma: Treatment Hurdles, Tumor Microenvironment and Immunotherapy. World J Gastrointestinal Oncol (2020) 12:173–81. doi: 10.4251/wjgo.v12.i2.173
3. Howlader N, Noone A, Krapcho M, Miller D, Brest A, Yu M, et al. Seer Cancer Statistics Review (Csr), 1975-2018 (2021). SEER (Accessed Accessed: 06-10-2021).
4. Distler M, Aust D, Weitz J, Pilarsky C, Grützmann R. Precursor Lesions for Sporadic Pancreatic Cancer: Panin, Ipmn, and Mcn. BioMed Res Int (2014) 2014:1–11. doi: 10.1155/2014/474905
5. Yonezawa S, Higashi M, Yamada N, Goto M. Precursor Lesions of Pancreatic Cancer. Gut Liver (2008) 2:137–54. doi: 10.5009/gnl.2008.2.3.137
6. Basturk O, Hong SM, Wood LD, Adsay NV, Albores-Saavedra J, Biankin AV, et al. A Revised Classification System and Recommendations From the Baltimore Consensus Meeting for Neoplastic Precursor Lesions in the Pancreas. Am J Surg Pathol (2015) 39:1730–41. doi: 10.1097/pas.0000000000000533
7. Wolske KM, Ponnatapura J, Kolokythas O, Burke LMB, Tappouni R, Lalwani N. Chronic Pancreatitis or Pancreatic Tumor? A Problem-Solving Approach. RadioGraphics (2019) 39:1965–82. doi: 10.1148/rg.2019190011
8. Gavrielides MA, Conway C, O’Flaherty N, Gallas BD, Hewitt SM. Observer Performance in the Use of Digital and Optical Microscopy for the Interpretation of Tissue-Based Biomarkers. Anal Cell Pathol (2014) 2014:1–10. doi: 10.1155/2014/157308
9. Berney DM, Algaba F, Camparo P, Compérat E, Griffiths D, Kristiansen G, et al. The Reasons Behind Variation in Gleason Grading of Prostatic Biopsies: Areas of Agreement and Misconception Among 266 European Pathologists. Histopathology (2013) 64:405–11. doi: 10.1111/his.12284
10. Bendall SC, Simonds EF, Qiu P, Amir EAD, Krutzik PO, Finck R, et al. Single-Cell Mass Cytometry of Differential Immune and Drug Responses Across a Human Hematopoietic Continuum. Science (2011) 332:687–96. doi: 10.1126/science.1198704
11. Dakshinamoorthy G, Singh J, Kim J, Nikulina N, Bashier R, Mistry S, et al. Abstract 490: Highly Multiplexed Single-Cell Spatial Analysis of Tissue Specimens Using Codex. Immunology (2019) 79(13 Suppl):Abstract nr 490. doi: 10.1158/1538-7445.sabcs18-490
12. Barua S, Solis L, Parra ER, Uraoka N, Jiang M, Wang H, et al. A Functional Spatial Analysis Platform for Discovery of Immunological Interactions Predictive of Low-Grade to High-Grade Transition of Pancreatic Intraductal Papillary Mucinous Neoplasms. Cancer Inf (2018) 17:1176935118782880. doi: 10.1177/1176935118782880
13. Maley CC, Koelble K, Natrajan R, Aktipis A, Yuan Y. An Ecological Measure of Immune-Cancer Colocalization as a Prognostic Factor for Breast Cancer. Breast Cancer Res (2015) 17:1–13. doi: 10.1186/s13058-015-0638-4
14. Arruda PFFD, Gatti M, Junior FNF, Arruda JGFD, Moreira RD, Murta LO, et al. Quantification of Fractal Dimension and Shannon’s Entropy in Histological Diagnosis of Prostate Cancer. BMC Clin Pathol (2013) 13:1–7. doi: 10.1186/1472-6890-13-6
15. Gunduz C, Yener B, Gultekin SH. The Cell Graphs of Cancer. Bioinformatics (2004) 20:i145–51. doi: 10.1093/bioinformatics/bth933
16. Demir C, Gultekin SH, Yener B. Augmented Cell-Graphs for Automated Cancer Diagnosis. Bioinformatics (2005) 21:ii7–ii12. doi: 10.1093/bioinformatics/bti1100
17. Oztan B, Kong H, Gürcan MN, Yener B. Follicular Lymphoma Grading Using Cell-Graphs and Multi-Scale Feature Analysis, In: Medical Imaging 2012: Computer-Aided Diagnosis. International Society for Optics and Photonics, (2012). Vol. 8315. p. 831516.
18. Gunduz-Demir C. Mathematical Modeling of the Malignancy of Cancer Using Graph Evolution. Math Biosci (2007) 209:514–27. doi: 10.1016/j.mbs.2007.03.005
19. Scarselli F, Gori M, Tsoi AC, Hagenbuchner M, Monfardini G. The Graph Neural Network Model. IEEE Trans Neural Networks (2008) 20:61–80. doi: 10.1109/TNN.2008.2005605
20. Kipf TN, Welling M. Semi-Supervised Classification With Graph Convolutional Networks, In: Proceedings of the 5th International Conference on Learning Representations, , ICLR ‘17. (2017)
21. Zhou J, Cui G, Hu S, Zhang Z, Yang C, Liu Z, et al. Graph Neural Networks: A Review of Methods and Applications. AI Open (2020) 1:57–81. doi: 10.1016/j.aiopen.2021.01.001
22. Zhou Y, Graham S, Alemi Koohbanani N, Shaban M, Heng PA, Rajpoot N. Cgc-Net: Cell Graph Convolutional Network for Grading of Colorectal Cancer Histology Images, In: 2019 IEEE/CVF International Conference on Computer Vision Workshop (ICCVW). IEEE Computer Society (2019).
23. Zhou Y, Onder OF, Dou Q, Tsougenis E, Chen H, Heng PA. CIA-Net: Robust Nuclei Instance Segmentation With Contour-Aware Information Aggregation, In: International Conference on Information Processing in Medical Imaging. Springer (2019) pp. 682–93.
24. Ramirez R, Chiu YC, Hererra A, Mostavi M, Ramirez J, Chen Y, et al. Classification of Cancer Types Using Graph Convolutional Neural Networks. Front Phys (2020) 8:203. doi: 10.3389/fphy.2020.00203
25. Zhang YM, Huang K, Geng G, Liu CL. Fast Knn Graph Construction With Locality Sensitive Hashing. In: Joint European Conference on Machine Learning and Knowledge Discovery in Databases. Springer (2013). pp. 660–74.
26. Neishi M, Sakuma J, Tohda S, Ishiwatari S, Yoshinaga N, Toyoda M. A Bag of Useful Tricks for Practical Neural Machine Translation: Embedding Layer Initialization and Large Batch Size. In: Proceedings of the 4th Workshop on Asian Translation (WAT2017). Asian Federation of Natural Language Processing (2017). pp. 99–109.
27. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, et al. Attention Is All You Need. In: Guyon I, Luxburg UV, Bengio S, Wallach H, Fergus R, Vishwanathan S, editors. Advances in Neural Information Processing Systems, vol. 30 . Long Beach, CA :Curran Associates, Inc (2017).
28. Lazarus J, Maj T, Smith JJ, Lanfranca MP, Rao A, D’Angelica MI, et al. Spatial and Phenotypic Immune Profiling of Metastatic Colon Cancer. JCI Insight (2018) 3. doi: 10.1172/jci.insight.121932
29. Chen J, Fang HR, Saad Y. Fast Approximate Knn Graph Construction for High Dimensional Data via Recursive Lanczos Bisection. J Mach Learn Res (2009) 10:1989–2012. doi: 10.5555/1577069.1755852
30. Wang J, Chen RJ, Lu MY, Baras A, Mahmood F. Weakly Supervised Prostate Tma Classification via Graph Convolutional Networks, In: IEEE 17th International Symposium on Biomedical Imaging (ISBI). Iowa City, Iowa, USA:IEEE (2020) pp. 239–43.
31. Ketkar N. Introduction to Pytorch. In: . Deep Learning With Python. Berkeley, CA: Springer (2017). p. 195–208.
32. Kingma DP, Ba J. Adam: A Method for Stochastic Optimization. In: 3rd International Conference on Learning Representations, (ICLR) 2015, May 7-9, 2015, Conference Track Proceedings. San Diego, CA, USA (2015). Available at: http://arxiv.org/abs/1412.6980.
33. Dries R, Zhu Q, Dong R, Eng CHL, Li H, Liu K, et al. Giotto: A Toolbox for Integrative Analysis and Visualization of Spatial Expression Data. Genome Biol (2021) 22:1–31. doi: 10.1186/s13059-021-02286-2
35. Rempala GA, Seweryn M. Methods for Diversity and Overlap Analysis in T-Cell Receptor Populations. J Math Biol (2013) 67:1339–68. doi: 10.1007/s00285-012-0589-7
36. Goggins M. Markers of Pancreatic Cancer: Working Toward Early Detection: Figure 1. Clin Cancer Res (2011) 17:635–7. doi: 10.1158/1078-0432.ccr-10-3074
37. Elsherif SB, Virarkar M, Javadi S, Ibarra-Rovira JJ, Tamm EP, Bhosale PR. Pancreatitis and Pdac: Association and Differentiation. Abdominal Radiol (2019) 45:1324–37. doi: 10.1007/s00261-019-02292-w
38. Balch CM, Riley LB, Bae YJ, Salmeron MA, Platsoucas CD, Eschenbach AV, et al. Patterns of Human Tumor-Infiltrating Lymphocytes in 120 Human Cancers. Arch Surg (1990) 125:200. doi: 10.1001/archsurg.1990.01410140078012
39. Feichtenbeiner A, Haas M, Büttner M, Grabenbauer GG, Fietkau R, Distel LV. Critical Role of Spatial Interaction Between CD8 and Foxp3 Cells in Human Gastric Cancer: The Distance Matters. Cancer Immunol Immunother (2013) 63:111–9. doi: 10.1007/s00262-013-1491-x
40. Quail DF, Joyce JA. Microenvironmental Regulation of Tumor Progression and Metastasis. Nat Med (2013) 19:1423–37. doi: 10.1038/nm.3394
41. Ebert M, Ademmer K, Müller F, Friess H, Büchler M, Schubert W, et al. CD8 CD103 T Cells Analogous to Intestinal Intraepithelial Lymphocytes Infiltrate the Pancreas in Chronic Pancreatitis. Gastroenterology (1998) 114:2141–47. doi: 10.1016/s0016-5085(98)81839-8
42. Ebert M, Schandl L, Schmid RM. Differentiation of Chronic Pancreatitis From Pancreatic Cancer: Recent Advances in Molecular Diagnosis. Digestive Dis (2001) 19:32–6. doi: 10.1159/000050651
Keywords: PDAC (pancreatic ductal adenocarcinoma), cell-graph, spatial method, pancreas, attention network, chronic pancreatitis, graph convolutional network (GCN)
Citation: Baranwal M, Krishnan S, Oneka M, Frankel T and Rao A (2021) CGAT: Cell Graph ATtention Network for Grading of Pancreatic Disease Histology Images. Front. Immunol. 12:727610. doi: 10.3389/fimmu.2021.727610
Received: 19 June 2021; Accepted: 03 September 2021;
Published: 29 September 2021.
Edited by:
Darci Phillips, Stanford University, United StatesReviewed by:
Brenna Rheinheimer, University of Arizona, United StatesChaohui Yu, Zhejiang University, China
Copyright © 2021 Baranwal, Krishnan, Oneka, Frankel and Rao. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Mayank Baranwal, YmFyYW53YWwubWF5YW5rQHRjcy5jb20=; Arvind Rao, dWthcnZpbmRAdW1pY2guZWR1