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

Text-to-Pipeline:桥接自然语言与数据准备流水线

Text-to-Pipeline: Bridging Natural Language and Data Preparation Pipelines

Zhejiang University(浙江大学)

Yuhang Ge, Yachuan Liu, Zhangyan Ye, Yuren Mao, Yunjun Gao

AI总结:

本文提出Text-to-Pipeline任务和PARROT大规模基准,用于将自然语言指令转换为数据准备流水线,并设计执行感知智能体Pipeline-Agent作为强基线,揭示LLM在组合逻辑与参数接地上的核心挑战。

摘要:

数据准备(DP)将原始数据转换为适合下游应用的形式,通常通过将操作组合成可执行流水线来实现。构建此类流水线耗时且需要复杂的编程技能,对非专家用户构成显著障碍。为降低这一障碍,我们提出Text-to-Pipeline,一项将自然语言数据准备指令翻译为DP流水线的新任务,并引入PARROT,一个支持系统化评估的大规模基准。为确保DP场景的真实性,PARROT通过从生产流水线中挖掘转换模式并在23,009个真实世界表格上实例化这些模式而构建,产生约18,000个任务,涵盖16个核心算子。我们在PARROT上的实证评估揭示了前沿大语言模型(LLM)的一个关键失效模式:它们不仅在多步组合逻辑上存在困难,在语义参数接地方面也同样挣扎。因此,我们以Pipeline-Agent建立了一个强基线,这是一个具备执行感知能力的智能体,能够迭代地对中间状态进行反思。尽管它取得了最先进的性能,但仍存在显著差距,凸显了PARROT所代表的深层且尚未解决的挑战。它为开发和评估下一代自主数据准备智能体系统提供了必不可少的大规模测试平台。

英文摘要:

Data preparation (DP) transforms raw data into a form suitable for downstream applications, typically by composing operations into executable pipelines. Building such pipelines is time-consuming and requires sophisticated programming skills, posing a significant barrier for non-experts. To lower this barrier, we introduce Text-to-Pipeline, a new task that translates NL data preparation instructions into DP pipelines, and PARROT, a large-scale benchmark to support systematic evaluation. To ensure realistic DP scenarios, PARROT is built by mining transformation patterns from production pipelines and instantiating them on 23,009 real-world tables, resulting in ~18,000 tasks spanning 16 core operators. Our empirical evaluation on PARROT reveals a critical failure mode in cutting-edge LLMs: they struggle not only with multi-step compositional logic but also with semantic parameter grounding. We thus establish a strong baseline with Pipeline-Agent, an execution-aware agent that iteratively reflects on intermediate states. While it achieves state-of-the-art performance, a significant gap remains, underscoring the deep, unsolved challenges for PARROT. It provides the essential, large-scale testbed for developing and evaluating the next generation of autonomous data preparation agentic systems.

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

↑