U-KAN
A U-Net for medical image segmentation whose deeper blocks apply KAN layers to tokenized features.
Medical imaging · 1,033 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
- 6.4M
- Operations
- 1,033
- Framework
- PyTorch
- Recurrent
- No
- Published
- AAAI 2025
- Cited by
- 376 (as of 28 October 2026)
- Authors
- Chenxin Li, Xinyu Liu, Wuyang Li and others
- Source
- GitHub: CUHK-AIM-Group/U-KAN
- 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
- m21098
- Graph hash
- 9adbcf63c009b47426e811087c2080e9560368ce7641fad16e5a0b48e47b18c7
- Skeleton hash
- bb384a754ba75d4e2495e3fd0c11d8a66042717a1702431d2829d310499edfeb
- Architecture hash
- b06ae65514432908bc909e236ccbce99807e6fb212de2a90198c375ce721c14c
- Diagram SHA-256
- c34d6953d47bb1ca06080380eac2f6bb8b177648b3b7e5a5744e5b96877b5ca1
- 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
U-KAN is a U-Net-style network for medical image segmentation that places Kolmogorov-Arnold Network (KAN) layers on the tokenized intermediate features. KANs, as the paper describes them, build a network from stacks of non-linear learnable activation functions derived from the Kolmogorov-Arnold representation theorem. The authors' motivation is that U-Net variants built with transformers or MLPs still model patterns linearly and offer limited interpretability.
The encoder runs three convolution blocks and then two tokenized blocks, and the decoder runs two tokenized KAN blocks followed by three convolution blocks. Each encoder block halves the feature resolution, each decoder block doubles it, and skip connections link the two sides. Inside a tokenized KAN block, the tokens pass through three KAN layers, each followed by a depth-wise convolution.
The default model's channel numbers for the first to third KAN layers are 128-160-256. Segmentation models were trained on the BUSI, GlaS and CVC datasets. The repository also provides a baseline, selected with --no_kan, in which the KAN layers are replaced with MLP layers. The paper also adapts the design as the noise predictor of a diffusion model, called Diffusion U-KAN, in which a time embedding is injected into the KAN blocks.
Key idea. U-KAN redesigns the U-Net pipeline by applying KAN layers to tokenized intermediate features, and the paper tests it for medical image segmentation and as a diffusion noise predictor.
- U-KAN
- UKAN
- Seg U-KAN
- Diffusion U-KAN
- tokenized KAN block
- medical image segmentation
- KAN segmentation backbone
- Kolmogorov-Arnold U-Net
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{li2024ukanmakesstrongbackbone,
title={U-KAN Makes Strong Backbone for Medical Image Segmentation and Generation},
author={Chenxin Li and Xinyu Liu and Wuyang Li and Cheng Wang and Hengyu Liu and Yifan Liu and Zhen Chen and Yixuan Yuan},
year={2024},
eprint={2406.02918},
archivePrefix={arXiv},
primaryClass={eess.IV},
url={https://arxiv.org/abs/2406.02918},
}