Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task

By Tao Yu, Rui Zhang, Kai-Chou Yang, Michihiro Yasunaga, Dongxu Wang, Zifan Li, James Ma, Irene Z Li, Qingning Yao, Shanelle Roman and 2 more. 2018

1,963 citations recorded by the source corpus.

We present Spider, a large-scale complex and cross-domain semantic parsing and text-to-SQL dataset annotated by 11 college students. It consists of 10,181 questions and 5,693 unique complex SQL queries on 200 databases with multiple tables covering 138 different domains. We define a new complex and cross-domain semantic parsing and text-to-SQL task so that different complicated SQL queries and databases appear in train and test sets. In this way, the task requires the model to generalize well to both new SQL queries and new database schemas. Therefore, Spider is distinct from most of the previous semantic parsing tasks because they all use a single database and have the exact same program in the train set and the test set. We experiment with various state-of-the-art models and the best model achieves only 9.7% exact matching accuracy on a database split setting. This shows that Spider presents a strong challenge for future research. Our dataset and task with the most recent updates are publicly available at https://yale-lily.github.io/seq2sql/spider.

Subfields: Artificial Intelligence, Information Systems, Natural Language Processing, Evaluation & Benchmarks

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Luke S. Zettlemoyer
  2. Percy Liang
  3. Mohit Bansal
  4. Graham Neubig
  5. Jianfeng Gao
  6. Hannaneh Hajishirzi
  7. Yejin Choi
  8. Caiming Xiong

In Information Systems

  1. Uri Alon
  2. Eran Yahav
  3. Rishabh Singh
  4. Percy Liang
  5. Graham Neubig
  6. Miltiadis Allamanis
  7. Jonathan Berant
  8. Charles Sutton

In Natural Language Processing

  1. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Graham Neubig
  4. Percy Liang
  5. Yejin Choi
  6. Caiming Xiong
  7. Jonathan Berant
  8. Jianfeng Gao

In Evaluation & Benchmarks

  1. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Matt Gardner
  4. Hannaneh Hajishirzi
  5. Jianfeng Gao
  6. Caiming Xiong
  7. Yejin Choi
  8. Jonathan Berant

Citations in the corpus