arXiv:2609.08367cs.CVSep 2026

Manuscript Offprint

arXiv:2609.08367

To Adapt or Not to Adapt? Selective Adaptation for Vision-Language Models

Siru Jiang, Yuwei Liang, Jian Liang, Ran He, Tieniu Tan

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

Siru Jiang1,2†^{1,2\dagger}, Yuwei Liang2,3†^{2,3\dagger}, Jian Liang2,3∗^{2,3*}, Ran He2,3^{2,3}, and Tieniu Tan1,2,4^{1,2,4}

1^{1} School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences, China

2^{2} NLPR & MAIS, Institute of Automation, Chinese Academy of Sciences, China

3^{3} School of Artificial Intelligence, University of Chinese Academy of Sciences, China

4^{4} Nanjing University, China

{sirujiang324, liangjian92}@gmail.com

Abstract. Test-time adaptation (TTA) has emerged as a prominent strategy for adapting vision-language models to distribution shifts during inference. We conduct a per-sample analysis of model predictions before and after adaptation, and observe two failure modes in existing TTA methods that echo previous work. Adaptations are frequently negligible, yielding no change in the model's predictions, and more severely, they can be detrimental by flipping previously correct predictions to incorrect ones. This naturally raises a question: Can we identify and skip such negligible or harmful adaptations? In this work, we introduce a new problem of selective adaptation, which aims to determine whether a given test sample should undergo adaptation or be skipped. To this end, we propose Cross-Augmentation Similarity (CAS), a simple baseline that performs adaptation only when predictions across augmented views exhibit low similarity. Notably, CAS not only preserves but in some cases improves overall accuracy, even when skipping nearly 85% of the adaptation process. We hope other researchers will explore this new direction and surpass the performance of our baseline. Our code is available at https://github.com/sirujiang/selective-adaptation.

Keywords: Test-time Adaptation · Selective Adaptation · Vision-Language Models

1 Introduction

Vision-language models (VLMs), such as CLIP [46], ALIGN [28], Flamingo [2], and LLaVA [37], are pretrained on large-scale image-text pairs and have demonstrated strong generalization across diverse vision tasks [61, 74, 77, 78]. Among them, CLIP [46] aligns visual and textual representations in a shared embedding space, enabling impressive zero-shot performance. However, VLMs remain sensitive to distribution shifts and often suffer from performance degradation when the test distribution differs from that of pretraining [31, 36, 48, 69].

  • Corresponding author. † These authors are co-first authors.

Jiang et al.

Figure

(a) Selective Adaptation

Figure

(b) Accuracy versus Skip Ratio

Fig. 1: (a) Given a test image x, a score α(x)\alpha(x) is computed. Samples with low scores undergo adaptation, while those with high scores are skipped, with the zero-shot prediction used instead. (b) The proposed CAS maintains or slightly improves accuracy across a wide range of skip ratios (the proportion of skipped adaptations) on ImageNet.

In recent years, test-time adaptation (TTA) has emerged as an effective paradigm for mitigating distribution shifts by adapting VLMs with unlabeled test data. In the context of image classification, existing TTA methods mainly focus on improving prediction accuracy [6,10,53] or enhancing model calibration [1,50,68]. Despite their effectiveness, they implicitly assume that adaptation is beneficial for all test samples. To better understand this issue, we conduct a preliminary per-sample analysis of the adaptation process under the classic TPT framework [53].

Consistent with observations in prior work [10], we find that a large proportion of predictions remain unchanged before and after adaptation, leading to unnecessary computational overhead. More critically, some originally correct predictions flip to incorrect after adaptation, leading to performance degradation. Notably, these negligible or even harmful adaptations account for more than 90% of all adaptation processes. Motivated by these observations, we propose to identify and skip ineffective adaptations, thereby improving efficiency while preserving accuracy. Unlike previous TTA approaches that enhance efficiency through parameter-free retrieval [7,29] or lightweight parameter optimization [6,27], our method improves efficiency at the per-sample level by adapting only when necessary.

In this work, we introduce a new problem, termed selective adaptation, which formulates a binary detection task to identify whether the adaptation for a given test sample should be performed or skipped. An illustration of this problem is shown in Fig. 1 (a). Similar to out-of-distribution (OOD) detection [17,21,24,38,39,41,66], it relies on a scoring function to identify ineffective adaptations. Specifically, samples with higher scores tend to correspond to negligible or harmful cases and use zero-shot predictions directly, while those with lower scores continue to undergo adaptation. Generally, the goal of selective adaptation is to skip as many ineffective adaptations as possible while maintaining or even improving overall accuracy. To evaluate this problem, we adopt the standard Area Under the ROC Curve (AUC) [8,11] for detection quality, and introduce Accuracy Expectation with a Triangular Prior (AEP) to measure expected accuracy under different skip ratios.

Test-time augmentation [10, 34, 49, 53] has been used in many TTA methods [53, 75] to generate multiple views for an input sample. We argue that the prediction similarity between the test sample and its augmented views may be closely correlated with adaptation effectiveness. This motivates our simple baseline Cross-Augmentation Similarity (CAS), which computes a score based on the prediction similarity across multiple augmented views. We compare CAS against random skipping and established OOD detection methods [38, 41] under representative TTA frameworks [6, 10, 52, 53]. Overall, CAS achieves an AUC of around 90%. More importantly, it preserves and even improves the accuracy of full adaptation while skipping 85% of adaptations on ImageNet, its variants, and multiple fine-grained benchmarks. The result of ImageNet is shown in Fig. 1 (b). Beyond classification accuracy, CAS also maintains calibration performance in calibration-oriented TTA methods [50, 68]. Our contributions are summarized as follows:

  • We introduce selective adaptation, an underexplored direction to improve TTA efficiency by detecting whether a test sample can benefit from adaptation.
  • We provide Cross-Augmentation Similarity (CAS), a simple baseline based on prediction similarity across test-time augmented views.
  • Extensive experiments validate that CAS maintains and even improves TTA performance, providing a baseline for future research to advance.

References (79)