Skip to main content
QUICK REVIEW

[論文レビュー] A Universal Representation Transformer Layer for Few-Shot Image Classification

Lu Liu, William L. Hamilton|arXiv (Cornell University)|Jun 21, 2020
Domain Adaptation and Few-Shot Learning参考文献 24被引用数 55
ひとこと要約

URT は ユニバーサルなマルチドメイン backbone 表現をタスク適応表現へと変換するトランスフォーマー風の meta 学習法を提案し、few-shot 分類における Meta-Dataset で最先端を達成。

ABSTRACT

Few-shot classification aims to recognize unseen classes when presented with only a small number of samples. We consider the problem of multi-domain few-shot image classification, where unseen classes and examples come from diverse data sources. This problem has seen growing interest and has inspired the development of benchmarks such as Meta-Dataset. A key challenge in this multi-domain setting is to effectively integrate the feature representations from the diverse set of training domains. Here, we propose a Universal Representation Transformer (URT) layer, that meta-learns to leverage universal features for few-shot classification by dynamically re-weighting and composing the most appropriate domain-specific representations. In experiments, we show that URT sets a new state-of-the-art result on Meta-Dataset. Specifically, it achieves top-performance on the highest number of data sources compared to competing methods. We analyze variants of URT and present a visualization of the attention score heatmaps that sheds light on how the model performs cross-domain generalization. Our code is available at https://github.com/liulu112601/URT.

研究の動機と目的

  • unseen クラスが多様なデータソースから来る multi-domain few-shot 分類の動機づけと課題設定。
  • ユニバーサル表現を個別タスクへ適応させる学習可能な機構を、ドメイン特化バックボーン上の注意機構を介して提案。
  • 手作業での特徴選択よりも backbone の組成をメタ学習することで、クロスドメイン一般化が改善されることを示す。
  • Meta-Dataset での最先端性能を実証し、クロスドメイン重み付けを解釈するための注意パターンを分析。

提案手法

  • Universal Representation Transformer (URT) 層を導入し、m 個の事前学習ドメインバックボーンをドット積自己注意で重み付けして結合。
  • 各クラスをタスク内でのクラス別注意として表現し、クエリはクラスサポートセットから、キーはバックボーン表現から導出。
  • 単一ヘッドおよびマルチヘッドURT の変種をサポートし、マルチヘッド出力は結合表現とし、注意ヘッドを多様化する正則化を導入。
  • URT をエンドツーエンドで Prototypical Networks の損失で訓練し、適応表現空間内のクラスプロトタイプを用いてクエリを分類。
  • URT 処理前に異なるベクトルノルムを考慮するため、バックボーン出力を正規化。
  • FiLM でモジュレートされたバックボーン(pf バックボーン)と比較して URT の利点を示すことも選択肢として検討。

実験結果

リサーチクエスチョン

  • RQ1 Transformer 型 URT 層は universal 表現を重み付け・合成する学習により、クロスドメインの few-shot 分類を改善できるか?
  • RQ2 URT の注意ヘッドは Seen/Unseen ドメインに対して解釈可能なドメイン特化の重み付けを生み出すか?
  • RQ3 URT の利得は異なるバックボーン訓練パラダイム(例: FiLM モジュール化バックボーン)を使用しても持続するか?

主な発見

ILSVRCOmniglotAircraftBirdsTexturesDrawFungiFlowerTraffic SignsMSCOCO平均順位
MAML37.8 ± 1.083.9 ± 1.076.4 ± 0.762.4 ± 1.164.1 ± 0.859.7 ± 1.133.5 ± 1.179.9 ± 0.842.9 ± 1.329.4 ± 1.18.0
ProtoNet44.5 ± 1.179.6 ± 1.171.1 ± 0.967.0 ± 1.065.2 ± 0.864.9 ± 0.940.3 ± 1.186.9 ± 0.746.5 ± 1.039.9 ± 1.17.3
ProtoMAML46.5 ± 1.182.7 ± 1.075.2 ± 0.869.9 ± 1.068.3 ± 0.866.8 ± 0.942.0 ± 1.288.7 ± 0.752.4 ± 1.141.7 ± 1.15.4
CNAPs52.3 ± 1.088.4 ± 0.780.5 ± 0.672.2 ± 0.958.3 ± 0.772.5 ± 0.847.4 ± 1.086.0 ± 0.560.2 ± 0.942.6 ± 1.15.1
BOHB-E55.4 ± 1.177.5 ± 1.160.9 ± 0.973.6 ± 0.872.8 ± 0.761.2 ± 0.944.5 ± 1.190.6 ± 0.657.5 ± 1.051.9 ± 1.04.4
TaskNorm50.6 ± 1.190.7 ± 0.683.8 ± 0.674.6 ± 0.862.1 ± 0.774.8 ± 0.748.7 ± 1.089.6 ± 0.667.0 ± 0.743.4 ± 1.03.8
SUR56.3 ± 1.193.1 ± 0.585.4 ± 0.771.4 ± 1.071.5 ± 0.881.3 ± 0.663.1 ± 1.082.8 ± 0.770.4 ± 0.852.4 ± 1.12.5
SimpleCNAPS58.6 ± 1.191.7 ± 0.682.4 ± 0.774.9 ± 0.867.8 ± 0.877.7 ± 0.746.9 ± 1.090.7 ± 0.573.5 ± 0.746.2 ± 1.12.4
URT55.7 ± 1.094.4 ± 0.485.8 ± 0.676.3 ± 0.871.8 ± 0.782.5 ± 0.663.5 ± 1.088.2 ± 0.669.4 ± 0.852.2 ± 1.11.6
  • URT は Meta-Dataset における新しい最先端を確立し、競合手法の中でデータソース数が最も多い領域でトップの性能を達成。
  • URT は SUR と比較して推論時間を10倍以上短縮(タスクあたり 0.04s vs 0.43s、V100)。
  • 2 ヘッド URT は補完的な注意パターンを学習:片方のヘッドは同一ドメインバックボーンに焦点を当て、もう片方は関連ドメインをブレンドし、 unseen ドメインでは複数のバックボーンを混ぜて頑健性を確保。
  • URT は SUR より複数のデータソースで性能向上を達成しつつ、他のデータソースでの性能低下を抑制。表1では URT が複数ソースで SUR を上回る。
  • FiLM モジュール化バックボーン(URT-pf)は、SUR-pf よりも複数データセットで一般的に改善を示し、バックボーンファミリ全体での頑健性を示唆。
  • アブレーション研究は、キーおよびサポートセット由来のクエリの重要性と、複数ヘッドの有用性を示す。

より良い研究を、今すぐ始めましょう

論文設計から論文執筆まで、研究時間を劇的に削減しましょう。

クレジットカード登録不要

このレビューはAIが作成し、人間の編集者が確認しました。