Manuscript Offprint

arXiv:2608.22229

Grounded Normative Rule Generation with Structured Search

Fanqi Kong, Huaxiao Yin, Ruijie Zhang, Xiaoyuan Zhang, Yizhe Huang, Jian Gao, Shuo Chen, Song-Chun Zhu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Normative rules like institutional charters and workplace policies must be both human-readable and operationally verifiable against actual environment records. However, current language generation and structured-output benchmarks primarily reward surface fluency or schema compliance, leaving operational grounding weakly tested. This creates a critical vulnerability where standard language models generate plausible-sounding policies that fail during enforcement because they rely on unavailable data logs or misaligned scopes. To address this challenge, we formalize the problem as Grounded Normative Rule Synthesis (GNRS) and introduce GNRS-Search, a framework that utilizes Markov Chain Monte Carlo (MCMC) sampling to optimize a discrete, five-slot And-Or Graph (AOG). By explicitly decoupling intermediate operational structure from final prose generation, this method isolates executable feasibility from writing style and allows rule failures to be localized prior to surface realization. We evaluate our approach on GNRS-Bench, a benchmark spanning 116 controlled goals across eight scene families, and RealCharter-Bench, which evaluates transfer to 53 real-world policy tasks with hidden source clauses. GNRS-Search raises average rubric quality from 68.8% to 81.0% and ranks first under a disclosed executable composite metric, while systematic slot interventions confirm that performance gains stem from robust operational logic rather than rhetorical tuning. Ultimately, by transforming automated rule drafting into an inspectable search problem, this work provides a foundational paradigm for deploying verifiable and compliance-ready personal agents within regulated environments.

1 Introduction

Normative rules, such as institutional charters and workplace policies, must fundamentally satisfy a dual requirement: they must be human-readable and operationally verifiable when compliance is audited (Sergot et al., 1986; Solar-Lezama et al., 2006; Governatori and Rotolo, 2010). This dual purpose creates a basic tension for language generation. A generated clause may exhibit high surface fluency while entirely failing as a valid rule by relying on unavailable evidence or untraceable enforcement procedures (Wiseman et al., 2017; Maynez et al., 2020; Ji et al., 2023).

We formalize this problem as Grounded Normative Rule Synthesis, which we abbreviate as GNRS. Given a normative goal, an institutional schema, and a record layer containing environment traces and logs, the task is to write a natural-language rule that is both readable and strictly backed by available data. Figure 1 illustrates this setting with a restaurant attendance example. Direct prompting can produce a fluent policy that invokes unsupported evidence channels, such as tracking systems or staff testimony. The core difficulty goes beyond factual hallucination: rule writing requires coordinating scope, trigger, norm, evidence, and procedure. A small change in one component can invalidate the others; for example, a rule may require a procedure to verify a violation against an automated log, yet select verbal staff testimony as its evidence, which is not stored in any accessible record—the procedure then has no data source it can actually inspect. We therefore treat rule generation as a structured decision problem before surface realization, so that failures can be localized to the component that caused them.

While existing text-generation tools address related problems, they do not enforce operational grounding. Constrained decoding and structured-output methods improve syntactic validity by restricting generations to schemas or grammars (Scholak et al., 2021; Willard and Louf, 2023), but they do not check whether the generated content is supported by available environment records. Iter-

*Corresponding Author. chenshuo@bigai.ai, s.c.zhu@pku.edu.cn ative self-refinement can improve outputs through feedback loops (Madaan et al., 2023; Shinn et al., 2023), but it lacks an external record layer for verifying evidence channels and procedures. Interactive language agents use environmental feedback to guide action selection (Yao et al., 2022; Shridhar et al., 2020), whereas GNRS asks whether the generated rule text itself is backed by auditable data logs. Related multi-agent and social-interaction studies similarly highlight the role of environment structure in shaping agent behavior (Kong et al., 2024; Huang et al., 2024; Zhang et al., 2026b). Our core objective is to identify structural configurations that make a rule operationally grounded before it is rendered as prose.

To solve this problem, we implement GNRS-Search. Instead of generating the final text directly, our framework models the rule as a five-slot And-Or Graph (Zhu and Mumford, 2007; Wu and Zhu, 2011), which we call an AOG, representing intermediate operational commitments across scope, trigger, norm, evidence, and procedure. The system builds a candidate space by combining deterministic pieces from rule templates, context schemas, and record logs with language model proposals. We then use Markov Chain Monte Carlo sampling (Hastings, 1970), or MCMC, to iteratively edit this discrete structure. The search explores candidate changes through four explicit operations including slot replacement, parameter edits, evidence swaps, and joint trigger-evidence adjustments. An internal scoring function guides the search by evaluating record grounding and penalizing hard feasibility violations. This approach successfully turns rule writing into an inspectable search problem where structural errors can be caught and localized before the final text is rendered.

We evaluate our method on the introduced GNRS-Bench, which covers 116 controlled goals across 8 scene families, and test transfer to real-derived policy tasks on RealCharter-Bench, which contains 53 tasks derived from authentic policies. Experimental results show that GNRS-Search improves average rubric quality from 68.8% to 81.0% on the main test. It also ranks first under our overall executability metric across different model backbones and out-of-distribution scenes. Human evaluations and sensitivity analyses confirm that these improvements come from correct operational structure rather than better phrasing.

This paper makes four contributions.

• We define GNRS as a structured-NLG task that tests whether a readable rule is also backed by available records.

• We introduce GNRS-Bench with 116 controlled goals and RealCharter-Bench with 53 real-derived policy tasks.

• We implement GNRS-Search, an AOG search method with MCMC proposals for selecting grounded rule structures before rendering.

• We show gains on main, robustness, and real-derived tests. Human calibration supports the rubric, while slot interventions show that the gains come from operational meaning.

References (59)