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

DSABench:面向多数据库智能体的源发现、协调与执行基准测试

DSABench: Benchmarking Source Discovery, Coordination, and Execution for Multi-Database Agents

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)

Jinlong Luo, Haoran Wu, Bo Xu

AI总结:

该研究提出DSABench基准测试,评估多数据库智能体的源发现、协调与执行能力,实验显示现有模型在该任务上表现不佳,澄清可提升模糊任务的恢复效果。

摘要:

大多数文本转SQL基准测试会提供目标数据库。然而,在大型数据目录中,选择数据源本身就是问题的一部分:智能体必须找到请求所需的所有数据库,确定它们的结果如何组合,并执行生成的工作流。我们提出DSABench来联合评估这些能力。其815项经人工审核的任务来自Spider、BIRD和LiveSQLBench;618项任务需要多个数据库提供数据,105项任务允许对所需数据源有多种解释。可执行合约定义了源参与、跨源依赖和源本地执行,而RouteEnv允许智能体检查公共目录证据,无需暴露黄金标注。在我们针对七个模型后端的仅路由研究中,最高RA-Set得分为60.55%,而当包含协调要求时,最高RA-Graph得分为34.66%。当需要执行时,差距会更加明显。在四个后端中,中位非特权Route+Exec-Graph成功率在未澄清时为6.69%至7.98%,在一次澄清后为11.44%至13.25%;观察到的最佳澄清配置达到16.99%。在模糊任务上,澄清使精确分支-源恢复提高了39.8至43.2个百分点。这些发现表明,仅检索合理的数据库或生成正确的本地SQL是不够的:智能体必须在整个多数据库工作流中传递正确的信息。

英文摘要:

Most text-to-SQL benchmarks provide the target database. In a large data catalog, however, choosing the sources is part of the problem: an agent must find every database needed for a request, determine how their results fit together, and execute the resulting workflow. We present DSABench to evaluate these capabilities jointly. Its 815 human-reviewed tasks draw on Spider, BIRD, and LiveSQLBench; 618 require several databases to contribute, and 105 allow more than one interpretation of the required sources. Executable contracts define source participation, cross-source dependencies, and source-local execution, while RouteEnv lets agents inspect public catalog evidence without revealing the gold annotations. In our routing-only study across seven model backends, the highest RA-Set score is 60.55%, compared with a highest RA-Graph score of 34.66% when coordination requirements are included. The gap becomes more pronounced when execution is required. Across four backends, median non-privileged Route+Exec-Graph success ranges from 6.69% to 7.98% without clarification and from 11.44% to 13.25% with one clarification; the best observed clarified configuration reaches 16.99%. On ambiguous tasks, clarification improves exact branch-source recovery by 39.8-43.2 percentage points. These findings illustrate why retrieving plausible databases or producing correct local SQL is not enough: an agent must carry the right information through the entire multi-database workflow.

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

↑