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

QURG: Question Rewriting Guided Context-Dependent Text-to-SQL Semantic Parsing (2305.06655v2)

Published 11 May 2023 in cs.CL

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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Linzheng Chai (16 papers)
  2. Dongling Xiao (10 papers)
  3. Jian Yang (505 papers)
  4. Liqun Yang (18 papers)
  5. Qian-Wen Zhang (9 papers)
  6. Yunbo Cao (43 papers)
  7. Zhoujun Li (122 papers)
  8. Zhao Yan (16 papers)
Citations (4)