Skip to main content
QUICK REVIEW

[論文レビュー] Improving CLIP Training with Language Rewrites

Lijie Fan, Dilip Krishnan|arXiv (Cornell University)|May 31, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用数 35
ひとこと要約

LaCLIPは、LLaMAを用いたイン-context学習で多様な書き換えキャプションを生成することでCLIPのトレーニングを拡張し、追加トレーニングコストなしでゼロショット、少数ショット、線形プロービングの転移を改善する。

ABSTRACT

Contrastive Language-Image Pre-training (CLIP) stands as one of the most effective and scalable methods for training transferable vision models using paired image and text data. CLIP models are trained using contrastive loss, which typically relies on data augmentations to prevent overfitting and shortcuts. However, in the CLIP training paradigm, data augmentations are exclusively applied to image inputs, while language inputs remain unchanged throughout the entire training process, limiting the exposure of diverse texts to the same image. In this paper, we introduce Language augmented CLIP (LaCLIP), a simple yet highly effective approach to enhance CLIP training through language rewrites. Leveraging the in-context learning capability of large language models, we rewrite the text descriptions associated with each image. These rewritten texts exhibit diversity in sentence structure and vocabulary while preserving the original key concepts and meanings. During training, LaCLIP randomly selects either the original texts or the rewritten versions as text augmentations for each image. Extensive experiments on CC3M, CC12M, RedCaps and LAION-400M datasets show that CLIP pre-training with language rewrites significantly improves the transfer performance without computation or memory overhead during training. Specifically for ImageNet zero-shot accuracy, LaCLIP outperforms CLIP by 8.2% on CC12M and 2.4% on LAION-400M. Code is available at https://github.com/LijieFan/LaCLIP.

研究の動機と目的

  • 言語側の過学習と限られたテキスト多様性に対処するため、CLIPの改善を動機づける。
  • トレーニング時の追加計算なしでオープンソースのLLMを用いて画像キャプションをリライトする、スケーラブルな手法を提案する。
  • 複数のデータセットとバックボーンに渡って、テキスト拡張が転移性能を改善することを示す。
  • 既存のCLIPベースのフレームワークとLaCLIPを組み合わせた場合の互換性と利得を示す。

提案手法

  • メタ入力-出力プロンプトを用いたLLaMA ICLで画像ごとに複数の書き換えキャプションを生成し、Language augmented CLIP (LaCLIP)を導入する。
  • ChatGPT、Bard、MSCOCO、および人間からメタ入力-出力キャプションペアを作成し、書き換えを導く。
  • 各キャプションを書き換え、M=4の多様なバリアントを、主要概念を保持しつつ作成する。
  • 元のキャプションと書き換えキャプションの間でサンプリングすることにより、テキスト拡張を用いてCLIPのトレーニングを増強する。
  • テキスト拡張を追加しても、標準のCLIPと比較してトレーニングコストとモデルパラメータを変えずに保つ。
  • 任意でLaCLIP-MTへ拡張し、全ての書き換えキャプションを用いるマルチポジティブ対比損失を適用する。

実験結果

リサーチクエスチョン

  • RQ1キャプションの言語的書き換えはCLIPのクロスモーダルアライメントと転移性能を向上させることができるか?
  • RQ2異なる事前学習データ規模とバックボーンアーキテクチャにおいてLaCLIPはどのように性能を発揮するか?
  • RQ3書き換え品質とダウンストリーム性能に対する、異なるメタ入力-出力ペアのソースの影響は何か?
  • RQ4言語書き換えによるテキスト拡張はSLIPベースや他のCLIP由来のフレームワークに一般化して性能を向上させるか?

主な発見

  • LaCLIPは、複数の事前学習スケール(例:CC12M、LAION-400M)に跨り、ImageNetゼロショットおよび下流データセットで標準的なCLIPを一貫して上回る。
  • LaCLIPはCC12MでCLIPに対してImageNetゼロショット精度を最大8.2ポイント改善し、LAION-400Mでも顕著な利得を示す。
  • Text augmentation with LLM rewrites provides gains in zero-shot, few-shot, and linear probing without additional training cost or parameters.

この論文を読む

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

Nubintでこの論文を読む

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