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

Improving Text-to-SQL Semantic Parsing with Fine-grained Query Understanding (2209.14415v1)

Published 28 Sep 2022 in cs.CL

Abstract: Most recent research on Text-to-SQL semantic parsing relies on either parser itself or simple heuristic based approach to understand natural language query (NLQ). When synthesizing a SQL query, there is no explicit semantic information of NLQ available to the parser which leads to undesirable generalization performance. In addition, without lexical-level fine-grained query understanding, linking between query and database can only rely on fuzzy string match which leads to suboptimal performance in real applications. In view of this, in this paper we present a general-purpose, modular neural semantic parsing framework that is based on token-level fine-grained query understanding. Our framework consists of three modules: named entity recognizer (NER), neural entity linker (NEL) and neural semantic parser (NSP). By jointly modeling query and database, NER model analyzes user intents and identifies entities in the query. NEL model links typed entities to schema and cell values in database. Parser model leverages available semantic information and linking results and synthesizes tree-structured SQL queries based on dynamically generated grammar. Experiments on SQUALL, a newly released semantic parsing dataset, show that we can achieve 56.8% execution accuracy on WikiTableQuestions (WTQ) test set, which outperforms the state-of-the-art model by 2.7%.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Jun Wang (991 papers)
  2. Patrick Ng (29 papers)
  3. Alexander Hanbo Li (17 papers)
  4. Jiarong Jiang (8 papers)
  5. Zhiguo Wang (100 papers)
  6. Ramesh Nallapati (38 papers)
  7. Bing Xiang (74 papers)
  8. Sudipta Sengupta (7 papers)
Citations (2)

Summary

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