Guided Data Repair

Mohamed Yakout, Ahmed K. Elmagarmid, Jennifer Neville, Mourad Ouzzani, Ihab F. Ilyas

Abstract

Guided Data Repair (GDR) is a framework designed to optimize the data cleaning process by intelligently combining automated rule-based repairs with human domain expertise. By leveraging decision theory to rank potential updates and active learning to train predictive models from user feedback, GDR significantly improves data quality while minimizing human effort. Experimental results on real-world and synthetic datasets demonstrate that GDR can achieve up to 90% data quality improvement with only 20% user verification effort.

Introduction

Data quality remains a critical bottleneck in data-driven decision-making, often summarized by the "garbage in, garbage out" principle. Traditional approaches to repairing "dirty" databases typically fall into two extremes: fully automated heuristic-based systems and manual expert review. Automated systems, while scalable, often rely on simplistic rules like "minimal change" and can introduce incorrect fixes in sensitive domains like healthcare. Conversely, manual cleaning is highly accurate but fails to scale to modern database sizes.

Guided Data Repair (GDR) addresses this gap by involving human experts only where their input is most valuable. The system "learns" from human decisions to automate subsequent repairs, creating a scalable yet reliable cleaning process.

The GDR Framework

GDR utilizes a multi-stage pipeline to optimize the cleaning process, focusing on maximizing the impact of every human interaction.

The Guided Data Repair (GDR) system architecture, illustrating the flow from error identification to user feedback and model learning.
  1. Error Identification & Candidate Generation: The system employs Conditional Functional Dependencies (CFDs)—rules defining attribute relationships (e.g., ZIP code to City)—to identify violations and suggest potential fixes.
  2. VOI-based Grouping and Ranking: Rather than presenting isolated errors, GDR groups potential repairs by context. These groups are ranked using the Value of Information (VOI) principle, prioritizing updates that offer the greatest overall quality gain for the database.
  3. Active Learning Ordering: Within a selected group, GDR uses Active Learning (specifically uncertainty sampling with Random Forests) to present the most ambiguous cases to the user first.
  4. The Feedback Loop: User feedback serves a dual purpose: it directly updates the database and trains a machine learning model. Once the model achieves high confidence for specific error patterns, it can automate the remaining repairs, further reducing human workload.

Experimental Evaluation

The authors evaluated GDR on two primary datasets: a real-world healthcare dataset of ~20,000 anonymized emergency room visits and a standard benchmark (UCI Adult) with ~23,000 records containing synthetic errors.

Data quality improvement relative to user feedback effort for GDR and various baseline methods across two datasets.

The results highlight several key insights:

  • Efficiency Gains: On the healthcare dataset, GDR achieved a 90% improvement in data quality with only 20% user effort, verifying approximately 1,000 updates out of 6,000 dirty tuples.
  • Superior Ranking: The VOI-based ranking consistently outperformed "Greedy" (ranking by group size) and "Random" strategies. Prioritizing groups that resolve complex rule violations leads to faster convergence.
  • Model Accuracy: The system effectively learned from user feedback to predict update correctness. Performance was notably higher on the structured correlations of the healthcare data compared to synthetic errors.

Conclusion

GDR demonstrates that contextual grouping and intelligent ranking are essential for efficient data repair. By asking users to label the most uncertain records first, the underlying models learn rapidly, allowing for early automation. Future work includes expanding the framework to support a wider variety of constraints (e.g., Matching Dependencies) and relaxing the "oracle" assumption to account for potential human error or disagreement.

Summary updated

BibTeX
@article{yakout2011guided,
  author = {Mohamed Yakout and Ahmed K. Elmagarmid and Jennifer Neville and Mourad Ouzzani and Ihab F. Ilyas},
  title = {{Guided Data Repair}},
  journal = {Proc. VLDB Endow.},
  year = {2011},
  doi = {10.14778/1952376.1952378},
}
Figure