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.
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.
- 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.
- 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:
- Consistency: Both neighbors share the exact same class label.
- Reliability: Their average cosine similarity to the test image exceeds a strict proximity threshold.
- 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.
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