2021

GP: Context-free Grammar Pre-training for Text-to-SQL Parsers

Zhao, Liang, Cao, Hexin, Zhao, Yunsong

Understand

A new method for Text-to-SQL parsing, Grammar Pre-training (GP), is proposed to decode deep relations between question and database.

  • Firstly, to better utilize the information of databases, a random value is added behind a question word which is recognized as a column, and the new sentence serves as the model input.
  • Secondly, initialization of vectors for decoder part is optimized, with reference to the former encoding so that question information can be concerned.
  • Finally, a new approach called flooding level is adopted to get the non-zero training loss which can generalize better results.

Reading the bibliography…