Abstract
Accurate segmentation of gastric cancer (GC) lesions using multimodal MRI is essential for effective clinical treatment planning. However, progress in this area is often stalled by the scarcity of specialized datasets and the spatial misalignment inherent in different MRI modalities. This paper introduces HWA-UNETR, a novel 3D deep learning framework, and GCM 2025, the first large-scale, open-source multimodal MRI dataset for gastric cancer. HWA-UNETR utilizes a Hierarchical Window Aggregate (HWA) block to dynamically align misaligned imaging modalities and a Tri-orientated Fusion Mamba (TFM) block for efficient global context modeling. Experimental results demonstrate that HWA-UNETR achieves state-of-the-art performance on both the GCM 2025 and BraTS 2021 datasets, significantly improving cross-modal feature integration.
Introduction
Gastric cancer remains a significant global health challenge. While multimodal MRI (combining T1-weighted, T2-weighted, and ADC imaging) offers a comprehensive view of tumor pathophysiology, two major hurdles persist: the lack of high-quality public datasets and the difficulty of fusing spatially misaligned modalities. Existing deep learning models often assume perfectly registered data, which is rarely the case in clinical practice.
To overcome these barriers, we present the Gastric Cancer MRI 2025 (GCM 2025) dataset, featuring 500 professionally annotated patient scans. Alongside this, we propose HWA-UNETR, an architecture designed to learn dynamic alignment and capture long-range dependencies in 3D volumetric data.
Methods
HWA-UNETR follows a 4-stage U-shaped encoder-decoder structure. Its innovation lies in three specialized components:
- Hierarchical Window Aggregate (HWA) Block: Located at the input stage, this block uses depthwise convolutions with varying strides and kernel sizes. It allows the network to partition windows dynamically and extract features that align images of different resolutions, addressing the misalignment problem at its source.
- Stratified Group Convolution (SGC) Block: This tri-branch module is used during downsampling to preserve spatial information and local features that are typically lost in standard pooling operations.
- Tri-orientated Fusion Mamba (TFM) Block: Integrated into skip connections, this block leverages State Space Models (Mamba) to model global features across forward, reverse, and inter-slice directions. This provides the benefits of long-range dependency modeling without the quadratic computational cost of traditional Transformers.
Results and Discussion
The model was evaluated on the new GCM 2025 dataset and the established BraTS 2021 benchmark. On GCM 2025, HWA-UNETR achieved a Dice score of 74.21%, outperforming nnUNet and Swin-UNETR. On BraTS 2021, it reached a Dice score of 92.34%, proving its robustness across different organs.
Ablation studies highlighted the critical role of each component. Removing the HWA block led to a 1.85% decrease in Dice score, confirming its effectiveness in handling misaligned data. The removal of the TFM block resulted in a drastic performance drop to 67.56%, underscoring the necessity of global context modeling for accurate 3D segmentation.
Conclusion
HWA-UNETR and the GCM 2025 dataset provide a powerful combination for advancing gastric cancer research. By solving the dual challenges of data scarcity and modality misalignment, this work sets a new standard for multimodal medical image analysis. Future research may focus on further refining boundary-level precision to improve Hausdorff Distance metrics.
Summary updated