Skip to main content
QUICK REVIEW

[Paper Review] AlphaClean: Automatic Generation of Data Cleaning Pipelines

Sanjay Krishnan, Eugene Wu|arXiv (Cornell University)|Apr 26, 2019
Data Quality and ManagementDecision Sciences44 references34 citations
TL;DR

AlphaClean reframes data cleaning hyperparameter tuning as a generate-then-search pipeline optimization using an asynchronous, repair-focused intermediate representation. It discovers cleaning pipelines that maximize a user-defined quality function.

ABSTRACT

The analyst effort in data cleaning is gradually shifting away from the design of hand-written scripts to building and tuning complex pipelines of automated data cleaning libraries. Hyper-parameter tuning for data cleaning is very different than hyper-parameter tuning for machine learning since the pipeline components and objective functions have structure that tuning algorithms can exploit. This paper proposes a framework, called AlphaClean, that rethinks parameter tuning for data cleaning pipelines. AlphaClean provides users with a rich library to define data quality measures with weighted sums of SQL aggregate queries. AlphaClean applies generate-then-search framework where each pipelined cleaning operator contributes candidate transformations to a shared pool. Asynchronously, in separate threads, a search algorithm sequences them into cleaning pipelines that maximize the user-defined quality measures. This architecture allows AlphaClean to apply a number of optimizations including incremental evaluation of the quality measures and learning dynamic pruning rules to reduce the search space. Our experiments on real and synthetic benchmarks suggest that AlphaClean finds solutions of up-to 9x higher quality than naively applying state-of-the-art parameter tuning methods, is significantly more robust to straggling data cleaning methods and redundancy in the data cleaning library, and can incorporate state-of-the-art cleaning systems such as HoloClean as cleaning operators.

Motivation & Objective

  • Reduce analyst effort by automatically generating and tuning data cleaning pipelines rather than hand-crafting scripts.
  • Leverage a shared intermediate representation of repairs to enable efficient, incremental quality evaluation.
  • Allow flexible, user-defined data quality objectives expressed as SQL aggregates over the data.
  • Robustly ensemble and parallelize cleaning operators, including external systems like HoloClean, to improve cleaning effectiveness.

Proposed method

  • Introduce a generate-then-search framework where each cleaning operator contributes candidate repairs to a shared pool.
  • Represent repairs as conditional assignments and compose them to form cleaning pipelines.
  • Define data quality as a weighted sum of SQL aggregation queries to guide search and enable incremental maintenance.
  • Asynchronously run framework-specific repairs in parallel threads and a separate search thread to maximize quality efficiently.
  • Use incremental quality evaluation and learned pruning rules to reduce the search space and manage exploration.
  • Parallelize across candidate paths and data partitions, with periodic synchronization and back-pressure mechanisms to balance resources.

Experimental results

Research questions

  • RQ1How can data cleaning pipelines be automatically generated and tuned using a structured intermediate representation of repairs?
  • RQ2What quality measures and architectural design enable efficient, anytime optimization of cleaning pipelines under realistic data workloads?
  • RQ3Can asynchronous, generate-then-search architecture outperform black-box hyperparameter tuning in data cleaning settings?
  • RQ4How can pruning rules and incremental maintenance improve scalability and robustness in data cleaning optimization?

Key findings

  • AlphaClean achieves up to 9x higher data quality compared to naïve state-of-the-art parameter tuning methods.
  • The framework is robust to straggling cleaning methods and redundancy in the cleaning library.
  • It can incorporate external cleaning systems such as HoloClean as cleaning operators.
  • Incremental evaluation of quality measures and learned pruning rules significantly reduce search space and improve performance.
  • Asynchronous, parallelized exploration across operators and data partitions enables scalable pipeline generation.

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.