NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GuardReasoner-VL: Safeguarding VLMs via Reinforced Reasoning

Yue Liu, Shengfang Zhai, Mingzhe Du, Yulin Chen, Tri Cao, Hongcheng Gao, Cheng Wang, Xinfeng Li, Kun Wang, Junfeng Fang, Jiaheng Zhang, Bryan Hooi · DOI

Introduction

GuardReasoner-VL is an open-source guard model designed to protect Vision-Language Models (VLMs) through "deliberative reasoning." By integrating a large-scale reasoning dataset with a specialized online Reinforcement Learning (RL) pipeline, it achieves a 19.27% improvement in F1 score over existing state-of-the-art guardrails.

The Challenge: Black-Box Moderation

As VLMs are deployed in autonomous agents and assistants, the risk of generating harmful content grows. Existing solutions typically involve safety alignment of the base model or external guard models. However, current guard models often function as "black boxes," providing binary safety labels without justification. They frequently struggle with multi-modal attacks—such as harmful text paired with seemingly benign images—and rely on static training data.

Methodology

GuardReasoner-VL employs a "reason-then-moderate" approach. The training process is divided into three distinct phases:

  1. Data Curation (GuardReasoner-VLTrain): A corpus of 123K samples with 631K reasoning steps was developed. GPT-4o was utilized to generate "chains of thought" explaining the safety rationale for various text-image pairs.
  2. Cold-Start via SFT: The model undergoes Supervised Fine-Tuning (SFT) on this reasoning data to establish a baseline for logical safety analysis.
  3. Reinforced Reasoning via Online RL: Using a modified Group Relative Policy Optimization (GRPO) framework, the model is further refined. Key techniques include safety-aware data concatenation, dynamic clipping, and a length-aware safety reward to balance accuracy with token efficiency.
Overview of the GuardReasoner-VL training pipeline, including data curation, SFT, and online RL.

Datasets

The GuardReasoner-VLTrain dataset covers three modalities: text-only (WildGuard, Aegis), image-only (UnsafeBench, HatefulMemes), and text-image pairs (SPA-VL). Evaluation was conducted across 14 benchmarks, including HarmBench and OpenAI’s Moderation API, to ensure broad generalization.

Key Insights

  • Reasoning as Defense: Safety is treated as a reasoning task rather than simple classification. Justifying decisions helps the model identify subtle harms.
  • Efficiency (Eco-version): The GuardReasoner-VL-Eco variant uses a length penalty in the RL reward to maintain high accuracy while reducing token usage by 10-13%.
  • Hard Sample Mining: Rejection sampling identifies model failures, which are then used as specific training cases during the RL phase.

Key Results

GuardReasoner-VL establishes a new state-of-the-art for multi-modal safety:

  • Performance Lead: It outperforms competitors like LLaMA Guard 3 Vision and Qwen2.5-VL by an average of 19.27% in F1 score.
  • Cross-Modal Robustness: The model maintains high performance across text, image, and interleaved inputs, where other guardrails often falter.
  • Interpretability: The inclusion of a <think> block provides transparency, allowing developers to audit the model's safety logic.
Average F1 score comparison showing GuardReasoner-VL significantly outperforming other guard models.

Limitations and Future Directions

Despite its strengths, GuardReasoner-VL faces challenges regarding inference latency due to the reasoning process. Future research will focus on scaling these reasoning-based guardrails for autonomous agents operating in real-world scenarios, where safety stakes are even higher.

Summary updated

BibTeX
@inproceedings{liu2025guardreasoner,
  author = {Yue Liu and Shengfang Zhai and Mingzhe Du and Yulin Chen and Tri Cao and Hongcheng Gao and Cheng Wang and Xinfeng Li and Kun Wang and Junfeng Fang and Jiaheng Zhang and Bryan Hooi},
  title = {{GuardReasoner-VL: Safeguarding VLMs via Reinforced Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Ku3XdvO88g},
}
Figure