WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs
Seungju Han, Kavel Rao, Allyson Ettinger, Liwei Jiang, Bill Yuchen, Lin, Nathan Lambert, Yejin Choi, Nouha Dziri

TL;DR
WildGuard is an open-source moderation tool that effectively detects malicious prompts, safety risks, and refusals in LLMs, outperforming existing open tools and matching GPT-4 in safety evaluation tasks.
Contribution
The paper introduces WildGuard, a comprehensive safety moderation framework with a large-scale dataset, achieving state-of-the-art performance across multiple safety tasks for LLMs.
Findings
WildGuard outperforms existing open moderation models by up to 26.4% in refusal detection.
WildGuard matches or exceeds GPT-4 in harmful prompt identification.
Reduces jailbreak success rate from 79.8% to 2.4%.
Abstract
We introduce WildGuard -- an open, light-weight moderation tool for LLM safety that achieves three goals: (1) identifying malicious intent in user prompts, (2) detecting safety risks of model responses, and (3) determining model refusal rate. Together, WildGuard serves the increasing needs for automatic safety moderation and evaluation of LLM interactions, providing a one-stop tool with enhanced accuracy and broad coverage across 13 risk categories. While existing open moderation tools such as Llama-Guard2 score reasonably well in classifying straightforward model interactions, they lag far behind a prompted GPT-4, especially in identifying adversarial jailbreaks and in evaluating models' refusals, a key measure for evaluating safety behaviors in model responses. To address these challenges, we construct WildGuardMix, a large-scale and carefully balanced multi-task safety moderation…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗allenai/wildguardmodel· 71k dl· ♡ 4071k dl♡ 40
- 🤗iknow-lab/llama-3.2-3B-wildguard-ko-2410model· 23 dl· ♡ 423 dl♡ 4
- 🤗RichardErkhov/iknow-lab_-_llama-3.2-3B-wildguard-ko-2410-ggufmodel· 417 dl417 dl
- 🤗RichardErkhov/iknow-lab_-_llama-3.2-3B-wildguard-ko-2410-4bitsmodel
- 🤗RichardErkhov/iknow-lab_-_llama-3.2-3B-wildguard-ko-2410-8bitsmodel
- 🤗CTCT-CT2/changeway_guardrailsmodel· 10 dl· ♡ 210 dl♡ 2
Videos
Taxonomy
TopicsSafety Systems Engineering in Autonomy · Law, AI, and Intellectual Property
MethodsAttention Is All You Need · Sparse Evolutionary Training · Softmax · Layer Normalization · Absolute Position Encodings · Byte Pair Encoding · Label Smoothing · Position-Wise Feed-Forward Layer · Dropout · Adam
