One-Shot Medical Video Object Segmentation via Temporal Contrastive Memory Networks
Yaxiong Chen, Junjian Hu, Chunlei Li, Zixuan Zheng, Jingliang Hu, Yilei Shi, Shengwu Xiong, Xiao Xiang Zhu, Lichao Mou
TL;DR
This paper tackles one-shot medical video object segmentation, where a single annotated first frame must guide segmentation across an entire video. It introduces a temporal contrastive memory network comprising an image encoder, a mask encoder, a memory bank with a temporal contrastive objective, and a decoder to propagate masks, without needing fine-tuning on new structures. Evaluated on a diverse, multi-modal medical video dataset (colonoscopy and echocardiography), the approach achieves state-of-the-art results for both seen and unseen structures, demonstrating strong generalization from a single exemplar. By reducing annotation burden and enabling generalizable segmentation, it points to practical tools for clinicians and adaptable memory-based strategies for medical video analysis; future work includes memory-bank optimization and dynamic frame selection.
Abstract
Video object segmentation is crucial for the efficient analysis of complex medical video data, yet it faces significant challenges in data availability and annotation. We introduce the task of one-shot medical video object segmentation, which requires separating foreground and background pixels throughout a video given only the mask annotation of the first frame. To address this problem, we propose a temporal contrastive memory network comprising image and mask encoders to learn feature representations, a temporal contrastive memory bank that aligns embeddings from adjacent frames while pushing apart distant ones to explicitly model inter-frame relationships and stores these features, and a decoder that fuses encoded image features and memory readouts for segmentation. We also collect a diverse, multi-source medical video dataset spanning various modalities and anatomies to benchmark this task. Extensive experiments demonstrate state-of-the-art performance in segmenting both seen and unseen structures from a single exemplar, showing ability to generalize from scarce labels. This highlights the potential to alleviate annotation burdens for medical video analysis. Code is available at https://github.com/MedAITech/TCMN.
