Skip to main content
QUICK REVIEW

[Paper Review] RWKV-UNet: Improving UNet with Long-Range Cooperation for Effective Medical Image Segmentation

Juntao Jiang, Jiangning Zhang|ArXiv.org|Jan 14, 2025
Radiomics and Machine Learning in Medical ImagingMedicine3 citations
TL;DR

RWKV-UNet integrates Receptance Weighted Key Value (RWKV) with U-Net to capture long-range dependencies, using an IR-RWKV encoder and a Cross-Channel Mix module to achieve state-of-the-art results on multiple medical image segmentation benchmarks, with smaller variants for efficiency.

ABSTRACT

In recent years, significant advancements have been made in deep learning for medical image segmentation, particularly with convolutional neural networks (CNNs) and transformer models. However, CNNs face limitations in capturing long-range dependencies, while transformers suffer from high computational complexity. To address this, we propose RWKV-UNet, a novel model that integrates the RWKV (Receptance Weighted Key Value) structure into the U-Net architecture. This integration enhances the model's ability to capture long-range dependencies and to improve contextual understanding, which is crucial for accurate medical image segmentation. We build a strong encoder with developed Global-Local Spatial Perception (GLSP) blocks combining CNNs and RWKVs. We also propose a Cross-Channel Mix (CCM) module to improve skip connections with multi-scale feature fusion, achieving global channel information integration. Experiments on 11 benchmark datasets show that the RWKV-UNet achieves state-of-the-art performance on various types of medical image segmentation tasks. Additionally, smaller variants, RWKV-UNet-S and RWKV-UNet-T, balance accuracy and computational efficiency, making them suitable for broader clinical applications.

Motivation & Objective

  • Motivate improved long-range dependency modeling in medical image segmentation beyond traditional CNNs and transformers.
  • Propose a hybrid encoder (IR-RWKV) that blends convolutional locality with RWKV global context.
  • Introduce a Cross-Channel Mix (CCM) module to enhance multi-scale feature fusion in skip connections.
  • Demonstrate state-of-the-art segmentation performance across diverse medical imaging datasets.
  • Provide smaller model variants (RWKV-UNet-S/T) balancing accuracy with computational efficiency.

Proposed method

  • Introduce RWKV-UNet architecture with an encoder built from stacked Inverted Residual RWKV (IR-RWKV) blocks and IR blocks.
  • Incorporate spatial-mix from Vision RWKV and depthwise convolutions for local/global feature integration in the encoder.
  • Add a Cross-Channel Mix (CCM) module to fuse multi-scale encoder features through channel-wise global context.
  • Design a CNN-based decoder with a 9x9 depthwise convolution to efficiently upsample and refine features.
  • Employ pre-training of encoders on ImageNet-1K (300 epochs, AdamW) to improve feature extraction and convergence.
  • Provide smaller variants RWKV-UNet-S and RWKV-UNet-T to balance accuracy and computational load.

Experimental results

Research questions

  • RQ1Can RWKV-based long-range modeling improve segmentation performance over pure CNN or pure transformer U-Nets on diverse medical imaging tasks?
  • RQ2Does integrating RWKV into an inverted residual encoder (IR-RWKV) enhance global-local feature fusion without prohibitive compute?
  • RQ3Does the Cross-Channel Mix (CCM) module improve multi-scale skip-connection fusion and overall segmentation accuracy?
  • RQ4What is the impact of encoder pre-training on ImageNet-1K for RWKV-UNet across datasets?
  • RQ5How do smaller RWKV-UNet variants compare in accuracy and efficiency to the full model across benchmarks?

Key findings

  • RWKV-UNet achieves state-of-the-art segmentation performance across major medical imaging datasets (Synapse, ACDC, BUSI, CVC-ClinicDB, CVC-ColonDB, Kvasir-SEG, ISIC 2017, GLAS).
  • Encoder variants demonstrate strong performance with RWKV-UNet-T, RWKV-UNet-S, and RWKV-UNet achieving high accuracy while reducing parameters and FLOPs.
  • Pre-training the RWKV-UNet encoder on ImageNet-1K significantly improves segmentation metrics, validating the benefit of transfer learning for this architecture.
  • The CCM module improves multi-scale feature fusion and overall DSC, albeit with some added computation.
  • Decoder design with large kernels (e.g., 9x9) and specific Conv1x1->Conv1x1->DW-Conv arrangements enhances segmentation performance and efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.