arXiv:2506.17837cs.CV2025-06被引 2

用时间对比预训练提升图像视频分割的上下文学习能力

Time-Contrastive Pretraining for In-Context Image and Video Segmentation

  • 将上下文学习重构为视频目标分割任务,支持可变数量高分辨率上下文图像
  • 自监督训练提示检索器,使图像分割提升10.64%、视频分割提升14.88%的Dice分数
  • 适用于医学图像等少样本场景,尤其适合需要灵活上下文输入的任务

上下文学习(ICL)可在少量标注数据下实现新任务泛化,但主流方法依赖网格策略,缺乏视觉应用所需的灵活性。本文提出时间对比自监督目标Temporal,用于预训练视觉ICL的提示检索器,并将ICL重构为视频对象分割(VOS)任务。该方法突破了网格法对上下文图像数量与分辨率的限制,支持任意数量的全分辨率上下文图像。通过自监督学习训练提示检索器,以相邻帧为正例、远距离帧为负例。对于图像分割,检索器选出相关序列,与查询构成连贯视频供VOS处理;对于视频分割,检索关键帧,用ICL管道预测其掩码并传播至整段序列。在MICCAI FLARE 2022数据集上,图像分割达到90.95% Dice(较基线提升10.64%),视频分割达92.45% Dice(提升14.88%)。

原文摘要 · Abstract (English)

In-context learning (ICL) enables generalization to new tasks with minimal labeled data. However, mainstream ICL approaches rely on a gridding strategy, which lacks the flexibility required for vision applications. We introduce Temporal, a time-contrastive self-supervised objective that pretrains a prompt retriever for visual ICL, and formulate ICL as a video object segmentation (VOS) task. Temporal addresses key limitations of grid-based methods that restrict the number and resolution of context images. By reframing ICL as a VOS problem, our approach supports a variable number of context images while preserving their full resolution. To address the challenge of selecting optimal context sets for queries, we pretrain a prompt retriever on videos via self-supervised learning, where adjacent frames serve as positives and distant frames as negatives. For image segmentation, the prompt retriever selects relevant sequences that, when combined with the query, form coherent videos for VOS processing. For video segmentation, it identifies keyframes, predicts their masks using our ICL pipeline, and propagates them throughout the sequence. When evaluated on MICCAI FLARE 2022, our method achieves substantial improvements over baselines: 90.95% Dice score for image segmentation (10.64% improvement) and 92.45% Dice for video segmentation (14.88% improvement).

上下文学习视频分割自监督医学图像

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。