[Paper Review] MT-TransUNet: Mediating Multi-Task Tokens in Transformers for Skin Lesion Segmentation and Classification
MT-TransUNet proposes a unified Transformer-based model that jointly performs skin lesion segmentation and classification by mediating task-specific tokens and enforcing consistency across attention maps and predictions. It achieves state-of-the-art performance on ISIC-2017 and PH2 datasets with 48M parameters and 0.17s inference time, outperforming prior methods in accuracy and efficiency while leveraging both pixel-level and image-level annotations.
Recent advances in automated skin cancer diagnosis have yielded performance on par with board-certified dermatologists. However, these approaches formulated skin cancer diagnosis as a simple classification task, dismissing the potential benefit from lesion segmentation. We argue that an accurate lesion segmentation can supplement the classification task with additive lesion information, such as asymmetry, border, intensity, and physical size; in turn, a faithful lesion classification can support the segmentation task with discriminant lesion features. To this end, this paper proposes a new multi-task framework, named MT-TransUNet, which is capable of segmenting and classifying skin lesions collaboratively by mediating multi-task tokens in Transformers. Furthermore, we have introduced dual-task and attended region consistency losses to take advantage of those images without pixel-level annotation, ensuring the model's robustness when it encounters the same image with an account of augmentation. Our MT-TransUNet exceeds the previous state of the art for lesion segmentation and classification tasks in ISIC-2017 and PH2; more importantly, it preserves compelling computational efficiency regarding model parameters (48M~vs.~130M) and inference speed (0.17s~vs.~2.02s per image). Code will be available at https://github.com/JingyeChen/MT-TransUNet.
Motivation & Objective
- To address the limitation of prior methods that treat skin lesion classification as a standalone task, ignoring the benefits of lesion segmentation.
- To develop a joint learning framework that leverages shared features between segmentation and classification for improved performance.
- To enhance model robustness on images without pixel-level annotations using dual-task and attended region consistency losses.
- To achieve state-of-the-art performance while maintaining high computational efficiency compared to prior multi-task models.
- To enable data-efficient and model-efficient training and inference by sharing a single encoder across both tasks.
Proposed method
- Introduces task-specific classification and segmentation tokens within a Transformer encoder-decoder architecture to enable cross-task feature mediation.
- Employs dual-task consistency loss to align the class attention map with the segmentation map, improving generalization on weakly supervised data.
- Applies an attended region consistency loss to enforce alignment between classification and segmentation heads, especially beneficial when pixel-level annotations are absent.
- Uses a shared encoder across both tasks to reduce model parameters and accelerate inference.
- Leverages the level set function as a surrogate for segmentation supervision in semi-supervised settings to handle images without ground-truth masks.
- Designs a multi-task learning pipeline where segmentation and classification mutually guide each other through shared representations and consistency constraints.
Experimental results
Research questions
- RQ1Can joint learning of skin lesion segmentation and classification improve performance on both tasks compared to single-task approaches?
- RQ2How can consistency between classification and segmentation predictions be enforced to improve robustness, especially when only image-level labels are available?
- RQ3Can a shared Transformer-based architecture achieve state-of-the-art performance with significantly reduced model size and faster inference than prior multi-task models?
- RQ4To what extent does the proposed method generalize to different datasets without fine-tuning?
- RQ5How does the use of dual-task and attended region consistency losses impact performance on weakly supervised data?
Key findings
- MT-TransUNet achieves state-of-the-art performance on the ISIC-2017 and PH2 datasets, with a Jaccard score of 88.5/92.2 and Dice score of 93.6/95.9 in segmentation, and 97.1% accuracy in classification.
- The model reduces inference time to 0.17 seconds per image, a 91.6% improvement over MB-DCNN’s 2.02 seconds.
- With only 48 million parameters, MT-TransUNet reduces model size by 63% compared to MB-DCNN’s 130 million parameters.
- The model improves generalization performance by 3.1% in recognition accuracy and 2.8% in Jaccard score over MB-DCNN when tested on PH2 after pre-training on ISIC-2017.
- The dual-task and attended region consistency losses significantly enhance robustness to data augmentation and improve performance on images without pixel-level annotations.
- The joint training of segmentation and classification leads to mutual performance gains, demonstrating the benefit of shared representation learning in dermoscopic image analysis.
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.