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

学习综合数据进行语义解析

Learning to Synthesize Data for Semantic Parsing

University of Edinburgh(爱丁堡大学);Salesforce Research(赛富时研究院);Facebook AI(脸书人工智能研究院)

Bailin Wang, Wenpeng Yin, Xi Victoria Lin, Caiming Xiong

摘要:

近年来,语义解析中的数据合成越来越受到人们的关注。然而,大多数方法在其生成过程中需要手工(高精度)规则,这阻碍了对各种未知数据的探索。在这项工作中,我们提出了一个生成模型,其特征是一个(非神经)PCFG,该PCFG对程序的组成进行建模(例如,SQL),以及基于BART的翻译模型,该模型将程序映射到话语。由于PCFG和预训练BART的简单性,我们的生成模型可以从现有数据中有效地学习。此外,使用PCFG显式建模组合物可以更好地探索看不见的程序,从而生成更多样化的数据。我们评估我们的方法在域内和域外设置的文本到SQL解析的标准基准GeoQuery和蜘蛛,分别。我们的实验结果表明,从我们的模型生成的合成数据可以大大帮助语义解析器实现更好的组合和领域泛化。

英文摘要:

Synthesizing data for semantic parsing has gained increasing attention recently. However, most methods require handcrafted (high-precision) rules in their generative process, hindering the exploration of diverse unseen data. In this work, we propose a generative model which features a (non-neural) PCFG that models the composition of programs (e.g., SQL), and a BART-based translation model that maps a program to an utterance. Due to the simplicity of PCFG and pre-trained BART, our generative model can be efficiently learned from existing data at hand. Moreover, explicitly modeling compositions using PCFG leads to a better exploration of unseen programs, thus generate more diverse data. We evaluate our method in both in-domain and out-of-domain settings of text-to-SQL parsing on the standard benchmarks of GeoQuery and Spider, respectively. Our empirical results show that the synthesized data generated from our model can substantially help a semantic parser achieve better compositional and domain generalization.

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

↑