Skip to main content
QUICK REVIEW

[論文レビュー] ViDT: An Efficient and Effective Fully Transformer-based Object Detector

Hwanjun Song, Sun Deqing|arXiv (Cornell University)|Oct 8, 2021
Advanced Neural Network Applications参考文献 20被引用数 46
ひとこと要約

ViDT は Reconfigured Attention Module (RAM) を使って Swin Transformer を再構成し、エンコーダー不要の neck を用い、トークンマッチングによる知識蒸留を導入して、COCO で強力な AP と好ましいレイテンシを実現する完全に Transformer ベースの物体検出器を提案します。

ABSTRACT

Transformers are transforming the landscape of computer vision, especially for recognition tasks. Detection transformers are the first fully end-to-end learning systems for object detection, while vision transformers are the first fully transformer-based architecture for image classification. In this paper, we integrate Vision and Detection Transformers (ViDT) to build an effective and efficient object detector. ViDT introduces a reconfigured attention module to extend the recent Swin Transformer to be a standalone object detector, followed by a computationally efficient transformer decoder that exploits multi-scale features and auxiliary techniques essential to boost the detection performance without much increase in computational load. Extensive evaluation results on the Microsoft COCO benchmark dataset demonstrate that ViDT obtains the best AP and latency trade-off among existing fully transformer-based object detectors, and achieves 49.2AP owing to its high scalability for large models. We will release the code and trained models at https://github.com/naver-ai/vidt

研究の動機と目的

  • 視覚モデルと検出トランスフォーマーの統合を動機づけ、重い neck エンコーダを持たない完全なエンドツーエンド検出器を構築する。
  • RAMを開発し、 ViT/ViT風のバックボーン(例: Swin)がマルチスケール機能を備えたスタンドアロン検出器として機能できるようにする。
  • エンコーダフリーの neck を用いて計算オーバーヘッドを削減し、補助デコード損失と反復的なボックス精練を活用する。
  • 大規模と小規模の ViDT モデル間のトークンマッチングによる知識蒸留で効率性を高める。

提案手法

  • Swin のパラメータを再利用しつつ、グローバルアテンションを PATCH×PATCH、DET×DET、DET×PATCH のアテンションに分解する Reconfigured Attention Module (RAM) を導入する。
  • 重い neck エンコーダを必要としない多段階特徴を統合する deformable transformer デコーダからなる encoder-free neck を採用する。
  • 補助デコード損失と反復的なボックス改良を適用して訓練収束と予測品質を改善する。
  • 教師モデルと生徒モデル間のトークンマッチングを用いた知識蒸留を実装し、表現知識を伝達する。
  • 最後の Swin ステージのみで有効化して DET×PATCH の複雑さを削減するため、選択的なクロスアテンションを使用する。

実験結果

リサーチクエスチョン

  • RQ1アテンションを再構成し neck エンコーダを排除することで、完全な Transformer ベースの検出器が COCO で競争力のある AP/遅延を達成できるか?
  • RQ2RAM は DETR 的デコードと Swin 的バックボーンの効果的な統合を実現し、拡張性と速度を維持できるか?
  • RQ3補助デコード損失、反復的なボックス改良、トークンマッチング蒸留が検出性能に与える影響はどの程度か?

主な発見

MethodBackboneEpochsAPAP50AP75APSAPMAPLParamsFPS (batch=1)Notes
DETRDeiT-tiny5030.049.230.59.930.850.624M10.9 (13.1)
DETRDeiT-small5032.452.533.211.333.553.739M7.8 (8.8)
DETRDeiT-base5037.159.238.414.739.452.90.1B4.3 (4.9)
DETRSwin-nano5027.847.527.49.029.244.924M24.7 (46.1)
DETRSwin-tiny5034.155.135.312.735.954.245M19.3 (28.1)
DETRSwin-small5037.659.039.015.940.158.966M13.5 (17.7)
DETRSwin-base5040.762.942.718.344.162.40.1B9.7 (12.6)
Deformable DETRDeiT-tiny5040.860.143.621.443.458.218M12.4 (16.3)
Deformable DETRDeiT-small5043.663.746.523.347.162.135M8.5 (10.2)
Deformable DETRDeiT-base5046.467.349.426.750.165.40.1B4.4 (5.3)
Deformable DETRSwin-nano5043.161.446.325.945.259.418M7.0 (7.8)
Deformable DETRSwin-tiny5047.066.850.828.149.863.939M6.3 (7.0)
Deformable DETRSwin-small5049.068.952.930.352.866.660M5.5 (6.1)
Deformable DETRSwin-base5051.471.756.234.555.167.50.1B4.8 (5.4)
YOLOSDeiT-tiny15030.448.631.112.431.848.26M28.1 (31.3)
YOLOSDeiT-small15036.155.737.615.638.455.330M9.3 (11.8)
YOLOSDeiT-base15042.062.244.519.545.362.10.1B3.9 (5.4)
ViDT (w.o. Neck)Swin-nano15028.748.628.512.330.744.17M36.5 (64.4)
ViDT (w.o. Neck)Swin-tiny15036.356.337.816.439.054.329M28.6 (32.1)
ViDT (w.o. Neck)Swin-small15041.662.743.920.145.459.852M16.8 (18.8)
ViDT (w.o. Neck)Swin-base15043.264.245.921.946.963.291M11.5 (12.5)
ViDTSwin-nano5040.459.643.323.242.555.816M20.0 (45.8)
ViDTSwin-tiny5044.864.548.725.947.662.138M17.2 (26.5)
ViDTSwin-small5047.567.751.429.250.764.861M12.1 (16.5)
ViDTSwin-base5049.269.453.130.652.666.90.1B9.0 (11.6)
  • RAMと encoder-free neck を備えた ViDT は、COCO における完全に Transformer ベースの検出器の中で最高の AP–FPS のトレードオフを達成する。
  • ViDT は大規模 ViT バックボーン(例: Swin-base)へのスケーリングが良好で、比較的低い遅延で高い AP を達成する(例: Swin-base 0.1B パラメータで 49.2 AP)。
  • クロスアテンション DET×PATCH は、最後の Swin ステージで有効化されたとき最も効果的で、AP と FPS のバランスを取る。
  • 補助デコード損失と反復的なボックス改良は DETR 風検出器を改善し、 neck デコーダと組み合わせると特に有益だが、 neck-free バリアントでは有益でないか、むしろ害になる。
  • トークンマッチングを介した知識蒸留(教師-生徒 ViDT)は小型モデルに AP の利得をもたらし、大きな教師モデルはより明確な利点を提供する。

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

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

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

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