Global Reasoning over Database Structures for Text-to-SQL Parsing

被引:0
作者
Bogin, Ben [1 ]
Gardner, Matt [2 ]
Berant, Jonathan [1 ,2 ]
机构
[1] Tel Aviv Univ, Sch Comp Sci, Tel Aviv, Israel
[2] Allen Inst Artificial Intelligence, Seattle, WA USA
来源
2019 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING AND THE 9TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (EMNLP-IJCNLP 2019): PROCEEDINGS OF THE CONFERENCE | 2019年
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
State-of-the-art semantic parsers rely on auto-regressive decoding, emitting one symbol at a time. When tested against complex databases that are unobserved at training time (zeroshot), the parser often struggles to select the correct set of database constants in the new database, due to the local nature of decoding. In this work, we propose a semantic parser that globally reasons about the structure of the output query to make a more contextuallyinformed selection of database constants. We use message-passing through a graph neural network to softly select a subset of database constants for the output query, conditioned on the question. Moreover, we train a model to rank queries based on the global alignment of database constants to question words. We apply our techniques to the current state-ofthe-art model for SPIDER, a zero-shot semantic parsing dataset with complex databases, increasing accuracy from 39.4% to 47.4%.
引用
收藏
页码:3659 / 3664
页数:6
相关论文
共 17 条
[1]  
Bahdanau D., 2015, ICLR
[2]  
Bogin B., 2019, ASS COMPUTATIONAL LI
[3]   Discriminative reranking for natural language parsing [J].
Collins, M ;
Koo, T .
COMPUTATIONAL LINGUISTICS, 2005, 31 (01) :25-69
[4]  
De Cao Nicola, 2019, NAACL
[5]  
Fried D., 2017, ASS COMPUTATIONAL LI
[6]  
Ge Ruifang, 2006, Proceedings of the 21st International Conference on Computational Linguistics and 44th Annual Meeting of the Association for Computational Linguistics (COLING-ACL-2006), Poster Sessions, P263
[7]  
Herzig J., 2018, EMPIRICAL METHODS NA
[8]  
Krishnamurthy Jayant, 2017, EMNLP 2017, P1516
[9]  
Li Y., 2016, ICLR
[10]  
Lin K., 2019, ARXIV190513326