Skip to main content
QUICK REVIEW

[Paper Review] Auto-Pipeline: Synthesize Data Pipelines By-Target Using Reinforcement Learning and Search.

Junwen Yang, Yeye He|arXiv (Cornell University)|Jun 25, 2021
Software Engineering ResearchComputer Science1 citations
TL;DR

This paper introduces Auto-Pipeline, a system that synthesizes complex, multi-step data pipelines combining string transformations and table operations using a novel by-target paradigm. By leveraging implicit schema constraints like functional dependencies and keys, it employs reinforcement learning and search to automatically generate pipelines, achieving 60–70% success rate on real-world GitHub pipelines within 10–20 seconds on average.

ABSTRACT

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 (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 (up to 10 steps) in 10-20 seconds on average.

Motivation & Objective

  • To address the challenge of automating end-to-end data pipeline synthesis across multiple transformation steps, including both string operations and table manipulations.
  • To introduce a by-target paradigm where users specify the desired output schema rather than providing example inputs, reducing user effort and ambiguity.
  • To exploit implicit schema constraints—such as functional dependencies and keys—to significantly reduce the search space and make pipeline synthesis tractable.
  • To develop a system capable of learning and synthesizing complex, multi-step pipelines (up to 10 steps) efficiently and accurately in real-world settings.

Proposed method

  • The system uses a by-target specification where users provide input tables and point to a target output table or dashboard to define the desired schema.
  • It leverages implicit schema constraints such as functional dependencies (FDs) and keys to prune the search space and guide synthesis.
  • A reinforcement learning agent explores the space of possible pipelines, using a reward function based on schema and data correctness.
  • Search techniques are integrated with the RL policy to improve sample efficiency and convergence speed.
  • The pipeline synthesis process is guided by a neural network policy that selects operations and parameters to transform input tables toward the target schema.

Experimental results

Research questions

  • RQ1Can a by-target paradigm effectively guide the synthesis of complex data pipelines without requiring example inputs?
  • RQ2To what extent can implicit schema constraints such as functional dependencies and keys reduce the search space for pipeline synthesis?
  • RQ3How effective is a combination of reinforcement learning and search in synthesizing multi-step data pipelines on real-world GitHub datasets?
  • RQ4What is the average time and success rate of synthesizing pipelines with up to 10 operations using the proposed approach?

Key findings

  • Auto-Pipeline successfully synthesizes 60–70% of complex, real-world data pipelines (up to 10 steps) extracted from GitHub.
  • The system achieves synthesis in an average of 10–20 seconds per pipeline, demonstrating high efficiency.
  • The use of implicit schema constraints such as functional dependencies and keys significantly reduces the search space, enabling tractable synthesis.
  • The by-target paradigm outperforms traditional by-example approaches by reducing user input burden and improving specification clarity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.