[논문 리뷰] Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning
SurgSAM-2는 실시간 수술 비디오 분할을 위해 동적 코사인 유사도 프레임 프루닝으로 SAM2를 최적화하여 메모리 사용을 줄이고 FPS를 높이며 정확도 손실을 최소화합니다. 자원 제약 환경에서 EndoVis17/18에서 최첨단 성능을 달성합니다.
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$ imes$ 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.
연구 동기 및 목표
- 자원 제약 하에서 실시간 수술 비디오 분할의 필요성 제기.
- 중복 프레임 처리를 줄여 수술 환경에 SAM2를 적용.
- 필수 시간적 맥락 보존을 위한 프레임 프루닝을 이용한 동적 메모리 관리 모듈 개발.
- EndoVis17/18 데이터셋에서 효율성-정확도 트레이드오프를 입증.
- 실시간 수술 워크플로우에서 SAM 기반 모델 배치를 위한 인사이트 제공.
제안 방법
- SAM2를 동적 메모리 뱅크 관리 시스템으로 확장.
- 코사인 유사도를 이용한 Efficient Frame Pruning(EFP)으로 이전 프레임 가지치기 도입.
- 현재 프레임과 이전 프레임의 선택적 하위집합(n=5, m=2; 첫 프레임은 항상 보존)으로 메모리 뱅크 구성.
- 프롬프트 및 이미지 인코더를 동결하고 마스크 디코더와 메모리 모듈만 미세조정.
- 512x512 해상도의 혼합 비디오 및 이미지 데이터로 학습; 반정밀도(bf16) 사용.
- EndoVis17/18 데이터셋에서 다중 마스크 출력, IOU 예측, 차폐 예측으로 평가.
실험 결과
연구 질문
- RQ1코사인 유사도를 기반으로 한 선택적 프레임 프루닝이 메모리와 계산을 줄이면서 분할 정확도를 유지하거나 향상시킬 수 있는가?
- RQ2감소된 메모리 뱅크 크기가 EndoVis17/18에서 FPS, 메모리 사용, 인스턴스 수준의 기구 분할 성능에 미치는 영향은 무엇인가?
- RQ3다양한 프롬프트 설정(Full Mask, 1 Point, 5 Points)에서 SurgSAM-2가 일반 SAM2와 비교해 CIoU/IoU, Dice, FPS, 메모리에 어떤 차이가 있는가?
주요 결과
- SurgSAM-2는 프롬프트 설정에 관계없이 SAM2에 비해 FPS를 평균 13.8% 증가시킨다.
- 제안된 EFP 메커니즘으로 메모리 사용량이 평균 약 8.5% 감소한다.
- 512x512 저해상도 입력과 EFP를 함께 사용한 미세조정은 EndoVis 데이터셋에서 풀 해상도 SAM2에 비해 우수하거나 경쟁력 있는 정확도를 보인다.
- 1포인트 및 5포인트 프롬프트에서 SurgSAM-2는 작업별 baselines와 비교해 경쟁력 있는 CIoU를 달성하며 더 높은 FPS와 더 낮은 메모리 발자국을 제공한다.
- EndoVis17에서 SurgSAM-2는 일반적으로 SAM2와 비교해 IoU/J&F/Dice를 유지하거나 약간 향상시키며 속도와 메모리 효율이 크게 향상된다; EndoVis18에서 EFP로 정확도가 종종 향상되며 속도/메모리 이득이 동반된다.
- 기존 수술 도구 방법 및 다른 SAM 기반 방법과 비교할 때 SurgSAM-2가 분할 품질과 실시간 성능의 최적 균형을 제공한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.