arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.13861cs.DBcs.LG
收藏

Auto-Pipeline:使用强化学习和搜索按目标合成复杂数据管道

Auto-Pipeline: Synthesizing Complex Data Pipelines By-Target Using Reinforcement Learning and Search

University of Chicago(芝加哥大学);Microsoft Research(微软研究院)

Junwen Yang, Yeye He, Surajit Chaudhuri

摘要:

最近的工作在帮助用户自动化单个数据准备步骤方面取得了重大进展,例如字符串转换和表操作操作符(例如,Join、GroupBy、Pivot等)。在这项工作中,我们建议自动化多个这样的步骤端到端,通过合成复杂的数据管道与字符串转换和表操作操作符。我们提出了一种新的“按目标”的范例,允许用户很容易地指定所需的管道,这是一个显着偏离传统的范例范例。使用by-target,用户将提供输入表(例如,CSV或JSON文件),并将我们指向“目标表”(例如,现有的数据库表或BI仪表板)来演示来自期望的管道的输出将如何示意性地“看起来像”。虽然这个问题似乎没有被详细说明,但我们独特的见解是,可以利用隐式表约束(如FD和键)来显著限制空间,使问题易于处理。我们开发了一个自动管道系统,它使用强化学习和搜索来学习合成管道。对从GitHub抓取的大量真实管道的实验表明,Auto-Pipeline可以成功地合成60-70%的复杂管道,最多10个步骤。

英文摘要:

Recent work has made significant progress in helping users to automate single data preparation steps, such as string-transformations and table-manipulation operators (e.g., Join, GroupBy, Pivot, etc.). We in this work propose to automate multiple such steps end-to-end, by synthesizing complex data pipelines with both string transformations and table-manipulation operators. We propose a novel "by-target" paradigm that allows users to easily specify the desired pipeline, which is a significant departure from the traditional by-example paradigm. Using by-target, users would provide input tables (e.g., csv or json files), and point us to a "target table" (e.g., an existing database table or BI dashboard) to demonstrate how the output from the desired pipeline would schematically "look like". While the problem is seemingly underspecified, our unique insight is that implicit table constraints such as FDs and keys can be exploited to significantly constrain the space to make the problem tractable. We develop an Auto-Pipeline system that learns to synthesize pipelines using reinforcement learning and search. Experiments on large numbers of real pipelines crawled from GitHub suggest that Auto-Pipeline can successfully synthesize 60-70% of these complex pipelines with up to 10 steps.

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

↑