arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.12259cs.CLcs.LG
收藏

基于表达式树推理的策略一致性检测

Policy Compliance Detection via Expression Tree Inference

Imperial College London(帝国理工学院);University of Cambridge(剑桥大学);Meta AI

Neema Kotonya, Andreas Vlachos, Majid Yazdani, Lambert Mathias, Marzieh Saeidi

摘要:

政策合规性检测(PCD)是我们在推理文本(例如法律框架)时遇到的一项任务。以前解决PCD的工作在很大程度上依赖于将任务建模为识别文本蕴涵的特殊情况。蕴涵是适用于PCD的问题,然而,作为一个单一的命题,而不是多个相互关联的命题,政策的性能差,缺乏解释。为了应对这一挑战,最近提出的PCD主张分解成表达式树的政策与逻辑运算符连接的问题。问答用于获得关于场景的这些问题的答案。最后,对表达式树进行评估,以获得整体解决方案。然而,这项工作假设表达式树是由专家提供的,因此限制了它对新策略的适用性。在这项工作中,我们将学习如何从策略文本中自动推断表达式树。我们通过引入有限状态自动机的约束解码来确保推断树的有效性,以确保生成有效的树。我们通过自动评估确定,我们的约束生成模型生成的表达式树中有63%在逻辑上等同于黄金树。人工评估表明,我们的模型生成的树有88%是正确的。

英文摘要:

Policy Compliance Detection (PCD) is a task we encounter when reasoning over texts, e.g. legal frameworks. Previous work to address PCD relies heavily on modeling the task as a special case of Recognizing Textual Entailment. Entailment is applicable to the problem of PCD, however viewing the policy as a single proposition, as opposed to multiple interlinked propositions, yields poor performance and lacks explainability. To address this challenge, more recent proposals for PCD have argued for decomposing policies into expression trees consisting of questions connected with logic operators. Question answering is used to obtain answers to these questions with respect to a scenario. Finally, the expression tree is evaluated in order to arrive at an overall solution. However, this work assumes expression trees are provided by experts, thus limiting its applicability to new policies. In this work, we learn how to infer expression trees automatically from policy texts. We ensure the validity of the inferred trees by introducing constrained decoding using a finite state automaton to ensure the generation of valid trees. We determine through automatic evaluation that 63% of the expression trees generated by our constrained generation model are logically equivalent to gold trees. Human evaluation shows that 88% of trees generated by our model are correct.

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

↑