PrepBench: 我们距离自然语言驱动的数据准备还有多远?
PrepBench: How Far Are We from Natural-Language-Driven Data Preparation?
AI总结:
PrepBench评估自然语言驱动的数据准备能力,涵盖交互澄清、代码生成和代码到工作流翻译三项核心能力,通过爬取数据挑战并设计系统性基准,揭示当前LLM在实现该范式转变中的挑战。
摘要:
数据准备是数据分析工作流中的核心且耗时的阶段。传统上,商业工具依赖于图形用户界面(GUI)来简化数据准备,允许用户通过视觉操作符和工作流来定义转换。近年来,大规模语言模型(LLMs)的进展使自然语言(NL)驱动的数据准备的范式转变成为可能,用户可以直接通过自然语言指定准备意图。然而,目前LLM驱动的代理在实践中距离这一范式转变还有多远仍不清楚。现有的代码生成基准并不捕捉数据准备的关键特征,包括模糊的用户意图、不完美的现实数据以及将代码转换为可解释的工作流以进行验证的需要。为弥合这一差距,我们提出了PrepBench,一个旨在评估NL驱动的数据准备的基准,涵盖三个核心能力:交互澄清、准备代码生成和代码到工作流翻译。我们从Preppin' Data Challenges中爬取数据,然后将其扩展为一个系统性设计的基准。该基准涵盖多样化的领域,每个任务涉及3到18步的数据准备。几乎一半的任务需要超过100行的Python代码,最长的解决方案接近300行。我们的评估显示,尽管近年来有所进展,但实现这一范式转变对最先进的LLMs来说仍然具有挑战性。PrepBench提供了一个原则性的基准来衡量这一差距,并帮助识别实现NL驱动的数据准备的关键挑战。
英文摘要:
Data preparation is a central and time-consuming stage in data analysis workflows. Traditionally, commercial tools have relied on graphical user interfaces (GUIs) to simplify data preparation, allowing users to define transformations through visual operators and workflows. Recent advances in large language models (LLMs) raise the possibility of a paradigm shift toward natural language (NL)-driven data preparation, in which users can specify preparation intents in NL directly. However, it remains unclear how far current LLM-based agents are from this paradigm shift in practice. Existing code generation benchmarks do not capture key characteristics of data preparation, including ambiguous user intents, imperfect real-world data, and the need to translate code into interpretable workflows for validation. To bridge this gap, we present PrepBench, a benchmark designed to evaluate NL-driven data preparation along three core capabilities: interactive disambiguation, prep-code generation, and code-to-workflow translation. We crawl data from the Preppin' Data Challenges, and then extend it into a systematically designed benchmark. The benchmark covers diverse domains, and each task involves 3 to 18 data preparation steps. Nearly half of the tasks require over 100 lines of Python code, and the longest solutions approach 300 lines. Our evaluation shows that, despite recent progress, realizing this paradigm shift remains challenging for state-of-the-art LLMs. PrepBench provides a principled benchmark for measuring this gap and helps identify key challenges toward realizing NL-driven data preparation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。