arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.14851cs.CLcs.AIcs.DB
收藏

$R^3$:“这是我的SQL,你同意吗?” 一种面向Text-to-SQL任务的基于共识的多智能体系统

$R^3$: "This is My SQL, Are You With Me?" A Consensus-Based Multi-Agent System for Text-to-SQL Tasks

School of Engineering, Westlake University(西湖大学工程学院);University of Michigan(密歇根大学);Carnegie Mellon University(卡内基梅隆大学);School of Mathematical Science, Shanghai Jiao Tong University(上海交通大学数学科学学院)

Hanchen Xia, Feng Jiang, Naihao Deng, Cunxiang Wang, Guojiang Zhao, Rada Mihalcea, Yue Zhang

AI总结:

针对Text-to-SQL任务,研究提出基于共识的多智能体系统$R^3$(评审-反驳-修订),在Spider、Bird数据集上性能优于现有单模型及多智能体系统,Llama-3-8B搭配该系统性能超思维链提示20%以上,在Spider开发集上甚至超越GPT-3.5。

摘要:

大语言模型(LLM)已在各类任务上展现出强劲性能。为释放其在Text-to-SQL任务上的能力,我们提出$R^3$(Review-Rebuttal-Revision,即评审-反驳-修订)——一种面向Text-to-SQL任务的基于共识的多智能体系统。$R^3$在Spider和Bird数据集上,性能优于现有单LLM Text-to-SQL系统及多智能体Text-to-SQL系统1.3%至8.1%。令人意外的是,我们发现对于Llama-3-8B,$R^3$性能比思维链提示高出20%以上,在Spider开发集上甚至超越GPT-3.5。

英文摘要:

Large Language Models (LLMs) have demonstrated strong performance on various tasks. To unleash their power on the Text-to-SQL task, we propose $R^3$ (Review-Rebuttal-Revision), a consensus-based multi-agent system for Text-to-SQL tasks. $R^3$ outperforms the existing single LLM Text-to-SQL systems as well as the multi-agent Text-to-SQL systems by $1.3\%$ to $8.1\%$ on Spider and Bird. Surprisingly, we find that for Llama-3-8B, $R^3$ outperforms chain-of-thought prompting by over 20\%, even outperforming GPT-3.5 on the development set of Spider.

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

↑