IGSQL: Database Schema Interaction Graph Based Neural Model for Context-Dependent Text-to-SQL Generation

arXiv:2011.05744 First posted 2020-11-11 v1 EMNLP 2020
Cite this paper ×
BibTeX
@misc{cai2020igsql,
  title = {IGSQL: Database Schema Interaction Graph Based Neural Model for Context-Dependent Text-to-SQL Generation},
  author = {Yitao Cai and Xiaojun Wan},
  year = {2020},
  eprint = {2011.05744},
  archivePrefix = {arXiv},
  primaryClass = {cs.CL},
  url = {https://arxiv.org/abs/2011.05744}
}
APA
Cai, Y., & Wan, X. (2020). IGSQL: Database Schema Interaction Graph Based Neural Model for Context-Dependent Text-to-SQL Generation [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.05744
GB/T 7714
CAI Y, WAN X. IGSQL: Database Schema Interaction Graph Based Neural Model for Context-Dependent Text-to-SQL Generation[EB/OL]. (2020-11-11)[2026-11-29]. https://arxiv.org/abs/2011.05744.

Abstract

Context-dependent text-to-SQL task has drawn much attention in recent years. Previous models on context-dependent text-to-SQL task only concentrate on utilizing historical user inputs. In this work, in addition to using encoders to capture historical information of user inputs, we propose a database schema interaction graph encoder to utilize historicalal information of database schema items. In decoding phase, we introduce a gate mechanism to weigh the importance of different vocabularies and then make the prediction of SQL tokens. We evaluate our model on the benchmark SParC and CoSQL datasets, which are two large complex context-dependent cross-domain text-to-SQL datasets. Our model outperforms previous state-of-the-art model by a large margin and achieves new state-of-the-art results on the two datasets. The comparison and ablation results demonstrate the efficacy of our model and the usefulness of the database schema interaction graph encoder.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!