NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bidirectional Prototype-Reward co-Evolution for Test-Time Adaptation of Vision-Language Models

Xiaozhen Qiao, Peng Huang, Jiakang Yuan, Xianda Guo, Bowen Ye, Zhe Sun, Xuelong LiarXiv 2025 · DOI

Introduction: The Challenge of Domain Shift in VLMs

Large-scale Vision-Language Models (VLMs), such as CLIP, have revolutionized computer vision by enabling impressive zero-shot capabilities across a wide array of tasks. However, these models often encounter significant performance degradation when deployed in real-world scenarios characterized by domain shifts—such as moving from natural photographs to sketches, artistic renditions, or satellite imagery.

To address this without the prohibitive cost of full-model retraining, researchers have turned to Test-Time Adaptation (TTA). TTA aims to update the model during the inference phase using only unlabeled test data. Despite its promise, current TTA methods for VLMs frequently fall into a "text-reliance trap." They rely heavily on the alignment between images and hand-crafted text prompts to determine which samples are reliable for adaptation. This creates a bias where the model prioritizes images that match its existing (and potentially flawed) text priors, while ignoring visually rich but poorly aligned samples. This feedback loop of bias can lead to misclassification and poor generalization in dynamic environments.

The BPRE Framework: Breaking the Text-Reliance Trap

To overcome the limitations of text-centric adaptation, this paper introduces Bidirectional Prototype-Reward co-Evolution (BPRE). BPRE shifts the focus toward evaluating the intrinsic quality of visual features and using them to iteratively refine class "prototypes"—representative feature vectors for each category.

Overview of the BPRE architecture, showing the interaction between the Reward Module, Visual Caches, and Prototype generation.

The framework is built upon two synergistic components:

1. Multi-dimensional Quality-aware Reward Module (MQRM)

Instead of a single alignment score, the MQRM calculates a composite "reward" for every incoming test sample based on three distinct dimensions:

  • Similarity: Measures how closely a test sample aligns with the current visual prototype of its predicted class.
  • Confidence: Evaluates the model's certainty in its prediction, typically measured via the entropy of the output distribution.
  • Diversity: Assesses how novel a feature is compared to a short-term memory queue of recently processed features. This ensures the model does not collapse into a narrow subset of the data distribution and maintains a broad representation of the target domain.

2. Prototype-Reward Interactive Evolution (PRIE)

The core of BPRE is a bidirectional feedback loop. The reward scores generated by the MQRM determine the weight of each new test sample in updating the visual prototypes. Conversely, as these prototypes become more accurate and robust through the inclusion of high-quality visual data, they enable the MQRM to provide even more precise reward signals for future samples. This co-evolutionary process allows the model to "clean" its own adaptation signal, filtering out noise and ambiguous samples that would otherwise degrade performance.

Experimental Evaluation

The authors conducted an extensive evaluation of BPRE across 15 diverse datasets to test its robustness and generalization capabilities. The experiments were divided into two primary scenarios:

  1. Distribution Shift Robustness: Evaluated on ImageNet and its challenging out-of-distribution (OOD) variants, including ImageNet-A (adversarial), ImageNet-V2 (new test set), ImageNet-R (renditions), and ImageNet-Sketch.
  2. Cross-Domain Generalization: Tested across 10 datasets covering a broad spectrum of visual tasks, such as fine-grained classification (Aircraft, Cars, Pets), texture recognition (DTD), scene understanding (SUN397), and satellite imagery (EuroSAT).

Results and Discussion

BPRE demonstrates state-of-the-art performance across both evaluation scenarios, significantly outperforming existing TTA methods.

Radar charts comparing BPRE performance against other TTA methods across various datasets and backbones.

Robustness to Distribution Shifts

On the ImageNet OOD variants, BPRE achieved an average accuracy of 65.08% using a ViT-B/16 backbone. This represents a substantial improvement over the zero-shot CLIP baseline (57.20%) and surpasses previous state-of-the-art methods like DPE (64.43%) and TDA (63.89%).

Cross-Dataset Generalization

The framework established a new benchmark for cross-domain generalization with a 70.10% average accuracy across 10 datasets. Notably, BPRE showed significant gains in specialized tasks, such as a +2.25% improvement on FGVCAircraft and a +2.78% increase on the DTD texture dataset compared to its closest competitors.

Efficiency and Practicality

Beyond accuracy, BPRE is designed for practical deployment. It processed 50,000 ImageNet samples in approximately 3 hours. In contrast, prompt-tuning methods like TPT or DiffTPT can take upwards of 10 to 20 hours for the same task, while often yielding lower accuracy. This efficiency makes BPRE a viable solution for real-time adaptation in resource-constrained environments.

Conclusion and Future Directions

BPRE successfully addresses the text-bias bottleneck in VLM adaptation by introducing a visual-centric, bidirectional reward system. By balancing similarity, confidence, and diversity, the framework ensures that the model learns from the most informative and reliable visual features.

A key insight from the study is the importance of the "Goldilocks" zone for memory management; the size of the feature queue must be carefully balanced to provide enough historical context without introducing outdated noise. Future work may focus on developing automated mechanisms to dynamically tune hyperparameters like the reward threshold ($R_{min}$) and queue size ($M$) in response to varying levels of domain shift, further enhancing the framework's plug-and-play utility.

Summary updated

BibTeX
@misc{qiao2025bidirectional,
  author = {Xiaozhen Qiao and Peng Huang and Jiakang Yuan and Xianda Guo and Bowen Ye and Zhe Sun and Xuelong Li},
  title = {{Bidirectional Prototype-Reward co-Evolution for Test-Time Adaptation of Vision-Language Models}},
  year = {2025},
  eprint = {2503.09394},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.09394},
}
Figure