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

By Ben Bogin, Matt Gardner, Jonathan Berant. 2019

115 citations recorded by the source corpus.

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 (zero-shot), the parser often struggles to select the correct set of database constants in the new database, due to the local nature of decoding. %since their decisions are based on weak, local information only. In this work, we propose a semantic parser that globally reasons about the structure of the output query to make a more contextually-informed 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-of-the-art model for Spider, a zero-shot semantic parsing dataset with complex databases, increasing accuracy from 39.4% to 47.4%.

Subfields: Artificial Intelligence, Natural Language Processing, Information Extraction

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. Graham Neubig
  2. Luke S. Zettlemoyer
  3. Caiming Xiong
  4. Percy Liang
  5. Mohit Bansal
  6. Richard Socher
  7. Jianfeng Gao
  8. Jonathan Berant

In Natural Language Processing

  1. Graham Neubig
  2. Luke S. Zettlemoyer
  3. Caiming Xiong
  4. Richard Socher
  5. Percy Liang
  6. Wen-tau Yih
  7. Jonathan Berant
  8. Mohit Bansal

In Information Extraction

  1. Jian-Guang Lou
  2. Qian Liu
  3. Graham Neubig
  4. Wen-tau Yih
  5. Sebastian Riedel
  6. Pengcheng Yin
  7. Sida I. Wang
  8. Luke S. Zettlemoyer

Citations in the corpus