arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.17153cs.CLcs.AI

从法律文本到可执行决策模型:评估结构化表示在法律决策模型生成中的应用

From Legal Text to Executable Decision Models: Evaluating Structured Representations for Legal Decision Model Generation

University of Amsterdam(阿姆斯特丹大学)

David Graus

AI总结:

本文研究通过结构化表示提升基于LLM的法律决策模型生成效果,发现输入约束显著提升模型相似度,且结构相似性与结果等价性互补。

摘要:

将法律文本转化为可执行决策逻辑是法律信息学中的长期挑战。随着LLM的发展,这一任务重新受到关注,但仍然困难,因为需要大量手动编码和评估。我们使用一个独特的现实世界数据集,将生产级决策模型与荷兰环境与规划法的法律文本配对。这些模型驱动Omgevingsloket政府平台,公民通过该平台检查环境活动的许可要求。我们研究是否中间结构化表示能提升基于LLM的法律决策模型生成效果。我们比较四种输入条件:原始法律文本、添加语义角色标签的文本、添加输入输出约束的文本,以及两者都添加的文本。我们从两个维度评估:结构评估通过与黄金决策模型的图核和图的描述性统计相似性,以及结果评估通过在预配置测试场景上执行模型来评估功能等价性。我们的发现显示,输入输出约束提供了主导的改进(比基线提高了37-54%的相似性),而语义角色标签显示出适度的改进。结果评估显示,生成的模型在51-53%的测试场景中匹配黄金标准,尽管生成的模型通常更小且更简单。我们发现LLM消除了占节点多达45-55%的冗余传递逻辑。重要的是,结构相似性和结果等价性是互补的:结构相似性不保证结果等价性,反之亦然。为促进可重复性,我们公开发布包含95个生产决策模型及其关联法律文本的数据集和所有实验代码。

英文摘要:

Transforming legal text into executable decision logic is a longstanding challenge in legal informatics. With the rise of LLMs, this task has gained renewed interest, but remains challenging due to requiring extensive manual coding and evaluation. We use a unique real-world dataset that pairs production-grade decision models with legal text from the Dutch Environment and Planning Act. These models power the Omgevingsloket government platform, where citizens check permit requirements for environmental activities. We study whether intermediate structured representations can improve LLM-based generation of executable decision models from legal text. We compare four input conditions: raw legal text, text enriched with semantic role labels, text enriched with input and output constraints, and text enriched with both. We evaluate along two dimensions: structural evaluation, through similarity to gold decision models with graph kernels and graphs' descriptive statistics, and outcome evaluation, through functional equivalence by executing models on pre-configured test scenarios. Our findings show that I/O constraints provide the dominant improvement (+37-54% similarity over baseline), while semantic role labels show modest improvements. Outcome evaluation shows that generated models match the gold standard on 51-53% of test scenarios, even though generated models are typically smaller and simpler. We find LLMs eliminate redundant pass-through logic that comprises up to 45-55% of nodes. Importantly, structural similarity and outcome equivalence are complementary: structural similarity does not guarantee outcome equivalence, and vice versa. To facilitate reproducibility, we publicly release our dataset of 95 production decision models with associated legal text and all experimental code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑