XBound-Former
XBound-Former segments skin lesions with a pyramid transformer that models lesion boundaries across scales.
Medical imaging · 1,673 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Medical imaging
- Parameters
- 35.3M
- Operations
- 1,673
- Framework
- PyTorch
- Recurrent
- No
- Published
- IEEE Transactions on Medical Imaging 2023
- Cited by
- 128 (as of 30 October 2026)
- Authors
- Jiacheng Wang, Fei Chen, Yuxi Ma and others
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m21527
- Graph hash
- f70d0f2bde1f4ef364d527f0f9314a511e9b3a80518bfdfd70d0088465739af3
- Skeleton hash
- cbc29ee5340fd631d9495ecc1d7347b818c9cade2478d2d8ac4d3d09e5521f0c
- Architecture hash
- bb373632c102bdb909e51aa366774d488755283e9db39904b0b224c3135b0289
- Diagram SHA-256
- dbc70fe5b26d9fbb60eb69b1234852fe29bc88d1d72ab39a16fe753a589310cd
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
XBound-Former is a cross-scale boundary-aware transformer for skin lesion segmentation, designed to handle both the variation of lesions and their boundaries. The task is hard, the paper notes, because lesions vary considerably in size, shape and color and have ambiguous boundaries. Earlier vision transformers handle the variation through global context, the authors argue, but have not thoroughly solved the problem of ambiguous boundaries.
A pyramid vision transformer first extracts features of the input image at four scales. Three learners then add boundary knowledge. An implicit boundary learner (im-Bound) constrains the network attention to points with noticeable boundary variation. An explicit boundary learner (ex-Bound) extracts boundary knowledge and converts it into embeddings. A cross-scale boundary learner (X-Bound) uses the boundary embedding learned at one scale to guide boundary-aware attention at the other scales.
In the paper's setup the backbone is PVTv2 pre-trained on ImageNet, with two im-Bound and two ex-Bound learners by default. The paper evaluates on two skin lesion datasets, including ISIC-2018, and reports better results than the convolution- and transformer-based models it compares against, especially on boundary-wise metrics.
Key idea. XBound-Former adds implicit, explicit and cross-scale boundary learners to a pyramid vision transformer so that attention uses boundary knowledge across scales for skin lesion segmentation.
- XBound-Former
- xboundformer
- skin lesion segmentation
- boundary-aware transformer
- cross-scale boundary modeling
- dermoscopy
- medical image segmentation
- boundary learner
- polyp segmentation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2022xboundformercrossscaleboundarymodeling,
title={XBound-Former: Toward Cross-scale Boundary Modeling in Transformers},
author={Jiacheng Wang and Fei Chen and Yuxi Ma and Liansheng Wang and Zhaodong Fei and Jianwei Shuai and Xiangdong Tang and Qichao Zhou and Jing Qin},
year={2022},
eprint={2206.00806},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2206.00806},
}