atlas

Research map / Vision-language and multimodal / Multimodal LLMs

Safety Fine-Tuning at (Almost) No Cost: A Baseline for Vision Large Language Models

ICML 2024 · Vision-language and multimodal › Multimodal LLMs · approach: Visual instruction tuning · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that VLLM instruction fine-tuning erodes LLM safety and that harmful data in VL instruction sets contributes; releases VLGuard, a 2,000-image VL safety instruction dataset, and shows post-hoc or mixed fine-tuning with it greatly reduces attack success while keeping helpfulness.

Problem

Vision large language models are prone to generating harmful content and to simple jailbreaks, partly because vision-language instruction fine-tuning erodes the safety alignment inherited from the underlying LLM and training data contains harmful samples.

Approach

Curate VLGuard, a vision-language safety instruction-following dataset generated with GPT-4V covering harmful image and instruction categories, and use it either mixed into standard VLLM training or as a cheap post-hoc fine-tuning step paired with a small amount of helpfulness data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune with VLGuard using post-hoc or mixed trainingLLaVA-v1.5-7B · AdvBench VanillaASR: 6.45 -> 0.00Helped
Fine-tune with VLGuardLLaVA-v1.5-7B · FigStepASR: 90.40 -> 0.00Helped
Fine-tune with VLGuardLLaVA-v1.5-13B · XSTest Safeanswer rate: 85.20 -> 77.20Hurt
Remove identified harmful training samples (ablation)LLaVA-v1.5 · AdvBench VanillaASR: 6.45 -> 5.77Helped
Use LoRA instead of full fine-tuning on the original, uncleaned data (ablation)LLaVA-v1.5-7B · AdvBench VanillaASR: 6.45 -> 10.62Hurt
Use only VLGuard safety data, without helpfulness examples (ablation)LLaVA-v1.5-7B · XSTest Safeanswer rate: 91.20 -> 41.60Hurt
Add 5000 LLaVA helpfulness samples to VLGuard (ablation)LLaVA-v1.5-7B · XSTest Safeanswer rate: 41.60 -> 80.80Helped
Add 5000 Alpaca text samples to VLGuard (ablation)LLaVA-v1.5-7B · XSTest Safeanswer rate: 41.60 -> 81.10Helped
Use text-only Safety LLaMA data instead of multimodal VLGuard data (ablation)LLaVA-v1.5-7B · VLGuard Safe-Unsafeanswer rate: 0.90 vs 85.13Hurt
Mix in VLGuard during trainingLLaVA-v1.5-7B · TAP attack on AdvBench subsetattack success rate: 62.00 -> 20.00Helped
Fine-tune with VLGuardMiniGPT-v2 · VLGuard Safe-Unsafeanswer rate: 88.17 -> 5.19Helped

Surprising findings

Limitations

Experimental setup

Datasets: VLGuard train LLaVA-v1.5 instruction data Alpaca Privacy Alert Hateful Memes Harmful Political Memes Harmful Object Dataset Bad Ads AdvBench XSTest FigStep MMLU

Benchmarks: AdvBench XSTest FigStep VLGuard MMLU AlpacaEval 2.0 ScienceQA VizWiz MMBench MM-Vet

Metrics: attack success rate win rate accuracy human win rate

Baselines: LLaVA-v1.5-7B LLaVA-v1.5-13B MiniGPT-v2 Safety LLaMA InstructBLIP Qwen-VL-Chat CogVLM InternLM-XComposer

Builds on: LLaVA-v1.5 MiniGPT-v2 FigStep Llama-Guard

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy