[Paper Review] Multi-Task Attention-Based Semi-Supervised Learning for Medical Image Segmentation
This paper proposes Multi-Task Attention-based Semi-Supervised Learning (MASSL), a novel method that jointly optimizes segmentation and reconstruction tasks using an attention mechanism to separate foreground and background reconstruction. The approach outperforms fully supervised and pre-trained CNNs when trained on limited labeled data, with alternating training and attention mechanism significantly improving feature discriminability and segmentation accuracy on brain tumor and white matter hyperintensities datasets.
We propose a novel semi-supervised image segmentation method that simultaneously optimizes a supervised segmentation and an unsupervised reconstruction objectives. The reconstruction objective uses an attention mechanism that separates the reconstruction of image areas corresponding to different classes. The proposed approach was evaluated on two applications: brain tumor and white matter hyperintensities segmentation. Our method, trained on unlabeled and a small number of labeled images, outperformed supervised CNNs trained with the same number of images and CNNs pre-trained on unlabeled data. In ablation experiments, we observed that the proposed attention mechanism substantially improves segmentation performance. We explore two multi-task training strategies: joint training and alternating training. Alternating training requires fewer hyperparameters and achieves a better, more stable performance than joint training. Finally, we analyze the features learned by different methods and find that the attention mechanism helps to learn more discriminative features in the deeper layers of encoders.
Motivation & Objective
- Address the challenge of limited annotated medical images by leveraging large amounts of unlabeled data through semi-supervised learning.
- Overcome the limitations of standard autoencoder-based reconstruction in U-Net architectures, which fail to preserve class-specific information due to skip-connections.
- Improve feature learning in deep encoders by integrating segmentation-aware reconstruction via an attention mechanism.
- Evaluate the effectiveness of two multi-task training strategies—joint and alternating training—on segmentation performance.
- Demonstrate that attention-guided reconstruction leads to more discriminative features in deeper network layers compared to standard reconstruction.
Proposed method
- Propose a multi-task framework where a shared encoder feeds into a segmentation head (with skip-connections) and a reconstruction head (without skip-connections), forming a U-Net-like architecture.
- Introduce an attention mechanism that generates separate foreground and background masks from soft segmentation predictions, enabling class-aware reconstruction.
- Define a reconstruction loss (L2) that applies weighted MSE to reconstruct foreground and background regions independently, using attention-based masks to isolate class-specific regions.
- Implement two training strategies: joint training (simultaneous optimization of both tasks) and alternating training (sequential optimization with task-specific learning rates).
- Use a shared encoder for both tasks, allowing the reconstruction objective to guide the learning of more discriminative features in the encoder, especially in deeper layers.
- Apply the method to two medical imaging tasks: brain tumor (BraTS18) and white matter hyperintensities (WMH17) segmentation, using only a small number of labeled images and a large pool of unlabeled data.
Experimental results
Research questions
- RQ1Can an attention-based reconstruction objective improve semi-supervised medical image segmentation compared to standard autoencoder reconstruction?
- RQ2Does integrating segmentation and reconstruction through attention lead to more discriminative features in the encoder compared to standard multi-task learning?
- RQ3How do joint versus alternating training strategies affect performance and stability in multi-task semi-supervised segmentation?
- RQ4To what extent does the proposed method outperform fully supervised CNNs and pre-training baselines when only a small number of labeled images are available?
- RQ5How does the attention mechanism influence the quality of features learned in deeper layers of the encoder, as measured by linear discriminative power?
Key findings
- MASSL with alternating training achieved a Dice score of 0.7111 ± 0.02 on BraTS18 (50 labeled, 70 unlabeled), significantly outperforming the fully supervised CNN baseline (0.6670 ± 0.03) and the MSSL variant (0.6646 ± 0.03).
- On WMH17, MASSL with alternating training achieved a Dice score of 0.7204 ± 0.02, surpassing the fully supervised CNN baseline (0.6806 ± 0.03) and the MSSL baseline (0.6880 ± 0.02).
- The attention mechanism significantly improved performance: MASSL with alternating training achieved 0.7111 ± 0.02 on BraTS18, compared to 0.6670 ± 0.03 for the non-attention MSSL baseline.
- Alternating training outperformed joint training in both stability and performance, achieving higher Dice scores across all datasets without requiring hyperparameter tuning of the loss weighting coefficient γ.
- Feature analysis showed that the attention mechanism enhanced discriminative power in deeper encoder layers: MASSL achieved an R² of 0.535 ± 0.03 at level 5 (deepest layer) on BraTS18, compared to 0.486 ± 0.04 for the standard CNN.
- The ablation study confirmed that the attention mechanism is the key driver of performance gain, as MSSL (without attention) underperformed MASSL even when using the same training strategy and loss weighting.
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.