U-RWKV: Lightweight medical image segmentation with direction-adaptive RWKV

Hongbo Ye, Fenghe Tang, Peiang Zhao, Zhen Huang, Dexin Zhao +2 more
7/15/2025
eess.IVcs.AIcs.CV

Official code: hbyecoding/U-RWKV (44 stars, MIT, last commit 2025-06-06).

Abstract

Achieving equity in healthcare accessibility requires lightweight yet high-performance solutions for medical image segmentation, particularly in resource-limited settings. Existing methods like U-Net and its variants often suffer from limited global Effective Receptive Fields (ERFs), hindering their ability to capture long-range dependencies. To address this, we propose U-RWKV, a novel framework leveraging the Recurrent Weighted Key-Value(RWKV) architecture, which achieves efficient long-range modeling at O(N) computational cost. The framework introduces two key innovations: the Direction-Adaptive RWKV Module(DARM) and the Stage-Adaptive Squeeze-and-Excitation Module(SASE). DARM employs Dual-RWKV and QuadScan mechanisms to aggregate contextual cues across images, mitigating directional bias while preserving global context and maintaining high computational efficiency. SASE dynamically adapts its architecture to different feature extraction stages, balancing high-resolution detail preservation and semantic relationship capture. Experiments demonstrate that U-RWKV achieves state-of-the-art segmentation performance with high computational efficiency, offering a practical solution for democratizing advanced medical imaging technologies in resource-constrained environments. The code is available at https://github.com/hbyecoding/U-RWKV.

View on arXivView PDF

Code Implementations(1)

hbyecoding/U-RWKVOfficial100%
MIT

Code of U-RWKV

441C++, CudaMay 18, 20251 years agoMIT

Similar Papers

Cite this paper

@article{ye2025urwkv,
  title  = {U-RWKV: Lightweight medical image segmentation with direction-adaptive RWKV},
  author = {Hongbo Ye and Fenghe Tang and Peiang Zhao and Zhen Huang and Dexin Zhao and Minghao Bian and S. Kevin Zhou},
  year   = {2025},
  eprint = {2507.11415},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.11415v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.11415.svg)](https://codeofpaper.com/paper/2507.11415)

Discussion