Weakly Supervised Spatial Grounding for Discriminative Attention-Based Ultrasound-Histopathology Alignment in Prostate Cancer Grading

Obed Korshie Dzikunu, Emma Willis, Mohammad Mahdi Abootorabi, Mohamed Harmanani, Zhuoxin Guo, Ferdinand Luger, Adam Kinnaird, Brian Wodlinger, Parvin Mousavi, Purang AbolmaesumiarXiv 2026

TL;DR

Cross-modal distillation allows micro-ultrasound models to inherit fine-grained diagnostic capabilities from histopathology, but standard unpaired alignment methods suffer from "attention collapse," treating all tissue patches as equally important. By introducing a weak supervision loss based on routinely recorded biopsy data (percentage of cancer involvement), AlignUS decouples feature learning from patch selection. This simple change breaks attention uniformity, boosting the detection of clinically significant prostate cancer by over 15 AUC points.

What Problem Does This Paper Address?

Prostate cancer (PCa) grading relies on histopathology, where pathologists examine cellular architecture under a microscope. However, histopathology is only available after a biopsy is performed. During the procedure, transrectal micro-ultrasound (micro-US) provides high-resolution, real-time imaging that can guide the needle, but its acoustic signals do not directly map to cellular morphology. Consequently, standard deep learning models trained purely on micro-US images struggle to learn the fine-grained features necessary for accurate cancer grading.

To bridge this gap, researchers use cross-modal distillation—transferring knowledge from a frozen histopathology "teacher" model to a micro-US "student" model. Because exact pixel-level alignment between a 2D ultrasound frame and a 3D tissue slide is nearly impossible, state-of-the-art methods like GUIDE-US use unpaired cross-modal alignment via Attention-Based Multiple Instance Learning (ABMIL).

However, this creates a dual-responsibility problem: a single alignment objective is forced to both render patch features discriminative and select which patches to pool together. Without direct patch-level supervision, the model often defaults to an "attention-uniformity collapse," assigning nearly equal attention weights to every patch in a biopsy core, regardless of whether it contains benign or malignant tissue.

Methods

The authors propose AlignUS, a framework that decouples feature discrimination from patch selection by introducing weak spatial grounding.

Figure 1. AlignUS architecture. B-mode patches are split into needle-region and background regions using biopsy core geometry. Gated attention (A) and projection (H) form a bag embedding (A⊤H), which is aligned to histopathology embeddings via Lalign for downstream ISUP grading. A parallel branch applies an MLP to H to predict per-patch cancer probability, constrained by Lsg to match known core involvement over needle-region patches, breaking attention-uniformity collapse by injecting a spatially informative gradient.
  1. Patch Token Extraction & Aggregation: A DINOv3 ViT-L/16 backbone extracts patch tokens from the micro-US frame. Only tokens within the annotated needle-trace region are kept. These are projected into a shared embedding space.
  2. Cross-Modal Alignment: A gated attention mechanism pools the patch features into a single "bag embedding." This embedding is aligned with a frozen histopathology teacher embedding using a supervised contrastive loss ($\mathcal{L}_{\text{align}}$), which penalizes distance between different cancer grades while pulling same-grade representations closer.
  3. Involvement-Supervised Spatial Grounding: This is the core innovation. The authors leverage the "percentage involvement" (the fraction of the biopsy core containing cancer), which is routinely recorded in clinical pathology reports. A lightweight Multi-Layer Perceptron (MLP) predicts a cancer score for each individual patch. The mean of these patch scores is constrained to match the overall core involvement using a binary cross-entropy loss ($\mathcal{L}_{\text{sg}}$).

Crucially, $\mathcal{L}_{\text{sg}}$ acts directly on the patch features rather than the attention weights. By forcing the features within a single core to differentiate based on cancer probability, the alignment loss naturally gains the contrast it needs to concentrate attention on truly malignant patches.

Datasets

The study utilizes two primary datasets:

  • Histopathology (PANDA): Derived from the Prostate Cancer Grade Assessment challenge, containing 9,555 filtered whole-slide images annotated with International Society of Urological Pathology (ISUP) grades.
  • Micro-US Dataset: A large, multi-center dataset consisting of 7,166 biopsy cores from 811 patients across seven institutions. Each core includes real-time B-mode ultrasound frames, needle-trace masks, and corresponding histopathology labels (cancer diagnosis, ISUP grade group, and percentage involvement).

Key Insights and Ideas

  • Attention Regularizers Don't Fix Bad Features: Traditional multiple-instance learning methods use mathematical regularizers (like AEM or ACMIL) to force attention distributions to spread out or concentrate. The authors show that these do not substitute for label-derived supervision. Regularizers constrain the shape of the attention distribution, whereas what the model actually needs is a signal that changes the underlying features that attention reads.
  • Exploiting "Free" Clinical Metadata: Percentage involvement is a standard metric in every pathology report, meaning this weak spatial supervision adds zero annotation cost while providing a powerful gradient that breaks attention uniformity.
Table 3. Representation-level mechanism check, averaged over the evaluation set. Cosine dispersion is 1−mean pairwise cosine similarity between valid patch features within a core (post-projection H); higher values indicate more within-core heterogeneity. Attention entropy is H/ ln Nb, the Shannon entropy of the attention distribution over a core’s Nb valid patches, normalized per core by ln Nb rather than a batch-wide maximum; values near 1 indicate uniform attention, values near 0 indicate concentration on a few patches.

As shown in the mechanism validation table, adding $\mathcal{L}_{\text{sg}}$ increases within-core patch feature diversity (cosine dispersion) by roughly 70% and collapses attention entropy from a nearly uniform 0.93 down to a highly concentrated 0.30.

Key Results

AlignUS significantly outperforms both unimodal baselines and prior cross-modal alignment techniques.

Table 1. Per-grade one-vs-rest AUC (×100, mean±std over 5 patient-level folds). Best per column in bold. Cross-modal methods use histopathology at training time only.
  • Overall Performance: AlignUS achieves a 67.1 macro AUC and a 68.5 AUC for clinically significant prostate cancer (csPCa, defined as ISUP Grade Group $\ge$ 2).
  • vs. Prior Art: It beats the previous state-of-the-art unpaired alignment method, GUIDE-US, by 5.9 points in macro AUC and a massive 15.7 points in csPCa AUC.
  • Reversing the Trade-off: While some foundation models (like MedSAM-FT) score highly on low-grade cancer (GG1) by simply separating low-grade tissue from everything else, they fail on clinically significant cancer. AlignUS reverses this dangerous trade-off, sacrificing minor accuracy on benign/low-grade tissue to drastically improve detection where it matters most (GG2–GG5).

Limitations and Future Work

The primary limitation acknowledged by the authors is the lack of patch-level ground truth annotations in their micro-US dataset. While the quantitative metrics and entropy collapse prove that the model is successfully localizing something heterogeneous within the core, the authors cannot explicitly verify that the highlighted patches correspond perfectly to the exact physical boundaries of the malignant tissue. Future work involving co-registered whole-mount histopathology could help visually validate these weakly supervised spatial predictions.

Summary updated

BibTeX
@misc{dzikunu2026weakly,
  author = {Obed Korshie Dzikunu and Emma Willis and Mohammad Mahdi Abootorabi and Mohamed Harmanani and Zhuoxin Guo and Ferdinand Luger and Adam Kinnaird and Brian Wodlinger and Parvin Mousavi and Purang Abolmaesumi},
  title = {{Weakly Supervised Spatial Grounding for Discriminative Attention-Based Ultrasound-Histopathology Alignment in Prostate Cancer Grading}},
  year = {2026},
  eprint = {2609.15150},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.15150},
}
Figure