Introduction
The "wild west" of web data is rife with typos, missing values, and extraction errors. Traditional data cleaning systems rely on Conditional Functional Dependencies (CFDs)—rigid "if-then" rules such as "If the car model is 'Civic', the maker must be 'Honda'." However, CFDs are notoriously brittle. Learning these rules typically requires a perfectly clean "gold standard" dataset, which rarely exists in web-scale applications.
As shown in Figure 1, even a marginal noise level of 0.1% causes traditional CFD learners to fail, finding zero usable rules. This paper introduces a fully probabilistic Bayesian framework that learns to clean dirty data by modeling both the original data generation process and the subsequent corruption process, without requiring a clean starting dataset.
Methodology
The proposed framework treats the "clean" value as a latent variable to be inferred through a two-stage probabilistic approach.
- The Generative Model ($P(T^*)$): This model captures the underlying patterns of clean data using a Bayesian Network. Unlike rigid rules, Bayesian Networks identify statistical dependencies between attributes (e.g., 'Year', 'Model', and 'Price'). This allows the system to learn from noisy data by focusing on statistical trends rather than absolute certainties.
- The Error Model ($P(T|T^*)$): This model describes the transformation of a clean value ($T^*$) into a dirty one ($T$). Using a Maximum Entropy framework, the authors combine multiple error features:
- Edit Distance: To capture spelling errors and typos.
- Distributional Similarity: To capture "replacement" errors (e.g., substituting 'Accord' for 'Focus') by analyzing the surrounding data context.
- Inference: The system cleans a tuple by finding the candidate $T^*$ that maximizes the joint probability: $T^* = \arg \max P(T|T^*)P(T^*)$.
Experimental Setup
The framework was evaluated using a real-world Used Auto Sales dataset (~10,000 tuples) crawled from Google Base. The schema included attributes like make, model, year, and drivetrain. To establish a ground truth, the researchers used a manually verified clean version and injected synthetic noise (typos, replacements, and deletions) at rates ranging from 0.1% to 5%.
Results and Discussion
The Bayesian approach demonstrated significant resilience compared to deterministic methods. At 1% noise, the algorithm corrected over 31% of errors, while CFD-based methods failed completely.
Key findings include:
- Feature Synergy: As illustrated in Figure 6, the Maximum Entropy approach—which combines edit distance and distributional similarity—consistently outperformed models using either feature in isolation.
- Parameter Sensitivity: Performance is sensitive to the error model weight ($\beta$). A "sweet spot" around $\beta \approx 3.0$ was identified; lower values led to aggressive false positives, while higher values made the system too timid to correct actual errors.
- Scalability: The system processed 10,000 tuples in approximately 100 seconds, indicating viability for moderately sized web databases.
Conclusion
By moving from deterministic rules to probabilistic modeling, this framework effectively "sees through" data noise. While the system assumes that the majority of data remains correct and currently treats attribute corruption as independent, it provides a robust foundation for unsupervised web data cleaning. Future work will explore more complex, dependent error models to handle systematic extraction failures.
Summary updated