GRASP: GRAph-Structured Pyramidal Whole Slide Image Representation

Ali Khajegili Mirabadi, Graham Archibald, Amirali Darbandsari, Alberto Contreras-Sanz, Ramin Ebrahim Nakhli, Maryam Asadi, Allen Zhang, C. Blake Gilks, Peter Black, Gang Wang, Hossein Farahani, Ali Bashashati

TL;DR

GRASP is a lightweight, graph-based framework for cancer subtyping that mimics how pathologists analyze tissue by "zooming" across multiple magnifications. By replacing traditional pooling with a novel convergence-based mechanism, it achieves state-of-the-art accuracy while using a fraction of the parameters required by competing models.

What Problem Does This Paper Address?

In digital pathology, Whole Slide Images (WSIs) are massive—often gigapixel-sized. To process them, researchers typically use Multiple Instance Learning (MIL), which breaks the image into small patches. However, most MIL methods only look at a single magnification level (usually 20x) to save on computational costs.

This is a significant gap because human pathologists don't work that way. They navigate a "pyramid" of information: low magnification helps identify large-scale tissue structures, while high magnification reveals fine cellular details. Existing multi-magnification models attempt to bridge this gap but are often massive, computationally expensive, and lack interpretability. The authors sought a way to capture this hierarchical information in a lightweight, efficient, and biologically inspired manner.

Methods

The authors introduce GRASP (GRAph-Structured Pyramidal representation). The workflow follows these key steps:

  1. Pyramidal Patch Extraction: For every region of interest, the model extracts patches at three levels: 5x, 10x, and 20x.
  2. Hierarchical Graph Construction: These patches are converted into embeddings and organized into a graph. Nodes at the same magnification are fully connected to capture "intra-magnification" context. Corresponding patches across different magnifications are also connected to capture "inter-magnification" relationships.
  3. Message Passing & Convergence: Instead of using standard pooling layers (like max-pooling) to aggregate information, GRASP uses three Graph Convolutional Network (GCN) layers.
  4. The "Aha" Mechanism: The authors provide a mathematical proof (Theorem 1) showing that after three layers of message passing, all nodes within a specific magnification level naturally converge to a single representative value. This "intra-magnification convergence" effectively acts as a built-in pooling mechanism that reduces the complex graph of 3,000+ nodes down to just three representative nodes (one per magnification) before final classification.
Overview of the GRASP workflow, showing patch extraction, graph construction, and the convergence mechanism.

Datasets

The model was evaluated on three distinct cancer datasets to prove its generalizability:

  • Ovarian Carcinoma: A private dataset of 948 WSIs covering five different histotypes.
  • Bladder Cancer: A private dataset of 262 WSIs with two subtypes (Micropapillary vs. Conventional Urothelial Carcinoma).
  • Esophageal Carcinoma (ESCA): A public dataset from The Cancer Genome Atlas (TCGA) containing 135 WSIs across two subtypes.

Key Insights and Ideas

  • Efficiency through Structure: By defining a fixed hierarchical graph structure, GRASP achieves high performance with only 0.378 million parameters. For context, the closest-performing state-of-the-art model, HiGT, uses over 6 million parameters.
  • Mimicking Human Intuition: The model's "zoom-in/zoom-out" dynamic was validated by expert pathologists. It doesn't just look at all data equally; it learns which magnification is most important for a specific cancer subtype.
  • Natural Pooling: The discovery that message passing in a symmetric, fully connected subgraph leads to feature convergence is a clever way to avoid the computational overhead and information loss often associated with traditional pooling layers.
  • Interpretability: Using gradient-based heatmaps, the authors showed that GRASP focuses on different magnifications depending on the biological characteristics of the tumor, such as needing high power to confirm cytology in low-grade serous carcinomas.
Figure 1: A chronological overview of differ- ent WSI representation methods and their perfor- mance compared to the size of the model.

Key Results

GRASP consistently outperformed or matched eleven state-of-the-art models across all datasets:

  • Accuracy: Achieved an average Balanced Accuracy of 81.7% (using Swin features) and 83.1% (using KimiaNet features).
  • Speed: Inference time is remarkably low at approximately 0.024 seconds per slide, making it highly suitable for real-world clinical settings with limited hardware.
  • Robustness: The model remained stable across different backbones (Swin vs. KimiaNet) and varying numbers of patches, proving it isn't overly sensitive to hyperparameter tuning.
Table 1: The average performance on 3 folds and 10 random seeds based on Swin’s features. The best and second best average values are highlighted in bold and underlined, respectively.

Limitations and Future Work

  • Over-smoothing: The authors noted that increasing the number of GCN layers beyond three causes "over-smoothing," where node features become too similar and performance drops. This limits the potential depth of the graph architecture.
  • Fixed Magnifications: The current model uses a pre-defined set of three magnifications (5x, 10x, 20x). Future iterations could explore dynamic magnification selection based on the specific tissue type.
  • Spatial Context: While the model captures hierarchical context, it does not explicitly use the spatial coordinates of patches within the same magnification level (beyond the fully connected relationship), which could be a future area for refinement.

Summary updated

BibTeX
@misc{mirabadi2024grasp,
  author = {Ali Khajegili Mirabadi and Graham Archibald and Amirali Darbandsari and Alberto Contreras-Sanz and Ramin Ebrahim Nakhli and Maryam Asadi and Allen Zhang and C. Blake Gilks and Peter Black and Gang Wang and Hossein Farahani and Ali Bashashati},
  title = {{GRASP: GRAph-Structured Pyramidal Whole Slide Image Representation}},
  year = {2024},
  eprint = {2402.03592},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.03592},
}
Figure