arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.07931cs.CVcs.AIcs.ROeess.IV
收藏

Surgical SAM 2:通过高效帧剪枝实现手术视频中的实时任意分割

Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning

National University of Singapore(新加坡国立大学);University of Oxford(牛津大学)

Haofeng Liu, Erli Zhang, Junde Wu, Mingxuan Hong, Yueming Jin

AI总结:

本文提出SurgSAM2模型,通过高效帧剪枝机制动态管理记忆库,在手术视频分割中实现3倍于SAM2的FPS和领先精度,推动资源受限环境下的实时分割。

摘要:

手术视频分割是计算机辅助手术中的关键任务,对于提升手术质量和患者预后至关重要。近年来,Segment Anything Model 2(SAM2)框架在图像和视频分割方面展现出卓越进展。然而,由于处理高分辨率图像以及手术视频中复杂且长程的时间动态所带来的高计算需求,SAM2在效率方面存在困难。为应对这些挑战,我们提出了Surgical SAM 2(SurgSAM2),这是一种利用SAM2并引入高效帧剪枝(Efficient Frame Pruning,EFP)机制的先进模型,以促进实时手术视频分割。EFP机制通过选择性地仅保留最具信息量的帧来动态管理记忆库,从而在保持高分割精度的同时降低内存使用和计算成本。我们的大量实验表明,与原始SAM2相比,SurgSAM2在效率和分割精度上均有显著提升。值得注意的是,SurgSAM2实现了相比SAM2 3倍的FPS,同时在使用低分辨率数据微调后仍能提供最先进的性能。这些进展使SurgSAM2成为手术视频分析的领先模型,让资源受限环境下的实时手术视频分割成为现实。我们的源代码可在https://github.com/jinlab-imvr/Surgical-SAM-2获取。

英文摘要:

Surgical video segmentation is a critical task in computer-assisted surgery and is vital for enhancing surgical quality and patient outcomes. Recently, the Segment Anything Model 2 (SAM2) framework has shown superior advancements in image and video segmentation. However, SAM2 struggles with efficiency due to the high computational demands of processing high-resolution images and complex and long-range temporal dynamics in surgical videos. To address these challenges, we introduce Surgical SAM 2 (SurgSAM2), an advanced model to utilize SAM2 with an Efficient Frame Pruning (EFP) mechanism, to facilitate real-time surgical video segmentation. The EFP mechanism dynamically manages the memory bank by selectively retaining only the most informative frames, reducing memory usage and computational cost while maintaining high segmentation accuracy. Our extensive experiments demonstrate that SurgSAM2 significantly improves both efficiency and segmentation accuracy compared to the vanilla SAM2. Remarkably, SurgSAM2 achieves a 3$\times$ FPS compared with SAM2, while also delivering state-of-the-art performance after fine-tuning with lower-resolution data. These advancements establish SurgSAM2 as a leading model for surgical video analysis, making real-time surgical video segmentation in resource-constrained environments a reality. Our source code is available at https://github.com/jinlab-imvr/Surgical-SAM-2.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑