Layerwise Concept Probing of Self-Supervised Models for Interpretable Prostate Cancer Grading

Minjae Chung, Jieru Li, Shaun Qien Yeau Tan, Shaunna Wang, J. Ben Tamo, Micky C. Nnamdi, Benoit Louis Marteau, May Dongmei WangBHI 2026

TL;DR

Self-supervised vision transformers like DINOv2 and UNI are widely used as frozen "feature factories" for prostate cancer grading, but strong grading accuracy doesn't prove they actually understand pathology. By probing every layer of these models against annotations from 54 pathologists, this paper uncovers a striking blind spot for Gleason pattern 4 (GP4)—the models see its individual building blocks (like cribriform glands) clearly, yet fail to unify them into a coherent GP4 concept. On the bright side, the uncertainty (entropy) of these simple probes naturally flags the exact tissue regions where human pathologists disagree, without ever being trained to do so.

What Problem Does This Paper Address?

Gleason grading is the gold standard for deciding how aggressively to treat prostate cancer, yet it is notoriously subjective—even experienced pathologists frequently disagree, especially on Gleason pattern 4 (GP4).

To automate and standardize this, computational pathology increasingly relies on self-supervised learning (SSL) vision transformers (like DINOv2 and the pathology-specific UNI). The standard workflow is to freeze these massive pretrained models and train lightweight classifiers on top of their embeddings.

The catch? Just because a downstream classifier can decode a cancer grade from an embedding doesn't mean the embedding actually represents the morphological concepts pathologists reason with (like cribriform glands or comedonecrosis). Previous interpretability efforts mostly relied on inspecting attention maps, which doesn't test whether a specific diagnostic concept is encoded or where in the network it lives.

Methods

The authors built a layer-resolved linear probing framework—training simple linear classifiers (and 2-layer MLPs as a nonlinear check) on frozen intermediate-layer embeddings from DINOv2 ViT-B/14 (12 layers) and UNI ViT-L/16 (24 layers). They tested five ways of extracting features at different spatial scales:

  • M1 (Whole-Image CLS): Predicting the continuous fraction of each Gleason pattern in a tissue core from the global CLS token.
  • M2 (Region Mean-Pool): Uniformly averaging patch tokens inside a pathologist's freehand polygon.
  • M3 (Attention-Weighted Pool): Weighting patch tokens by the model's internal CLS-to-patch attention scores.
  • M4 (Context-Free Crop): Physically cropping and re-encoding each polygon independently.
  • M5 (Individual Patch Token): Probing single patch tokens directly to preserve spatial resolution.

Two methodological twists make this paper stand out:

  1. Noise Ceiling Normalization: If a probe performs poorly, is the model failing, or do pathologists simply disagree on the label? Using split-half reliability across the 54 annotators, the authors estimated an inter-annotator agreement ceiling ($R^2_{\text{ceil}}$) to isolate genuine representational gaps.
  2. Unsupervised Probe Entropy: They computed the normalized Shannon entropy ($\tilde{H}$) of the probe's softmax outputs at both the concept level and fine-grained subtype level to see if model uncertainty aligns with human disagreement.
Layerwise extraction-method performance across frozen DINOv2

Datasets

The study uses GleasonXAI, a dataset of 1,015 prostate cancer tissue microarrays (TMAs) annotated by 54 board-certified pathologists (~3 per TMA), yielding 26,520 polygon records and 759,133 patches. Annotations follow a three-level ISUP-derived hierarchy:

  • Level 1: Gleason patterns (GP3, GP4, GP5)
  • Level 2: 9 morphological concepts (e.g., cribriform glands, poorly formed, comedonecrosis)
  • Level 3: 28 fine-grained sub-explanations
Fig. 1. Abbreviated overview of the GleasonXAI explanatory ontology used for concept probing. The figure is organized from left to right as Level 1 Gleason patterns, Level 2 morphological concepts, and Level 3 fine-grained sub-explanations/descriptors; the original full-scale diagram and descriptor definitions are provided in the GleasonXAI resource [17].

Key Insights and Ideas

  • A reproducible GP4 blind spot: Even though GP4's individual morphologies are well encoded (e.g., cribriform reaches 89.9% of the human agreement ceiling), GP4 as an aggregate category collapses—recovering just 8.4% of its recoverable signal in DINOv2. UNI shows the same deficit, and switching to a nonlinear MLP probe doesn't fix it. GP4 is simply too morphologically heterogeneous to form a unified axis in these frozen representations.
  • Attention is not a concept explanation: Attention-weighted pooling (M3) never outperforms uniform mean pooling (M2), showing that CLS-to-patch attention does not preferentially highlight morphologically relevant tissue.
  • Concept discriminability $\neq$ uncertainty tracking: Comedonecrosis has only moderate detection accuracy but the strongest uncertainty tracking, whereas cords is easily detected (AUROC = 0.898) yet shows reversed entropy on disagreed patches—suggesting disagreement for cords happens at polygon boundaries rather than within subtypes.
  • Different depths encode different textures: Coarse subtypes (like comedonecrosis) peak at Layer 1, spatial ones at Layer 6, and fine-structural distinctions at Layer 11.

Key Results

  • Ceiling-normalized encoding (DINOv2 M1): Cords (97.6%), cribriform (89.9%), GP3 (71.1%), and GP5 (59.5%) are strongly encoded, while GP4 sits at 8.4% (95% CI: [0%, 35%]).
  • Pooling comparison: On DINOv2 MLP probes, uniform mean pooling (M2) achieves macro $F_1 = 0.824$ versus $0.811$ for attention-weighted pooling (M3). Single-patch probing (M5) reaches linear $F_1 = 0.741$.
  • Unsupervised uncertainty: Within-concept subtype entropy significantly localizes annotation-disagreed patches for 4 of 6 qualifying concepts after Bonferroni correction, led by comedonecrosis (AUROC = 0.636, Cohen's $d = 0.46$).

Limitations and Future Work

The authors note that while cross-source consistency across GleasonXAI's three acquisition subsets is high (mean Spearman $r = 0.87$), validation on an independent external prostate cohort is still needed. Additionally, datasets with more raters per TMA ($\ge 5$ pathologists) would enable finer continuous uncertainty estimates, and prospective human-AI studies are required to test whether uncertainty-guided review actually improves clinical grading accuracy or efficiency.

Summary updated

BibTeX
@inproceedings{chung2026layerwise,
  author = {Minjae Chung and Jieru Li and Shaun Qien Yeau Tan and Shaunna Wang and J. Ben Tamo and Micky C. Nnamdi and Benoit Louis Marteau and May Dongmei Wang},
  title = {{Layerwise Concept Probing of Self-Supervised Models for Interpretable Prostate Cancer Grading}},
  booktitle = {BHI},
  year = {2026},
  url = {https://openreview.net/forum?id=EQgcr2LiPN},
}
Figure