Time-Contrastive Pretraining for In-Context Image and Video Segmentation
Not on the map. Why?
Abstract (arXiv)
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).
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 25 references that are in the map. First posted on arXiv 21 Jun 2025.
Builds on
20 of 25 references.
References · 20
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2024SAM 2: Segment Anything in Images and Videoscited by 2,863
- 2023Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecturecited by 1,039
- 2022MedCLIP: Contrastive Learning from Unpaired Medical Images and Textcited by 570
- 2017Time-Contrastive Networks: Self-Supervised Learning from Videocited by 459
- 2022XMem: Long-Term Video Object Segmentation with an Atkinson-Shiffrin Memory Modelcited by 439
- 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 318
8 more
- 2022Visual Prompting via Image Inpaintingcited by 250
- 2023A Cookbook of Self-Supervised Learningcited by 250
- 2024Medical SAM 2: Segment medical images as video via Segment Anything Model 2cited by 154
- 2023What Makes Good Examples for Visual In-Context Learning?cited by 150
- 2023Exploring Effective Factors for Improving Visual In-Context Learningcited by 43
- 2023Visual Tuningcited by 34
- 2023Instruct Me More! Random Prompting for Visual In-Context Learningcited by 30
- 2023Flexible visual prompts for in-context learning in computer visioncited by 1
Built on by
Not cited yet.