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

Agent Bain vs. Agent McKinsey:业务领域的新文本到SQL基准测试

Agent Bain vs. Agent McKinsey: A New Text-to-SQL Benchmark for the Business Domain

Cornell University(康奈尔大学);Gena AI

Yue Li, Ran Tao, Derek Hommel, Yusuf Denizay Dönder, Sungyong Chang, David Mimno, Unso Eun Seo Jo

AI总结:

CORGI是一个新的文本到SQL基准测试,旨在评估业务领域中更复杂的问题,如预测和推荐,揭示LLM在处理复杂任务时的性能下降。

摘要:

传统的文本到SQL基准测试只测试了简单的数据访问作为自然语言到SQL查询的翻译任务。但现实中,用户往往提出多样化的疑问,需要更复杂的回应,包括数据驱动的预测或建议。以业务领域为例,我们引入了CORGI,一个新的基准测试,将文本到SQL扩展为反映终端用户遇到的实际数据库查询。CORGI由受DoorDash、Airbnb和Lululemon等企业启发的合成数据库组成。它提供了四个逐渐复杂程度递增的业务查询类别:描述性、解释性、预测性和推荐性。这项挑战要求因果推理、时间预测和战略建议,反映了多层次和多步骤的智能代理。我们发现,随着问题复杂性增加,LLM性能在更高层次的问题上会下降。CORGI还引入并鼓励文本到SQL社区考虑新的自动方法来评估数据访问任务中的开放性、定性回应。我们的实验表明,LLM在CORGI上的平均成功执行率(SER)比现有基准如BIRD低33.12%,突显了现实世界业务需求的显著复杂性。我们发布了CORGI数据集、评估框架和提交网站以支持未来研究。

英文摘要:

Text-to-SQL benchmarks have traditionally only tested simple data access as a translation task of natural language to SQL queries. But in reality, users tend to ask diverse questions that require more complex responses including data-driven predictions or recommendations. Using the business domain as a motivating example, we introduce CORGI, a new benchmark that expands text-to-SQL to reflect practical database queries encountered by end users. CORGI is composed of synthetic databases inspired by enterprises such as DoorDash, Airbnb, and Lululemon. It provides questions across four increasingly complicated categories of business queries: descriptive, explanatory, predictive, and recommendational. This challenge calls for causal reasoning, temporal forecasting, and strategic recommendation, reflecting multi-level and multi-step agentic intelligence. We find that LLM performance degrades on higher-level questions as question complexity increases. CORGI also introduces and encourages the text-to-SQL community to consider new automatic methods for evaluating open-ended, qualitative responses in data access tasks. Our experiments show that LLMs exhibit an average 33.12% lower success execution rate (SER) on CORGI compared to existing benchmarks such as BIRD, highlighting the substantially higher complexity of real-world business needs. We release the CORGI dataset, an evaluation framework, and a submission website to support future research.

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

↑