Abstract
Data cleaning remains a significant bottleneck in data science, often requiring either labor-intensive manual corrections or complex, expert-defined rules. FALCON introduces an interactive system that bridges this gap by transforming a single manual update into general-purpose SQL update rules. By navigating a lattice of potential rules using a novel "binary jump" algorithm, FALCON maximizes repair efficiency while minimizing user effort.
Introduction
Data cleaning is frequently described as the "janitorial work" of data science—essential for accurate analysis but notoriously exhausting. Traditionally, practitioners have faced a binary choice: manually correct every error, which is unscalable, or write formal data quality rules, which requires deep domain expertise and logic skills. FALCON addresses this dilemma by enabling non-expert users to clean data interactively.
The Challenge of Rule Inference
The core challenge in interactive cleaning is inference. When a user corrects a single record—for instance, changing "N.Y." to "New York"—the system must determine the underlying general rule. Is the correct rule to change all instances of "N.Y.", or only those within a specific laboratory or date range?
As shown in Figure 1, a single update provides the "closed-world" evidence needed to generate candidate rules. However, the search space for these rules grows exponentially with the number of attributes, making it a massive "needle-in-a-haystack" problem.
Methodology: The FALCON Approach
FALCON utilizes SQL Update (SQLU) queries as its declarative language for data repairing.
The system operates through several key mechanisms:
- The Query Lattice: All possible SQLU queries (see Figure 2) that explain a user's update are organized into a lattice based on "containment." A rule is contained by another if it is more specific.
- Lattice Pruning: To ensure efficiency, FALCON uses the lattice structure to propagate user feedback. If a user confirms a rule, all more specific rules are automatically validated. Conversely, rejecting a broad rule invalidates all its more general counterparts.
- The Binary Jump (Dive) Algorithm: Rather than traversing the lattice one node at a time, FALCON treats it like a sorted array based on the number of affected tuples. It performs a binary-search-like "jump" to find the "sweet spot"—a rule general enough to fix many errors but specific enough to remain semantically accurate.
- CoDive: This extension leverages statistical correlations between attributes to prioritize the most promising rules for user review.
Evaluation and Results
The researchers evaluated FALCON across four real-world datasets (Soccer, Hospital, BUS, DBLP) and a synthetic benchmark. Errors were introduced using the BART tool to measure the system's ability to restore data to its original state.
Key results include:
- Interaction Efficiency: FALCON reduced user interaction costs by 22% to 97% compared to manual repairing.
- Performance: The system consistently outperformed traditional rule-learning approaches and active learning baselines.
- Responsiveness: The binary jump algorithm ensures interactive response times without requiring expensive pre-computation.
Conclusion and Future Work
FALCON demonstrates that a "user-as-bootstrap" model can effectively automate data cleaning for non-experts. While currently limited to boolean conjunctions in WHERE clauses, future work aims to support more complex update languages and further refine correlation-aware scoring for noisy real-world environments.
Summary updated