Current browse context:
cs.CV
Change to browse by:
References & Citations
Computer Science > Computer Vision and Pattern Recognition
Title: PLOT: Prompt Learning with Optimal Transport for Vision-Language Models
(Submitted on 3 Oct 2022 (v1), last revised 9 Feb 2023 (this version, v2))
Abstract: With the increasing attention to large vision-language models such as CLIP, there has been a significant amount of effort dedicated to building efficient prompts. Unlike conventional methods of only learning one single prompt, we propose to learn multiple comprehensive prompts to describe diverse characteristics of categories such as intrinsic attributes or extrinsic contexts. However, directly matching each prompt to the same visual feature is problematic, as it pushes the prompts to converge to one point. To solve this problem, we propose to apply optimal transport to match the vision and text modalities. Specifically, we first model images and the categories with visual and textual feature sets. Then, we apply a two-stage optimization strategy to learn the prompts. In the inner loop, we optimize the optimal transport distance to align visual features and prompts by the Sinkhorn algorithm, while in the outer loop, we learn the prompts by this distance from the supervised data. Extensive experiments are conducted on the few-shot recognition task and the improvement demonstrates the superiority of our method. The code is available at this https URL
Submission history
From: Guangyi Chen [view email][v1] Mon, 3 Oct 2022 22:21:07 GMT (3969kb,D)
[v2] Thu, 9 Feb 2023 23:26:37 GMT (2054kb,D)
Link back to: arXiv, form interface, contact.