[Paper Review] XBound-Former: Toward Cross-scale Boundary Modeling in Transformers
XBound-Former proposes a cross-scale boundary-aware transformer for skin lesion segmentation that integrates implicit, explicit, and cross-scale boundary modeling via three dedicated attention-based learners. It achieves state-of-the-art performance, especially on boundary-related metrics, outperforming both CNN and transformer-based models on ISIC-2016&PH2 and ISIC-2018 datasets.
Skin lesion segmentation from dermoscopy images is of great significance in the quantitative analysis of skin cancers, which is yet challenging even for dermatologists due to the inherent issues, i.e., considerable size, shape and color variation, and ambiguous boundaries. Recent vision transformers have shown promising performance in handling the variation through global context modeling. Still, they have not thoroughly solved the problem of ambiguous boundaries as they ignore the complementary usage of the boundary knowledge and global contexts. In this paper, we propose a novel cross-scale boundary-aware transformer, extbf{XBound-Former}, to simultaneously address the variation and boundary problems of skin lesion segmentation. XBound-Former is a purely attention-based network and catches boundary knowledge via three specially designed learners. We evaluate the model on two skin lesion datasets, ISIC-2016\&PH$^2$ and ISIC-2018, where our model consistently outperforms other convolution- and transformer-based models, especially on the boundary-wise metrics. We extensively verify the generalization ability of polyp lesion segmentation that has similar characteristics, and our model can also yield significant improvement compared to the latest models.
Motivation & Objective
- Address the challenge of ambiguous and variable skin lesion boundaries in dermoscopy images, which remain difficult even for dermatologists.
- Overcome the limitations of existing vision transformers that fail to effectively leverage boundary knowledge and global context in a multi-scale manner.
- Develop a purely attention-based architecture that integrates boundary supervision without relying on convolutional inductive bias.
- Improve segmentation accuracy by explicitly modeling boundaries at multiple scales and enabling cross-scale guidance.
- Demonstrate generalization to other medical image segmentation tasks with similar boundary ambiguity, such as polyp segmentation.
Proposed method
- Introduces an implicit boundary learner (im-Bound) that focuses self-attention on regions with high boundary variation, enhancing local context while preserving global modeling.
- Proposes an explicit boundary learner (ex-Bound) that detects and embeds boundary key-points at multiple scales, providing multi-scale boundary representations.
- Designs a cross-scale boundary learner (X-Bound) that uses boundary embeddings from one scale to guide attention in other scales, enabling cross-scale boundary refinement.
- Employs a dual-branch transformer architecture where boundary knowledge is learned and fused without shared backbone weights, reducing interference between tasks.
- Uses a learnable query mechanism to dynamically attend to boundary-aware features, integrating boundary supervision directly into the self-attention mechanism.
- Optimizes the model using a combination of standard segmentation loss and boundary-aware supervision, with ablation studies validating each component.
Experimental results
Research questions
- RQ1Can a purely attention-based transformer effectively model ambiguous boundaries in skin lesion segmentation without convolutional inductive bias?
- RQ2How does multi-scale boundary representation learning improve segmentation performance on lesions with variable size, shape, and low contrast?
- RQ3To what extent does cross-scale guidance between different resolution features enhance boundary localization accuracy?
- RQ4Can the proposed boundary modeling components generalize beyond skin lesion segmentation to other medical imaging tasks with similar challenges?
- RQ5What is the optimal trade-off between model complexity and performance when scaling the number of boundary learners?
Key findings
- XBound-Former achieves state-of-the-art performance on both ISIC-2016&PH2 and ISIC-2018 datasets, with significant improvements in boundary-related metrics such as DSC and HD.
- The ablation study confirms that all three components—im-Bound, ex-Bound, and X-Bound—contribute to performance gains, with X-Bound providing the most substantial improvement in boundary accuracy.
- The model outperforms existing CNN-based and transformer-based methods, particularly on lesions with ambiguous or poorly defined edges.
- Generalization to polyp segmentation is validated, where XBound-Former achieves significant performance gains over the latest models on the same benchmark.
- The optimal configuration uses two im-Bound and two ex-Bound learners (N_im=2, N_ex=2), balancing accuracy and inference efficiency.
- Despite strong performance, the model still struggles with extremely low-contrast lesions, indicating room for improvement through fusion with low-level feature extractors.
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.