All models

ScribFormer

ScribFormer segments medical images from scribble annotations using CNN, Transformer and class activation map branches.

Medical imaging · 1,111 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (77 KB)

Open in a new tab

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

Parameters
47.9M
Operations
1,111
Framework
PyTorch
Recurrent
No
Published
IEEE Transactions on Medical Imaging 2024
Cited by
175 (as of 30 October 2026)
Authors
Zihan Li, Yuan Zheng, Dandan Shan and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m20289
Graph hash
68cf690c85a209a2b13b4031af565ead28e1fb283c69157725cdf184021da5e3
Skeleton hash
04b68da01543ee6611e5fa884fee94010619c873b9c5e687ff1fad4ade4d849f
Architecture hash
6163d714abf668062210df9f9fcbd9363cd317d88aefc3accbda8cc9feed6694
Diagram SHA-256
1bf514fb03592e7244e5496e79837078d1dfe3790793a00db52fa4b582bd189e
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

ScribFormer is a CNN-Transformer hybrid for scribble-supervised medical image segmentation. The paper starts from the observation that scribble-supervised methods usually use a CNN encoder-decoder, whose local receptive field makes it hard to learn global shape from the limited information in scribble annotations.

The model has three branches: a CNN branch, a Transformer branch, and an attention-guided class activation map (ACAM) branch. The CNN and Transformer branches work together to fuse local features learned by the CNN with global representations from the Transformer. The ACAM branch helps unify the shallow and deep convolution features.

The paper reports experiments on two public datasets and one private dataset, with ScribFormer ahead of the scribble-supervised methods it was compared against. It also reports better results than the fully-supervised segmentation methods. The repository gives data sources and commands for the ACDC and MSCMR datasets, both of which have released scribble annotations.

Key idea. ScribFormer pairs a CNN branch with a Transformer branch and an attention-guided class activation map branch so scribble-supervised segmentation can combine local features with global representations.

  • ScribFormer
  • scribble-supervised segmentation
  • scribble annotations
  • medical image segmentation
  • CNN-Transformer hybrid
  • attention-guided class activation map
  • ACAM
  • ACDC
  • MSCMR

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{li2024scribformertransformermakescnn,
      title={ScribFormer: Transformer Makes CNN Work Better for Scribble-based Medical Image Segmentation}, 
      author={Zihan Li and Yuan Zheng and Dandan Shan and Shuzhou Yang and Qingde Li and Beizhan Wang and Yuanting Zhang and Qingqi Hong and Dinggang Shen},
      year={2024},
      eprint={2402.02029},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2402.02029}, 
}