arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.12336cs.LGcs.AIcs.CVstat.ML
收藏

鲁棒CLIP:面向鲁棒大型视觉-语言模型的视觉嵌入无监督对抗微调

Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language Models

Tübingen AI Center(蒂宾根人工智能中心);University of Tübingen(蒂宾根大学);EPFL(洛桑联邦理工学院)

Christian Schlarmann, Naman Deep Singh, Francesco Croce, Matthias Hein

AI总结:

针对大型视觉-语言模型易受视觉对抗攻击的问题,提出无监督对抗微调方案以获得鲁棒的CLIP视觉编码器,无需重训下游模型即可全面防御图像篡改隐蔽攻击。

摘要:

OpenFlamingo、LLaVA和GPT-4等多模态基础模型正日益广泛地应用于各种现实任务中。先前的研究表明,这些模型极易受到针对视觉模态的对抗攻击。此类攻击可被用于传播虚假信息或欺骗用户,构成重大风险,这使得大型多模态基础模型的鲁棒性成为亟待解决的问题。CLIP模型或其变体在许多大型视觉-语言模型(LVLMs,如LLaVA和OpenFlamingo)中被用作冻结的视觉编码器。我们提出了一种无监督对抗微调方案,以获得鲁棒的CLIP视觉编码器,从而为所有依赖CLIP的视觉下游任务(LVLMs、零样本分类)提供鲁棒性。具体而言,我们证明了当用我们的鲁棒模型替换原始CLIP模型后,恶意第三方通过提供篡改图像对LVLMs用户发起的隐蔽攻击将不再可能。且无需对下游LVLMs进行重新训练或微调。代码和鲁棒模型可在https://github.com/chs20/RobustVLM获取。

英文摘要:

Multi-modal foundation models like OpenFlamingo, LLaVA, and GPT-4 are increasingly used for various real-world tasks. Prior work has shown that these models are highly vulnerable to adversarial attacks on the vision modality. These attacks can be leveraged to spread fake information or defraud users, and thus pose a significant risk, which makes the robustness of large multi-modal foundation models a pressing problem. The CLIP model, or one of its variants, is used as a frozen vision encoder in many large vision-language models (LVLMs), e.g. LLaVA and OpenFlamingo. We propose an unsupervised adversarial fine-tuning scheme to obtain a robust CLIP vision encoder, which yields robustness on all vision down-stream tasks (LVLMs, zero-shot classification) that rely on CLIP. In particular, we show that stealth-attacks on users of LVLMs by a malicious third party providing manipulated images are no longer possible once one replaces the original CLIP model with our robust one. No retraining or fine-tuning of the down-stream LVLMs is required. The code and robust models are available at https://github.com/chs20/RobustVLM

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑