DIP: Unsupervised Dense In-Context Post-Training of Visual Representations
Sophia Sirko-Galouchenko, Spyros Gidaris, Antonín Vobecký, Andrei Bursuc, Nicolas Thome
Abstract
We introduce DIP, a novel unsupervised post-training method designed to enhance dense image representations in large-scale pretrained vision encoders for in-context scene understanding. Unlike prior approaches that rely on complex self-distillation architectures, our method trains the vision encoder using pseudo-tasks that explicitly simulate downstream in-context scenarios, inspired by meta-learning principles. To enable post-training on unlabeled data, we propose an automatic mechanism for generating in-context tasks that combines a pretrained diffusion model and the vision encoder itself. DIP is simple, unsupervised, and computationally efficient, requiring less than 9 hours on a single A100 GPU. By learning dense representations through pseudo in-context tasks, it achieves strong performance across a wide variety of downstream real-world in-context scene understanding tasks. It outperforms both the initial vision encoder and prior methods, offering a practical and effective solution for improving dense representations. Code available here: https://github.com/sirkosophia/DIP
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Segment Anything cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Segment Anything cites Language Models are Few-Shot Learners
- Segment Anything cites Learning Transferable Visual Models From Natural Language Supervision
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites A Simple Framework for Contrastive Learning of Visual Representations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
- Franca: Nested Matryoshka Clustering for Scalable Visual Representation Learning cites Segment Anything
- Franca: Nested Matryoshka Clustering for Scalable Visual Representation Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Franca: Nested Matryoshka Clustering for Scalable Visual Representation Learning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Franca: Nested Matryoshka Clustering for Scalable Visual Representation Learning cites Learning Transferable Visual Models From Natural Language Supervision
- DINO-Foresight: Looking into the Future with DINO cites Segment Anything
- DINO-Foresight: Looking into the Future with DINO cites A Simple Framework for Contrastive Learning of Visual Representations
- DINO-Foresight: Looking into the Future with DINO cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- DINO-Foresight: Looking into the Future with DINO cites Franca: Nested Matryoshka Clustering for Scalable Visual Representation Learning
- DINO-Foresight: Looking into the Future with DINO cites Learning Transferable Visual Models From Natural Language Supervision
- Learning Transferable Visual Models From Natural Language Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
- Retrieve and Segment: Are a Few Examples Enough to Bridge the Supervision Gap in Open-Vocabulary Segmentation? cites Segment Anything
- Retrieve and Segment: Are a Few Examples Enough to Bridge the Supervision Gap in Open-Vocabulary Segmentation? cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers3
- DINO-Foresight: Looking into the Future with DINOEfstathios Karypidis, Ioannis Kakogeorgiou, Spyridon Gidaris, Nikos KomodakisNeurIPS 2025 · 52 citations
- Franca: Nested Matryoshka Clustering for Scalable Visual Representation LearningShashanka Venkataramanan, Valentinos Pariza, Mohammadreza Salehi, Lukas Knobel et al.CVPR 2026 · 26 citations
- Retrieve and Segment: Are a Few Examples Enough to Bridge the Supervision Gap in Open-Vocabulary Segmentation?Tilemachos Aravanis, Vladan Stojnic, Bill Psomas, Nikos Komodakis et al.CVPR 2026
Builds on43
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
Related papers
- DreamTeacher: Pretraining Image Backbones with Deep Generative ModelsDaiqing Li, Huan Ling, Amlan Kar, David Acuna et al.ICCV 2023 · 37 citations
- Diffusion Feedback Helps CLIP See BetterWenxuan Wang, Quan Sun, Fan Zhang, Yepeng Tang et al.ICLR 2025
- TIPS: Text-Image Pretraining with Spatial awarenessKevis-Kokitsi Maninis, Kaifeng Chen, Soham Ghosh, Arjun Karpur et al.ICLR 2025
- Unsupervised Pre-training for Temporal Action Localization TasksCan Zhang, Tianyu Yang, Junwu Weng, Meng Cao et al.CVPR 2022 · 56 citations
- Unsupervised Learning of Dense Visual RepresentationsPedro O. Pinheiro, Amjad Almahairi, Ryan Y. Benmalek, Florian Golemo et al.NeurIPS 2020 · 227 citations
