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

Lihan Wang, Bowen Qin, Binyuan Hui, Bowen Li, Min Yang +5 more
6/28/2022
57 citations
cs.CL

Official code: AlibabaResearch/DAMO-ConvAI (1,623 stars, Python, MIT, last commit 2026-01-22).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

DAMO-ConvAI: The official repository which contains the codebase for Alibaba DAMO Conversational AI.

1,623253Python, Jupyter NotebookJul 15, 202210 months agoMIT
conversational-aideep-learningdialognatural-language-processing

Similar Papers

Cite this paper

@article{wang2022proton,
  title  = {Proton: Probing Schema Linking Information from Pre-trained Language Models for Text-to-SQL Parsing},
  author = {Lihan Wang and Bowen Qin and Binyuan Hui and Bowen Li and Min Yang and Bailin Wang and Binhua Li and Fei Huang and Luo Si and Yongbin Li},
  year   = {2022},
  eprint = {2206.14017},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.14017}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.14017.svg)](https://codeofpaper.com/paper/2206.14017)

Discussion