paper-with-me

Papers

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

2024-02-19 · Christian Schlarmann, Naman Deep Singh, Francesco Croce, Matthias Hein

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

📄 PDF Abstract BibTeX arXiv:2402.12336

Code (1)

chs20/robustvlm 공식 구현 pytorch

Tasks

Adversarial DefenseMultimodal Deep Learningzero-shot-classificationZero-Shot Learning

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Adam 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Multi-Head Attention 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

Sim-CLIP: Unsupervised Siamese Adversarial Fine-Tuning for Robust and Semantically-Rich Vision-Language Models

2024-07-20 · Md Zarif Hossain, Ahmed Imteaj

Vision-language models (VLMs) have achieved significant strides in recent times specially in multimodal tasks, yet they remain susceptible to adversarial attacks on their vision components. To address this, we propose Si…

Specificity

Adapting Contrastive Language-Image Pretrained (CLIP) Models for Out-of-Distribution Detection

2023-03-10 · Nikolas Adaloglou, Felix Michels, Tim Kaiser, Markus Kollmann

We present a comprehensive experimental study on pretrained feature extractors for visual out-of-distribution (OOD) detection, focusing on adapting contrastive language-image pretrained (CLIP) models. Without fine-tuning…

Anomaly DetectionImage CaptioningOut-of-Distribution DetectionOut of Distribution (OOD) Detection+1

TAPT: Test-Time Adversarial Prompt Tuning for Robust Inference in Vision-Language Models

2024-11-20 · CVPR 2025 1 · Xin Wang, Kai Chen, Jiaming Zhang, Jingjing Chen 외

Large pre-trained Vision-Language Models (VLMs) such as CLIP have demonstrated excellent zero-shot generalizability across various downstream tasks. However, recent studies have shown that the inference performance of CL…

Adversarial Robustness

Adversarially Robust CLIP Models Can Induce Better (Robust) Perceptual Metrics

2025-02-17 · Francesco Croce, Christian Schlarmann, Naman Deep Singh, Matthias Hein

Measuring perceptual similarity is a key tool in computer vision. In recent years perceptual metrics based on features extracted from neural networks with large and diverse training sets, e.g. CLIP, have become popular. …

Image Retrieval

LORE: Lagrangian-Optimized Robust Embeddings for Visual Encoders

2025-05-24 · Borna Khodabandeh, Amirabbas Afzali, Amirhossein Afsharrad, Seyed Shahabeddin Mousavi 외

Visual encoders have become fundamental components in modern computer vision pipelines. However, ensuring robustness against adversarial perturbations remains a critical challenge. Recent efforts have explored both super…

Adversarial RobustnessOut-of-Distribution Generalization