← Latest papers
💬 NLP

Grounded Normative Rule Generation with Structured Search

This paper introduces GNRS-Search, a framework that employs Markov Chain Monte Carlo sampling on an And-Or Graph to synthesize grounded normative rules, significantly improving operational feasibility and verifiability in regulated environments by decoupling executable logic from surface-level prose generation.

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

Published 2026-08-25
📖 4 min read☕ Coffee break read

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

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a world where the rules that govern our daily lives—from workplace safety protocols to community bylaws—are written not just to sound good, but to actually work. For decades, computer scientists have been teaching machines to write text that flows smoothly, mimicking the rhythm and vocabulary of human language. But there is a critical gap in this ability: a machine can write a sentence that sounds perfectly logical and professional while describing a process that is impossible to carry out. It might invent a type of record that doesn't exist, or demand a witness who cannot be found. In the real world, a rule that cannot be checked against actual data is not a rule at all; it is merely a suggestion that fails the moment someone tries to enforce it. This problem is particularly acute for artificial intelligence, which often generates plausible-sounding policies that collapse under the weight of reality because they rely on information the system simply does not have.

A team of researchers has tackled this specific vulnerability by treating the creation of rules not as a writing exercise, but as a search for a working blueprint. They introduced a new framework called GNRS-Search, which fundamentally changes how an AI approaches the task of drafting a policy. Instead of asking the computer to write the final paragraph immediately, the system first builds a skeletal structure. This structure is a five-part framework that defines the scope of the rule, the event that triggers it, the specific behavior required, the evidence needed to prove compliance, and the procedure for handling violations. The researchers then use a mathematical method, similar to how a hiker might explore a mountain range by taking small steps and checking the terrain, to test thousands of variations of this skeleton. The computer swaps out different pieces of the structure, constantly checking if the new combination can be supported by the actual data logs available in the environment. Only after the system finds a structure that is fully grounded in real, available records does it translate that solid framework into natural, readable language.

The results of this approach were tested against two distinct sets of challenges. The first was a controlled environment with 116 specific goals across eight different scenarios, ranging from restaurant shift coordination to managing public spaces. In these tests, the new method raised the average quality of the rules from 68.8 percent to 81.0 percent. More importantly, it ensured that the rules were executable, meaning they could actually be verified against real data. The researchers also tested the system on 53 tasks derived from real-world policies, such as corporate handbooks and open-source governance guidelines, where the original text was hidden from the computer to prevent simple copying. Here, the system again outperformed standard methods, achieving a perfect feasibility rate while maintaining high readability. The study showed that the improvement did not come from the AI simply using better words or sounding more professional; it came from the system correctly identifying which parts of a rule could be supported by evidence and which could not.

Crucially, the research also revealed where the system was most likely to fail. By deliberately swapping out specific parts of the rule structure, the researchers found that errors in the core meaning of the rule—such as who the rule applies to, when it starts, or what behavior is required—caused the most significant drop in performance. In contrast, the system was surprisingly resilient when the details about how to gather evidence or the specific steps for enforcement were slightly altered, as long as the core logic remained sound. This suggests that the most important part of writing a functional rule is getting the fundamental logic right before worrying about the phrasing. The study concludes that by separating the structural logic from the final text, it is possible to create AI agents that can draft policies which are not only easy to read but are also strictly verifiable and ready for real-world enforcement. This shift from generating text to searching for valid structures offers a new path for deploying artificial intelligence in regulated environments where trust and accuracy are non-negotiable.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →