Introduction
Head and neck (H&N) cancer remains a significant global health challenge. Effective treatment, particularly targeted radiotherapy, necessitates the precise delineation of tumor boundaries—a task currently performed manually by radiologists through the painstaking analysis of Computed Tomography (CT) and Positron Emission Tomography (PET) scans. While Convolutional Neural Networks (CNNs) like the U-Net have automated much of this process, they often suffer from a "local" bias, potentially missing the broader global context of anatomical structures.
This study explores whether Vision Transformers (ViTs), which have revolutionized natural language processing by capturing long-range dependencies, can challenge the dominance of CNNs in 3D medical image segmentation. By implementing the UNETR architecture, the researchers demonstrate that transformers are a viable and powerful alternative for clinical automation in oncology.
Methodology
The core of this research is the UNETR (U-Net TRansformer), a hybrid architecture designed to leverage the strengths of both transformers and convolutions.
The architecture consists of:
- Transformer Encoder: Unlike traditional CNNs, the encoder uses a ViT backbone. It partitions the 3D input volume into patches and utilizes self-attention mechanisms to learn global spatial relationships across the entire scan.
- CNN Decoder: To recover spatial resolution, a CNN-based decoder upsamples the transformer's features, ultimately producing a high-resolution segmentation mask.
The model processes multi-modal data by treating CT (structural) and PET (metabolic) scans as separate input channels. To address the class imbalance inherent in tumor segmentation—where the target volume is small relative to the background—the authors utilized a composite loss function combining Soft Dice and Focal loss.
Experimental Setup
The study utilized the HECKTOR 2021 dataset, comprising 325 patient cases from six medical centers. The data was split into 224 cases for training and 101 for testing. Preprocessing involved resampling all scans to a consistent 1.0mm voxel spacing and cropping them to a 144x144x144mm³ bounding box centered on the head and neck region.
To enhance model robustness, extensive data augmentation was applied. The researchers found that mirroring and rotation were particularly effective, likely because they reflect the natural bilateral symmetry of human anatomy.
Results and Discussion
The UNETR model demonstrated highly competitive performance against state-of-the-art CNNs. On the testing set, it achieved a mean Dice Similarity Coefficient (DSC) of 0.736, with a precision of 0.773 and a recall of 0.760. This performance is remarkably close to the 2020 HECKTOR competition winner (an SE-based U-Net), trailing by only 0.023 in DSC.
Qualitative analysis (as seen in the figure above) suggests that the transformer's global context acts as a "safety net." In cases with significant image noise or artifacts, the transformer was often better at maintaining orientation and identifying tumor locations where CNNs struggled. However, all models faced difficulties with very small tumors and dental implant artifacts in CT scans.
Interestingly, the "zooming" augmentations that typically benefit CNNs did not yield significant gains for UNETR. This suggests that the ViT backbone processes multi-scale information differently than hierarchical convolutional layers.
Conclusion
Transformers have officially emerged as a promising frontier for 3D medical image segmentation. While they have not yet decisively overtaken the most mature CNN architectures in this specific task, their ability to capture global context provides a unique advantage. Future breakthroughs are expected to come from self-supervised pre-training on large unlabeled datasets, which could unlock the full potential of transformers in the medical domain, eventually surpassing traditional convolutional approaches.
Summary updated