atlas

Research map / Large language models / Language, safety and interpretability

RSafe: Incentivizing proactive reasoning to build robust and adaptive LLM safeguards

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: Safety alignment of LLMs · 0 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.

Proposes RSafe, a reasoning-based LLM guard that uses policy-guided step-by-step reasoning plus zero-shot GRPO with rule-based format and accuracy rewards, trained on about 10K public examples to match SOTA guards and generalize better OOD.

Problem

Guard models for LLM input/output moderation rely on large human-curated datasets and generalize poorly to emerging harmful categories and jailbreak attacks.

Approach

Elicit policy-conditioned step-by-step safety reasoning from a backbone LLM via an instruction prompt that accepts user-specified safety taxonomies, then align it with zero-shot rule-based RL (GRPO) using only format and outcome accuracy rewards, with no SFT cold start.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add reinforced alignment (RL) to RSafe (ablation)RSafe · Weighted Avg.accuracy: 0.830 -> 0.904Helped
Add reinforced alignment (RL) to RSafe (ablation)RSafe · Weighted Avg.F1: 0.807 -> 0.889Helped
Add guided reasoning to RSafe (ablation)RSafe · Weighted Avg.accuracy: 0.846 -> 0.904Helped
Add guided reasoning to RSafe (ablation)RSafe · Weighted Avg.F1: 0.813 -> 0.889Helped
Provide the ground-truth safety taxonomy at inference (ablation)RSafe · WildGuardTest overallF1: 0.772 -> 0.823Helped
Provide the ground-truth safety taxonomy at inference (ablation)RSafe · WildGuardTest adversarialF1: 0.668 -> 0.717Helped
Use RSafe rather than GuardReasoner-8BSafety moderation · Aegisaccuracy: 0.812 -> 0.834Helped
Use RSafe rather than WildGuard-7BSafety moderation · SafeRLHFF1: 0.926 -> 0.921Hurt
Use RSafe rather than LlamaGuard3-8BSafety moderation · OpenAI Moderationaccuracy: 0.871 -> 0.817Hurt
Use RSafe rather than LlamaGuard3-8BSafety moderation · XSTestF1: 0.931 -> 0.816Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ToxicChat Aegis OR-Bench BeaverTails SafeRLHF

Benchmarks: ToxicChat OpenAI Moderation AegisSafetyTest SafeRLHF BeaverTails XSTest WildGuardTest MedSafetyBench CARES JailbreakBench JailJudge

Metrics: accuracy F1

Baselines: OpenAI Moderation GPT-4o ShieldGemma-9B LlamaGuard3-8B WildGuard-7B GuardReasoner-8B

Builds on: GRPO DeepSeek-R1 GuardReasoner VERL

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