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

基于公式化知识的文本到SQL语义解析

Towards Knowledge-Intensive Text-to-SQL Semantic Parsing with Formulaic Knowledge

Harbin Institute of Technology(哈尔滨工业大学);Microsoft Research Asia(微软亚洲研究院);National University of Singapore(新加坡国立大学)

Longxu Dou, Yan Gao, Xuqi Liu, Mingyang Pan, Dingzirui Wang, Wanxiang Che, Dechen Zhan, Min-Yen Kan, Jian-Guang Lou

摘要:

在本文中,我们研究的问题,知识密集型的文本到SQL,其中领域知识是必要的解析专家的问题到SQL查询领域特定的表。我们通过构建一个新的中文基准测试KnowSQL来正式化这个场景,该测试由覆盖各个领域的特定领域问题组成。然后,我们通过呈现公式化的知识来解决这个问题,而不是通过注释额外的数据示例。更具体地说,我们构建了一个公式化的知识库作为领域知识库,并提出了一个框架(ReGroupP),利用这种公式化的知识在解析。使用ReGroupP的实验表明,KnowSQL总体上有28.2%的显着改进。

英文摘要:

In this paper, we study the problem of knowledge-intensive text-to-SQL, in which domain knowledge is necessary to parse expert questions into SQL queries over domain-specific tables. We formalize this scenario by building a new Chinese benchmark KnowSQL consisting of domain-specific questions covering various domains. We then address this problem by presenting formulaic knowledge, rather than by annotating additional data examples. More concretely, we construct a formulaic knowledge bank as a domain knowledge base and propose a framework (ReGrouP) to leverage this formulaic knowledge during parsing. Experiments using ReGrouP demonstrate a significant 28.2% improvement overall on KnowSQL.

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

↑