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

被引:0
作者
Yu, Tao [1 ]
Zhang, Rui [1 ]
Yang, Kai [1 ]
Yasunaga, Michihiro [1 ]
Wang, Dongxu [1 ]
Li, Zifan [1 ]
Ma, James [1 ]
Li, Irene [1 ]
Yao, Qingning [1 ]
Roman, Shanelle [1 ]
Zhang, Zilin [1 ]
Radev, Dragomir R. [1 ]
机构
[1] Yale Univ, Dept Comp Sci, New Haven, CT 06520 USA
来源
2018 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2018) | 2018年
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 textto-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.
引用
收藏
页码:3911 / 3921
页数:11
相关论文
共 47 条
[1]  
Allamanis M, 2015, PR MACH LEARN RES, V37, P2123
[2]  
[Anonymous], 2013, Transactions of the Association for Computational Linguistics (TACL)
[3]  
[Anonymous], 2014, Trans. Assoc. Comput. Linguist., DOI [DOI 10.1162/tacla00190, /10.1162/tacla00190, DOI 10.1162/TACL_A_00190]
[4]  
[Anonymous], 2015, P 2015 C EMPIRICAL M, DOI DOI 10.18653/V1/D15-1166
[5]  
[Anonymous], 2016, ARXIV
[6]  
[Anonymous], 2005, Uncertainty in Artificial Intelligence, DOI DOI 10.3115/1690219.1690283
[7]  
[Anonymous], 2001, MACHINE LEARNING ECM
[8]  
Arvin AM, 2009, LIVE VARIOLA VIRUS: CONSIDERATIONS FOR CONTINUING RESEARCH, P9
[9]  
Bahdanau D, 2016, Arxiv, DOI arXiv:1409.0473
[10]  
Banarescu Laura, 2013, P 7 LING ANN WORKSH