Article View

Automating the ETL Pipeline: Machine Learning Approaches to Data Cleaning and Integration

DOI: 10.66838/ma.248

Venkata Siva Kishor Tatavarty Data Architect , Boston, Massachusetts

Abstract

Extract-Transform-Load (ETL) pipelines remain the backbone of enterprise analytics, yet the transformation stage, and in particular data cleaning and data integration, is still dominated by hand-written rules, brittle scripts and expensive manual review. Practitioners commonly report that preparing data consumes far more effort than analysing it, and that errors introduced at this stage propagate silently into dashboards, reports and machine learning models. This research presents AutoETL, a modular machine learning framework that automates error detection, value repair, schema matching and entity resolution inside a single orchestrated pipeline. The framework borrows the Quality-by-Design (QbD) mindset from pharmaceutical development by defining a Quality Target Product Profile (QTPP) and Critical Quality Attributes (CQAs) for the curated output, and by controlling the pipeline through a measurable design space and control plan. Error detection combines Isolation Forest anomaly scores with a gradient-boosted classifier trained by uncertainty-driven active learning under a budget of only 100 labelled tuples; repair relies on chained gradient-boosted imputers; schema matching blends embedding, lexical and type similarity through the Hungarian algorithm; and entity resolution couples locality-sensitive-hashing blocking with an XGBoost pair classifier. Experiments on three cleaning benchmarks (Hospital, Flights, Beers), three entity-resolution benchmarks (Abt-Buy, Amazon-Google, DBLP-ACM) and a synthetic enterprise workload of up to ten million records show a mean detection F1-score of 0.88, a normalised imputation error of 0.221, a mean match F1-score of 0.81 and near-linear scalability, while Population Stability Index monitoring keeps quality stable over time. Paired significance tests (p < 0.01) confirm that the improvements over rule-based, ensemble and neural baselines are statistically reliable.

Keywords

Keywords: ETL Automation, Data Cleaning, Data Integration, Entity Resolution, Schema Matching, Active Learning, Data Quality, Quality-by-Design.,