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

CoSQL:面向数据库跨域自然语言接口的文本到SQL对话挑战

CoSQL: A Conversational Text-to-SQL Challenge Towards Cross-Domain Natural Language Interfaces to Databases

Yale University(耶鲁大学);Salesforce Research(赛富时研究院);University of Michigan(密歇根大学);Cornell University(康奈尔大学)
Tao Yu, Rui Zhang, He Yang Er, Suyi Li, Eric Xue, Bo Pang, Xi Victoria Lin, Yi Chern Tan, Tianze Shi, Zihan Li, Youxuan Jiang, Michihiro Yasunaga, Sungrok Shim,… 展开作者

Tao Yu, Rui Zhang, He Yang Er, Suyi Li, Eric Xue, Bo Pang, Xi Victoria Lin, Yi Chern Tan, Tianze Shi, Zihan Li, Youxuan Jiang, Michihiro Yasunaga, Sungrok Shim, Tao Chen, Alexander Fabbri, Zifan Li, Luyao Chen, Yuwen Zhang, Shreya Dixit, Vincent Zhang, Caiming Xiong, Richard Socher, Walter S Lasecki, Dragomir Radev

摘要:

我们提出了CoSQL,用于构建跨域,通用数据库(DB)查询对话系统的语料库。它由30k+ turns加上10k+注释的SQL查询组成,这些查询是从3k对话的向导(WOZ)集合中获得的,查询跨越138个域的200个复杂DB。每个对话都模拟了一个真实的数据库查询场景,其中一个群众工作者作为用户探索数据库,一个SQL专家用SQL检索答案,澄清模糊的问题,或者通知无法回答的问题。当用户问题可以通过SQL回答时,专家向用户描述SQL和执行结果,从而保持自然的交互流。与现有的面向任务的对话数据集相比,CoSQL引入了新的挑战:(1)对话状态基于SQL,一种独立于域的可执行表示,而不是特定于域的槽值对,(2)因为测试是在看不见的数据库上完成的,成功需要推广到新的域。CoSQL包括三个任务:基于SQL的对话状态跟踪,查询结果的响应生成和用户对话行为预测。我们为每个任务评估了一组强大的基线,并表明CoSQL为未来的研究提出了重大挑战。数据集、基线和排行榜将在https://yale-lily.github.io/cosql上发布。

英文摘要:

We present CoSQL, a corpus for building cross-domain, general-purpose database (DB) querying dialogue systems. It consists of 30k+ turns plus 10k+ annotated SQL queries, obtained from a Wizard-of-Oz (WOZ) collection of 3k dialogues querying 200 complex DBs spanning 138 domains. Each dialogue simulates a real-world DB query scenario with a crowd worker as a user exploring the DB and a SQL expert retrieving answers with SQL, clarifying ambiguous questions, or otherwise informing of unanswerable questions. When user questions are answerable by SQL, the expert describes the SQL and execution results to the user, hence maintaining a natural interaction flow. CoSQL introduces new challenges compared to existing task-oriented dialogue datasets:(1) the dialogue states are grounded in SQL, a domain-independent executable representation, instead of domain-specific slot-value pairs, and (2) because testing is done on unseen databases, success requires generalizing to new domains. CoSQL includes three tasks: SQL-grounded dialogue state tracking, response generation from query results, and user dialogue act prediction. We evaluate a set of strong baselines for each task and show that CoSQL presents significant challenges for future research. The dataset, baselines, and leaderboard will be released at https://yale-lily.github.io/cosql.

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

↑