Skip to content

R^2-Guard: Achieving Robust Reasoning LLM Guardrails via Knowledge-Enhanced Logical Reasoning$R^2$-Guard: Robust Reasoning Enabled LLM Guardrail via Knowledge-Enhanced Logical Reasoning

arXiv· arXiv:2407.05557· ICLR 2025· Mintong Kang, Bo Li·Indexed by this site · 23 days ago· Originally publishedDefenses
AI summary

The researchers propose R^2-Guard, an LLM guardrail based on knowledge-enhanced logical reasoning that uses first-order logic rules to relate the data-driven probabilities of each safety category. Its reasoning component employs MLNs and PCs with optimized graph structure, and the researchers construct the TwinSafety benchmark. Compared with eight strong guardrail models on six safety benchmarks, R^2-Guard is 30.2% higher than LlamaGuard on ToxicChat and 59.5% higher than LlamaGuard against four types of SOTA jailbreak attacks.

Read originalICLR 2025