Multi-Prompt with Depth Partitioned Cross-Modal Learning

Yingjie Tian, Yiqi Wang, Xianda Guo, Zheng Zhu, Long Chen
5/10/2023
1 citation
cs.CVcs.AI

No official code found. Best implementation: Yi-Qi638/PMPO (6 stars, last commit 2023-05-10).

Abstract

In recent years, soft prompt learning methods have been proposed to fine-tune large-scale vision-language pre-trained models for various downstream tasks. These methods typically combine learnable textual tokens with class tokens as input for models with frozen parameters.

Show full abstract

However, they often employ a single prompt to describe class contexts, failing to capture categories' diverse attributes adequately. This study introduces the Partitioned Multi-modal Prompt (PMPO), a multi-modal prompting technique that extends the soft prompt from a single learnable prompt to multiple prompts. Our method divides the visual encoder depths and connects learnable prompts to the separated visual depths, enabling different prompts to capture the hierarchical contextual depths of visual representations. Furthermore, to maximize the advantages of multi-prompt learning, we incorporate prior information from manually designed templates and learnable multi-prompts, thus improving the generalization capabilities of our approach. We evaluate the effectiveness of our approach on three challenging tasks: new class generalization, cross-dataset evaluation, and domain generalization. For instance, our method achieves a $79.28$ harmonic mean, averaged over 11 diverse image recognition datasets ($+7.62$ compared to CoOp), demonstrating significant competitiveness compared to state-of-the-art prompting methods.

View on arXivView PDF

Code Implementations(1)

Yi-Qi638/PMPOCommunity100%

The Repository of "Multi-Prompt with Depth Partitioned Cross-Modal Learning "

60May 10, 20233 years ago

Similar Papers

Cite this paper

@article{tian2023multiprompt,
  title  = {Multi-Prompt with Depth Partitioned Cross-Modal Learning},
  author = {Yingjie Tian and Yiqi Wang and Xianda Guo and Zheng Zhu and Long Chen},
  year   = {2023},
  eprint = {2305.06221},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.06221v4}
}

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/2305.06221.svg)](https://codeofpaper.com/paper/2305.06221)

Discussion