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

从隐含结构化对齐和抽象程序的表示学习语义分析器

Learning Semantic Parsers from Denotations with Latent Structured Alignments and Abstract Programs

Bailin Wang, Ivan Titov, Mirella Lapata

摘要:

语义解析旨在将自然语言语句映射到机器可解释的含义表示上,也就是针对真实世界环境执行的程序产生表示。弱监督语义解析器在将程序视为潜在的话语-指称对上进行训练。该任务是具有挑战性的,由于大的搜索空间和spuriousness的程序,可以执行到正确的答案,但不推广到看不见的例子。我们的目标是在解析器中灌输一种归纳偏见,以帮助它区分伪程序和正确程序。我们利用这样的直觉,即正确的程序可能会尊重某些结构性约束,如果它们与问题相一致(例如,程序片段不太可能与重叠的文本跨度对齐),并建议将对齐建模为结构化的潜在变量。为了使潜在对齐框架易于处理,我们将解析任务分解为(1)预测部分“抽象程序”和(2)在用差分动态规划建模结构化对齐时对其进行精炼。我们在WIKITABLEQUESTIONS和WIKISQL数据集上获得了最先进的性能。当与标准注意力基线相比时,我们观察到所提出的结构化对齐机制是非常有益的。

英文摘要:

Semantic parsing aims to map natural language utterances onto machine interpretable meaning representations, aka programs whose execution against a real-world environment produces a denotation. Weakly-supervised semantic parsers are trained on utterance-denotation pairs treating programs as latent. The task is challenging due to the large search space and spuriousness of programs which may execute to the correct answer but do not generalize to unseen examples. Our goal is to instill an inductive bias in the parser to help it distinguish between spurious and correct programs. We capitalize on the intuition that correct programs would likely respect certain structural constraints were they to be aligned to the question (e.g., program fragments are unlikely to align to overlapping text spans) and propose to model alignments as structured latent variables. In order to make the latent-alignment framework tractable, we decompose the parsing task into (1) predicting a partial "abstract program" and (2) refining it while modeling structured alignments with differential dynamic programming. We obtain state-of-the-art performance on the WIKITABLEQUESTIONS and WIKISQL datasets. When compared to a standard attention baseline, we observe that the proposed structured-alignment mechanism is highly beneficial.

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

↑