arXiv(opens in a new tab)cs.CVAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.29923

Towards Continual Test-Time Adaptation of Vision-Language Models in Open-Vocabulary Semantic Segmentation

Chandler Timm C. Doloriel, Yunbei Zhang, Sarthak Kumar Maharana, Muhammad Salman Siddiqui, Tor Kristian Stevik, Fadi Al Machot, Kristian Hovde Liland, Habib Ullah

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Open-vocabulary semantic segmentation (OVSS) relies on vision-language alignment to recognize arbitrary text-defined categories, yet this alignment is fragile under continual test-time distribution shift. Our diagnostic analysis reveals that entropy minimization drives patch-level class collapse, continual updates erode vision-language alignment, and redundant gradients from low-shift samples waste computation. We propose Diversify, Anchor, and Filter (DAF), a stabilization framework that augments entropy-based adaptation with a marginal diversity loss that resists collapse, a cross-modal anchor consistency loss that constrains feature drift relative to a frozen source model, and feature salience filtering that skips low-value backward passes to offset part of the source-anchor overhead. We evaluate on five datasets spanning natural scenes, autonomous driving, underwater imagery, and remote sensing with their corrupted variants. Across the evaluated continual shifts, DAF remains stable where entropy minimization collapses, improving mIoU by over 8 points on Pascal VOC20-C, over 9 points on LoveDA, and over 3 points on Foggy Cityscapes compared to the source model, and is robust to aggressive adaptation and learning rate choices.

1. Introduction

Contrastive vision-language models (VLMs) such as CLIP [29] have become strong backbones for open-vocabulary semantic segmentation (OVSS) because they align dense visual features with text embeddings of class prompts. Recent OVSS methods such as SCLIP [36] and NACLIP [13] show that broad category vocabularies, extended beyond base classes with synonyms and subcategories, can be supported without task-specific retraining. Yet, this open-vocabulary generalization is fragile at test-time. Real deployments face weather, sensor variation, image corruptions, and underwater domain shifts [17, 42, 43] that distort patch-to-text similarities for dense prediction. Consider an autonomous driving model deployed across cities with varying weather and sensor conditions, where the vocabulary is defined by text prompts rather than a fixed set. Because collecting labeled target data or retraining offline is impractical, the model must adapt on-the-fly from incoming unlabeled samples alone.

Real deployment rarely involves a single isolated shift. OVSS systems face evolving domains, making continual test-time adaptation (CTTA) a natural setting [23, 38]. Unlike TTA, CTTA carries model state across domains without access to past data. This is especially difficult for OVSS because standard entropy-based methods such as TENT [35] and CoTTA [38] were designed for closed-vocabulary settings and can erode the patch-to-text alignment needed for open-vocabulary prediction.

Recent VLM TTA methods use weight averaging, prototype shifting, contrastive objectives, and Bayesian updates [8, 14, 18, 22, 28, 33, 44], but they remain largely classification-oriented. Traditional entropy-based adaptation such as TENT, and its continual extension CoTTA, can be instantiated for OVSS by updating normalization parameters over patch-token logits, while MLMP [27] extends episodic TTA to OVSS. What remains missing is a continual OVSS treatment that explicitly preserves vision-language alignment rather than only reducing prediction entropy, which is the gap we study.

To understand why continual adaptation is unstable for OVSS, we diagnose MLMP on PASCAL VOC20-C [11, 15] (Fig. 1), where VOC20-C applies 15 standard image corruptions [15] at five severity levels to the PASCAL VOC validation set, revealing two failure modes and an adaptation inefficiency. First, entropy minimization shrinks the active class vocabulary, defined as classes receiving more than 1% of patch-token predictions under the argmax of the patch-level softmax, from near 20 to roughly 1 to 3 by step

Figure

(a) Class Collapse

Figure

(b) Assigned-Class Drift

Figure

(c) Unassigned-Class Drift

Figure

(d) Shift vs Prediction

Figure 1. Diagnostic analysis of MLMP [27] under CTTA for OVSS with NACLIP [13] ViT-B/32 on PASCAL VOC20-C [11]. (a) Entropy minimization progressively shrinks the active class vocabulary, measured by counting classes that receive more than 1% of patch-token argmax predictions. (b) The cosine similarity between adapted image patch features and their source-assigned text prototypes decreases (r = -0.737). (c) Similarity to unassigned prototypes increases (r = +0.854). (d) Per-sample image feature shift, measured as average cosine distance between adapted and source patch features, correlates with prediction change (r = +0.833), indicating that source-relative feature change can identify samples whose representations have changed little. These observations motivate our diversity and anchor consistency components for stability, and our filtering component for adaptation efficiency. Full diagnostic methodology and Cityscapes [7] diagnostics are in the supplementary material.

500, as large regions collapse to a few dominant concepts. Second, the cosine similarity between adapted image patch features and their source-assigned text prototypes decreases (r=−0.737)(r = -0.737) while similarity to unassigned prototypes increases (r=+0.854)(r = +0.854), eroding vision-language alignment. Third, per-sample image feature shift, measured as the average cosine distance between adapted and source patch features, correlates with prediction change (r=+0.833)(r = +0.833), so many samples undergo minimal prediction change yet still consume backward passes. Since dense predictions depend on patch-to-text comparisons, drift degrades a full segmentation map rather than a single output. The supplementary material confirms these patterns on Cityscapes-C and provides full diagnostic methodology.

These three findings motivate three targeted remedies: a marginal diversity (MDIV) loss to resist class collapse, a cross-modal anchor consistency (CMAC) loss to constrain feature drift, and source-anchored feature salience (SAFS) filtering to skip low-value backward passes and recover part of the source-anchoring cost. Together they form Diversify, Anchor, and Filter (DAF), a simple stabilization framework, with the following contributions:

• CTTA for OVSS: While MLMP [27] introduced episodic TTA for OVSS, we address the continual setting where model state carries across domains without resetting, preserving vision-language alignment over sequential shifts.

• Diagnostic Analysis: We characterize why CTTA is unusually unstable for OVSS, revealing class collapse and cross-modal drift as failure modes tied to degradation of vision-language structure, and low-shift redundancy as a motivation for selective updating.

• Stabilization Framework: We design DAF as a source-anchored regularization around these failure modes, with MDIV and CMAC as complementary core mechanisms and SAFS as a compute-balancing companion to source anchoring, where CMAC is the OVSS-specific component, instantiated on TENT [35] and MLMP [27].

• Robustness and Evaluation: We evaluate across five datasets, showing that DAF is robust to aggressive adaptation and learning rate choices across the evaluated continual shifts where entropy minimization collapses, with stable performance under long horizon shifts.

References (44)

  • Test-time adaptation with shape moments for image segmentation
  • Mixreorg: Cross-modal mixed patch reorganization is a good mask learner for open-world semantic segmentation
  • Learning to generate text-grounded mask for open-world semantic segmentation from only image-text pairs
  • Exploring open-vocabulary semantic segmentation from clip vision encoder distillation only
  • Training-free class purification for open-vocabulary semantic segmentation
  • Each test image deserves a specific prompt: Continual test-time adaptation for 2d medical image segmentation
  • The cityscapes dataset for semantic urban scene understanding
  • Bayestta: Continual-temporal test-time adaptation for vision-language models via gaussian discriminant analysis
  • Family matters: A systematic study of spatial vs. frequency masking for continual test-time adaptation
  • Lifelong test-time adaptation via online learning in tracked lowdimensional subspace
  • The pascal visual object classes challenge: A retrospective
  • Scaling open-vocabulary image segmentation with image-level labels
  • Pay attention to your neighbours: Training-free open-vocabulary semantic segmentation
  • Cli-partt: Adaptation of clip to new domains at test time
  • Benchmarking neural network robustness to common corruptions and perturbations
  • Semantic segmentation of underwater imagery: Dataset and benchmark
  • Underwater fish detection with weak multi-domain supervision
  • Cliptta: Robust contrastive vision-language test-time adaptation
  • Entropy is not enough for test-time adaptation: From the perspective of disentangled factors
  • Continual-mae: Adaptive distribution masked autoencoders for continual test-time adaptation
  • Source-free domain adaptation for semantic segmentation
  • Batclip: Bimodal online test-time adaptation for clip
  • Continual test-time adaptation in computer vision: Methods, benchmarks, and future directions
  • Distribution-aware continual test-time adaptation for semantic segmentation
  • Efficient test-time model adaptation without forgetting
  • Towards stable test-time adaptation in dynamic wild world
  • Test-time adaptation of vision-language models for open-vocabulary semantic segmentation
  • Watt: Weight average test-time adaptation of clip
  • Learning transferable visual models from natural language supervision
  • If your data distribution shifts, use self-learning
  • Semantic foggy scene understanding with synthetic data
  • Test-time optimization for domain adaptive open vocabulary segmentation
  • Just shift it: Test-time prototype shifting for zero-shot generalization with vision-language models
  • Test-time training with self-supervision for generalization under distribution shifts
  • Tent: Fully test-time adaptation by entropy minimization
  • Sclip: Rethinking self-attention for dense vision-language inference
  • Loveda: A remote sensing land-cover dataset for domain adaptive semantic segmentation
  • Continual test-time domain adaptation
  • Source data-free unsupervised domain adaptation for semantic segmentation
  • Few clicks suffice: Active test-time adaptation for semantic segmentation
  • DPCore: Dynamic prompt coreset for continual test-time adaptation
  • Unsupervised adversarial domain adaptation based on interpolation image for fish detection in aquaculture
  • Dmdnet: A decoupled multi-scale discriminant model for cross-domain fish detection
  • Bayesian test-time adaptation for vision-language models