arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.09278cs.CLcs.AI
收藏

MIGA:一个统一的多任务会话式文本到SQL生成框架

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

NetEase Games AI Lab(网易游戏AI实验室)

Yingwen Fu, Wenjie Ou, Zhou Yu, Yue Lin

摘要:

会话式文本到SQL的目的是将多轮自然语言问题转换成相应的SQL查询。大多数最先进的文本到SQL对话方法与生成式预训练语言模型(PLM)(如T5)不兼容。在本文中,我们提出了一个两阶段的统一多任务生成框架(MIGA),利用PLM的能力,以解决会话的文本到SQL。在预训练阶段,MIGA首先将主任务分解为多个相关的子任务,然后通过任务特定的自然语言提示,将它们统一到同一个序列到序列(Seq2Seq)范式中,以促进多任务训练中的主任务。稍后在微调阶段,我们提出了四个SQL扰动来缓解错误传播问题。MIGA倾向于在两个基准测试(SparC和CoSQL)上实现最先进的性能。我们还提供了广泛的分析和讨论,以阐明会话式文本到SQL的一些新观点。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑