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

Grammar-based Neural Text-to-SQL Generation

Allen Institute for Artificial Intelligence(艾伦人工智能研究所);Tel-Aviv University(特拉维夫大学)

Kevin Lin, Ben Bogin, Mark Neumann, Jonathan Berant, Matt Gardner

英文摘要:

The sequence-to-sequence paradigm employed by neural text-to-SQL models typically performs token-level decoding and does not consider generating SQL hierarchically from a grammar. Grammar-based decoding has shown significant improvements for other semantic parsing tasks, but SQL and other general programming languages have complexities not present in logical formalisms that make writing hierarchical grammars difficult. We introduce techniques to handle these complexities, showing how to construct a schema-dependent grammar with minimal over-generation. We analyze these techniques on ATIS and Spider, two challenging text-to-SQL datasets, demonstrating that they yield 14--18\% relative reductions in error.

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

↑