Lune

EMNLP2024顶会

Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema Pruning

Zhili Shen, Pavlos Vougiouklis, Chenxin Diao, Kaustubh Vyas, Yuanyi Ji, Jeff Z. Pan

摘要

We focus on Text-to-SQL semantic parsing from the perspective of retrieval-augmented generation. Motivated by challenges related to the size of commercial database schemata and the deployability of business intelligence solutions, we propose ASTRES that dynamically retrieves input database information and uses abstract syntax trees to select few-shot examples for in-context learning. Furthermore, we investigate the extent to which an in-parallel semantic parser can be leveraged for generating approximated versions of the expected SQL queries, to support our retrieval. We take this approach to the extreme-we adapt a model consisting of less than 500M parameters, to act as an extremely efficient approximator, enhancing it with the ability to process schemata in a parallelised manner. We apply ASTRES to monolingual and crosslingual benchmarks for semantic parsing, showing improvements over state-of-the-art baselines. Comprehensive experiments highlight the contribution of modules involved in this retrieval-augmented generation setting, revealing interesting directions for future work.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errors 引用了 RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL
  • Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errors 引用了 DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
  • Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errors 引用了 Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation
  • ReEx-SQL: Reasoning with Execution-Aware Reinforcement Learning for Text-to-SQL 引用了 RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL
  • ReEx-SQL: Reasoning with Execution-Aware Reinforcement Learning for Text-to-SQL 引用了 DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
  • ReEx-SQL: Reasoning with Execution-Aware Reinforcement Learning for Text-to-SQL 引用了 Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation
  • SEFRQO: A Self-Evolving Fine-Tuned RAG-Based Query Optimizer 引用了 Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation
  • Dialect-SQL: An Adaptive Framework for Bridging the Dialect Gap in Text-to-SQL 引用了 RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL
  • Dialect-SQL: An Adaptive Framework for Bridging the Dialect Gap in Text-to-SQL 引用了 DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction
  • Dialect-SQL: An Adaptive Framework for Bridging the Dialect Gap in Text-to-SQL 引用了 Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation
  • 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 引用了 MPNet: Masked and Permuted Pre-training for Language Understanding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. ReEx-SQL: Reasoning with Execution-Aware Reinforcement Learning for Text-to-SQLYaxun Dai, Wenxuan Xie, Xialie Zhuang, Tianyu Yang 等ACL 2026 · 8 次引用
  2. SEFRQO: A Self-Evolving Fine-Tuned RAG-Based Query OptimizerHanwen Liu, Qihan Zhang, Ryan Marcus, Ibrahim SabekSIGMOD 2026 · 2 次引用
  3. Dialect-SQL: An Adaptive Framework for Bridging the Dialect Gap in Text-to-SQLJie Shi, Xi Cao, Bo Xu, Jiaqing Liang 等EMNLP 2025 · 2 次引用
  4. Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL ErrorsJiawei Shen, Chengcheng Wan, Ruoyi Qiao, Jiazhen Zou 等FSE 2026 · 1 次引用
  5. From an LLM Swarm to a PDDL-empowered Hive: Planning Self-executed Instructions in a Multi-modal JungleKaustubh Vyas, Damien Graux, Yijun Yang, Sébastien Montella 等ICLR 2025

它引用的 Paper13

  1. MPNet: Masked and Permuted Pre-training for Language UnderstandingKaitao Song, Xu Tan, Tao Qin, Jianfeng Lu 等NeurIPS 2020 · 1,957 次引用
  2. Teaching Large Language Models to Self-DebugXinyun Chen, Maxwell Lin, Nathanael Schärli, Denny ZhouICLR 2024 · 1,085 次引用
  3. DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-CorrectionMohammadreza Pourreza, Davood RafieiNeurIPS 2023 · 909 次引用
  4. Text-to-SQL Empowered by Large Language Models: A Benchmark EvaluationDawei Gao, Haibin Wang, Yaliang Li, Xiuyu Sun 等VLDB 2024 · 609 次引用
  5. RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQLHaoyang Li, Jing Zhang, Cuiping Li, Hong ChenAAAI 2023 · 343 次引用

相关 Paper

  1. XRICL: Cross-lingual Retrieval-Augmented In-Context Learning for Cross-lingual Text-to-SQL Semantic ParsingPeng Shi, Rui Zhang, He Bai, Jimmy LinEMNLP Findings 2022 · 29 次引用
  2. Diverse Parallel Data Synthesis for Cross-Database Adaptation of Text-to-SQL ParsersAbhijeet Awasthi, Ashutosh Sathe, Sunita SarawagiEMNLP 2022 · 7 次引用
  3. SchemaRAG: A Schema-aware Retrieval-Augmented Generation Framework for Text-to-SQLDi Wu, Zetong Tang, Yi He, Xin LuoSIGMOD 2026 · 9 次引用
  4. AID-SQL: Adaptive In-Context Learning of Text-to-SQL with Difficulty-Aware Instruction and Retrieval-Augmented GenerationXiuwen Li, Qifeng Cai, Yang Shu, Chenjuan Guo 等ICDE 2025 · 9 次引用
  5. 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 次引用
黄昏的海面,两侧是细线勾勒的悬崖