TL;DR
Large Language Models (LLMs) excel at drafting fluent workplace policies, but they frequently hallucinate enforcement procedures and data logs that do not actually exist in the real world. This paper introduces GNRS-Search, a framework that uses structured search (MCMC optimization over an And-Or Graph) to ensure generated rules are strictly grounded in verifiable environment records before translating them into natural language.
What Problem Does This Paper Address?
When LLMs write rules—such as corporate policies, institutional charters, or legal clauses—they focus heavily on surface fluency. However, a rule is operationally useless if it cannot be verified against actual data. For example, a restaurant attendance policy might state that "late arrivals will be verified via the manager's review of the automated tracking system." If no such automated tracking system exists in the company's database logs, the rule fails to be operationally grounded.
The authors formalize this challenge as Grounded Normative Rule Synthesis (GNRS). The goal is to take a normative management intent, an institutional context schema, and an environment's actual record layer, and synthesize a natural-language rule that is both human-readable and strictly enforceable using available data streams.
Methods
Instead of generating text end-to-end in a single pass, GNRS-Search decouples structural planning from surface prose generation:
- And-Or Graph (AOG) Representation: The framework models a rule as a discrete, five-slot structure covering Scope (who/where), Trigger (when), Norm Body (what is required/forbidden), Evidence Policy (how violations are detected), and Procedure (enforcement/appeals).
- Candidate Construction: For each slot, the system builds a repository of potential primitives derived from rule templates, context schemas, actual record logs, and LLM proposals filtered through a strict validation check.
- MCMC Search: The framework uses Markov Chain Monte Carlo (MCMC) sampling to iteratively edit and optimize this discrete structure. An internal scoring function guides the search by rewarding record grounding and heavily penalizing hard feasibility violations.
- Surface Realization: Once the optimal structure is found, a realization function renders it into polished natural language. A programmatic alignment guard monitors this phase to ensure the final text does not omit verified structural entities.
Datasets
The authors evaluate their approach on two newly introduced benchmarks:
- GNRS-Bench: A controlled simulation environment containing 116 goals distributed across four functional categories (attendance, property boundaries, task execution, and mixed crisis objectives). Crucially, the simulator distinguishes fleeting environment states from durable data logs to test true auditable grounding.
- RealCharter-Bench: A transfer benchmark featuring 53 tasks derived from 15 real-world public policy documents and corporate manuals (e.g., the Python PSF Code of Conduct and the GitLab Handbook), formatted as normalized policy cards with hidden source text.
Key Insights and Ideas
- Fluency $\neq$ Feasibility: Standard LLM prompting and iterative self-refinement loops fail at operational grounding because they lack an external record layer to verify evidence channels. They create beautiful prose that relies on imaginary data sources.
- The Quality-Feasibility Trade-off: Expanding the search space with LLM-generated candidates improves the linguistic quality and expressiveness of a rule but makes the strict real-data grounding gate more fragile. Conversely, relying purely on deterministic symbolic templates yields perfectly executable but rigid, robotic rules.
- Where Rules Break: Through systematic slot interventions, the authors discovered that policy failures are heavily concentrated in the semantic core—the norm body, scope, and trigger—rather than downstream evidence or procedure formulations.
Key Results
- Main Benchmark Performance: GNRS-Search increased the average rubric quality from 68.8% to 81.0% compared to direct prompting, primarily driven by massive gains in the executability dimension.
- Composite Superiority: It ranked first under a combined
OVERALLmetric (80% quality + 20% feasibility), successfully balancing readability with actual execution. - Out-of-Distribution (OOD) Generalization: On held-out navigation scenes, GNRS-Search maintained a massive lead, scoring 82.7% on the composite metric compared to direct prompting's 52.4%.
- Real-World Transfer: On RealCharter-Bench, GNRS-Search achieved 100% feasibility (HARD-OK) and a 94.69% overall score, significantly outperforming the strongest iterative self-refinement baseline.
Limitations and Future Work
- Controlled Schemas: GNRS-Bench operates within a fixed context schema and does not cover the full linguistic or legal diversity of real-world environments.
- Simplified Inputs: RealCharter-Bench relies on pre-processed, normalized policy cards rather than raw, long-form unstructured documents, meaning end-to-end policy extraction from raw text remains an open challenge.
- Pre-mapped Interfaces: The framework assumes that database schemas, audit logs, and evidence interfaces are already mapped and available before generation begins. Future work could explore automatically discovering these interfaces from raw system assets.
Summary updated