GuardReasoner-VL: Safeguarding VLMs via Reinforced Reasoning

Yue Liu, Sheng-Fang Zhai, Mingzhe Du, Yulin Chen, C. Trinh +7 more
5/1/2025
43 citations
rl

Official code: yueliu1999/GuardReasoner-VL (125 stars).

Abstract

To enhance the safety of VLMs, this paper introduces a novel reasoning-based VLM guard model dubbed GuardReasoner-VL. The core idea is to incentivize the guard model to deliberatively reason before making moderation decisions via online RL.

Show full abstract

First, we construct GuardReasoner-VLTrain, a reasoning corpus with 123K samples and 631K reasoning steps, spanning text, image, and text-image inputs. Then, based on it, we cold-start our model's reasoning ability via SFT. In addition, we further enhance reasoning regarding moderation through online RL. Concretely, to enhance diversity and difficulty of samples, we conduct rejection sampling followed by data augmentation via the proposed safety-aware data concatenation. Besides, we use a dynamic clipping parameter to encourage exploration in early stages and exploitation in later stages. To balance performance and token efficiency, we design a length-aware safety reward that integrates accuracy, format, and token cost. Extensive experiments demonstrate the superiority of our model. Remarkably, it surpasses the runner-up by 19.27% F1 score on average. We release data, code, and models (3B/7B) of GuardReasoner-VL at https://github.com/yueliu1999/GuardReasoner-VL/

View on arXivView PDF

Code Implementations(1)

[NeurIPS 2025] An official source code for paper "GuardReasoner-VL: Safeguarding VLMs via Reinforced Reasoning".

12510

Similar Papers

Cite this paper

@article{liu2025guardreasonervl,
  title  = {GuardReasoner-VL: Safeguarding VLMs via Reinforced Reasoning},
  author = {Yue Liu and Sheng-Fang Zhai and Mingzhe Du and Yulin Chen and C. Trinh and Hongcheng Gao and Cheng Wang and Xin-Feng Li and Kun Wang and Jun-Feng Fang and Jia-Heng Zhang and Bryan Hooi},
  year   = {2025},
  eprint = {2505.11049},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.11049},
  url    = {https://doi.org/10.48550/arXiv.2505.11049},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.11049.svg)](https://codeofpaper.com/paper/2505.11049)

Discussion