arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.05996cs.CL
收藏

Track-SQL: 通过双提取模块增强生成语言模型以在多轮文本到SQL中进行模式和上下文跟踪

Track-SQL: Enhancing Generative Language Models with Dual-Extractive Modules for Schema and Context Tracking in Multi-turn Text-to-SQL

School of Computer Science, Guangdong University of Technology(广东技术大学计算机科学学院);Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ)(广东人工智能与数字经济实验室);Peng Cheng Laboratory(鹏城实验室);College of Science, Shantou University(汕头大学理学院)

Bingfeng Chen, Shaobin Shi, Yongqi Luo, Boyan Xu, Ruichu Cai, Zhifeng Hao

AI总结:

Track-SQL通过双提取模块提升生成语言模型在多轮文本到SQL任务中的模式和上下文跟踪能力,实现性能显著提升。

摘要:

生成语言模型在单轮文本到SQL任务中显示出显著潜力。然而,其性能在多轮文本到SQL任务中并不等价扩展。这主要是由于生成语言模型在处理多轮交互中上下文信息和动态模式链接的复杂性方面存在不足。在本文中,我们提出了一种名为Track-SQL的框架,该框架通过双提取模块增强生成语言模型,以在多轮文本到SQL中跟踪模式和上下文变化。具体而言,Track-SQL集成了一个语义增强的模式提取器和一个模式感知的上下文提取器。实验结果表明,Track-SQL在SparC和CoSQL数据集上实现了最先进的性能。此外,详细的消融研究揭示,Track-SQL在这些数据集上分别通过7.1%和9.55%显著提高了多轮交互的执行准确性。我们的实现将在https://github.com/DMIRLAB-Group/Track-SQL上开源。

英文摘要:

Generative language models have shown significant potential in single-turn Text-to-SQL. However, their performance does not extend equivalently to multi-turn Text-to-SQL. This is primarily due to generative language models' inadequacy in handling the complexities of context information and dynamic schema linking in multi-turn interactions. In this paper, we propose a framework named Track-SQL, which enhances generative language models with dual-extractive modules designed to track schema and contextual changes in multi-turn Text-to-SQL. Specifically, Track-SQL incorporates a \emph{Semantic-enhanced Schema Extractor} and a \emph{Schema-aware Context Extractor}. Experimental results demonstrate that Track-SQL achieves state-of-the-art performance on the SparC and CoSQL datasets. Furthermore, detailed ablation studies reveal that Track-SQL significantly improves execution accuracy in multi-turn interactions by 7.1\% and 9.55\% on these datasets, respectively. Our implementation will be open-sourced at https://github.com/DMIRLAB-Group/Track-SQL.

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

↑