Test-Time Adaptation of Vision-Language Models for Open-Vocabulary Semantic Segmentation

Mehrdad Noori, David Osowiechi, G. Hakim, Ali Bahri, Moslem Yazdanpanah +4 more
5/1/2025
14 citations

No official code found. Best implementation: dosowiechi/MLMP (34 stars, Python, MIT, last commit 2025-09-20).

Abstract

Recently, test-time adaptation has attracted wide interest in the context of vision-language models for image classification. However, to the best of our knowledge, the problem is completely overlooked in dense prediction tasks such as Open-Vocabulary Semantic Segmentation (OVSS).

Show full abstract

In response, we propose a novel TTA method tailored to adapting VLMs for segmentation during test time. Unlike TTA methods for image classification, our Multi-Level and Multi-Prompt (MLMP) entropy minimization integrates features from intermediate vision-encoder layers and is performed with different text-prompt templates at both the global CLS token and local pixel-wise levels. Our approach could be used as plug-and-play for any segmentation network, does not require additional training data or labels, and remains effective even with a single test sample. Furthermore, we introduce a comprehensive OVSS TTA benchmark suite, which integrates a rigorous evaluation protocol, nine segmentation datasets, 15 common synthetic corruptions, and additional real and rendered domain shifts, \textbf{with a total of 87 distinct test scenarios}, establishing a standardized and comprehensive testbed for future TTA research in open-vocabulary segmentation. Our experiments on this suite demonstrate that our segmentation-tailored method consistently delivers significant gains over direct adoption of TTA classification baselines. Code and data are available at https://github.com/dosowiechi/MLMP.

View on arXivView PDF

Code Implementations(1)

dosowiechi/MLMPCommunity100%
MIT

Test-Time Adaptation of Vision-Language Models for Open-Vocabulary Semantic Segmentation

345Python, ShellMay 27, 20251 years agoMIT
clipopen-vocabulary-semantic-segmentationtest-time-adaptationvision-language-model

Similar Papers

Cite this paper

@article{noori2025testtime,
  title  = {Test-Time Adaptation of Vision-Language Models for Open-Vocabulary Semantic Segmentation},
  author = {Mehrdad Noori and David Osowiechi and G. Hakim and Ali Bahri and Moslem Yazdanpanah and Sahar Dastani and Farzad Beizaee and I. Ben Ayed and Christian Desrosiers},
  year   = {2025},
  eprint = {2505.21844},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.21844},
  url    = {https://doi.org/10.48550/arXiv.2505.21844},
  journal = {Neural Information Processing Systems}
}

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/2505.21844.svg)](https://codeofpaper.com/paper/2505.21844)

Discussion