arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1812.10037cs.CL
收藏

从领域本体构建神经语义解析器

Building a Neural Semantic Parser from a Domain Ontology

University of Edinburgh(爱丁堡大学);Stanford University(斯坦福大学)

Jianpeng Cheng, Siva Reddy, Mirella Lapata

摘要:

语义解析是将自然语言话语转换为机器可解释的含义表示的任务,其可以针对诸如数据库的真实世界环境执行。将语义解析扩展到任意领域面临着两个相互关联的挑战:有效且廉价地获得广泛覆盖的训练数据;以及开发一个推广到合成话语和复杂意图的模型。我们使用一个框架来解决这些挑战,该框架允许从领域本体中获取训练数据,并引导神经解析器,该神经解析器递归地构建逻辑形式的推导。在我们的框架中的含义表示所描述的序列的自然语言模板,其中每个模板对应于一个分解的片段的基本含义表示。虽然是人工的,但模板可以被人类理解和解释以创建自然的话语,从而产生平行的三元组话语,含义表示及其分解。这些使我们能够训练一个神经语义解析器,它学会在推导含义表示时编写规则。我们众包训练数据上的六个领域,包括单轮话语表现出丰富的组合性,和顺序的话语,一个复杂的任务是按程序执行的步骤。然后,我们开发神经语义解析器执行这样的合成任务。一般来说,我们的方法允许从给定的领域本体快速,廉价地部署神经语义解析器。

英文摘要:

Semantic parsing is the task of converting natural language utterances into machine interpretable meaning representations which can be executed against a real-world environment such as a database. Scaling semantic parsing to arbitrary domains faces two interrelated challenges: obtaining broad coverage training data effectively and cheaply; and developing a model that generalizes to compositional utterances and complex intentions. We address these challenges with a framework which allows to elicit training data from a domain ontology and bootstrap a neural parser which recursively builds derivations of logical forms. In our framework meaning representations are described by sequences of natural language templates, where each template corresponds to a decomposed fragment of the underlying meaning representation. Although artificial, templates can be understood and paraphrased by humans to create natural utterances, resulting in parallel triples of utterances, meaning representations, and their decompositions. These allow us to train a neural semantic parser which learns to compose rules in deriving meaning representations. We crowdsource training data on six domains, covering both single-turn utterances which exhibit rich compositionality, and sequential utterances where a complex task is procedurally performed in steps. We then develop neural semantic parsers which perform such compositional tasks. In general, our approach allows to deploy neural semantic parsers quickly and cheaply from a given domain ontology.

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

↑