TRUSformer: improving prostate cancer detection from micro-ultrasound using attention and self-supervision

Mahdi Gilany, Paul F. R. Wilson, Andrea Perera-Ortega, Amoon Jamzad, Minh Nguyen Nhat To, Fahimeh Fooladgar, Brian Wodlinger, Purang Abolmaesumi, Parvin Mousavi · DOI

Introduction

Prostate cancer (PCa) remains a leading cause of cancer-related mortality among men. The standard diagnostic pathway typically involves trans-rectal ultrasound (TRUS) guided biopsies. However, conventional ultrasound often lacks the resolution to distinguish cancerous lesions from benign tissue, leading to "systematic" biopsies where clinicians take 10–12 samples blindly across the gland. While multi-parametric MRI (mp-MRI) has improved targeting, it is expensive, time-consuming, and requires complex image registration during the biopsy procedure.

Recent advances in deep learning have attempted to automate PCa detection directly from ultrasound. However, these efforts are often hindered by the "weak labeling" problem: while a pathology report provides a ground-truth label for an entire biopsy core (a long strip of tissue), it does not specify which exact regions within that core contain cancer. Previous models focused on small, isolated Regions of Interest (ROIs), which fail to capture the broader spatial context that pathologists use to identify malignant patterns.

The TRUSformer Framework

To address these limitations, the authors introduce TRUSformer, a multi-scale deep learning framework designed for high-resolution micro-ultrasound (29 MHz). TRUSformer shifts the focus from individual ROIs to the entire biopsy core, treating the needle trace as a sequence of related tissue samples.

Stage 1: Self-Supervised Feature Extraction

Because histopathology labels are noisy at the ROI level, training a supervised model from scratch often leads to poor generalization. TRUSformer overcomes this using Self-Supervised Learning (SSL). Specifically, the researchers employed VICReg (Variance-Invariance-Covariance Regularization) to train a ResNet-10 backbone on raw radio-frequency (RF) ultrasound data. By learning to identify robust tissue features without relying on labels, the model creates a high-fidelity representation of ultrasound signatures before any classification occurs.

Stage 2: Core-Scale Transformer

In the second stage, a biopsy core is represented as a "bag" of 55 overlapping ROIs. These ROIs are processed by the pre-trained SSL encoder, and the resulting feature vectors are fed into a Transformer encoder (comprising 12 blocks and 8 attention heads).

The Transformer’s self-attention mechanism allows the model to weigh the importance of different regions relative to one another. This mimics the clinical workflow where a pathologist surveys the entire length of a biopsy slide to identify suspicious cellular architectures, effectively providing the "contextual intelligence" missing from previous ROI-based approaches.

Experimental Results

The model was developed and validated using a multi-center dataset of 578 patients (6,607 biopsy cores) captured with the ExactVu micro-ultrasound system.

Performance Metrics

TRUSformer demonstrated a significant performance leap over traditional methods:

  • AUROC: 80.3% (compared to 76.3% for supervised ROI models and 63.0% for standard Multiple Instance Learning).
  • Sensitivity: 88.0%, matching the performance levels of mp-MRI reported in major clinical trials like PROMIS.
  • Specificity: 51.2%, which exceeds the typical specificity of mp-MRI (approx. 45%) in similar diagnostic settings.

Explainability and Biological Alignment

Beyond binary classification, the model exhibited two remarkable emergent properties:

  1. Automated Localization: By analyzing the Transformer's attention maps, the researchers could visualize which ROIs the model prioritized. These maps frequently aligned with the cancer involvement percentages reported by pathologists and successfully ignored non-prostatic tissue (like fat or connective tissue) outside the gland.
  2. Gleason Clustering: Although the model was never explicitly trained on cancer grades, a UMAP projection of its internal features showed distinct clustering based on Gleason Scores. This suggests that TRUSformer is capturing fundamental biological signatures of cancer severity rather than just simple image artifacts.

Conclusion and Future Work

TRUSformer demonstrates that combining self-supervised pre-training with attention-based architectures can overcome the inherent labeling challenges in medical imaging. By analyzing the biopsy core as a holistic unit, the model achieves state-of-the-art performance that rivals mp-MRI in sensitivity and specificity.

While the model occasionally struggles with non-prostatic tissue outliers, future refinements in data diversity and prospective clinical trials could pave the way for real-time, AI-guided micro-ultrasound biopsies, potentially reducing the need for expensive MRI-fusion workflows and improving the accuracy of prostate cancer diagnosis.

Summary updated

BibTeX
@article{gilany2023trusformer,
  author = {Mahdi Gilany and Paul F. R. Wilson and Andrea Perera-Ortega and Amoon Jamzad and Minh Nguyen Nhat To and Fahimeh Fooladgar and Brian Wodlinger and Purang Abolmaesumi and Parvin Mousavi},
  title = {{TRUSformer: improving prostate cancer detection from micro-ultrasound using attention and self-supervision}},
  journal = {Int. J. Comput. Assist. Radiol. Surg.},
  year = {2023},
  doi = {10.1007/s11548-023-02949-4},
}
Figure