English

Unsupervised Prototype Adapter for Vision-Language Models

Computer Vision and Pattern Recognition 2023-08-28 v2 Computation and Language

Abstract

Recently, large-scale pre-trained vision-language models (e.g. CLIP and ALIGN) have demonstrated remarkable effectiveness in acquiring transferable visual representations. To leverage the valuable knowledge encoded within these models for downstream tasks, several fine-tuning approaches, including prompt tuning methods and adapter-based methods, have been developed to adapt vision-language models effectively with supervision. However, these methods rely on the availability of annotated samples, which can be labor-intensive and time-consuming to acquire, thus limiting scalability. To address this issue, in this work, we design an unsupervised fine-tuning approach for vision-language models called Unsupervised Prototype Adapter (UP-Adapter). Specifically, for the unannotated target datasets, we leverage the text-image aligning capability of CLIP to automatically select the most confident samples for each class. Utilizing these selected samples, we generate class prototypes, which serve as the initialization for the learnable prototype model. After fine-tuning, the prototype model prediction is combined with the original CLIP's prediction by a residual connection to perform downstream recognition tasks. Our extensive experimental results on image recognition and domain generalization show that the proposed unsupervised method outperforms 8-shot CoOp, 8-shot Tip-Adapter, and also the state-of-the-art UPL method by large margins.

Keywords

Cite

@article{arxiv.2308.11507,
  title  = {Unsupervised Prototype Adapter for Vision-Language Models},
  author = {Yi Zhang and Ce Zhang and Xueting Hu and Zhihai He},
  journal= {arXiv preprint arXiv:2308.11507},
  year   = {2023}
}

Comments

Accepted by PRCV 2023

R2 v1 2026-06-28T12:01:35.095Z