ColloQL: Robust Cross-Domain Text-to-SQL Over Search Queries

Karthik Radhakrishnan, Arvind Srikantan, Xi Victoria Lin
10/19/2020
cs.CLcs.AIcs.DB

Official code: karthikradhakrishnan96/ColloQL (4 stars, Python, last commit 2021-01-17).

Abstract

Translating natural language utterances to executable queries is a helpful technique in making the vast amount of data stored in relational databases accessible to a wider range of non-tech-savvy end users. Prior work in this area has largely focused on textual input that is linguistically correct and semantically unambiguous.

Show full abstract

However, real-world user queries are often succinct, colloquial, and noisy, resembling the input of a search engine. In this work, we introduce data augmentation techniques and a sampling-based content-aware BERT model (ColloQL) to achieve robust text-to-SQL modeling over natural language search (NLS) questions. Due to the lack of evaluation data, we curate a new dataset of NLS questions and demonstrate the efficacy of our approach. ColloQL's superior performance extends to well-formed text, achieving 84.9% (logical) and 90.7% (execution) accuracy on the WikiSQL dataset, making it, to the best of our knowledge, the highest performing model that does not use execution guided decoding.

View on arXivView PDF

Code Implementations(1)

Contains code and data from our upcoming EMNLP workshop paper "ColloQL: Robust Cross-Domain Text-to-SQL Over Search Queries"

41Python, Jupyter NotebookOct 10, 20205 years ago

Similar Papers

Cite this paper

@article{radhakrishnan2020colloql,
  title  = {ColloQL: Robust Cross-Domain Text-to-SQL Over Search Queries},
  author = {Karthik Radhakrishnan and Arvind Srikantan and Xi Victoria Lin},
  year   = {2020},
  eprint = {2010.09927},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.09927}
}

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/2010.09927.svg)](https://codeofpaper.com/paper/2010.09927)

Discussion