Center-Aware Ordinal Learning for Prostate Cancer Grading from Histopathology Images
Authors: Mohammad Mahdi Abootorabi, Parvin Mousavi, Purang Abolmaesumi
Organizations: The University of British Columbia, Vancouver, BC, Canada · Vector Institute, Toronto, ON, Canada · Queen’s University, Kingston, ON, Canada
Prostate cancer grading from histopathology whole-slide images (WSIs) is complicated by the ordered nature of ISUP grades, class imbalance, and center-dependent variations in staining, tissue preparation, and scanning. Most weakly supervised methods treat grade groups as independent categories and may therefore learn representations that do not transfer reliably across institutions. We propose a center-aware ordinal learning framework that combines a pretrained pathology encoder with attention-based multiple instance learning. The framework uses an Earth Mover's Distance loss to account for ordinal errors, an ordinal supervised contrastive objective to align same-grade slides across centers while separating grades according to disease severity, and curriculum learning to reduce the dominance of benign cases. We evaluate the framework on approximately 9,100 biopsy WSIs from the two-center PANDA dataset. The proposed framework achieves an accuracy of 0.842 and a quadratic weighted kappa of 0.958 on the held-out test set. Its main benefit is observed in cross-center transfer: when a linear probe is trained on Karolinska representations and evaluated on Radboud, accuracy increases from 0.643 to 0.823 and quadratic weighted kappa from 0.899 to 0.930. Performance remains stable in the reverse direction. UMAP projections further show improved mixing between centers while preserving an ordinal grade trajectory. These results suggest that combining ordinal and center-aware objectives produces more transferable slide representations for multi-center prostate cancer grading.
Figures & tables
Figure 1: Overview of the proposed framework and learned slide representations. (a) Attention-based MIL aggregates frozen patch features into slide-level embeddings. These are optimized via squared Earth Mover’s Distance ( LEMD ) and center-aware ordinal supervised contrastive loss ( LOSCL ). In the weight matrix, color denotes ISUP grade and shape denotes center. LOSCL pulls same-grade pairs together and pushes differing grades apart, up-weighting cross-center pairs and greater ordinal distances. (b) UMAP projections show the proposed method reduces center separation and forms a clearer ordinal trajectory compared to standard cross-entropy.
Loss Configuration
OSCL
Center
Curr.
Accuracy
Macro-F1
QWK
CE
–
–
–
0.824
0.784
0.956
Focal
–
–
–
0.866
0.835
0.959
EMD
–
–
–
0.865
0.835
0.964
CE + OSCL
✓
–
–
0.860
0.825
0.963
EMD + OSCL
✓
–
–
0.838
0.798
0.958
EMD + OSCL + Curr.
✓
–
✓
0.829
0.791
0.953
Table 1: Comparison of baseline loss functions and ablation study of the proposed loss components on the PANDA test set. OSCL denotes Ordinal Supervised Contrastive Loss, Center denotes center-aware contrastive weighting, and Curr. denotes curriculum weighting.
Representation
Transfer
Accuracy
QWK
CE baseline
K → R
0.643
0.899
Proposed Method
K → R
0.823
0.930
CE baseline
R → K
0.811
0.916
Proposed Method
R → K
0.815
0.939
Table 2: Cross-center linear probing of frozen slide embeddings. An ℓ2 -regularized multinomial logistic-regression probe is fitted to training embeddings from one center and evaluated on test embeddings from the other. K and R denote Karolinska and Radboud, respectively.
Figure 2: UMAP projections of test-set slide embeddings colored by ISUP grade for CE, focal loss, EMD, and the proposed loss. The proposed method produces a more continuous progression from ISUP 0 to 5 and shows greater mixing between the two centers. UMAP is used for qualitative comparison of the representation structure.
Figure 3: UMAP projections of test-set slide embeddings colored by data provider for the CE baseline (left) and proposed method (right). The CE embeddings separate strongly by center, whereas the proposed framework shows greater mixing between Karolinska and Radboud along a shared representation manifold.
Whole slide images (WSIs) provide rich diagnostic information for computational pathology, but their gigapixel scale, stain variation, scanner differences, tissue artifacts, and limited expert annotation make robust model training challenging. This paper presents a multi-source Masked Autoencoder (MAE) framework, named ProsMAE, for histopathology representation learning. Tiles from Prostate cANcer graDe Assessment (PANDA), CAncer MEtastases in LYmph nOdes challeNge 2017 (CAMELYON17), and BReAst Carcinoma Subtyping (BRACS) are used for ProsMAE pretraining to expose the encoder to diverse tissue morphology and acquisition conditions. The learned encoder is transferred for International Society of Urological Pathology (ISUP) grade classification through ProsCLS, using a frozen encoder and a linear classification head. ProsMAE achieved a higher mean validation quadratic weighted kappa (QWK) than the vanilla MAE frozen linear-probe baseline under the evaluated disjoint PANDA split. Repeated-split evaluation remains necessary to further establish robustness across split compositions.
Multiple Instance Learning (MIL) has been widely applied in histopathology to classify Whole Slide Images (WSIs) with slide-level diagnoses. While the ground truth is established by expert pathologists, the slides can be difficult to diagnose for non-experts and lead to disagreements between the annotators. In this paper, we introduce the notion of Whole Slide Difficulty (WSD), based on the disagreement between an expert and a non-expert pathologist. We propose two different methods to leverage WSD, a multi-task approach and a weighted classification loss approach, and we apply them to Gleason grading of prostate cancer slides. Results show that integrating WSD during training consistently improves the classification performance across different feature encoders and MIL methods, particularly for higher Gleason grades (i.e. worse diagnosis).
Marie Arrivat, Rémy Peyret, Elsa Angelini +1
Primaa, Paris, France · LTCI, Telecom Paris, Institut Polytechnique de Paris, France
Unpaired cross-modal distillation transfers grade structure from histopathology into a micro-ultrasound (micro-US) encoder by aligning a pooled needle-region embedding to a frozen histopathology teacher under grade-group correspondence alone. A single objective is thereby required to serve two distinct functions: rendering patch features discriminative of tissue state, and selecting which patches enter the pooled representation. We decouple them. Weak spatial supervision derived from percentage involvement, recorded routinely at biopsy, constrains the predicted proportion of malignant tissue within each core, acting on the encoder features independently of the alignment objective. The alignment loss then operates on features that differ across a core, and attention concentrates on a subset of patches rather than remaining near-uniform. On 7,166 biopsy cores from 811 patients across seven centers under patient-level 5-fold cross-validation, the method reaches 67.1 macro AUC and 68.5 csPCa AUC, against 61.2 and 52.8 for the existing unpaired alignment method and 63.1 and 62.6 for the strongest unimodal baselines. Ablation against existing attention regularizers designed to prevent attention-uniformity collapse shows that such regularizers do not substitute for label-derived supervision: they constrain the attention distribution, whereas the signal required acts on the features that attention reads.
Obed Korshie Dzikunu, Emma Willis, Mohammad Mahdi Abootorabi +7
Department of Electrical and Computer Engineering, University of British Columbia, Vancouver, Canada · Vector Institute, Toronto, Canada · School of Computing, Queen’s University, Kingston, Canada +3