One of the limitations of semantic parsing approaches to open-domain question answering is the lexicosyntactic gap between natural language questions and knowledge base entries -- there are many ways to ask a question, all with the same answer. In this paper we propose to bridge this gap by generating paraphrases of the input question with the goal that at least one of them will be correctly mapped to a knowledge-base query. We introduce a novel grammar model for paraphrase generation that does not require any sentence-aligned paraphrase corpus. Our key idea is to leverage the flexibility and scalability of latent-variable probabilistic context-free grammars to sample paraphrases. We do an extrinsic evaluation of our paraphrases by plugging them into a semantic parser for Freebase. Our evaluation experiments on the WebQuestions benchmark dataset show that the performance of the semantic parser significantly improves over strong baselines.
The Limitations of Limited Context for Constituency Parsing
Carnegie Mellon University(卡内基梅隆大学)
在NLP中将语法转化为神经方法具有许多实际和科学的好处。例如,一个语法感知的语言模型可能能够产生更好的样本;甚至像BERT这样带有语法模块的判别模型也可以用于核心NLP任务,如无监督句法分析。近年来的快速进展可以说是由解析-阅读-预测架构的经验成功所刺激的(Shen et al.,2018 a),后来被(Shen et al.,2019年)。最值得注意的是,这是神经方法第一次能够成功地执行无监督的句法分析(通过F-1评分等各种指标进行评估)。然而,即使是启发式的(更少的完全数学)理解这些架构为什么以及何时工作也严重落后。在这项工作中,我们回答了(Shen et al.,2018 a,2019),以及一些基于转换的语法感知语言模型(Dyer等人,2016):什么样的句法结构可以目前的神经句法方法表示?具体地说,我们接地这个问题的概率上下文无关文法(PCFG)的沙箱,并确定这些方法的代表性的权力的一个关键方面:预测器的数量和方向性的上下文时,被迫作出解析决定。我们表明,有限的上下文(无论是有界的,或单向的),有PCFG,这些方法不能代表的最大似然解析;相反,如果上下文是无限的,他们可以代表任何PCFG的最大似然解析。
Don't paraphrase, detect! Rapid and Effective Data Collection for Semantic Parsing
School of Computer Science, Tel-Aviv University(特拉维夫大学计算机科学学院);Allen Institute for Artificial Intelligence(艾伦人工智能研究所)
在通往对话界面的道路上,一个主要的障碍是难以收集将语言话语映射到逻辑形式的数据。数据汇集的一个突出方法是自动生成与逻辑形式配对的伪语言,并通过众包将伪语言解释为自然语言(Wang et al.,2015年)。然而,这种数据汇集过程通常导致对真实数据的低性能,这是由于示例的真实分布与由数据汇集过程引起的分布之间的不匹配。本文深入分析了这一过程中的两个不匹配来源:逻辑形式分布上的不匹配和真实分布与归纳分布之间的语言分布上的不匹配。我们量化这些不匹配的影响,并提出了一种新的数据汇集的方法,减轻他们。假设从真实分布中获得未标记的话语,我们将众包与释义模型相结合,以检测未标记话语的正确逻辑形式。在两个数据集上,我们的方法在真实分布上的平均准确率为70.6,而在基于释义的数据汇集中为51.3。
Unsupervised Dual Paraphrasing for Two-stage Semantic Parsing
MoE Key Lab of Artificial Intelligence(教育部人工智能重点实验室);Department of Computer Science and Engineering(计算机科学与工程系);AI Institute, Shanghai Jiao Tong University(上海交通大学人工智能研究院)
Neural-Symbolic Recursive Machine for Systematic Generalization
National Key Laboratory of General Artificial Intelligence, BIGAI(北京智源人工智能研究院通用人工智能国家重点实验室);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);UCLA(加州大学洛杉矶分校)