Introduction
In digital pathology, Whole-Slide Images (WSIs) represent a significant computational challenge. These "giga-pixel" scans of tissue biopsies are essential for diagnosing and grading prostate cancer, yet their sheer scale makes manual analysis a bottleneck. Pathologists are in short supply, and manual inspection is frequently subject to inter-observer variability.
While Artificial Intelligence (AI) offers a potential solution, most high-performing models rely on dense pixel-level annotations—a process where experts must manually delineate every cancerous region. This requirement is prohibitively expensive and time-consuming. Weakly supervised learning (WSL) offers an alternative by requiring only slide-level labels (e.g., a single Gleason score for the entire slide). However, traditional WSL methods often struggle to produce precise segmentation masks and fail to account for the complex, non-grid-like spatial structures of biological tissue. This paper introduces WHOLESIGHT, a novel framework designed to achieve high-accuracy pixel-level segmentation and Gleason grading using only slide-level supervision.
Methodology: The WHOLESIGHT Framework
WHOLESIGHT departs from traditional patch-based approaches by representing the WSI as a Tissue-Graph (TG). This approach allows the model to capture the spatial context and morphological relationships between different tissue regions.
1. Graph Construction and Contextualization
The framework begins by decomposing the WSI into "superpixels"—clusters of pixels with similar morphological characteristics. These superpixels serve as nodes in a graph, with edges connecting neighboring nodes to represent the local tissue microenvironment. A Graph Isomorphism Network (GIN) then processes this graph to learn embeddings for each node, enabling the model to understand how disparate tissue regions interact across the slide.
2. Feature Attribution and Pseudo-Labeling
To bridge the gap between slide-level labels and pixel-level segmentation, WHOLESIGHT utilizes GraphGrad-CAM. This post-hoc feature attribution technique identifies which specific nodes in the graph contributed most significantly to the model's slide-level classification. These high-contribution nodes are then used to generate "pseudo-labels," providing a noisy but effective ground truth for segmentation without manual intervention.
3. Joint Training
The final stage involves a joint training objective. The model utilizes the generated pseudo-labels to train a dedicated node-classification head. By fine-tuning the classification and segmentation tasks simultaneously, the framework allows the two objectives to inform one another. The segmentation head acts as a regularizer for the classification task, leading to more robust feature extraction and better generalization.
Experimental Results
The model was rigorously evaluated across three major prostate cancer datasets: Sicap (155 WSIs with high-quality masks), Radboud/PANDA (5,759 biopsies), and Karolinska (5,662 biopsies).
Segmentation Performance
On the Sicap dataset, WHOLESIGHT established a new state-of-the-art for weakly supervised methods. It achieved an average Dice score of 37.6%, representing a +6.6% absolute improvement over baseline graph-based attribution methods. This demonstrates that the joint training and pseudo-labeling approach significantly refines the model's ability to delineate cancerous boundaries.
Classification and Generalization
WHOLESIGHT consistently outperformed industry-standard weakly supervised architectures, including CLAM and ABMIL. The model showed superior weighted-F1 scores and quadratic kappa values (a metric for expert agreement) across all datasets. Notably, the framework demonstrated strong generalization; when trained on data from one set of hospitals (Radboud/Karolinska) and tested on an entirely different institution (Sicap), WHOLESIGHT maintained its performance edge, suggesting it is resilient to scanner-specific artifacts and variations in laboratory preparation.
Discussion and Limitations
By treating WSIs as flexible graphs rather than rigid grids, WHOLESIGHT more accurately respects natural tissue boundaries and captures the spatial context necessary for grading complex patterns, such as Gleason 4. The integration of feature attribution as a bridge to segmentation allows the model to provide interpretable outputs that go beyond simple heat maps.
However, some challenges remain. Calibration analysis indicates that the model, like many deep learning systems, tends toward over-confidence—where predicted confidence levels exceed actual accuracy. Furthermore, identifying secondary Gleason patterns remains more difficult than identifying primary patterns due to the inherent morphological ambiguity between different cancer grades. Future research will focus on refining the graph architecture to better capture subtle tissue transitions and exploring uncertainty-aware learning to improve clinical reliability.
Summary updated