All models

transbts_brain_tumor

A 3D CNN encoder-decoder with a Transformer in the middle that segments brain tumors in multimodal MRI.

Medical imaging · 73 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 (25 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
45.1K
Operations
73
Framework
PyTorch
Recurrent
No
Published
Lecture Notes in Computer Science (arXiv 2021)
Cited by
965 (as of 9 October 2026)
Authors
Wenxuan Wang, Chen Chen, Meng Ding and others
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
m12193
Graph hash
a704038be81d30c087ddd79d42866c3e425eb2501b169a7da09476e94513ea2d
Skeleton hash
162cc40b61fee45c42b7b7eb7ba697c52ca581a95fe860ae486d711e7cfa8c89
Architecture hash
fe92b05f3f382b5048af4ddb557220a56b49eadd350e566b2aa3c5e74fb115d3
Diagram SHA-256
2fe33f23392929128a15dca0d7825c6eb076ce758835d841eb26e4ff92e0b518
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.transbts_brain_tumor:build_transbts: build({})

What it is

TransBTS segments brain tumors in 3D MRI scans with a Transformer placed inside a 3D convolutional encoder-decoder. Convolution kernels have limited receptive fields, which makes long-distance dependence hard to build, and the Transformer encoder models that dependency in a global space.

The encoder stacks 3 × 3 × 3 convolution blocks with strided downsampling until the feature map is 1/8 of the input in height, width and depth. A linear projection raises the channel dimension from 128 to 512, the map is flattened into a sequence of tokens, and learnable position embeddings are added. The Transformer encoder is a stack of standard layers, each a multi-head attention block and a feed-forward network. The decoder turns the tokens back into a feature map and recovers full resolution with cascaded upsampling and convolution blocks, with encoder features concatenated in through skip connections.

Each input has four MRI modalities: T1, post-contrast T1, T2 and FLAIR. On the BraTS 2019 validation set the paper reports Dice scores of 78.93%, 90.00% and 81.94% for the enhancing tumor, whole tumor and tumor core regions. On the BraTS 2020 validation set it reports 78.73%, 90.09% and 81.73%. The paper reports 32.99M parameters and 333G FLOPs for TransBTS. The network is trained from scratch, without pre-trained weights.

Key idea. TransBTS places a Transformer between a 3D CNN encoder and a 3D CNN decoder so that brain tumor segmentation draws on both local volumetric features and global context.

  • TransBTS
  • brain tumor segmentation
  • 3D MRI
  • multimodal MRI
  • volumetric segmentation
  • 3D CNN
  • Transformer
  • BraTS
  • glioma
  • medical image segmentation

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

Cite the paper

@misc{wang2021transbtsmultimodalbraintumor,
      title={TransBTS: Multimodal Brain Tumor Segmentation Using Transformer}, 
      author={Wenxuan Wang and Chen Chen and Meng Ding and Jiangyun Li and Hong Yu and Sen Zha},
      year={2021},
      eprint={2103.04430},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2103.04430}, 
}