arXiv reaDer
ビジョン トランスフォーマー向けの効率的な少数ショット適応の調査
Exploring Efficient Few-shot Adaptation for Vision Transformers
少数ショット学習 (FSL) のタスクは、豊富なラベル付きトレーニング サンプルを含む基本カテゴリから学習した知識を利用して、少数のラベル付き例のみを含む新しいカテゴリの推論を行うことを目的としています。 FSL タスクには多くの作業がありますが、ビジョン トランスフォーマー (ViT) が FSL のバックボーンとして採用されることはほとんどなく、バックボーン全体または分類レイヤーの単純な微調整に焦点を当てた試験はほとんどありません。他のビジョン タスクのパフォーマンスは向上しますが、実際の FSL シナリオで ViT を効率的に微調整することは依然として非常に重要です。この目的のために、FSLタスクでのViTの微調整を容易にする新しい効率的なトランスフォーマーチューニング(eTT)メソッドを提案します。重要な新機能は、タスクとバックボーンのチューニング用に新しく発表された Attentive Prefix Tuning (APT) と Domain Residual Adapter (DRA) から個別にもたらされます。具体的には、APT では、モデルにタスク固有の情報を提供するために、各セルフアテンション レイヤーに関連付けられた新しいキーと値のペアにプレフィックスが射影されます。さらに、DRA を学習可能なオフセット ベクトルの形式で設計し、基本データと新規データの間の潜在的なドメイン ギャップを処理します。 APTが最初のタスク固有の情報から大きく逸脱しないようにするために、新しいプロトタイプの正則化をさらに提案します。これにより、予測されるプレフィックスの分布と初期プロトタイプの類似性を最大化し、更新手順を正則化します。私たちの方法は、挑戦的なメタデータセットで優れたパフォーマンスを発揮します。私たちは、モデルの有効性を示すために大規模な実験を行います。
The task of Few-shot Learning (FSL) aims to do the inference on novel categories containing only few labeled examples, with the help of knowledge learned from base categories containing abundant labeled training samples. While there are numerous works into FSL task, Vision Transformers (ViTs) have rarely been taken as the backbone to FSL with few trials focusing on naive finetuning of whole backbone or classification layer.} Essentially, despite ViTs have been shown to enjoy comparable or even better performance on other vision tasks, it is still very nontrivial to efficiently finetune the ViTs in real-world FSL scenarios. To this end, we propose a novel efficient Transformer Tuning (eTT) method that facilitates finetuning ViTs in the FSL tasks. The key novelties come from the newly presented Attentive Prefix Tuning (APT) and Domain Residual Adapter (DRA) for the task and backbone tuning, individually. Specifically, in APT, the prefix is projected to new key and value pairs that are attached to each self-attention layer to provide the model with task-specific information. Moreover, we design the DRA in the form of learnable offset vectors to handle the potential domain gaps between base and novel data. To ensure the APT would not deviate from the initial task-specific information much, we further propose a novel prototypical regularization, which maximizes the similarity between the projected distribution of prefix and initial prototypes, regularizing the update procedure. Our method receives outstanding performance on the challenging Meta-Dataset. We conduct extensive experiments to show the efficacy of our model.
updated: Fri Jan 06 2023 08:42:05 GMT+0000 (UTC)
published: Fri Jan 06 2023 08:42:05 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アソシエイト