English

MIGA: A Unified Multi-task Generation Framework for Conversational Text-to-SQL

Computation and Language 2022-12-20 v1 Artificial Intelligence

Abstract

Conversational text-to-SQL is designed to translate multi-turn natural language questions into their corresponding SQL queries. Most state-of-the-art conversational text- to-SQL methods are incompatible with generative pre-trained language models (PLMs), such as T5. In this paper, we present a two-stage unified MultI-task Generation frAmework (MIGA) that leverages PLMs' ability to tackle conversational text-to-SQL. In the pre-training stage, MIGA first decomposes the main task into several related sub-tasks and then unifies them into the same sequence-to-sequence (Seq2Seq) paradigm with task-specific natural language prompts to boost the main task from multi-task training. Later in the fine-tuning stage, we propose four SQL perturbations to alleviate the error propagation problem. MIGA tends to achieve state-of-the-art performance on two benchmarks (SparC and CoSQL). We also provide extensive analyses and discussions to shed light on some new perspectives for conversational text-to-SQL.

Keywords

Cite

@article{arxiv.2212.09278,
  title  = {MIGA: A Unified Multi-task Generation Framework for Conversational Text-to-SQL},
  author = {Yingwen Fu and Wenjie Ou and Zhou Yu and Yue Lin},
  journal= {arXiv preprint arXiv:2212.09278},
  year   = {2022}
}

Comments

Accepted by AAAI23

R2 v1 2026-06-28T07:41:35.740Z