SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQL
Ruichu Cai, Jinjie Yuan, Boyan Xu, Zhifeng Hao
摘要
The Text-to-SQL task, aiming to translate the natural language of the questions into SQL queries, has drawn much attention recently. One of the most challenging problems of Text-to-SQL is how to generalize the trained model to the unseen database schemas, also known as the cross-domain Text-to-SQL task. The key lies in the generalizability of (i) the encoding method to model the question and the database schema and (ii) the question-schema linking method to learn the mapping between words in the question and tables/columns in the database schema. Focusing on the above two key issues, we propose a Structure-Aware Dual Graph Aggregation Network (SADGA) for cross-domain Text-to-SQL. In SADGA, we adopt the graph structure to provide a unified encoding model for both the natural language question and database schema. Based on the proposed unified modeling, we further devise a structure-aware aggregation method to learn the mapping between the question-graph and schema-graph. The structure-aware aggregation method is featured with Global Graph Linking, Local Graph Linking, and Dual-Graph Aggregation Mechanism. We not only study the performance of our proposal empirically but also achieved 3rd place on the challenging Text-to-SQL benchmark Spider at the time of writing.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL 引用了 GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsing
- RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL 引用了 Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Training
- RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL 引用了 RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQL
- RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL 引用了 Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsing
- OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale 引用了 RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL
- OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale 引用了 GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsing
- OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale 引用了 DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
- OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale 引用了 Graphix-T5: Mixing Pre-trained Transformers with Graph-Aware Layers for Text-to-SQL Parsing
- OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale 引用了 RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQL
- OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale 引用了 TaBERT: Pretraining for Joint Understanding of Textual and Tabular Data
- GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsing 引用了 Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsing
- GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsing 引用了 TaBERT: Pretraining for Joint Understanding of Textual and Tabular Data
- Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Training 引用了 GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsing
- Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Training 引用了 TaBERT: Pretraining for Joint Understanding of Textual and Tabular Data
- DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction 引用了 GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsing
- DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction 引用了 Graphix-T5: Mixing Pre-trained Transformers with Graph-Aware Layers for Text-to-SQL Parsing
- DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction 引用了 RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQL
- DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction 引用了 Re-examining the Role of Schema Linking in Text-to-SQL
- Graphix-T5: Mixing Pre-trained Transformers with Graph-Aware Layers for Text-to-SQL Parsing 引用了 RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQL
- RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQL 引用了 Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsing
- Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsing 引用了 TaBERT: Pretraining for Joint Understanding of Textual and Tabular Data
引用它的顶会 Paper13
- DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-CorrectionMohammadreza Pourreza, Davood RafieiNeurIPS 2023 · 909 次引用
- RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLHaoyang Li, Jing Zhang, Cuiping Li, Hong ChenAAAI 2023 · 343 次引用
- Graphix-T5: Mixing Pre-trained Transformers with Graph-Aware Layers for Text-to-SQL ParsingJinyang Li, Binyuan Hui, Reynold Cheng, Bowen Qin 等AAAI 2023 · 164 次引用
- OmniSQL: Synthesizing High-quality Text-to-SQL Data at ScaleHaoyang Li, Shang Wu, Xiaokang Zhang, Xinmei Huang 等VLDB 2025 · 90 次引用
- RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQLJiexing Qi, Jingyao Tang, Ziwei He, Xiangpeng Wan 等EMNLP 2022 · 73 次引用
它引用的 Paper9
- TaBERT: Pretraining for Joint Understanding of Textual and Tabular DataPengcheng Yin, Graham Neubig, Wen-tau Yih, Sebastian RiedelACL 2020 · 417 次引用
- Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic ParsingXi Victoria Lin, Richard Socher, Caiming XiongEMNLP Findings 2020 · 186 次引用
- Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-TrainingPeng Shi, Patrick Ng, Zhiguo Wang, Henghui Zhu 等AAAI 2021 · 124 次引用
- Re-examining the Role of Schema Linking in Text-to-SQLWenqiang Lei, Weixin Wang, Zhixin Ma, Tian Gan 等EMNLP 2020 · 71 次引用
- GraPPa: Grammar-Augmented Pre-Training for Table Semantic ParsingTao Yu, Chien-Sheng Wu, Xi Victoria Lin, Bailin Wang 等ICLR 2021 · 59 次引用
相关 Paper
- RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL ParsersBailin Wang, Richard Shin, Xiaodong Liu, Oleksandr Polozov 等ACL 2020 · 39 次引用
- S²SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL ParsersBinyuan Hui, Ruiying Geng, Lihan Wang, Bowen Qin 等ACL Findings 2022 · 66 次引用
- G³R: A Graph-Guided Generate-and-Rerank Framework for Complex and Cross-domain Text-to-SQL GenerationYanzheng Xiang, Qian-Wen Zhang, Xu Zhang, Zejie Liu 等ACL Findings 2023 · 3 次引用
- LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local RelationsRuisheng Cao, Lu Chen, Zhi Chen, Yanbin Zhao 等ACL 2021
- UCS-SQL: Uniting Content and Structure for Enhanced Semantic Bridging In Text-to-SQLZhenhe Wu, Zhongqiu Li, Jie Zhang, Zhongjiang He 等ACL Findings 2025 · 4 次引用
