Skip to main content
QUICK REVIEW

[論文レビュー] Robust Contrastive Language-Image Pre-training against Data Poisoning and Backdoor Attacks

Wenhan Yang, Gao, Jingdong|arXiv (Cornell University)|Mar 13, 2023
Adversarial Robustness in Machine LearningComputer Science被引用数 3
ひとこと要約

RoCLIPは、対照的視覚言語事前学習における標的攻撃に対する耐性を高める画期的な防御手法であり、元のキャプションの代わりに、大規模でランダムなキャプションプールから最も類似したキャプションに画像を動的にマッチングすることで、データ汚染およびバックドア攻撃に対して耐性を発揮する。このアプローチにより、訓練の初期段階で汚染された関連性を崩し、汚染攻撃の成功率を12.5%まで低下させ、バックドア攻撃では0%にまで低下させる。同時に、CLIPと比較して線形プローブ精度を最大10%向上させる。

ABSTRACT

Contrastive vision-language representation learning has achieved state-of-the-art performance for zero-shot classification, by learning from millions of image-caption pairs crawled from the internet. However, the massive data that powers large multimodal models such as CLIP, makes them extremely vulnerable to various types of targeted data poisoning and backdoor attacks. Despite this vulnerability, robust contrastive vision-language pre-training against such attacks has remained unaddressed. In this work, we propose ROCLIP, the first effective method for robust pre-training multimodal vision-language models against targeted data poisoning and backdoor attacks. ROCLIP effectively breaks the association between poisoned image-caption pairs by considering a relatively large and varying pool of random captions, and matching every image with the text that is most similar to it in the pool instead of its own caption, every few epochs.It also leverages image and text augmentations to further strengthen the defense and improve the performance of the model. Our extensive experiments show that ROCLIP renders state-of-the-art targeted data poisoning and backdoor attacks ineffective during pre-training CLIP models. In particular, ROCLIP decreases the success rate for targeted data poisoning attacks from 93.75% to 12.5% and that of backdoor attacks down to 0%, while improving the model's linear probe performance by 10% and maintains a similar zero shot performance compared to CLIP. By increasing the frequency of matching, ROCLIP is able to defend strong attacks, which add up to 1% poisoned examples to the data, and successfully maintain a low attack success rate of 12.5%, while trading off the performance on some tasks.

研究の動機と目的

  • CLIPのような大規模な視覚言語モデルが事前学習段階で標的データ汚染およびバックドア攻撃に対して重大な脆弱性を示す問題に対処すること。
  • 従来の手法が微調整段階でのみ機能するのに対し、事前学習段階で有効な防御メカニズムを構築すること。
  • 汚染データのわずかな割合(例:0.01%)での攻撃に対しても、モデル性能を維持または向上させること。
  • 大規模な事前学習データセットに適用可能で、計算コストの増加が最小限に抑えられる、スケーラブルで効率的な防御を実現すること。

提案手法

  • RoCLIPは、事前学習データセットから得た大規模で動的に更新されるランダムキャプションプールを維持し、訓練中に元の画像キャプションの代わりにこれを使用する。
  • 訓練中、各画像は元のキャプションではなく、対照的空間における表現類似度に基づき、ランダムプール内の最も類似したキャプションにマッチングされる。
  • この動的キャプションマッチングにより、汚染済み画像と悪意あるキャプションの関連性が訓練の初期段階で破壊され、汚染済みペアがクリーンデータの主要クラスタからずれている段階で効果的に遮断される。
  • 画像およびテキストデータの増幅が、さらに耐性を強化し、一般化性能を向上させる。
  • この手法は数エポックごとに定期的に適用され、モデルがより信頼性の高いクリーンキャプションマッチングで画像を再埋め込みできるようにする。
  • 防御は軽量であり、メモリオーバーヘッドは無視できるほどで、実行時間コストの主な要因は増幅処理である。
Figure 1 : Illustration of RoCLIP . for defending CLIP during pre-training. (a) RoCLIP keeps a pool of random varying captions. During training, RoCLIP augments all images and captions. Then, it finds the most similar caption $\boldsymbol{z}^{T}_{nn}(i)$ to an augmented image $\mkern 1.5mu\overline{
Figure 1 : Illustration of RoCLIP . for defending CLIP during pre-training. (a) RoCLIP keeps a pool of random varying captions. During training, RoCLIP augments all images and captions. Then, it finds the most similar caption $\boldsymbol{z}^{T}_{nn}(i)$ to an augmented image $\mkern 1.5mu\overline{

実験結果

リサーチクエスチョン

  • RQ1微調整に依存せずに、汚染された画像キャプション関連性を効果的に遮断できる事前学習段階の防御が設計可能か?
  • RQ2ランダムプールからの動的キャプションマッチングは、対照的視覚言語モデルにおけるデータ汚染およびバックドア攻撃の防御にどの程度有効か?
  • RQ3高い汚染率(例:1%)を想定した場合、防御効果と下流性能のトレードオフはどのように変化するか?
  • RQ4データ増幅はキャプションプールメカニズムとどのように作用し、耐性と精度の両方を向上させるか?
  • RQ5視覚的に類似したカテゴリ(例:イヌ vs 猫)を用いた適応的攻撃に対しても防御が可能か?

主な発見

  • CIFAR-10データセットにおいて、標的データ汚染攻撃の成功率は93.75%から12.5%に低下した。
  • Blended、WaNet、ラベル一貫性トリガーを含む、評価されたすべてのバックドア攻撃において、バックドア成功率は0%にまで低下した。
  • データ増幅を適用した場合、CLIPと比較して線形プローブ精度が最大10%向上した。CIFAR-10では5%、CIFAR-100では2%の向上を達成した。
  • データ増幅を適用しなくても、RoCLIPはCLIPと同等のゼロショット性能を維持しており、一般化性能の低下が最小限であることが示された。
  • 1%の汚染率でも、汚染攻撃の成功率は12.5%、バックドア攻撃では0%を維持し、強力な攻撃に対しても耐性があることが確認された。
  • 計算コストは効率的で、メモリオーバーヘッドは無視できるほどで、大規模な事前学習にスケーラブルである。
Figure 2 : Training with RoCLIP . Majority of clean images are matched with captions from the same category as their original caption during training (blue line), while poisoned images are matched with a caption from a different category than the adversarial label (orange line).
Figure 2 : Training with RoCLIP . Majority of clean images are matched with captions from the same category as their original caption during training (blue line), while poisoned images are matched with a caption from a different category than the adversarial label (orange line).

この論文を読む

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

Nubintでこの論文を読む

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