[Paper Review] SegTransVAE: Hybrid CNN -- Transformer with Regularization for medical image segmentation
SegTransVAE proposes a hybrid 3D CNN-Transformer architecture with a variational autoencoder (VAE) branch for medical image segmentation, combining local feature extraction via 3D CNNs, global context modeling through transformers, and self-supervised reconstruction via VAE to improve generalization. It achieves state-of-the-art performance on BraTS and KiTS19 datasets, outperforming 3D U-Net, UNETR, and SegresnetVAE in Dice Score and 95%-Hausdorff Distance while maintaining inference speed comparable to lightweight CNNs.
Current research on deep learning for medical image segmentation exposes their limitations in learning either global semantic information or local contextual information. To tackle these issues, a novel network named SegTransVAE is proposed in this paper. SegTransVAE is built upon encoder-decoder architecture, exploiting transformer with the variational autoencoder (VAE) branch to the network to reconstruct the input images jointly with segmentation. To the best of our knowledge, this is the first method combining the success of CNN, transformer, and VAE. Evaluation on various recently introduced datasets shows that SegTransVAE outperforms previous methods in Dice Score and $95\%$-Haudorff Distance while having comparable inference time to a simple CNN-based architecture network. The source code is available at: https://github.com/itruonghai/SegTransVAE.
Motivation & Objective
- To address the limitations of CNNs in capturing long-range spatial dependencies and transformers in lacking inductive bias and generalizing under low-data regimes in medical image segmentation.
- To improve segmentation accuracy by jointly training for segmentation and self-reconstruction via a VAE branch to reduce overfitting and enhance feature learning.
- To combine the strengths of 3D CNNs (local invariance), transformers (global attention), and VAEs (regularization) in a unified encoder-decoder framework.
- To achieve state-of-the-art performance on challenging medical imaging benchmarks with competitive inference speed.
Proposed method
- The encoder uses stacked modified-ResNet blocks with instance normalization and Leaky ReLU to extract hierarchical 3D local features from input volumes.
- The 3D feature map is flattened and projected into a d-dimensional embedding space using a learnable linear projection, with learnable position embeddings added to preserve spatial structure.
- A stack of multi-head attention and feed-forward network layers forms the transformer encoder, enabling global feature modeling with self-attention across all patches.
- A feature mapping module reshapes the transformer output back into a 3D feature map and reduces channel dimension via a convolutional block for decoder input.
- A VAE branch is attached to the final transformer layer to reconstruct the input image, providing regularization and improving generalization on limited data.
- The decoder uses 3D transposed convolutions with skip connections from the encoder to reconstruct high-resolution segmentation masks.
Experimental results
Research questions
- RQ1Can a hybrid CNN-Transformer architecture with VAE-based self-supervised reconstruction improve segmentation performance on medical imaging tasks?
- RQ2Does the integration of VAE regularization reduce overfitting and improve generalization, especially on small medical datasets?
- RQ3Can the combination of local (CNN) and global (transformer) feature learning outperform pure CNN or pure transformer models in segmentation accuracy?
- RQ4How does the proposed architecture compare in inference speed and parameter efficiency to existing state-of-the-art models?
Key findings
- On the BraTS 2021 dataset, SegTransVAE achieved a Dice Score of 85.48% for enhancing tumor (ET), 90.52% for whole tumor (WT), and 92.60% for tumor core (TC), outperforming 3D U-Net, UNETR, and SegresnetVAE.
- SegTransVAE achieved a 95%-Hausdorff Distance of 2.89 mm (ET), 3.57 mm (WT), and 5.84 mm (TC), showing significant improvement over baseline methods.
- On the KiTS19 dataset, SegTransVAE achieved a Dice Score of 95.28% for kidney and 66.31% for tumor, outperforming 3D U-Net, UNETR, and SegresnetVAE in both metrics.
- The 95%-Hausdorff Distance for kidney segmentation was 3.28 mm, significantly lower than 3D U-Net (6.32 mm) and UNETR (8.84 mm).
- SegTransVAE achieved 44.7 million parameters and an inference time of 0.45 seconds, comparable to 3D U-Net (5.6M params, 0.45s) and faster than SegresnetVAE (7.5M params, 0.55s).
- Despite having more parameters than 3D U-Net, SegTransVAE achieved lower GFLOPs (607.5) than 3D U-Net (1000+), indicating higher computational efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.