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

Christian Schlarmann, N. Singh, Francesco Croce, Matthias Hein

arXiv:2402.12336 · 2026-07-27 공개 · arXiv · PDF

vision-language-models unsupervised-learning clip robustness llava vision-encoder zero-shot-classification stealth-attacks

Abstract

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

한국어 요약

한 줄 요약

FARE-CLIP을 통해 비지도 학습 기반 적대적 훈련으로 CLIP의 시각 임베딩을 강화하여 LVLM의 안정성과 정확도를 동시에 유지한다.

핵심 기여도

핵심 아이디어

기존 CLIP 기반 LVLM은 적대적 공격에 취약하며, 특히 시각 모달이 쉽게 속일 수 있다. 이를 해결하기 위해, 본 연구는 CLIP의 시각 임베딩을 **적대적 공격에 강한 상태로 미세조정**하면서도, 원래 CLIP의 임베딩 구조를 최대한 유지하는 **비지도 학습 기반 알고리즘 FARE**를 제안한다. FARE는 라벨 없이도 CLIP의 임베딩 공간을 적대적 공격에 강하게 만들고, 이는 **LLaVA와 OpenFlamingo 같은 LVLM에서도 즉시 적용 가능**하다는 점에서 혁신적이다. 핵심 아이디어는 **임베딩 공간의 안정성과 정확도를 동시에 유지**하는 데 있다.

기술적 접근법

주요 결과

의의 및 한계

본 연구는 CLIP 기반 LVLM의 **적대적 공격에 대한 내성을 비지도 학습 방식으로 향상**시켰다는 점에서 학술적·실용적 가치가 있다. 특히, **재훈련 없이 기존 모델에 바로 적용 가능**하다는 점이 실용성 측면에서 유리하다. 또한, FARE는 **zero-shot 분류와 LVLM 작업 모두에서 안정적인 성능**을 보인다.

그러나 한계도 존재한다. 본 연구는 CLIP 기반 LVLM에만 적용되었으며, 다른 구조의 LVLM에도 적용 가능한지에 대한 검증이 필요하다. 또한, **언어 모달의 보안 강화는 다루지 않았으며**, 지시 수행, 설명 가능성, 인지 작업 등에 대한 영향도 추가 연구가 필요하다.

실용적 활용

이 연구는 **LLaVA, OpenFlamingo와 같은 CLIP 기반 LVLM이 사용되는 모든 시각-언어 작업**에 적용 가능하다. 특히, **사기성 이미지나 오도하는 정보를 생성하는 stealth-attack을 방어**하는 데 유용하며, **의료, 보안, 자율주행 등 민감한 분야에서의 안정성 향상**에 기여할 수 있다.