PHTrans
A U-shaped 3D medical segmentation network that runs convolution and Swin Transformer blocks in parallel.
Medical imaging · 850 operations Structure only
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
- 36.4M
- Operations
- 850
- Framework
- PyTorch
- Recurrent
- No
- Published
- MICCAI 2022
- Paper
- PHTrans: Parallelly Aggregating Global and Local Representations for Medical Image Segmentation
- Cited by
- 97 (as of 27 October 2026)
- Authors
- Wentao Liu, Tong Tian, Weijin Xu and others
- Source
- GitHub: lseventeen/PHTrans
- License
- Apache-2.0
- Checked
- Structure only: shapes and data types are hypotheses, not measurements.
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
- m19111
- Graph hash
- e9cd30beacaf8fbe1a3fbfd2de6acfda6a3037f9d333ffe387a8529d877a87b7
- Skeleton hash
- 600f49f5acbbb8c325af8c11bb0348b21b11ce245989e69bf36cec656d875260
- Architecture hash
- 90cfbc5e3e26e46166ae12f42ed0deade2450974934dbc05a123e698a85e668e
- Diagram SHA-256
- c01c21666a6412e25a735c07e3685fb4ecb3c925ebdda74ae24c97912ca9f218
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
What it is
PHTrans is a medical image segmentation network that runs a Transformer and a CNN in parallel inside its main building blocks, combining global and local features. The paper's motivation is that most earlier hybrids, which embed a modular Transformer into a CNN, struggle to reach their full potential.
It keeps the U-shaped encoder-decoder layout and adds a parallel hybrid module in the deep stages, where convolution blocks learn local features and a modified 3D Swin Transformer learns global dependencies. A sequence-to-volume operation then brings the two outputs to the same dimensions so they can be aggregated. The paper reports results on the Multi-Atlas Labeling Beyond the Cranial Vault and ACDC cardiac datasets that consistently outperform the methods it compared against. Its 3D Swin Transformer block follows the Swin Transformer code, and parts of the code are reused from nnU-Net.
Key idea. PHTrans parallelly hybridizes Transformer and CNN within its main building blocks and adaptively aggregates their global and local features for medical image segmentation.
- phtrans
- medical image segmentation
- 3d medical segmentation
- hybrid transformer cnn
- swin transformer
- u-shaped network
- bcv
- acdc
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{liu2022phtransparallellyaggregatingglobal,
title={PHTrans: Parallelly Aggregating Global and Local Representations for Medical Image Segmentation},
author={Wentao Liu and Tong Tian and Weijin Xu and Huihua Yang and Xipeng Pan and Songlin Yan and Lemeng Wang},
year={2022},
eprint={2203.04568},
archivePrefix={arXiv},
primaryClass={eess.IV},
url={https://arxiv.org/abs/2203.04568},
}