Deeply Coupled Cross-Modal Prompt Learning

Xuejing Liu, Wei Tang, Jinghui Lu, Rui Zhao, Zhaojun Guo +1 more
5/29/2023
cs.CV

Official code: GingL/CMPA (16 stars, last commit 2023-05-31).

Abstract

Recent advancements in multimodal foundation models (e.g., CLIP) have excelled in zero-shot generalization. Prompt tuning involved in the knowledge transfer from foundation models to downstream tasks has gained significant attention recently. Existing prompt-tuning methods in cross-modal learning, however, either solely focus on language branch, or learn vision-language interaction in a shallow mechanism. In this context, we propose a Deeply coupled Cross-modal Prompt learning (DCP) method based on CLIP. DCP flexibly accommodates the interplay between vision and language with a Cross-Modal Prompt Attention (CMPA) mechanism, which enables the mutual exchange of respective representation through a well-connected multi-head attention module progressively and strongly. We then conduct comprehensive few-shot learning experiments on 11 image classification datasets and analyze the robustness to domain shift as well. Thorough experimental analysis evidently demonstrates the superb few-shot generalization and compelling domain adaption capacity of a well-executed DCP. The code can be found at https://github.com/GingL/CMPA.

View on arXivView PDF

Code Implementations(1)

GingL/CMPAOfficial100%
161Shell, PythonMay 12, 20233 years ago

Similar Papers

Cite this paper

@article{liu2023deeply,
  title  = {Deeply Coupled Cross-Modal Prompt Learning},
  author = {Xuejing Liu and Wei Tang and Jinghui Lu and Rui Zhao and Zhaojun Guo and Fei Tan},
  year   = {2023},
  eprint = {2305.17903},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.17903v3}
}

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

Discussion