zigzg RWKV-in-RWKV用于高效医学图像分割

Tianxiang Chen;Xudong Zhou;Zhentao Tan;Yue Wu;Ziyang Wang;Zi Ye;Tao Gong;Qi Chu;Nenghai Yu;Le Lu
{"title":"zigzg RWKV-in-RWKV用于高效医学图像分割","authors":"Tianxiang Chen;Xudong Zhou;Zhentao Tan;Yue Wu;Ziyang Wang;Zi Ye;Tao Gong;Qi Chu;Nenghai Yu;Le Lu","doi":"10.1109/TMI.2025.3561797","DOIUrl":null,"url":null,"abstract":"Medical image segmentation has made significant strides with the development of basic models. Specifically, models that combine CNNs with transformers can successfully extract both local and global features. However, these models inherit the transformer’s quadratic computational complexity, limiting their efficiency. Inspired by the recent Receptance Weighted Key Value (RWKV) model, which achieves linear complexity for long-distance modeling, we explore its potential for medical image segmentation. While directly applying vision-RWKV yields suboptimal results due to insufficient local feature exploration and disrupted spatial continuity, we propose a novel nested structure, Zigzag RWKV-in-RWKV (Zig-RiR), to address these issues. It consists of Outer and Inner RWKV blocks to adeptly capture both global and local features without disrupting spatial continuity. We treat local patches as “visual sentences” and use the Outer Zig-RWKV to explore global information. Then, we decompose each sentence into sub-patches (“visual words”) and use the Inner Zig-RWKV to further explore local information among words, at negligible computational cost. We also introduce a Zigzag-WKV attention mechanism to ensure spatial continuity during token scanning. By aggregating visual word and sentence features, our Zig-RiR can effectively explore both global and local information while preserving spatial continuity. Experiments on four medical image segmentation datasets of both 2D and 3D modalities demonstrate the superior accuracy and efficiency of our method, outperforming the state-of-the-art method 14.4 times in speed and reducing GPU memory usage by 89.5% when testing on <inline-formula> <tex-math>${1024} \\times {1024}$ </tex-math></inline-formula> high-resolution medical images. Our code is available at <uri>https://github.com/txchen-USTC/Zig-RiR</uri>","PeriodicalId":94033,"journal":{"name":"IEEE transactions on medical imaging","volume":"44 8","pages":"3245-3257"},"PeriodicalIF":0.0000,"publicationDate":"2025-04-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Zig-RiR: Zigzag RWKV-in-RWKV for Efficient Medical Image Segmentation\",\"authors\":\"Tianxiang Chen;Xudong Zhou;Zhentao Tan;Yue Wu;Ziyang Wang;Zi Ye;Tao Gong;Qi Chu;Nenghai Yu;Le Lu\",\"doi\":\"10.1109/TMI.2025.3561797\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Medical image segmentation has made significant strides with the development of basic models. Specifically, models that combine CNNs with transformers can successfully extract both local and global features. However, these models inherit the transformer’s quadratic computational complexity, limiting their efficiency. Inspired by the recent Receptance Weighted Key Value (RWKV) model, which achieves linear complexity for long-distance modeling, we explore its potential for medical image segmentation. While directly applying vision-RWKV yields suboptimal results due to insufficient local feature exploration and disrupted spatial continuity, we propose a novel nested structure, Zigzag RWKV-in-RWKV (Zig-RiR), to address these issues. It consists of Outer and Inner RWKV blocks to adeptly capture both global and local features without disrupting spatial continuity. We treat local patches as “visual sentences” and use the Outer Zig-RWKV to explore global information. Then, we decompose each sentence into sub-patches (“visual words”) and use the Inner Zig-RWKV to further explore local information among words, at negligible computational cost. We also introduce a Zigzag-WKV attention mechanism to ensure spatial continuity during token scanning. By aggregating visual word and sentence features, our Zig-RiR can effectively explore both global and local information while preserving spatial continuity. Experiments on four medical image segmentation datasets of both 2D and 3D modalities demonstrate the superior accuracy and efficiency of our method, outperforming the state-of-the-art method 14.4 times in speed and reducing GPU memory usage by 89.5% when testing on <inline-formula> <tex-math>${1024} \\\\times {1024}$ </tex-math></inline-formula> high-resolution medical images. Our code is available at <uri>https://github.com/txchen-USTC/Zig-RiR</uri>\",\"PeriodicalId\":94033,\"journal\":{\"name\":\"IEEE transactions on medical imaging\",\"volume\":\"44 8\",\"pages\":\"3245-3257\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2025-04-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE transactions on medical imaging\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10969076/\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE transactions on medical imaging","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10969076/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

随着基本模型的发展,医学图像分割取得了长足的进步。具体来说,将cnn与变压器相结合的模型可以成功地提取局部和全局特征。然而,这些模型继承了变压器的二次计算复杂性,限制了它们的效率。受最近实现远程建模线性复杂性的接受加权键值(RWKV)模型的启发,我们探索了其在医学图像分割中的潜力。由于局部特征探索不足和空间连续性中断,直接应用视觉- rwkv会产生次优结果,因此我们提出了一种新的嵌套结构,Zigzag RWKV-in-RWKV (zigg - rir)来解决这些问题。它由外部和内部RWKV块组成,在不破坏空间连续性的情况下熟练地捕捉全局和局部特征。我们将局部斑块视为“视觉句子”,并使用Outer zigg - rwkv来探索全局信息。然后,我们将每个句子分解成子补丁(“视觉词”),并使用Inner zigg - rwkv进一步挖掘词之间的局部信息,计算成本可以忽略不计。我们还引入了Zigzag-WKV注意机制,以确保令牌扫描过程中的空间连续性。通过聚合视觉词和句子特征,我们的zigr - rir可以有效地挖掘全局和局部信息,同时保持空间连续性。在四个2D和3D模式的医学图像分割数据集上进行的实验表明,我们的方法具有优越的准确性和效率,在对${1024}\次{1024}$高分辨率医学图像进行测试时,速度比最先进的方法快14.4倍,GPU内存使用量减少89.5%。我们的代码可在https://github.com/txchen-USTC/Zig-RiR上获得
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Zig-RiR: Zigzag RWKV-in-RWKV for Efficient Medical Image Segmentation
Medical image segmentation has made significant strides with the development of basic models. Specifically, models that combine CNNs with transformers can successfully extract both local and global features. However, these models inherit the transformer’s quadratic computational complexity, limiting their efficiency. Inspired by the recent Receptance Weighted Key Value (RWKV) model, which achieves linear complexity for long-distance modeling, we explore its potential for medical image segmentation. While directly applying vision-RWKV yields suboptimal results due to insufficient local feature exploration and disrupted spatial continuity, we propose a novel nested structure, Zigzag RWKV-in-RWKV (Zig-RiR), to address these issues. It consists of Outer and Inner RWKV blocks to adeptly capture both global and local features without disrupting spatial continuity. We treat local patches as “visual sentences” and use the Outer Zig-RWKV to explore global information. Then, we decompose each sentence into sub-patches (“visual words”) and use the Inner Zig-RWKV to further explore local information among words, at negligible computational cost. We also introduce a Zigzag-WKV attention mechanism to ensure spatial continuity during token scanning. By aggregating visual word and sentence features, our Zig-RiR can effectively explore both global and local information while preserving spatial continuity. Experiments on four medical image segmentation datasets of both 2D and 3D modalities demonstrate the superior accuracy and efficiency of our method, outperforming the state-of-the-art method 14.4 times in speed and reducing GPU memory usage by 89.5% when testing on ${1024} \times {1024}$ high-resolution medical images. Our code is available at https://github.com/txchen-USTC/Zig-RiR
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信