[論文レビュー] Vision Transformer with Super Token Sampling
本稿では、スーパートークンを導入することで浅い層における冗長性を低減する階層的ビジョントランスフォーマー、Super Token Vision Transformer (STViT) を提案する。グローバル自己注意機構をスパースな関連マップと低ランク注意行列に分解することにより、STViTは86.4%のトップ-1精度を達成し、ImageNet-1Kで高い性能を発揮するとともに、COCOおよびADE20Kベンチマークでも最先端の性能を実現した。
Vision transformer has achieved impressive performance for many vision tasks. However, it may suffer from high redundancy in capturing local features for shallow layers. Local self-attention or early-stage convolutions are thus utilized, which sacrifice the capacity to capture long-range dependency. A challenge then arises: can we access efficient and effective global context modeling at the early stages of a neural network? To address this issue, we draw inspiration from the design of superpixels, which reduces the number of image primitives in subsequent processing, and introduce super tokens into vision transformer. Super tokens attempt to provide a semantically meaningful tessellation of visual content, thus reducing the token number in self-attention as well as preserving global modeling. Specifically, we propose a simple yet strong super token attention (STA) mechanism with three steps: the first samples super tokens from visual tokens via sparse association learning, the second performs self-attention on super tokens, and the last maps them back to the original token space. STA decomposes vanilla global attention into multiplications of a sparse association map and a low-dimensional attention, leading to high efficiency in capturing global dependencies. Based on STA, we develop a hierarchical vision transformer. Extensive experiments demonstrate its strong performance on various vision tasks. In particular, without any extra training data or label, it achieves 86.4% top-1 accuracy on ImageNet-1K with less than 100M parameters. It also achieves 53.9 box AP and 46.8 mask AP on the COCO detection task, and 51.9 mIOU on the ADE20K semantic segmentation task. Code is released at https://github.com/hhb072/STViT.
研究の動機と目的
- ビジョントランスフォーマーの浅い層における局所的特徴学習における高い冗長性に対処すること。
- 長距離依存性を損なわず、初期ネットワーク段階で効率的かつ効果的なグローバルコンテキストモデリングを可能にすること。
- 自己注意機構の計算コストを低減しつつ、グローバル表現能力を維持すること。
- 従来の手法を上回る性能を示す、パラメータ増加を最小限に抑えた階層的ビジョントランスフォーマーバックボーンの設計
提案手法
- スーパーピクセルの過分割割合にインspiredされた、意味的に意味のあるコンパクトな視覚的コンテンツ表現としてのスーパートークンを導入する。
- スーパートークン注意(STA)を提案:スパース関連学習、スーパートークン上の自己注意、元のトークン空間への特徴再構成の3段階からなるメカニズム。
- 標準的なグローバル自己注意機構を、スパース関連マップと低次元注意行列の積に分解することで、FLOPsを二次的に削減する。
- 計算オーバーヘッドを最小限に抑えるために、スパース関連学習を用いた高速サンプリングアルゴリズムを採用する。
- さまざまな解像度に対応する柔軟な位置エンコーディングを実現するため、畳み込み型位置埋め込み(CPE)を採用する。
- 局所的特徴学習の向上と性能向上を目的に、ショートカット接続を備えたConvFFNを統合する。
実験結果
リサーチクエスチョン
- RQ1ビジョントランスフォーマーの初期段階で、局所的注意機構や初期段階の畳み込みに依存せずに、効率的かつ効果的なグローバルコンテキストモデリングを達成できるか?
- RQ2スーパーピクセルの原則に由来するスーパートークンは、浅い層における冗長性を効果的に低減しつつ、グローバル依存性モデリングを維持できるか?
- RQ3グローバル自己注意機構をスパース関連と低ランク注意に分解することで、性能の低下を伴わずにFLOPsを顕著に削減できるか?
- RQ4提案されたSTViTバックボーンは、既存のビジョントランスフォーマーと比較して、精度、効率性、およびさまざまなビジョンタスクにおける一般化性能において優れているか?
主な発見
- STViT-Sは52MパラメータでImageNet-1Kで86.4%のトップ-1精度を達成し、Swin-TやDeiT-Sを上回った。
- COCOオブジェクト検出において、STViT-Sは53.9のボックスAPと46.8のマスクAPを達成し、同程度またはより大きなパラメータ数を持つベースラインモデルを上回った。
- ADE20Kセマンティックセグメンテーションにおいて、STViT-Sは51.9のmIOUを達成し、Swin-Tを2.6 mIOU、Uniformerを1.2 mIOU上回った。
- アブレーションスタディの結果、スーパートークンサンプリングは初期段階で最も効果的であり、1回のサンプリングイテレーションで最適な性能が得られた。
- ConvFFNとCPEの追加は一貫して性能向上をもたらし、特にCPEが最大の貢献(0.4%の精度向上)を示した。
- STAはFLOPsを顕著に削減した(例:DeiT-Sと比較して3.97G vs. 4.6G)、同時に精度を維持または向上させた。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。