Bertrand-DR: Improving Text-to-SQL using a Discriminative Re-ranker
Not on the map. Why?
Abstract (arXiv)
To access data stored in relational databases, users need to understand the database schema and write a query using a query language such as SQL. To simplify this task, text-to-SQL models attempt to translate a user's natural language question to corresponding SQL query. Recently, several generative text-to-SQL models have been developed. We propose a novel discriminative re-ranker to improve the performance of generative text-to-SQL models by extracting the best SQL query from the beam output predicted by the text-to-SQL generator, resulting in improved performance in the cases where the best query was in the candidate list, but not at the top of the list. We build the re-ranker as a schema agnostic BERT fine-tuned classifier. We analyze relative strengths of the text-to-SQL and re-ranker models across different query hardness levels, and suggest how to combine the two models for optimal performance. We demonstrate the effectiveness of the re-ranker by applying it to two state-of-the-art text-to-SQL models, and achieve top 4 score on the Spider leaderboard at the time of writing this article.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Feb 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 4; 2023: 3; 2024: 3.
12 papers.
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
- 2022A Survey on Text-to-SQL Parsing: Concepts, Methods, and Future Directionscited by 51
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
- 2021SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQLcited by 43
- 2022S2SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parserscited by 41
- 2021ShadowGNN: Graph Projection Neural Network for Text-to-SQL Parsercited by 35
- 2023Interleaving Pre-Trained Language Models and Large Language Models for Zero-Shot NL2SQL Generationcited by 24
- 2022N-Best Hypotheses Reranking for Text-To-SQL Systemscited by 19
- 2024Using LLM to select the right SQL Query from candidatescited by 12
- 2023Error Detection for Text-to-SQL Semantic Parsingcited by 11
- 2024Cooperative SQL Generation for Segmented Databases By Using Multi-functional LLM Agentscited by 1
- 2024Cooperative SQL Generation for Segmented Databases By Using Multi-functional LLM Agents8 Dec 2024
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?9 Aug 2024
- 2024Using LLM to select the right SQL Query from candidates4 Jan 2024
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code14 Nov 2023
- 2023Interleaving Pre-Trained Language Models and Large Language Models for Zero-Shot NL2SQL Generation15 Jun 2023
- 2023Error Detection for Text-to-SQL Semantic Parsing23 May 2023
- 2022N-Best Hypotheses Reranking for Text-To-SQL Systems19 Oct 2022
- 2022A Survey on Text-to-SQL Parsing: Concepts, Methods, and Future Directions29 Aug 2022
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expect22 Aug 2022
- 2022S2SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parsers14 Mar 2022
- 2021SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQL1 Nov 2021
- 2021ShadowGNN: Graph Projection Neural Network for Text-to-SQL Parser10 Apr 2021