arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.04443cs.CL
收藏

DeonticBench: 一个用于规则推理的基准

DeonticBench: A Benchmark for Reasoning over Rules

Johns Hopkins University(约翰霍普金斯大学)

Guangyao Dou, Luis Brena, Akhil Deo, William Jurayj, Jingyu Zhang, Nils Holzenberger, Benjamin Van Durme

AI总结:

本文提出DeonticBench,包含6232个任务,涵盖美国联邦税收、航空行李政策等真实领域,研究复杂规则推理问题,结合语言推理与符号计算,评估LLM在非符号和符号环境下的规则推理能力。

摘要:

在大型语言模型中,复杂、特定上下文的规则推理仍具挑战性。在法律和政策领域,这表现为规范推理:在明确规则下推理义务、许可和禁止。尽管许多最近的基准强调短上下文数学推理,但较少关注长上下文、高风险的规范推理。为填补这一空白,我们引入DEONTICBench,包含6,232个任务,涵盖美国联邦税收、航空行李政策、美国移民管理局和美国州住房法。这些任务可通过多种方式解决,包括直接语言推理或借助符号计算。除了自由形式的推理链外,DEONTICBench还允许可选的求解器工作流,其中模型将法规和案例事实转换为可执行的Prolog,导致形式化的问题解释和显式程序跟踪。我们发布了所有实例的参考Prolog程序。在前沿LLM和编程模型上,最佳硬子集性能在SARA Numeric上仅为44.4%,在住房上为46.6宏F1。我们进一步研究了监督微调和强化学习在符号程序生成中的训练。尽管训练提高了Prolog生成质量,但当前RL方法仍无法可靠地解决这些任务。总体而言,DEONTICBench为研究真实世界领域中的上下文相关规则推理提供了基准,适用于符号和非符号设置。

英文摘要:

Reasoning with complex, context-specific rules remains challenging for large language models (LLMs). In legal and policy settings, this manifests as deontic reasoning: reasoning about obligations, permissions, and prohibitions under explicit rules. While many recent benchmarks emphasize short-context mathematical reasoning, fewer focus on long-context, high-stakes deontic reasoning. To address this gap, we introduce DEONTICBENCH, a benchmark of 6,232 tasks across U.S. federal taxes, airline baggage policies, U.S. immigration administration, and U.S. state housing law. These tasks can be approached in multiple ways, including direct reasoning in language or with the aid of symbolic computation. Besides free-form chain-of-thought reasoning, DEONTICBENCH enables an optional solver-based workflow in which models translate statutes and case facts into executable Prolog, leading to formal problem interpretations and an explicit program trace. We release reference Prolog programs for all instances. Across frontier LLMs and coding models, best hard-subset performance reaches only 44.4% on SARA Numeric and 46.6 macro-F1 on Housing. We further study training with supervised fine-tuning and reinforcement learning for symbolic program generation. Although training improves Prolog generation quality, current RL methods still fail to solve these tasks reliably. Overall, DEONTICBENCH provides a benchmark for studying context-grounded rule reasoning in real-world domains under both symbolic and non-symbolic settings.

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

↑