CLIP-DINOiser: Teaching CLIP a few DINO tricks for open-vocabulary semantic segmentation

Monika Wysoczańska, Oriane Siméoni, Michaël Ramamonjisoa, Andrei Bursuc, Tomasz Trzciński +1 more
12/19/2023
cs.CV

Official code: wysoczanska/clip_dinoiser (285 stars, Apache-2.0, last commit 2024-10-26).

Abstract

The popular CLIP model displays impressive zero-shot capabilities thanks to its seamless interaction with arbitrary text prompts. However, its lack of spatial awareness makes it unsuitable for dense computer vision tasks, e.g., semantic segmentation, without an additional fine-tuning step that often uses annotations and can potentially suppress its original open-vocabulary properties. Meanwhile, self-supervised representation methods have demonstrated good localization properties without human-made annotations nor explicit supervision. In this work, we take the best of both worlds and propose an open-vocabulary semantic segmentation method, which does not require any annotations. We propose to locally improve dense MaskCLIP features, which are computed with a simple modification of CLIP's last pooling layer, by integrating localization priors extracted from self-supervised features. By doing so, we greatly improve the performance of MaskCLIP and produce smooth outputs. Moreover, we show that the used self-supervised feature properties can directly be learnt from CLIP features. Our method CLIP-DINOiser needs only a single forward pass of CLIP and two light convolutional layers at inference, no extra supervision nor extra memory and reaches state-of-the-art results on challenging and fine-grained benchmarks such as COCO, Pascal Context, Cityscapes and ADE20k. The code to reproduce our results is available at https://github.com/wysoczanska/clip_dinoiser.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official implementation of 'CLIP-DINOiser: Teaching CLIP a few DINO tricks' paper.

28518Python, Jupyter Notebook1 years agoApache-2.0

Similar Papers

Cite this paper

@article{wysoczaska2023clipdinoiser,
  title  = {CLIP-DINOiser: Teaching CLIP a few DINO tricks for open-vocabulary semantic segmentation},
  author = {Monika Wysoczańska and Oriane Siméoni and Michaël Ramamonjisoa and Andrei Bursuc and Tomasz Trzciński and Patrick Pérez},
  year   = {2023},
  eprint = {2312.12359},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.12359v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.12359.svg)](https://codeofpaper.com/paper/2312.12359)

Discussion