All models

TM-UNet

Lightweight medical image segmentation network built on multi-scale token-memory blocks.

Medical imaging · 756 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 (72 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
5.8M
Operations
756
Framework
PyTorch
Recurrent
No
Published
ISBI 2026 (oral)
Cited by
5 (as of 29 October 2026)
Authors
Yaxuan Jiao, Qing Xu, Yuxiang Luo 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
m20810
Graph hash
5fddc3c8efad75974a4bfc61b1bccb4d40d1faf1067e5b7e695fb1e1fbda2da5
Skeleton hash
a0f4f43d36f09a561534daa938db93df166be82c34575cb599c32ff55674ab9e
Architecture hash
7c41b13c03d29aca3fa11f412ebce6a5aea8fdc942454e65e8c40ada3c0736d2
Diagram SHA-256
d3f2b6c21de7f5963f6b14b7f0376869b99175ebb7fe1d84e6c9044414072a25
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

TM-UNet is a lightweight framework for medical image segmentation that combines token sequence modeling with an efficient memory mechanism. The paper's motivation is that the high computational cost of transformer-based methods hinders clinical deployment.

Its building block is the multi-scale token-memory (MSTM) block, which turns 2D spatial features into token sequences by spatial scanning and uses matrix memory cells to selectively retain and propagate contextual information across tokens. The paper describes this token-memory mechanism as a dynamic knowledge store that captures long-range dependencies with linear complexity. The block also uses exponential gating to identify token effectiveness and extracts multi-scale context through parallel pooling operations.

The paper reports that TM-UNet outperforms the methods it compares against across diverse medical segmentation tasks with substantially reduced computation cost. The repository labels the paper an ISBI 2026 Oral. Its acknowledgements list Vision-xLSTM and PoolFormer.

Key idea. TM-UNet introduces a multi-scale token-memory block that scans 2D spatial features into token sequences and uses matrix memory cells to retain and propagate context across tokens.

  • TM-UNet
  • Token-Memory UNet
  • medical image segmentation
  • token-memory
  • MSTM block
  • multi-scale token-memory
  • lightweight segmentation
  • efficient medical segmentation

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

Cite the paper

@misc{jiao2025tmunettokenmemoryenhancedsequential,
      title={TM-UNet: Token-Memory Enhanced Sequential Modeling for Efficient Medical Image Segmentation}, 
      author={Yaxuan Jiao and Qing Xu and Yuxiang Luo and Xiangjian He and Zhen Chen and Wenting Duan},
      year={2025},
      eprint={2511.12270},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2511.12270}, 
}