Skip to main content
QUICK REVIEW

[論文レビュー] SViTT: Temporal Learning of Sparse Video-Text Transformers

Yi Li, Kyle Min|arXiv (Cornell University)|Apr 18, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用数 3
ひとこと要約

SViTTは、自己注意メカニズムにおけるエッジおよびノードスパarsityを適用することで、動画言語モデルにおける時系列的推論を向上させるスパースなビデオ・テキスト変換器を提案する。これにより、計算コストを著しく削減しつつ、マルチフレームのモデリングが効率的に行える。特に長いクリップにおいては、情報量の多い時空間的領域に計算を集中させることで、カリキュラムベースのスパarsity訓練を用いることで、密度型変換器ベースラインを上回る性能を発揮する。

ABSTRACT

Do video-text transformers learn to model temporal relationships across frames? Despite their immense capacity and the abundance of multimodal training data, recent work has revealed the strong tendency of video-text models towards frame-based spatial representations, while temporal reasoning remains largely unsolved. In this work, we identify several key challenges in temporal learning of video-text transformers: the spatiotemporal trade-off from limited network size; the curse of dimensionality for multi-frame modeling; and the diminishing returns of semantic information by extending clip length. Guided by these findings, we propose SViTT, a sparse video-text architecture that performs multi-frame reasoning with significantly lower cost than naive transformers with dense attention. Analogous to graph-based networks, SViTT employs two forms of sparsity: edge sparsity that limits the query-key communications between tokens in self-attention, and node sparsity that discards uninformative visual tokens. Trained with a curriculum which increases model sparsity with the clip length, SViTT outperforms dense transformer baselines on multiple video-text retrieval and question answering benchmarks, with a fraction of computational cost. Project page: http://svcl.ucsd.edu/projects/svitt.

研究の動機と目的

  • 動画言語変換器における非効率な時系列モデリングの課題に取り組むこと。これは、しばしば静的フレームレベルの表現を動的時系列的推論よりも重視する傾向がある。
  • 限られたサイズの動画変換器における空間的および時系列的モデリングのトレードオフを克服すること。これにより、関連する時空間的領域に適応的リソースを割り当てることが可能になる。
  • 注意メカニズムおよび視覚的トークン選択におけるスパarsityの導入により、長時間の動画モデリングにおける計算コストを削減すること。これにより、密度型変換器の二次関数的複雑性を回避できる。
  • クリッピング長とモデルのスパarsityを同時に増加させるカリキュラムを用いることで、長時間のクリップにおける汎化性およびスケーラビリティを向上させること。
  • スパースモデリングが、特に時系列的ダイナミクスが重要な状況において、密度型アテンションを上回ることを示すこと。

提案手法

  • SViTTは視覚的トークンをグラフのノードとみなし、自己注意のパターンをエッジとして扱う。これにより、エッジスパarsity(アテンションの接続数制限)とノードスパarsity(情報量の少ない視覚的トークンの削除)の2種類のスパarsityを適用する。
  • エッジスパarsityは、スパースブロックアテンションにより実装され、各クエリが保持するアテンション接続数を制限しつつ、グローバルな推論能力を維持する。
  • ノードスパarsityは、学習可能な選択メカニズムを用いた視覚的トークンのプルーニングにより達成され、前面のオブジェクトおよび動的な領域に注目する。
  • テキスト誘導型のクロスモーダルアテンションモジュールにより、テキストクエリと関連する視覚的コンテンツを一致させ、視覚的トークン選択を強化する。
  • モデルは、時間的スパarsity拡張と呼ばれるカリキュラム学習戦略で訓練される。訓練段階を経て、クリップ長とモデルのスパarsityが段階的に増加する。
  • ハイブリッドスパarsity戦略により、エッジおよびノードスパarsityを組み合わせ、効率的な推論と長時間の動画における性能向上を実現する。
Figure 1 : We propose SViTT , a sparse video-text transformer for efficient modeling of temporal relationships across video frames. Top : Semantic information for video-text reasoning is highly localized in the spatiotemporal volume, making dense modeling inefficient and prone to contextual noises.
Figure 1 : We propose SViTT , a sparse video-text transformer for efficient modeling of temporal relationships across video frames. Top : Semantic information for video-text reasoning is highly localized in the spatiotemporal volume, making dense modeling inefficient and prone to contextual noises.

実験結果

リサーチクエスチョン

  • RQ1スパースアテンションメカニズムは、計算コストを削減しつつ、長距離の時系列的依存関係を効果的にモデリングできるか?
  • RQ2情報量の少ない視覚的トークンをプルーニングすることで、動画・テキストタスクにおけるモデルの効率性と性能が向上するか?
  • RQ3クリッピング長を段階的に増加させるカリキュラムベースのスパarsity訓練は、モデルの汎化性および最適化の安定性にどのように影響するか?
  • RQ4スパースモデリングは、特に長時間の動画において、動画検索および質問応答タスクで密度型変換器を上回るか?
  • RQ5クロスモーダルアテンションは、視覚的トークン選択を誘導し、スパarsityの有効性を向上させることができるか?

主な発見

  • ハイブリッドスパarsityを用いたSViTTは、MSR-VTTおよびDiDeMoでそれぞれ17.7%および35.7%のゼロショットテキストから動画への検索精度を達成し、DiDeMo(長時間でアクティビティ中心の動画を含む)では密度型ベースラインを上回った。
  • 微調整済みのテキストから動画への検索では、CharadesおよびSSv2で密度型モデルを約3%上回った。これは、アクティビティ中心のデータセットにおける優れた時系列的推論能力を示している。
  • 動画質問応答タスクでは、AGQAで52.7%の精度を達成し、密度型ベースラインより2.3%高い。これは、時系列的に複雑な質問において顕著な利点を示している。
  • ActivityNet-QAでは、密度型変換器より0.9%の精度向上を達成し、長時間のクリップにおける強化された時系列モデリングを裏付けた。
  • 推論時においてノードおよびエッジスパarsityを最大80%まで厳しく適用しても、性能の著しい低下は見られず、クロスアテンションに基づくトークン選択により、再トレーニングなしで検索性能が1%向上した。
  • SViTTは長時間のクリップに効果的にスケーリング可能であり、密度型変換器が最適化の難しさを抱える中で、顕著に低い計算コストで性能を維持または向上させた。
Figure 2 : Model Architecture. SViTT improves modeling efficiency of conventional video-text transformers through two key components: node sparsity and edge sparsity. Edge sparsification ${\mathcal{A}}_{\mathcal{E}}$ computes sparse self-attention of input visual sequence ${\mathbf{z}}$ , where each
Figure 2 : Model Architecture. SViTT improves modeling efficiency of conventional video-text transformers through two key components: node sparsity and edge sparsity. Edge sparsification ${\mathcal{A}}_{\mathcal{E}}$ computes sparse self-attention of input visual sequence ${\mathbf{z}}$ , where each

この論文を読む

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

Nubintでこの論文を読む

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