Shanghai Jiao Tong University proposes the VLMGuard-R1 prompt rewriting defense framework
Start here
A Shanghai Jiao Tong University team proposes the VLMGuard-R1 framework, which uses multimodal reasoning-driven prompt rewriting to perform safety optimization on text-image inputs at inference time, without modifying downstream vision-language model parameters, and is plug-and-play. The framework includes a prompt rewriter fine-tuned with LoRA based on Qwen2-VL-7B and a downstream VLM response generator; the rewriter embeds safety warning information in the optimized prompt. The training data is generated by a three-stage pipeline of post-hoc analysis, multimodal causal analysis and prompt optimization, totaling about 10,000 image-text pairs.
Generated by AI from reports · Updated 16 days ago
Progress timeline
- WeChat · Weijiqi LixinShanghai Jiao Tong University: VLMGuard-R1, reasoning-driven prompt optimization for plug-and-play proactive safety alignment of vision-language models
A Shanghai Jiao Tong University team proposes the VLMGuard-R1 framework, which, through multimodal reasoning-driven prompt rewriting, performs safety optimization on text-image inputs at inference time without modifying downstream vision-language model parameters, making it plug-and-play. The framework includes a prompt rewriter fine-tuned with LoRA based on Qwen2-VL-7B and a downstream VLM response generator; the rewriter embeds safety warning information into the optimized prompt. The training data is generated by a three-stage pipeline of post-hoc analysis, multimodal causal analysis, and prompt optimization, totaling about 10K image-text pairs, including 8,904 safety samples and 977 usefulness samples. The paper tests 5 VLMs including LLaVA-v1.5-7B and Qwen2-VL-7B-Instruct on three benchmarks, VLGuard-Unsafe, SIUO, and MM-SafetyBench, and compares against four baselines, ECSO, FigStep, MLLM-Protector, and ETA; results show that on SIUO the average safety of the 5 models improves by 43.59% while usefulness is maintained.