Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
119 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Relation Aware Semi-autoregressive Semantic Parsing for NL2SQL (2108.00804v1)

Published 2 Aug 2021 in cs.CL and cs.AI

Abstract: Natural language to SQL (NL2SQL) aims to parse a natural language with a given database into a SQL query, which widely appears in practical Internet applications. Jointly encode database schema and question utterance is a difficult but important task in NL2SQL. One solution is to treat the input as a heterogeneous graph. However, it failed to learn good word representation in question utterance. Learning better word representation is important for constructing a well-designed NL2SQL system. To solve the challenging task, we present a Relation aware Semi-autogressive Semantic Parsing (\MODN) ~framework, which is more adaptable for NL2SQL. It first learns relation embedding over the schema entities and question words with predefined schema relations with ELECTRA and relation aware transformer layer as backbone. Then we decode the query SQL with a semi-autoregressive parser and predefined SQL syntax. From empirical results and case study, our model shows its effectiveness in learning better word representation in NL2SQL.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Junyang Huang (4 papers)
  2. Yongbo Wang (5 papers)
  3. Yongliang Wang (36 papers)
  4. Yang Dong (28 papers)
  5. Yanghua Xiao (151 papers)
Citations (14)

Summary

We haven't generated a summary for this paper yet.