arXiv reaDer
MapLe: マルチモーダルプロンプト学習
MaPLe: Multi-modal Prompt Learning
CLIP などの事前トレーニング済みの視覚言語 (VL) モデルは、下流のタスクに対する優れた一般化能力を示しています。ただし、これらは入力テキスト プロンプトの選択に敏感であり、適切に実行するにはプロンプト テンプレートを慎重に選択する必要があります。自然言語処理 (NLP) の文献に触発された最近の CLIP 適応アプローチは、下流のタスク用に CLIP を微調整するためのテキスト入力としてプロンプトを学習します。 CLIP の 1 つのブランチ (言語またはビジョン) で表現を適応させるためにプロンプトを使用することは、下流のタスクで両方の表現空間を動的に調整する柔軟性が得られないため、最適ではないことに注意してください。この作業では、ビジョンと言語表現の間の整合性を改善するために、ビジョンと言語ブランチの両方にマルチモーダルプロンプト学習 (MaPLe) を提案します。私たちのデザインは、相互の相乗効果を確保するために視覚と言語のプロンプト間の強力な結合を促進し、独立した単一モードのソリューションの学習を思いとどまらせます。さらに、さまざまな初期段階で個別のプロンプトを学習して、段階ごとの特徴の関係を段階的にモデル化し、豊富なコンテキスト学習を可能にします。新しいクラス、新しいターゲット データセット、目に見えないドメイン シフトへの一般化の 3 つの代表的なタスクに対するアプローチの有効性を評価します。最先端の方法である Co-CoOp と比較して、MaPLe は良好なパフォーマンスを示し、11 の多様な画像認識データセットの平均で、新しいクラスで 3.45%、全体的な調和平均で 2.72% の絶対ゲインを達成します。コードと事前トレーニング済みのモデルは、https://github.com/muzairkhattak/multimodal-prompt-learning で入手できます。
Pre-trained vision-language (V-L) models such as CLIP have shown excellent generalization ability to downstream tasks. However, they are sensitive to the choice of input text prompts and require careful selection of prompt templates to perform well. Inspired by the Natural Language Processing (NLP) literature, recent CLIP adaptation approaches learn prompts as the textual inputs to fine-tune CLIP for downstream tasks. We note that using prompting to adapt representations in a single branch of CLIP (language or vision) is sub-optimal since it does not allow the flexibility to dynamically adjust both representation spaces on a downstream task. In this work, we propose Multi-modal Prompt Learning (MaPLe) for both vision and language branches to improve alignment between the vision and language representations. Our design promotes strong coupling between the vision-language prompts to ensure mutual synergy and discourages learning independent uni-modal solutions. Further, we learn separate prompts across different early stages to progressively model the stage-wise feature relationships to allow rich context learning. We evaluate the effectiveness of our approach on three representative tasks of generalization to novel classes, new target datasets and unseen domain shifts. Compared with the state-of-the-art method Co-CoOp, MaPLe exhibits favorable performance and achieves an absolute gain of 3.45% on novel classes and 2.72% on overall harmonic-mean, averaged over 11 diverse image recognition datasets. Our code and pre-trained models are available at https://github.com/muzairkhattak/multimodal-prompt-learning.
updated: Sat Mar 25 2023 22:10:13 GMT+0000 (UTC)
published: Thu Oct 06 2022 17:59:56 GMT+0000 (UTC)
参考文献 (このサイトで利用可能なもの) / References (only if available on this site)
被参照文献 (このサイトで利用可能なものを新しい順に) / Citations (only if available on this site, in order of most recent)
Amazon.co.jpアソシエイト