Diagnostics

RWKV-MIL: Efficient Weakly Supervised Histopathology Image Segmentation via Hilbert Curve-Based Linear Attention

Ziniu Qian, Hao Lu, Bingzheng Wei, Maode Lai, Yan Xu

Key points

From the paper's conclusion
  • Conclusions: RWKV-MIL supports weakly supervised segmentation of cropped histopathology images using image-level labels and linear-complexity attention.

Abstract

Background/Objectives: Weakly supervised histopathology image segmentation aims to reduce the need for pixel-level annotations during training. Multiple Instance Learning (MIL) enables instance prediction using image-level labels, but the quadratic complexity of self-attention limits attention-based MIL at pixel resolution. This study develops an MIL framework with linear-complexity attention for segmentation at the input-image pixel resolution. Methods: We propose RWKV-MIL, based on the Receptance Weighted Key Value (RWKV) architecture, to extend MIL from patch-level to pixel-level instance prediction. A class token provides bag-level predictions through a classifier shared with the instance tokens. The proposed H-RWKV block introduces Hilbert-WKV attention, which combines bidirectional WKV attention with Hilbert-curve scanning to preserve spatial continuity between adjacent tokens in the sequence. Negative and positive instance losses jointly constrain instance representation learning using bag-level labels. We evaluated the framework on the Colon, WSSS4LUAD, and CAMELYON16 datasets and conducted ablation experiments. Results: Across three independent training runs, RWKV-MIL achieved positive-image F1-scores of 0.865±0.005, 0.813±0.003, and 0.803±0.007 on Colon, WSSS4LUAD, and CAMELYON16, respectively. Conclusions: RWKV-MIL supports weakly supervised segmentation of cropped histopathology images using image-level labels and linear-complexity attention. The component analyses support the evaluated design while leaving limitations in localization, evaluation coverage, and statistical precision.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

RWKV-MIL: Efficient Weakly Supervised Histopathology Image Segmentation via Hilbert Curve-Based Linear Attention — Science Skim