Abstract
Automated brain tumor segmentation is critical for clinical diagnosis and treatment planning. While 3D Convolutional Neural Networks (CNNs) excel at capturing local features, they often struggle with long-range dependencies due to their limited receptive field. We present TransBTS, the first architecture to integrate Transformers into a 3D CNN framework for multimodal brain tumor segmentation. By leveraging the local feature extraction of convolutions and the global modeling capabilities of self-attention, TransBTS achieves state-of-the-art performance on the BraTS datasets, particularly in boundary accuracy and global structural consistency.
Introduction
Glioma segmentation in 3D MRI volumes is a challenging task due to the high variability in tumor shape, size, and location. For years, the 3D U-Net has been the dominant architecture. However, standard convolutions only process local neighborhoods, making it difficult to capture the global context necessary for understanding complex anatomical structures.
Transformers, originally designed for Natural Language Processing, use self-attention to model global dependencies. However, applying them directly to 3D medical images (e.g., as independent patches) can lead to a loss of local spatial information. TransBTS addresses this by combining a 3D CNN encoder for local feature extraction with a Transformer for global context modeling.
Methodology
The TransBTS architecture follows a hybrid encoder-decoder structure consisting of three main components:
- 3D CNN Encoder: The model first processes four MRI modalities (T1, T1ce, T2, FLAIR) through a series of 3D convolutional blocks. This stage captures local 3D context and progressively downsamples the input to generate high-level feature maps.
- Transformer Layer: The feature maps are flattened into a sequence of tokens. Learnable position embeddings are added to preserve spatial information. These tokens pass through multiple Transformer layers, where self-attention allows every voxel to attend to every other voxel in the volume, capturing long-range relationships.
- 3D CNN Decoder: The global features are reshaped back into a 3D volume. A decoder performs upsampling, utilizing skip-connections from the initial CNN encoder stages to recover fine-grained spatial details.
Experiments and Results
The model was evaluated on the BraTS 2019 and 2020 benchmarks, focusing on three nested regions: the Enhancing Tumor (ET), the Tumor Core (TC), and the Whole Tumor (WT).
Quantitative Performance
TransBTS achieved state-of-the-art results, with Dice scores on BraTS 2019 reaching 78.93% (ET), 90.00% (WT), and 81.94% (TC). Notably, the model showed significant improvements in Hausdorff Distance (95%), indicating superior boundary localization compared to pure CNN-based methods like V-Net or standard 3D U-Net.
Qualitative Analysis
Visual comparisons demonstrate that TransBTS produces cleaner and more anatomically plausible segmentation masks. While standard models like Attention U-Net often produce fragmented or noisy predictions, TransBTS maintains global structural integrity, effectively bridging the gap between local textures and global vision.
Discussion and Conclusion
The success of TransBTS highlights that Transformers and CNNs are complementary in medical imaging. The CNN handles local spatial details ("where"), while the Transformer provides global semantic context ("what").
Despite its performance, the quadratic complexity of self-attention remains a challenge for high-resolution 3D volumes. Future work will explore more memory-efficient attention mechanisms, such as linear or sparse attention, to further scale the model's capabilities without hitting hardware limits.
Summary updated