RWKV-Med: A Lightweight Hybrid RWKV-Hyena Network with Axial Decoder Refinement for Skin Lesion Segmentation
Accurate segmentation of skin lesions in dermoscopic images supports computer aided melanoma diagnosis, but most accurate networks are too large for mobile or point-of-care use. We present RWKV-Med, a lightweight hierarchical encoder decoder that places two linear-complexity token mixers where each is most effective. Receptance weighted key value (RWKV) blocks, which combine a quad directional token shift with bidirectional weighted key-value aggregation, process the high-resolution early stages, whereas HyenaPixel blocks, which apply an implicitly parameterised large-kernel convolution through the fast Fourier trans form, process the low-resolution late stages. An all-MLP decoder fuses the four scales and is refined by a pointwise bottleneck module and an axial depthwise module with dual global pooling. With 0.69 million parameters and 0.55 giga floating-point operations (GFLOPs), RWKV-Med reaches a mean intersection over union (mIoU) and mean Dice coefficient (mDice) of 90.35/94.83, 84.60/91.52 and 84.95/91.76 on the ISIC2016, ISIC2017 and ISIC2018 benchmarks. It ranks first on all five metrics on ISIC2018 and has the highest mIoU averaged over the three datasets among twelve compared methods. Trained on ISIC2018 and tested without fine-tuning on PH2, it obtains the best mIoU of six models (89.60%). An ablation on ISIC2017 shows that each added component improves mIoU, by 1.10 (pointwise bottleneck), 1.61 (axial module) and 0.97 points (RWKV stages).
Authors
- Muhammad Adnan Farooq Butt (ORCID: https://orcid.org/0009-0006-4542-356X)
- Muqadar Ali
- Zeeshan Haider
- Haiyu Huang
Institutions
- Southwest Jiaotong University (CN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-25
- DOI
- https://doi.org/10.21203/rs.3.rs-11647761/v1
- Primary Topic
- Cutaneous Melanoma Detection and Management
- Type
- preprint