Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

ShadowGNN: Graph Projection Neural Network for Text-to-SQL Parser (2104.04689v2)

Published 10 Apr 2021 in cs.CL and cs.HC

Abstract: Given a database schema, Text-to-SQL aims to translate a natural language question into the corresponding SQL query. Under the setup of cross-domain, traditional semantic parsing models struggle to adapt to unseen database schemas. To improve the model generalization capability for rare and unseen schemas, we propose a new architecture, ShadowGNN, which processes schemas at abstract and semantic levels. By ignoring names of semantic items in databases, abstract schemas are exploited in a well-designed graph projection neural network to obtain delexicalized representation of question and schema. Based on the domain-independent representations, a relation-aware transformer is utilized to further extract logical linking between question and schema. Finally, a SQL decoder with context-free grammar is applied. On the challenging Text-to-SQL benchmark Spider, empirical results show that ShadowGNN outperforms state-of-the-art models. When the annotated data is extremely limited (only 10\% training set), ShadowGNN gets over absolute 5\% performance gain, which shows its powerful generalization ability. Our implementation will be open-sourced at \url{https://github.com/WowCZ/shadowgnn}.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (7)
  1. Zhi Chen (235 papers)
  2. Lu Chen (244 papers)
  3. Yanbin Zhao (14 papers)
  4. Ruisheng Cao (24 papers)
  5. Zihan Xu (31 papers)
  6. Su Zhu (29 papers)
  7. Kai Yu (201 papers)
Citations (49)
Github Logo Streamline Icon: https://streamlinehq.com

GitHub