Granite.Trust Policy Tools: Shareable, Actionable Policies for Generative AI Applications

Nathalie Baracaldo, Nicolas Mello, Kush R. Varshney, Heiko Ludwig, Kate Soule, David CoxarXiv 2026

TL;DR

IBM Research introduces Granite.Trust Policy Tools, an open-source framework that moves away from "one-size-fits-all" AI safety by allowing organizations to define custom, machine-enforceable safety policies using a YAML-based schema. By bridging the gap between high-level risk management and technical implementation, the tools enable consistent policy enforcement across the entire GenAI lifecycle—from synthetic data generation for model alignment to real-time monitoring.

What Problem Does This Paper Address?

Generative AI (GenAI) safety is highly contextual. A policy for a medical chatbot differs wildly from one for a creative writing assistant or a corporate HR bot. Current safety approaches often rely on "black-box" guardrails or generic alignment that leads to over-refusal (where the model refuses benign requests) or a lack of transparency.

Furthermore, traditional access control (e.g., "Can User X access Resource Y?") is insufficient for GenAI, which requires content-based constraints (e.g., "What specific information can the model include in its response?"). There is currently a significant "policy gap" between the high-level risks identified by compliance teams and the technical controls implemented by engineers.

Methods

The authors propose a two-stage framework to operationalize AI safety:

  1. Actionable Policy Schema: A human-readable YAML format that defines what a model cannot contain (hard constraints) and what it may contain (permitted phrasing or info). Crucially, it introduces typed exceptions (e.g., ALCOHOL_MINORS_EXCEPTION), allowing developers to handle policy violations similarly to software errors. The policy framework lifecycle: from risk analysis to runtime enforcement.
Figure 1: Overview of the proposed policy framework. During Stage 1, the policy is defined as a result of a risk management process to mitigate relevant risks. Risks may change, and so do policies. The resulting policy is used in Stage 2 for a variety of applications including generating synthetic datasets for model alignment and assessing system compliance before deployment, compliance monitoring and runtime enforcement.
  1. DGT safety_sdg Pipeline: A five-stage synthetic data generation pipeline that translates YAML policies into high-quality training pairs:
  2. Instruction Generation: Uses LLMs to create adversarial prompts based on policy fields.
  3. Deduplication: Uses ROUGE scoring to ensure data diversity.
  4. Adversarial Filtering: Employs the Granite Guardian model to retain only genuinely "unsafe" prompts that challenge the policy.
  5. Response Generation: Generates safe, policy-compliant refusals.
  6. Safety Filtering: A final check to ensure the generated refusals don't inadvertently contain harmful content.
  7. Governance Tools: The framework includes tools for report generation (visualizing risk hierarchies) and Semantic Policy Conflict Detection, which uses topic similarity to find overlapping or contradictory rules across large policy sets.

Datasets

The paper focuses on the generation of datasets rather than a static benchmark. To evaluate the schema, the authors:

  • Scouted 102 different risks from existing frameworks like the NIST AI RMF, MIT AI Risk Repository, and IBM Risk Atlas.
  • Generated synthetic training pairs (adversarial prompt + safe response) to successfully train LoRA adapters for policy compliance.
  • Referenced existing safety benchmarks (AILuminate, HELM, BBQ) as the baseline for the types of risks the schema must handle.

Key Insights and Ideas

  • Policy as Code for Content: By using YAML, the framework creates a "shared language" for legal experts and engineers. Table 1 illustrates the top-level structure used to organize these risks. Top-level structure of the Actionable Policy schema.

  • Exceptions as First-Class Citizens: Treating a policy breach as a specific exception type (rather than just a generic "I can't help with that") allows for sophisticated multi-agent interactions. For example, a supervisor agent can receive a specific exception code and decide whether to escalate to a human or redirect the conversation. Exception-based policy governance across application boundaries.

  • Granular Control: The schema allows for specific fields like reason_denial and short_reply_type (e.g., POLITE_REDIRECT vs EXPLICIT_REFUSAL), giving organizations fine-grained control over the model's "persona" during safety interventions. Detailed fields within a specific risk definition.

Top-level structure of the Actionable Policy schema.
Figure 2: The policy format provides a concrete definition of Exception types that allow tracking policy violations and handle them properly either in the application or upstream (in another agent). The third example in the figure shows the exception is passed to the agent so the agent can handle it appropriately.
Detailed fields within a specific risk definition.

Key Results

  • Usability: In experiments with legal and technical stakeholders, participants found the YAML format intuitive for defining content boundaries. A team of six successfully refined a noisy set of 102 risks down to 80 high-quality, de-duplicated policies.
  • Alignment Performance: The synthetic data pipeline successfully produced training data that filtered out "syntactically close but benign" samples, reducing over-refusal compared to standard alignment methods.
  • Automation: The conflict detection tool successfully identified overlapping risks, which is a common problem when multiple stakeholders contribute to a safety policy.

Limitations and Future Work

  • Stakeholder Tooling: Legal experts still preferred using Word or Slack for collaboration rather than Git, suggesting a need for more user-friendly GUIs for policy management.
  • Scale: The usability studies were limited to small groups (3–6 people); larger-scale studies are needed to see how these tools perform in massive enterprise environments.
  • Multi-Agent Dynamics: While the paper introduces exception tracking, the authors note that a follow-up paper will dive deeper into how these policies propagate through complex, multi-agent systems.

Summary updated

Abstract

When it comes to safety policies for generative AI, one size does not fit all. Each organization and use case needs to mitigate different risks depending on the application context, regulatory environment, organizational values, and user personas. Yet, existing policy specification approaches are designed for traditional access control and fail to capture the nuances of GenAI application: the enforcement of content-based constraints. We present two contributions to address this gap: (1) the Actionable Policy schema, a YAML-based format for specifying what model responses can and cannot contain. The schema enables exception-based policy governance, proposing exceptions to track policy violations; (2) synthetic data generation pipeline that produces policy-aligned training data for model alignment and testing, and a set of tools to help define the schema and enforce policy. Together, these enable organizations to specify policies once and enforce them throughout the GenAI application lifecycle: from model alignment to runtime monitoring. The Actionable Policy schema, example policies, and tools are available as open source: https://github.com/ibm-granite/granite.trust.policy-tools We welcome new ideas, contributions and feedback.
BibTeX
@misc{baracaldo2026granite,
  author = {Nathalie Baracaldo and Nicolas Mello and Kush R. Varshney and Heiko Ludwig and Kate Soule and David Cox},
  title = {{Granite.Trust Policy Tools: Shareable, Actionable Policies for Generative AI Applications}},
  year = {2026},
  eprint = {2608.23870},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.23870},
}
Figure