Response to Reviewer t9hR
We appreciate the reviewer's thoughtful feedback on our paper. Below, we included additional comments to further improve our work.
> Q1: The flexibility of R^2-Guard relies on pre-specified rules and this reliance requires ongoing maintenance to ensure comprehensive coverage. Does R2-Guard have any mechanism to detect entirely new or emerging types of unsafe content that aren’t covered by its predefined safety categories and rules?
Thank you for the thoughtful question! The open-world content moderation scenario, where unseen safety categories emerge dynamically, is indeed an interesting topic to discuss further. While such open-world scenarios with unseen labels are common in tasks like object classification [1] or detection [2], where countless real-world object categories make exhaustive enumeration impractical, unsafety detection for LLM inputs/outputs differs. In this domain, safety categories are generally well-defined and clearly outlined in existing regulations, such as government policies like the EU AI Act, White House AI Executive Order, or industry policies like OpenAI’s usage policy and Meta's service terms. These policies outline specific safety categories and rules for LLM deployment. Consequently, these can be compiled into the reasoning graphs of $R^2$-Guard to enable reasoning-driven guardrails. If these policies are updated (e.g., through the addition or removal of categories or rules), the reasoning graph of $R^2$-Guard can be directly modified to flexibly adapt to new safety criteria, as described in Section 5.3.3.
Although open-world guardrail scenarios are generally impractical, we discuss how $R^2$-Guard could be applied in a hypothetical setting to handle unseen categories. Within the $R^2$-Guard framework, we can adopt ideas from confidence-based open-world detection to address this challenge. Specifically, we could maintain category-specific feature prototypes for LLM prompts across existing unsafety categories and benign examples. When a test instance is encountered, its features can be compared to these prototypes by computing their distances. If the distance exceeds a calibrated tolerance threshold, the instance could be flagged as belonging to a potentially unseen unsafety category, triggering a human audit. The tolerance threshold could be calibrated in a simulated dynamic scenario, as described in Section 5.3.3. Features could be instantiated as reasoning paths in MLNs or PCs within $R^2$-Guard, offering a more robust representation than relying solely on output-level logits. We added to Section 5.3.3 and Appendix A.6 and would like to leave an in-depth analysis for future work.
*[1] Bendale, Abhijit, and Terrance Boult. "Towards open world recognition." Proceedings of the IEEE conference on computer vision and pattern recognition. 2015.*
*[2] Joseph, K. J., et al. "Towards open world object detection." Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2021.*
> Q2: How does R2-Guard handle ambiguous or context-dependent cases of unsafe content that don’t fit neatly into the predefined safety categories?
Thank you for the interesting question! We indeed observe that certain instances may not exhibit a high likelihood of unsafety within a single safety category, but the interaction among multiple categories can result in overall unsafety. A key advantage of $R^2$-Guard is its ability to encode such cross-category unsafety relationships into the reasoning graph, enabling more effective guardrail performance for these complex cases. For instance, in the example from Figure 2 with ambiguous unsafety across multiple categories, the likelihood of unsafety across individual categories like self-harm, self-harm/intent, and sexual content is moderate (below 0.5) when assessed by a purely data-driven guardrail model. However, $R^2$-Guard raises the overall unsafety probability to a more appropriate level (above 0.5) by leveraging probabilistic inference in MLNs or PCs with complied safety rules to capture cross-category intercorrelations. To enhance clarity, we also added this illustration of the running example in Section 3.1.