ShadowGNN: Graph Projection Neural Network for Text-to-SQL Parser
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}.
Code (0)
등록된 구현이 없습니다.
Tasks
DecoderSemantic ParsingText to SQLText-To-SQLSimilar Papers 제목 키워드 기반
Cross-lingual Abstract Meaning Representation Parsing
Abstract Meaning Representation (AMR) annotation efforts have mostly focused on English. In order to train parsers on other languages, we propose a method based on annotation projection, which involves exploiting annotat…
Abstract Meaning RepresentationProjection-based Annotation of a Polish Dependency Treebank
This paper presents an approach of automatic annotation of sentences with dependency structures. The approach builds on the idea of cross-lingual dependency projection. The presented method of acquiring dependency trees …
ARCDependency ParsingMachine TranslationQuestion Answering+1Hitachi at MRP 2020: Text-to-Graph-Notation Transducer
This paper presents our proposed parser for the shared task on Meaning Representation Parsing (MRP 2020) at CoNLL, where participant systems were required to parse five types of graphs in different languages. We propose …
Rediscovering Annotation Projection for Cross-Lingual Parser Induction
Understanding Unnatural Questions Improves Reasoning over Text
Complex question answering (CQA) over raw text is a challenging task. A prominent approach to this task is based on the programmer-interpreter framework, where the programmer maps the question into a sequence of reasonin…
DiversityNatural QuestionsQuestion Answering