Skip to main content
QUICK REVIEW

[論文レビュー] PLOT: Prompt Learning with Optimal Transport for Vision-Language Models

Guangyi Chen, Weiran Yao|arXiv (Cornell University)|Oct 3, 2022
Multimodal Machine Learning ApplicationsComputer Science被引用数 22
ひとこと要約

PLOT は複数の局所プロンプトを学習し、最適輸送を用いて視覚特徴とプロンプト集合を整合させ、微細な跨模态マッチングを可能にし、CoOpより少数ショットでの性能向上を実現。

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 https://github.com/CHENGY12/PLOT.

研究の動機と目的

  • 多様な属性と文脈からカテゴリを説明するために、複数の総合的なプロンプトを学習する動機付け。
  • プロンプトを局所的な視覚特徴と最適輸送で整列させることにより、複数のプロンプトが単一点へ収束する問題を克服する。
  • 多様なデータセットにまたがる少数ショット視覚認識の堅牢性と精度を向上させる。
  • 追加パラメータを最小限に抑えつつ、2段階のOTベース最適化でエンドツーエンドの学習性を維持する。

提案手法

  • 各カテゴリを、異なる属性や文脈を説明するテキストプロンプトの集合で表現する。
  • 単一のグローバル特徴量の代わりに、CLIPのビジュアルエンコーダから局所的特徴のセット(特徴マップ)を抽出する。
  • プロンプトと視覚特徴の対応付きを、コサイン類似度に基づくコストを用いる最適輸送問題としてモデル化する。
  • 2段階の最適化を用いる。内部ループは Sinkhorn 反復法で OT 輸送計画を最適化し、外部ループはバックプロパゲーションによってプロンプトを更新する。
  • プロンプトを超える追加パラメータを導入せず、2段階のエンドツーエンド微分可能な学習方式を採用する。

実験結果

リサーチクエスチョン

  • RQ1視覚と言語モデルにおいて、複数のプロンプトは単一のプロンプトよりカテゴリをより包括的に記述できるか?
  • RQ2局所的な視覚特徴を複数のテキストプロンプトと整列させるために最適輸送を適用すると、従来の平均特徴距離よりもより細かく、より堅牢な跨模合致が得られるか?
  • RQ3少数ショット認識とドメイン堅牢性において、局所特徴マップの使用とグローバル特徴の使用の影響は何か?
  • RQ4さまざまなデータセットとショット設定において、PLOT は CoOp や CoCoOp と比べてどう機能するか?

主な発見

  • PLOT はほとんどのデータセットで少数ショット認識シナリオにおいて一貫して CoOp および CoCoOp を上回る。
  • OT を用いた複数のプロンプトは、視覚と言語モダリティ間の細かな整合を可能にし、ドメインシフト下での堅牢性を向上させる。
  • 単一グローバル特徴ではなく局所的特徴マップを OT と共に利用することは、パフォーマンスに大きく影響し、OT が必要な整合を提供する。
  • 本手法は CoOp ベースラインと比較して、推論時間のおよそ10%、学習時間のおよそ5%のオーバーヘッドを追加する。
  • プロンプトの数(N)が約4は、データセット間で精度とコストのバランスに好適な値を提供する。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。