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

基于神经翻译模型的自然语言逻辑分析

Logical Parsing from Natural Language Based on a Neural Translation Model

Beihang University(北京航空航天大学)

Liang Li, Pengyu Li, Yifan Liu, Tao Wan, Zengchang Qin

摘要:

语义解析已经成为自然语言接口和问答系统的重要和强大的范例。传统的语义分析方法依赖于高质量的词典、手工编写的语法和语言特征,这些都受到应用领域或表示的限制。在本文中,我们提出了一种通用的方法来学习的表示的基础上Seq2Seq模型增强注意力机制。我们将输入序列编码为向量,并使用动态规划来推断候选逻辑形式。我们利用相似的话语应该具有相似的逻辑形式这一事实来帮助减少搜索空间。在我们的学习策略下,Seq2Seq模型可以逐渐学习带有噪声的映射。采用课程学习,使学习更加顺畅。我们测试我们的方法在算术域,这表明我们的模型可以成功地推断出正确的逻辑形式,并学习单词的含义,组合性和操作顺序的同时。

英文摘要:

Semantic parsing has emerged as a significant and powerful paradigm for natural language interface and question answering systems. Traditional methods of building a semantic parser rely on high-quality lexicons, hand-crafted grammars and linguistic features which are limited by applied domain or representation. In this paper, we propose a general approach to learn from denotations based on Seq2Seq model augmented with attention mechanism. We encode input sequence into vectors and use dynamic programming to infer candidate logical forms. We utilize the fact that similar utterances should have similar logical forms to help reduce the searching space. Under our learning policy, the Seq2Seq model can learn mappings gradually with noises. Curriculum learning is adopted to make the learning smoother. We test our method on the arithmetic domain which shows our model can successfully infer the correct logical forms and learn the word meanings, compositionality and operation orders simultaneously.

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

↑