MEGA Hub

SafeCap: Improving LVLM Safety with Image Captioning Reinforcement Learning

Authors

Do you know Caoyuan Ma?You can claim authorship or link another user.Do you know Wenpu Liu?You can claim authorship or link another user.Do you know Weichu Xie?You can claim authorship or link another user.Do you know Tian Gu?You can claim authorship or link another user.Do you know Shilei Zhao?You can claim authorship or link another user.Do you know Lingxi Min?You can claim authorship or link another user.Do you know Shuai Dong?You can claim authorship or link another user.Do you know Yuqi Xu?You can claim authorship or link another user.Do you know Ji Zhao?You can claim authorship or link another user.Do you know Ziyue Wang?You can claim authorship or link another user.Do you know Wenzheng Chang?You can claim authorship or link another user.Do you know Taiqiang Wu?You can claim authorship or link another user.Do you know Yongfu Zhu?You can claim authorship or link another user.Do you know Wenqi Shao?You can claim authorship or link another user.Do you know Yinqiang Zheng?You can claim authorship or link another user.

Abstract

Large vision-language models (LVLMs) remain vulnerable to jailbreak attacks that exploit visual inputs to bypass safety alignment inherited from their language backbones. We propose SafeCap, a reinforcement-learning framework that aligns LVLMs through learned self-captioning. SafeCap trains a policy model to first generate a safety-relevant image caption and then produce a final answer; the caption is further optimized by whether it enables a frozen LLM to reach a safety-aligned decision. This caption-mediated objective encourages the policy to expose visual cues relevant to safe response generation rather than relying solely on direct refusal supervision. Across five multimodal safety benchmarks and six vision-utility benchmarks, SafeCap substantially improves aggregate safety performance under its intended DirectCap protocol, with gains of 3.7-19.0 points in safety average across four model settings while maintaining comparable or improved vision utility. Under controlled comparisons on matched backbones and data, SafeCap outperforms safety SFT, DPO, and SafeGRPO, demonstrating the effectiveness of caption-mediated reinforcement learning for multimodal safety alignment.

Community

00

Publication notes

Author note
16pages, 4 figures. Preprint. Project page: https://safe-vlm.github.io/SafeCap/ ; code: https://github.com/Safe-VLM/SafeCap