Training-Free Active Test-Time Adaptation for Vision-Language Models

Jihwan Bang, Sumyeong Ahn, Hwanjun Song, Jae-Gil LeeNeurIPS 2026

TL;DR

When vision-language models (like CLIP) encounter unfamiliar data in the wild, trying to adapt purely on their own guesses can accidentally reinforce their mistakes. This paper explores a pragmatic middle ground: giving a frozen model a small budget to ask a human for help—with the catch that the answer arrives after the current prediction is already locked in. Using a fast, training-free memory lookup called ACTOR, the model turns sparse, delayed human feedback into safe, reliable anchors for future predictions.

What Problem Does This Paper Address?

Vision-language models (VLMs) are great at zero-shot recognition, matching images to text in a shared embedding space. However, when deployed in the real world, distribution shifts (like strange lighting, sketches, or specialized domains) degrade their accuracy.

Usually, researchers tackle this with Test-Time Adaptation (TTA) in a strictly unsupervised way: the model tweaks its behavior on the fly using its own confidence scores or entropy. Think of this like trying to grade your own exam in a subject you barely know—when a sample is genuinely hard and the model is miscalibrated, trusting its own signals just reinforces bad decisions. At the opposite extreme, supervised online learning assumes we get ground-truth labels fast enough to continually update the model's weights, which is often impractical for frozen, deployed systems.

Figure 2: Active test-time adaptation for vision-language model (Active VLM-TTA). The model relies on a base VLM-TTA method for confident samples, while selectively querying labels for uncertain ones under a budget. Queried labels cannot revise the current prediction; instead, they are stored in labeled memory and used to improve future uncertain predictions. ACTOR instantiates this idea in a training-free and plug-and-play manner.

The authors formalize the realistic middle ground: Active VLM-TTA. As test images stream in one by one, the frozen VLM must emit a prediction immediately. Under a strict budget (say, 10% of the stream), it can query a human oracle for the true label. Because humans aren't instant, that label arrives with a delay and can only help future samples. The central puzzle is how to spend that tiny budget wisely and reuse sparse labels without accidentally corrupting good predictions nearby.

Methods

To solve this without any gradient updates, the authors propose ACTOR (ACTive VLM-TTA for Online Retrieval), a plug-and-play module that wraps around any existing VLM-TTA method.

  1. Uncertainty Filtering: When an image arrives, the base TTA model makes a prediction. If prediction entropy is low (the model is confident), ACTOR leaves it alone. If entropy is high, ACTOR steps in.
  2. Conservative Retrieval (Referrer & Verifier): Before spending budget to ask a human, ACTOR checks its memory bank of previously returned labels. Finding a single nearest neighbor in embedding space is risky when memory is sparse. Instead, ACTOR pulls the two nearest labeled neighbors: the Referrer (closest) and the Verifier (second closest). It overrides the base prediction only if both checks pass:
  3. Consistency: Both neighbors share the exact same class label.
  4. Reliability: Their average cosine similarity to the test image exceeds a strict proximity threshold.
  5. Querying & Fallback: If the memory check fails and budget remains, the model outputs its base guess and queries the human oracle; once the label returns, it joins the memory bank. If the budget is completely exhausted and the strict check fails, ACTOR uses a softer fallback: it accepts the Referrer's label only if that class was already in the base model's Top-5 predictions.
Consistency and reliability checks in ACTOR

Datasets

Because ACTOR is training-free, datasets are used strictly for streaming evaluation across 15 benchmarks:

  • Out-of-Distribution (OOD) Benchmark (5 datasets): ImageNet (IN) alongside four shifted variants: ImageNet-A, ImageNet-V2, ImageNet-R, and ImageNet-S (Sketch).
  • Cross-Domain Benchmark (10 datasets): Fine-grained and specialized recognition tasks: Aircraft, Caltech101, Cars, DTD, EuroSAT, Flowers102, Food101, Pets, SUN397, and UCF101.

While the datasets themselves are standard, evaluating them under the Active VLM-TTA streaming protocol—with explicit labeling budgets and annotation latency—is newly introduced here.

Key Insights and Ideas

  • Two witnesses beat one (and three is a crowd): Requiring a "Verifier" neighbor to agree with the "Referrer" slashes the harmful-correction rate (turning a right base answer into a wrong one) from 13.68% (with standard 5-NN voting) down to 5.28%. Interestingly, requiring two verifiers makes the rule too strict, leaving too many fixable errors untouched.
  • Memory beats gradients when labels are scarce: Under the exact same 10% label budget and future-only rules, training-free ACTOR outperforms online gradient-based prompt tuning (Online-CoOp and Replay-CoOp). Trying to do gradient descent on tiny, streaming trickles of data struggles compared to simply dropping reliable anchors directly into CLIP's well-structured embedding space.
  • Graceful degradation under human lag: Even if the human labeler takes 100 to 1,000 steps to return a label, ACTOR never underperforms the base TTA model—and on long streams (like the 50k-sample ImageNet-S), accuracy barely flinches.

Key Results

With a 10% labeling budget and 1-step latency on CLIP backbones (ResNet-50 and ViT-B/16), ACTOR consistently boosts both zero-shot CLIP and top TTA methods (TPT, C-TPT, and TDA):

  • Cross-Domain Gains (ViT-B/16): Improves zero-shot CLIP average accuracy across 10 datasets from 61.94% to 70.67%, and boosts the strong training-free TDA baseline from 68.14% to 72.66% (with Flowers102 jumping from 71.62% to 82.28%).
  • OOD Gains (ViT-B/16): Raises TDA's OOD average from 64.01% to 65.28% (boosting ImageNet-S from 50.96% to 55.01%).
  • Beats Supervised Baselines: Across all 15 datasets, CLIP + ACTOR beats Online-CoOp by 2.50 percentage points and Replay-CoOp by 2.45 percentage points.
  • Virtually Zero Overhead: While prompt-tuning TTA methods like TPT take ~510 ms per image, ACTOR adds less than 0.5 ms per sample on an RTX 4090.

Limitations and Future Work

ACTOR assumes that when a human oracle finally answers, the label is clean and accurate; noisy annotations could poison local neighborhoods. Its performance can also dip if the incoming data stream has heavily skewed class distributions, or on very short streams when human latency eats up most of the timeline. Finally, once the budget runs dry, relying more on the Top-$K$ fallback is less selective than full spatial verification. Future directions include adding noise-aware memory filtering, class-balanced querying, distance-aware fallbacks, and smarter stream-order memory management.

Summary updated

Abstract

Test-time adaptation (TTA) for vision-language models (VLMs) is usually studied in a fully unsupervised regime, where adaptation relies on pseudo-labels, confidence scores, or entropy computed by the model itself. This is a severe restriction on hard shifted samples: the model is asked to repair its own uncertain predictions without any external evidence. At the other extreme, supervised online adaptation assumes labels can directly train or correct the model. We study the intermediate deployment regime between these two extremes. In *Active Test-time Adaptation for VLMs* (**Active VLM-TTA**), a pretrained VLM may spend an explicit labeling budget on selected test samples, but the prediction for the current sample must be emitted before its label can be used; queried labels are therefore costed, delayed evidence for future samples rather than free correction for the present one. Under this future-only constraint, the central question is how to reuse sparse labels conservatively. We instantiate this setting with **ACT**ive VLM-TTA for **O**nline **R**etrieval (**ACTOR**), a training-free plug-in module that routes uncertain samples among base prediction, label query, and memory-based correction using a consistency-and-reliability check over previously queried labels. Across ten cross-domain benchmarks and a domain-transfer benchmark based on ImageNet, **ACTOR** consistently improves strong VLM-TTA baselines on ResNet and ViT backbones with negligible inference overhead.
BibTeX
@inproceedings{bang2026training,
  author = {Jihwan Bang and Sumyeong Ahn and Hwanjun Song and Jae-Gil Lee},
  title = {{Training-Free Active Test-Time Adaptation for Vision-Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=I3ciV94sTt},
}
Figure