Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models

Ce Zhang, Simon Stepputtis, Katia Sycara, Yaqi Xie
10/16/2024
cs.CVcs.LG

Official code: zhangce01/DPE-CLIP (53 stars, MIT, last commit 2025-03-14). 1 more implementation below.

Abstract

Test-time adaptation, which enables models to generalize to diverse data with unlabeled test samples, holds significant value in real-world scenarios. Recently, researchers have applied this setting to advanced pre-trained vision-language models (VLMs), developing approaches such as test-time prompt tuning to further extend their practical applicability. However, these methods typically focus solely on adapting VLMs from a single modality and fail to accumulate task-specific knowledge as more samples are processed. To address this, we introduce Dual Prototype Evolving (DPE), a novel test-time adaptation approach for VLMs that effectively accumulates task-specific knowledge from multi-modalities. Specifically, we create and evolve two sets of prototypes--textual and visual--to progressively capture more accurate multi-modal representations for target classes during test time. Moreover, to promote consistent multi-modal representations, we introduce and optimize learnable residuals for each test sample to align the prototypes from both modalities. Extensive experimental results on 15 benchmark datasets demonstrate that our proposed DPE consistently outperforms previous state-of-the-art methods while also exhibiting competitive computational efficiency. Code is available at https://github.com/zhangce01/DPE-CLIP.

View on arXivView PDF

Code Implementations(2)

zhangce01/DPE-CLIPOfficial100%
MIT

[NeurIPS 2024] Code for Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models

531Shell, PythonOct 8, 20241 years agoMIT
MIT

[ICCV 2025] Official Repository for "Multi-Cache Enhanced Prototype Learning for Test-Time Generalization of Vision-Language Models"

221Shell, PythonOct 7, 202511 months agoMIT
ttavlm

Similar Papers

Cite this paper

@article{zhang2024dual,
  title  = {Dual Prototype Evolving for Test-Time Generalization of Vision-Language Models},
  author = {Ce Zhang and Simon Stepputtis and Katia Sycara and Yaqi Xie},
  year   = {2024},
  eprint = {2410.12790},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.12790},
  url    = {http://arxiv.org/abs/2410.12790v1},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.12790.svg)](https://codeofpaper.com/paper/2410.12790)

Discussion