Abstract
Nowadays many neural networks have been widely employed for semantic parsing problems especially for Structured Query Language (SQL) parsing, which aims at transforming natural language sentences into SQL representations. Selecting proper table headers in SQL tasks is extremely important, and the main cause of performance drop is that attention mechanism in neural models sometimes obtains wrong word-level distribution over headers. In order to obtain better header selection, we propose a match matrix aggregation enhanced SQL parser to consider the outer character-level ROUGE-L match information between the question and headers, then dynamically combine it with the inner generated attention matrix. We also introduce customized BERT and extra semantic information of the question and headers to further improve the performance. The results on two SQL datasets demonstrate that our method achieves an inspiring performance and highly outperforms other state-of-the-art alternatives.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have