Abstract
Accurate segmentation of prostate cancer (PCa) from multimodal MRI is critical for diagnosis and treatment planning but remains challenging due to tumor heterogeneity and the need for expert manual delineation. This paper presents PCaSAM, a fully automated deep learning framework that adapts the MedSAM foundation model for multimodal PCa segmentation. By introducing a Multi-modal Fusion Module (MFM) and an automated Prompt Generation Module (PGM), PCaSAM overcomes the modality-blindness and semi-automated nature of existing foundation models. Evaluated on a multi-center dataset of 1,431 cases, PCaSAM demonstrates state-of-the-art performance, high parameter efficiency, and robust generalization across external datasets.
Introduction
Prostate cancer is a major global health concern, with Magnetic Resonance Imaging (MRI) serving as the primary diagnostic tool. However, the manual segmentation of tumor boundaries is subjective and time-consuming. While traditional deep learning architectures like U-Net have been employed, they often struggle with the noise and variability of MRI data. Foundation models like MedSAM offer a promising alternative but are typically limited to single-modality inputs and require manual prompts (e.g., bounding boxes), hindering full automation in clinical workflows.
Methods
PCaSAM extends the MedSAM architecture through two primary innovations:
- Multi-modal Fusion Module (MFM): This module integrates T2-weighted, DWI, and ADC sequences using Multi-Head Cross-Attention (MHCA) and Multi-Scale Modality Attention (MSMA). This allows the model to selectively focus on the most informative features across different MRI sequences.
- Prompt Generation Module (PGM): To achieve full automation, the PGM generates bounding box prompts iteratively. It starts with a coarse mask from a prompt-free network branch, which is then refined to produce precise guidance for the final segmentation.
Crucially, the authors kept the core MedSAM weights frozen, training only the newly introduced adapter modules. This strategy leverages the rich feature representations of the foundation model while minimizing computational overhead.
Datasets and Evaluation
The model was developed and validated using a diverse dataset of 1,431 cases from multiple institutions, including Prostate158, PI-CAI, and PMUB (UCLA Health). External generalization was tested on datasets from Beijing Hospital (IPS-A) and the Third Medical Center of Chinese PLA General Hospital (IPS-B). Ground truth was established by senior radiologists with 16–18 years of experience, using both consensus reads and pathology-confirmed results.
Results
PCaSAM achieved a Dice Similarity Coefficient (DSC) of 0.721 on internal data and 0.706 on external data, significantly outperforming the base MedSAM model by 8.7% to 14.7%. Furthermore, using PCaSAM's automated masks improved the Area Under the Curve (AUC) for PI-RADS scoring by 8.3–8.9%.
Efficiency and Training Dynamics
One of the most significant advantages of PCaSAM is its efficiency. By leveraging a frozen foundation model, PCaSAM requires only 12.48 million trainable parameters—approximately 36% of the parameters required by a standard U-Net.
This reduced parameter count translates to faster convergence. PCaSAM reaches its peak performance in just 5 training epochs, whereas competing specialized architectures often require 15 or more.
Discussion
PCaSAM demonstrates that generalist foundation models can be effectively "unlocked" for specialized medical tasks through lightweight adapters. The integration of multimodal data provides a synergistic boost in segmentation accuracy, particularly when combining anatomical and functional MRI sequences. While future work will aim to include additional modalities like DCE imaging and further refine the automated prompt generation, PCaSAM represents a significant step toward robust, fully automated clinical tools for prostate cancer management.
Summary updated