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

Proton:从预训练的语言模型中探测文本到SQL解析的模式链接信息

Proton: Probing Schema Linking Information from Pre-trained Language Models for Text-to-SQL Parsing

University of Chinese Academy of Sciences(中国科学院大学);Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Alibaba Group(阿里巴巴集团);Massachusetts Institute of Technology(麻省理工学院)

Lihan Wang, Bowen Qin, Binyuan Hui, Bowen Li, Min Yang, Bailin Wang, Binhua Li, Fei Huang, Luo Si, Yongbin Li

摘要:

构建可应用于新数据库的文本到SQL解析器的重要性早已被公认,实现这一目标的关键步骤是模式链接,即,在生成SQL时正确识别未看到的列或表。在这项工作中,我们提出了一种新的框架,通过基于庞加莱距离度量的探测过程,从大规模预训练的语言模型(PLM)中提取关系结构,并使用诱导的关系来增强当前基于图的解析器,以实现更好的模式链接。与常用的基于规则的模式链接方法相比,我们发现,探测关系可以鲁棒地捕获语义对应关系,即使在表面形式的提及和实体不同。此外,我们的探测过程是完全无监督的,不需要额外的参数。大量的实验表明,我们的框架设置新的国家的最先进的性能在三个基准。我们实证验证,我们的探测程序确实可以找到所需的关系结构,通过定性分析。我们的代码可以在https://github.com/AlibabaResearch/DAMO-ConvAI上找到。

英文摘要:

The importance of building text-to-SQL parsers which can be applied to new databases has long been acknowledged, and a critical step to achieve this goal is schema linking, i.e., properly recognizing mentions of unseen columns or tables when generating SQLs. In this work, we propose a novel framework to elicit relational structures from large-scale pre-trained language models (PLMs) via a probing procedure based on Poincaré distance metric, and use the induced relations to augment current graph-based parsers for better schema linking. Compared with commonly-used rule-based methods for schema linking, we found that probing relations can robustly capture semantic correspondences, even when surface forms of mentions and entities differ. Moreover, our probing procedure is entirely unsupervised and requires no additional parameters. Extensive experiments show that our framework sets new state-of-the-art performance on three benchmarks. We empirically verify that our probing procedure can indeed find desired relational structures through qualitative analysis. Our code can be found at https://github.com/AlibabaResearch/DAMO-ConvAI.

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

↑