Skip to main content
QUICK REVIEW

[論文レビュー] DeCap: Decoding CLIP Latents for Zero-Shot Captioning via Text-Only Training

Wei Li, Linchao Zhu|arXiv (Cornell University)|Mar 6, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用数 24
ひとこと要約

DeCap は軽量な、テキストデータ訓練済みの CLIP ベースのゼロショットキャプショニングフレームワークで、訓練不要の視覚からテキストへの埋め込み投影を用いて、ペアデータなしで画像と動画のキャプショニングのベンチマークで最先端の結果を達成します。

ABSTRACT

Large-scale pre-trained multi-modal models (e.g., CLIP) demonstrate strong zero-shot transfer capability in many discriminative tasks. Their adaptation to zero-shot image-conditioned text generation tasks has drawn increasing interest. Prior arts approach to zero-shot captioning by either utilizing the existing large language models (e.g., GPT-2) or pre-training the encoder-decoder network in an end-to-end manner. In this work, we propose a simple framework, named DeCap, for zero-shot captioning. We introduce a lightweight visual-aware language decoder. This decoder is both data-efficient and computation-efficient: 1) it only requires the text data for training, easing the burden on the collection of paired data. 2) it does not require end-to-end training. When trained with text-only data, the decoder takes the text embedding extracted from the off-the-shelf CLIP encoder as a prefix embedding. The challenge is that the decoder is trained on the text corpus but at the inference stage, it needs to generate captions based on visual inputs. The modality gap issue is widely observed in multi-modal contrastive models that prevents us from directly taking the visual embedding as the prefix embedding. We propose a training-free mechanism to reduce the modality gap. We project the visual embedding into the CLIP text embedding space, while the projected embedding retains the information of the visual input. Taking the projected embedding as the prefix embedding, the decoder generates high-quality descriptions that match the visual input. The experiments show that DeCap outperforms other zero-shot captioning methods and unpaired captioning methods on the typical image captioning benchmarks, i.e., MSCOCO and NoCaps.

研究の動機と目的

  • キャプショニングのためのペア付き画像-テキストデータへの依存を、テキストのみの訓練を用いて低減する。
  • 視覚入力に条件付けられたキャプションを生成するために、CLIP の整列したマルチモーダル潜在空間を活用する。
  • 画像埋め込みとテキスト埋め込みのモダリティ間ギャップを橋渡しする訓練不要の投影機構を提案する。
  • 画像および動画のキャプショニングベンチマークで、ゼロショット性能を強力に示す。

提案手法

  • CLIP テキスト埋め込みを条件として文を再構成するためのテキストデコーダをゼロから訓練する(プレフィックス言語モデリング)。
  • 固定された CLIP テキストエンコーダによってエンコードされた文をプレフィックスとして用いる、テキストのみの訓練目的を使用する。
  • 推論時には、サポートメモリ内のテキスト埋め込みからの訓練不要のメモリベース投影を用いて、CLIP 画像埋め込みを CLIP テキスト埋め込み空間へ投影する。
  • コサイン類似度とソフトマックスを用いてテキスト埋め込みの重み付き結合を計算し、生成のための投影されたプレフィックスを形成する。
  • 投影されたテキスト空間埋め込みを条件とするトランスフォーマーベースのデコーダでキャプションをデコードする。
  • 必要に応じて推論戦略(CLIPRe、VD、NND)と比較し、モダリティ間ギャップの影響を分析する。

実験結果

リサーチクエスチョン

  • RQ1CLIP テキスト埋め込みを条件として訓練済みのテキストのみのデコーダが、ゼロショット設定で視覚入力に対して高品質なキャプションを生成できるか。
  • RQ2画像埋め込みから CLIP テキスト埋め込み空間への訓練不要の投影は、キャプショニングのモダリティ間ギャップを効果的に橋渡しできるか。
  • RQ3DeCap は標準のキャプショニングベンチマークで、ゼロショットおよびクロスドメイン設定、動画キャプショニングタスクでどう機能するか。

主な発見

  • DeCap は、ペアデータがない手法の中で MSCOCO および NoCaps においてゼロショットキャプショニング性能の最先端を達成する。
  • 投影ベースのデコーダ機構はモダリティギャップを大幅に縮小し、画像および動画ベンチマーク全体でキャプション品質を向上させる。
  • DeCap は、CC3M-text、SS1M、Book Corpus などのドメイン関連ソースからのテキストデータで訓練されると、一般的なベースラインより強力で、クロスドメインの一般化能力を示す。
  • ニューロンデコーディングを用いたテキストのみのデコーダは、多くのゼロショットシナリオでリトリーバルベースおよび直接埋め込みアプローチを上回ることがある。
  • 動画キャプショニング結果は MSR-VTT および ActivityNet-Captions で競争力のあるゼロショット性能を示し、ドメイン特化のテキストデータをデコーダ訓練に用いることでさらなる向上を得る。

この論文を読む

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

Nubintでこの論文を読む

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