RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQL
Jiexing Qi, Jingyao Tang, Ziwei He, Xiangpeng Wan, Yu Cheng, Chenghu Zhou, Xinbing Wang, Quanshi Zhang, Zhouhan Lin
摘要
Relational structures such as schema linking and schema encoding have been validated as a key component to qualitatively translating natural language into SQL queries. However, introducing these structural relations comes with prices: they often result in a specialized model structure, which largely prohibits using large pretrained models in text-to-SQL. To address this problem, we propose RASAT: a Transformer seq2seq architecture augmented with relation-aware self-attention that could leverage a variety of relational structures while inheriting the pretrained parameters from the T5 model effectively. Our model can incorporate almost all types of existing relations in the literature, and in addition, we propose introducing co-reference relations for the multi-turn scenario. Experimental results on three widely used text-to-SQL datasets, covering both singleturn and multi-turn scenarios, have shown that RASAT could achieve state-of-the-art results across all three benchmarks (75.5% EX on Spider, 52.6% IEX on SParC, and 37.4% IEX on CoSQL). 1 1 Our implementation is available at https://github. com/LUMIA-group/rasat .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL 引用了 Relational Graph Attention Network for Aspect-based Sentiment Analysis
- RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL 引用了 Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsing
- RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL 引用了 SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQL
- StructGPT: A General Framework for Large Language Model to Reason over Structured Data 引用了 UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models
- Natural SQL: Making SQL Easier to Infer from Natural Language Specifications 引用了 Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsing
- DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction 引用了 Natural SQL: Making SQL Easier to Infer from Natural Language Specifications
- DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction 引用了 SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQL
- SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQL 引用了 Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsing
- Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation 引用了 RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL
- Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation 引用了 DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
- Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation 引用了 Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsing
- LEVER: Learning to Verify Language-to-Code Generation with Execution 引用了 UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models
引用它的顶会 Paper21
- DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-CorrectionMohammadreza Pourreza, Davood RafieiNeurIPS 2023 · 909 次引用
- Text-to-SQL Empowered by Large Language Models: A Benchmark EvaluationDawei Gao, Haibin Wang, Yaliang Li, Xiuyu Sun 等VLDB 2024 · 609 次引用
- RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLHaoyang Li, Jing Zhang, Cuiping Li, Hong ChenAAAI 2023 · 343 次引用
- LEVER: Learning to Verify Language-to-Code Generation with ExecutionAnsong Ni, Srini Iyer, Dragomir Radev, Veselin Stoyanov 等ICML 2023 · 318 次引用
- StructGPT: A General Framework for Large Language Model to Reason over Structured DataJinhao Jiang, Kun Zhou, Zican Dong, Keming Ye 等EMNLP 2023 · 173 次引用
它引用的 Paper13
- Relational Graph Attention Network for Aspect-based Sentiment AnalysisKai Wang, Weizhou Shen, Yunyi Yang, Xiaojun Quan 等ACL 2020 · 614 次引用
- UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language ModelsTianbao Xie, Chen Henry Wu, Peng Shi, Ruiqi Zhong 等EMNLP 2022 · 222 次引用
- Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic ParsingXi Victoria Lin, Richard Socher, Caiming XiongEMNLP Findings 2020 · 186 次引用
- SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQLRuichu Cai, Jinjie Yuan, Boyan Xu, Zhifeng HaoNeurIPS 2021 · 90 次引用
- Natural SQL: Making SQL Easier to Infer from Natural Language SpecificationsYujian Gan, Xinyun Chen, Jinxia Xie, Matthew Purver 等EMNLP Findings 2021 · 88 次引用
相关 Paper
- RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL ParsersBailin Wang, Richard Shin, Xiaodong Liu, Oleksandr Polozov 等ACL 2020 · 39 次引用
- 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 次引用
- SchemaRAG: A Schema-aware Retrieval-Augmented Generation Framework for Text-to-SQLDi Wu, Zetong Tang, Yi He, Xin LuoSIGMOD 2026 · 9 次引用
- HIE-SQL: History Information Enhanced Network for Context-Dependent Text-to-SQL Semantic ParsingYanzhao Zheng, Haibin Wang, Baohua Dong, Xingjun Wang 等ACL Findings 2022 · 34 次引用
- 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 次引用
