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

在语义分析器的输出中寻找更好的数据库匹配

Searching for Better Database Queries in the Outputs of Semantic Parsers

HSE University(高等经济大学);Yandex(杨德克斯)

Anton Osokin, Irina Saparina, Ramil Yarullin

摘要:

从自然语言中的问题生成数据库查询的任务遭受模糊性和对目标的不够精确的描述。当系统需要泛化到训练时看不见的数据库时,这个问题会被放大。在本文中,我们考虑的情况下,在测试时,系统可以访问一个外部标准,评估生成的查询。标准可以从检查查询执行时没有错误到在一组测试上验证查询。在这种情况下,我们增加了神经自回归模型的搜索算法,寻找一个满足标准的查询。我们将我们的方法应用于最先进的语义解析器,并报告说,它允许我们找到许多通过不同数据集上所有测试的查询。

英文摘要:

The task of generating a database query from a question in natural language suffers from ambiguity and insufficiently precise description of the goal. The problem is amplified when the system needs to generalize to databases unseen at training. In this paper, we consider the case when, at the test time, the system has access to an external criterion that evaluates the generated queries. The criterion can vary from checking that a query executes without errors to verifying the query on a set of tests. In this setting, we augment neural autoregressive models with a search algorithm that looks for a query satisfying the criterion. We apply our approach to the state-of-the-art semantic parsers and report that it allows us to find many queries passing all the tests on different datasets.

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

↑