QURG: Question Rewriting Guided Context-Dependent Text-to-SQL Semantic
Parsing
- URL: http://arxiv.org/abs/2305.06655v2
- Date: Tue, 16 May 2023 06:22:47 GMT
- Title: QURG: Question Rewriting Guided Context-Dependent Text-to-SQL Semantic
Parsing
- Authors: Linzheng Chai, Dongling Xiao, Jian Yang, Liqun Yang, Qian-Wen Zhang,
Yunbo Cao, Zhoujun Li, Zhao Yan
- Abstract summary: This paper presents QURG, a novel Question Rewriting Guided approach to help the models achieve adequate contextual understanding.
We first train a question rewriting model to complete the current question based on question context, and convert them into a rewriting edit matrix.
We further design a two-stream matrix encoder to jointly model rewriting relations between question and context, and the schema linking relations between natural language and structured schema.
- Score: 46.05006486399823
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Context-dependent Text-to-SQL aims to translate multi-turn natural language
questions into SQL queries. Despite various methods have exploited
context-dependence information implicitly for contextual SQL parsing, there are
few attempts to explicitly address the dependencies between current question
and question context. This paper presents QURG, a novel Question Rewriting
Guided approach to help the models achieve adequate contextual understanding.
Specifically, we first train a question rewriting model to complete the current
question based on question context, and convert them into a rewriting edit
matrix. We further design a two-stream matrix encoder to jointly model the
rewriting relations between question and context, and the schema linking
relations between natural language and structured schema. Experimental results
show that QURG significantly improves the performances on two large-scale
context-dependent datasets SParC and CoSQL, especially for hard and long-turn
questions.
Related papers
- Decoupling SQL Query Hardness Parsing for Text-to-SQL [2.30258928355895]
We introduce an innovative framework for Text-to-coupled based on decoupling query hardness parsing.
This framework decouples the Text-to-couple task based on query hardness by analyzing questions and schemas, simplifying the multi-hardness task into a single-hardness challenge.
arXiv Detail & Related papers (2023-12-11T07:20:46Z) - STAR: SQL Guided Pre-Training for Context-dependent Text-to-SQL Parsing [64.80483736666123]
We propose a novel pre-training framework STAR for context-dependent text-to- parsing.
In addition, we construct a large-scale context-dependent text-to-the-art conversation corpus to pre-train STAR.
Extensive experiments show that STAR achieves new state-of-the-art performance on two downstream benchmarks.
arXiv Detail & Related papers (2022-10-21T11:30:07Z) - A Survey on Text-to-SQL Parsing: Concepts, Methods, and Future
Directions [102.8606542189429]
The goal of text-to-corpora parsing is to convert a natural language (NL) question to its corresponding structured query language () based on the evidences provided by databases.
Deep neural networks have significantly advanced this task by neural generation models, which automatically learn a mapping function from an input NL question to an output query.
arXiv Detail & Related papers (2022-08-29T14:24:13Z) - Proton: Probing Schema Linking Information from Pre-trained Language
Models for Text-to-SQL Parsing [66.55478402233399]
We propose a framework to elicit relational structures via a probing procedure based on Poincar'e distance metric.
Compared with commonly-used rule-based methods for schema linking, we found that probing relations can robustly capture semantic correspondences.
Our framework sets new state-of-the-art performance on three benchmarks.
arXiv Detail & Related papers (2022-06-28T14:05:25Z) - CQR-SQL: Conversational Question Reformulation Enhanced
Context-Dependent Text-to-SQL Parsers [35.36754559708944]
Context-dependent text-to-reference is the task of translating multi-turn questions into database-related queries.
In this paper, we propose CQR-couple, which uses auxiliary Conversational Question Reformulation (CQR) learning to explicitly exploit and decouple contextual dependency forsql parsing.
At the time of writing, our CQR-couple achieves new state-of-the-art results on two context-dependent benchmarks SParC and Co.
arXiv Detail & Related papers (2022-05-16T13:52:42Z) - Pay More Attention to History: A Context Modeling Strategy for
Conversational Text-to-SQL [8.038535788630542]
One of the most intractable problem of conversational text-to- domain is modeling the semantics of multi-turn queries.
This paper shows that explicit modeling the semantic changes by adding each turn and the summarization of the whole context can bring better performance.
arXiv Detail & Related papers (2021-12-16T09:41:04Z) - Weakly Supervised Text-to-SQL Parsing through Question Decomposition [53.22128541030441]
We take advantage of the recently proposed question meaning representation called QDMR.
Given questions, their QDMR structures (annotated by non-experts or automatically predicted) and the answers, we are able to automatically synthesizesql queries.
Our results show that the weakly supervised models perform competitively with those trained on NL- benchmark data.
arXiv Detail & Related papers (2021-12-12T20:02:42Z) - SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQL [29.328698264910596]
One of the most challenging problems of Text-to-Graph is how to generalize the trained model to the unseen database schemas.
We propose a Structure-Aware Dual Graph Aggregation Network (SADGA) for cross-domain Text-to-Graph.
We achieve 3rd place on the challenging Text-to-Graph benchmark Spider at the time of writing.
arXiv Detail & Related papers (2021-11-01T01:50:28Z) - Dual Reader-Parser on Hybrid Textual and Tabular Evidence for Open
Domain Question Answering [78.9863753810787]
A large amount of world's knowledge is stored in structured databases.
query languages can answer questions that require complex reasoning, as well as offering full explainability.
arXiv Detail & Related papers (2021-08-05T22:04:13Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.