Lune

EMNLP Findings2025

SQLSpace: A Representation Space for Text-to-SQL to Discover and Mitigate Robustness Gaps

Neha Srikanth, Victor S. Bursztyn, Puneet Mathur, Ani Nenkova

Abstract

We introduce SQLSpace, a humaninterpretable, generalizable, compact representation for text-to-SQL examples derived with minimal human intervention. We demonstrate the utility of these representations in evaluation with three use cases: (i) closely comparing and contrasting the composition of popular text-to-SQL benchmarks to identify unique dimensions of examples they evaluate, (ii) understanding model performance at a granular level beyond overall accuracy scores, and (iii) improving model performance through targeted query rewriting based on learned correctness estimation. We show that SQLSpace enables analysis that would be difficult with raw examples alone: it reveals compositional differences between benchmarks, exposes performance patterns obscured by accuracy alone, and supports modeling of query success.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Know What I don't Know: Handling Ambiguous and Unknown Questions for Text-to-SQL cites On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL Queries
  • Know What I don't Know: Handling Ambiguous and Unknown Questions for Text-to-SQL cites Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table Perturbation
  • Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table Perturbation cites On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL Queries
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on12

  1. Text-to-SQL Empowered by Large Language Models: A Benchmark EvaluationDawei Gao, Haibin Wang, Yaliang Li, Xiuyu Sun et al.VLDB 2024 · 609 citations
  2. On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL QueriesTianze Shi, Chen Zhao, Jordan L. Boyd-Graber, Hal Daumé III et al.EMNLP Findings 2020 · 45 citations
  3. Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table PerturbationXinyu Pi, Bing Wang, Yan Gao, Jiaqi Guo et al.ACL 2022 · 41 citations
  4. MT-Teql: Evaluating and Augmenting Neural NLIDB on Real-world Linguistic and Schema VariationsPingchuan Ma, Shuai WangVLDB 2022 · 38 citations
  5. Know What I don't Know: Handling Ambiguous and Unknown Questions for Text-to-SQLBing Wang, Yan Gao, Zhoujun Li, Jian-Guang LouACL Findings 2023 · 21 citations

Related papers

  1. Evaluating Cross-Domain Text-to-SQL Models and BenchmarksMohammadreza Pourreza, Davood RafieiEMNLP 2023 · 14 citations
  2. An In-Depth Benchmarking of Text-to-SQL SystemsOrest Gkini, Theofilos Belmpas, Georgia Koutrika, Yannis E. IoannidisSIGMOD 2021 · 20 citations
  3. SQL-Exchange: Transforming SQL Queries Across DomainsMohammadreza Daviran, Brian Lin, Davood RafieiVLDB 2026 · 2 citations
  4. Exploring the Compositional Generalization in Context Dependent Text-to-SQL ParsingAiwei Liu, Wei Liu, Xuming Hu, Shuang Li et al.ACL Findings 2023 · 1 citation
  5. SQL-Checker: Error Detection and Labeling for Text-to-SQL with Interpretability AnalysisXingyu Ma, Xin Tian, Lingxiang Wu, Xuepeng Wang et al.WWW 2026
Dusk over the sea between two cliffs drawn in fine vertical lines