arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.04878cs.CLcs.AIcs.LG
收藏

先翻译后重新排序:利用语义解析中的单调性

Translate First Reorder Later: Leveraging Monotonicity in Semantic Parsing

Universitat Politècnica de Catalunya(加泰罗尼亚理工大学);dMetrics(dMetrics公司)

Francesco Cazzaro, Davide Locatelli, Ariadna Quattoni, Xavier Carreras

摘要:

先前在语义解析中的工作已经表明,传统的seq2seq模型在组合泛化任务中失败。这种限制导致了对句子及其相应含义表示之间的对齐进行建模的方法的复兴,这些方法要么通过隐变量进行隐式建模,要么通过利用对齐注释进行显式建模。我们采取第二个方向,并提出TPOL,一个两步的方法,首先单调地翻译输入句子,然后重新排序,以获得正确的输出。这是通过一个模块化框架来实现的,该框架包括一个翻译器和一个重新排序器组件。我们在两个流行的语义解析数据集上测试我们的方法。我们的实验表明,通过单调翻译,TPOL可以从对齐的数据中学习可靠的词汇逻辑模式,显着提高了传统seq2seq模型以及其他利用黄金对齐的方法的组成概括。

英文摘要:

Prior work in semantic parsing has shown that conventional seq2seq models fail at compositional generalization tasks. This limitation led to a resurgence of methods that model alignments between sentences and their corresponding meaning representations, either implicitly through latent variables or explicitly by taking advantage of alignment annotations. We take the second direction and propose TPOL, a two-step approach that first translates input sentences monotonically and then reorders them to obtain the correct output. This is achieved with a modular framework comprising a Translator and a Reorderer component. We test our approach on two popular semantic parsing datasets. Our experiments show that by means of the monotonic translations, TPOL can learn reliable lexico-logical patterns from aligned data, significantly improving compositional generalization both over conventional seq2seq models, as well as over other approaches that exploit gold alignments.

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

↑