Skip to main content
QUICK REVIEW

[論文レビュー] Improving Visual Prompt Tuning for Self-supervised Vision Transformers

Seungryong Yoo, Eunji Kim|arXiv (Cornell University)|Jun 8, 2023
Domain Adaptation and Few-Shot LearningComputer Science被引用数 7
ひとこと要約

Gated Prompt Tuning はブロックごとのゲートを学習して自己-supervisedな ViT へポンプトを選択的に注入し、分類およびセマンタスクで VPT の派生手法の性能を向上させる。

ABSTRACT

Visual Prompt Tuning (VPT) is an effective tuning method for adapting pretrained Vision Transformers (ViTs) to downstream tasks. It leverages extra learnable tokens, known as prompts, which steer the frozen pretrained ViTs. Although VPT has demonstrated its applicability with supervised vision transformers, it often underperforms with self-supervised ones. Through empirical observations, we deduce that the effectiveness of VPT hinges largely on the ViT blocks with which the prompt tokens interact. Specifically, VPT shows improved performance on image classification tasks for MAE and MoCo v3 when the prompt tokens are inserted into later blocks rather than the first block. These observations suggest that there exists an optimal location of blocks for the insertion of prompt tokens. Unfortunately, identifying the optimal blocks for prompts within each self-supervised ViT for diverse future scenarios is a costly process. To mitigate this problem, we propose a simple yet effective method that learns a gate for each ViT block to adjust its intervention into the prompt tokens. With our method, prompt tokens are selectively influenced by blocks that require steering for task adaptation. Our method outperforms VPT variants in FGVC and VTAB image classification and ADE20K semantic segmentation. The code is available at https://github.com/ryongithub/GatedPromptTuning.

研究の動機と目的

  • 自己 supervise ViT がブロックごとに情報をどのように符号化するかと、プロンプトの配置が転移にどう影響するかを動機づける。
  • タスク適応のためにプロンプトトークンを ViT ブロックと選択的に結合するゲーティング機構を提案する。
  • 学習可能な温度を用いて自己注意をさらに精製する Adaptive Attention Shaping を導入する。
  • ゲート付きプロンプトが分類・セグメンテーションのベンチマークで VPT 系よりも優れていることを示す。

提案手法

  • 各 ViT ブロックに対してプロンプト相互作用を規制する学習可能なゲート g^l を導入する。
  • l = 番目のブロックに対してゲート付き入力プロンプト表現 Z_P^l = g^l * Z̃_P^l + (1 - g^l) * Z_P^{l-1} を計算する。
  • ゲート事前分布 Gamma を定義し、それをシグモイドで変換して g^l を得る。
  • Eq. (8) によるブロック間の解釈可能なプロンプト集約を提供し、プロンプト表現の選択的集約を示す。
  • Adaptive Attention Shaping を学習可能な温度 T とともに追加し、自己注意スコアを調整する,a^l = Softmax(Q^l (K^l)^T / τ^l)。
  • ゲーテッドプロンプトチューニングと VPT-shallow/deep を対比し、SSL バックボーン MAE と MoCo v3 の向上を報告する。

実験結果

リサーチクエスチョン

  • RQ1自己-supervised 前処理に基づく最適なタスク適応のために、どの ViT ブロックとプロンプトトークンが相互作用すべきか?
  • RQ2学習可能なゲートはタスク関連のブロックを識別し、SSL ViTs の転送を改善できるか?
  • RQ3Adaptive Attention Shaping は SSL ViTs のプロンプト駆動転送をさらに改善するか?
  • RQ4提案手法は FGVC、VTAB-1K、ADE20K において VPT 系と比較してどうか?

主な発見

  • ゲーテッドプロンプトチューニングは FGVC および VTAB-1K のベンチマークで MAE および MoCo v3 の両方に対して VPT-shallow を一貫して上回る。
  • FGVC では MAE が本法で平均精度 73.39 を達成し、MoCo v3 は 83.00、VPT-shallow を上回り、しばしば VPT-deep を上回る。
  • VTAB-1K では MAE が本法で平均精度 49.22、MoCo v3 が 65.80 に達し、特に Structured グループで VPT 系よりも大幅に改善。
  • ADE20K セマンティックセグメンテーションで本法は MAE で 38.44 mIoU、MoCo v3 で 36.81 mIoU を達成し、プロンプトトークンが少ないまたは同等で VPT の counterpart を凌駕。
  • アブレーションによりソフトゲートがハードゲート(Gumbel-Sigmoid)を上回り、より少ないトークン数でも深い VPT 構成を上回ることを示す。
  • 選択比はゲートが SSL 手法とダウンストリームタスクに応じて異なるブロックを強調することを示し、タスク-および手法固有のブロックターゲティングを支持。

この論文を読む

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

Nubintでこの論文を読む

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