KaggleDBQA: Realistic Evaluation of Text-to-SQL Parsers

Chia-Hsuan Lee, Oleksandr Polozov, Matthew Richardson
6/22/2021
215 citations
cs.CLcs.AIcs.DB

Official code: chiahsuan156/KaggleDBQA (0 stars, last commit 2025-05-25).

Abstract

The goal of database question answering is to enable natural language querying of real-life relational databases in diverse application domains. Recently, large-scale datasets such as Spider and WikiSQL facilitated novel modeling techniques for text-to-SQL parsing, improving zero-shot generalization to unseen databases.

Show full abstract

In this work, we examine the challenges that still prevent these techniques from practical deployment. First, we present KaggleDBQA, a new cross-domain evaluation dataset of real Web databases, with domain-specific data types, original formatting, and unrestricted questions. Second, we re-examine the choice of evaluation tasks for text-to-SQL parsers as applied in real-life settings. Finally, we augment our in-domain evaluation task with database documentation, a naturally occurring source of implicit domain knowledge. We show that KaggleDBQA presents a challenge to state-of-the-art zero-shot parsers but a more realistic evaluation setting and creative use of associated database documentation boosts their accuracy by over 13.2%, doubling their performance.

View on arXivView PDF

Code Implementations(1)

00May 25, 20251 years ago

Similar Papers

Cite this paper

@article{lee2021kaggledbqa,
  title  = {KaggleDBQA: Realistic Evaluation of Text-to-SQL Parsers},
  author = {Chia-Hsuan Lee and Oleksandr Polozov and Matthew Richardson},
  year   = {2021},
  eprint = {2106.11455},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.11455}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.11455.svg)](https://codeofpaper.com/paper/2106.11455)

Discussion