Abstract
This paper introduces a framework for generating Probabilistic Functional Dependencies (pFDs) from hundreds of small, noisy web tables in "pay-as-you-go" data integration systems. By learning these pFDs bottom-up from the data itself, the system can automatically pinpoint dirty data sources and normalize unwieldy, automatically generated schemas into meaningful entities without requiring upfront human design.
Introduction
Extracting structured data from the Web, such as HTML tables, yields massive corpora of small, incomplete, and highly diverse tables. Traditional data integration systems often struggle in this environment because they require top-down, upfront schema design and a strict understanding of the domain's Functional Dependencies (FDs)—rules like "Zip Code determines State."
To handle web-scale data, researchers utilize pay-as-you-go data integration systems. These systems loosely integrate data with minimal upfront cost and improve integration quality over time. However, a significant challenge is gauging and improving the quality of integrated data without manually defined rules. This paper addresses the automatic discovery of FDs across many small, dirty data sources to enhance integration quality.
Methodology: Probabilistic Functional Dependencies (pFDs)
Because web data is inherently noisy and incomplete, FDs cannot be treated as absolute truths. The authors propose Probabilistic Functional Dependencies (pFDs), where each dependency is assigned a probability $p$ indicating the likelihood that it holds.
The framework explores two main algorithmic dimensions for computing these probabilities:
- Probability Computation (Single Source):
- PerValue: Computes the FD probability for each distinct value and averages them.
- PerTuple: Averages probabilities weighted by the frequency of each value, providing robustness against rare outliers.
- Multi-Source Aggregation:
- MergeData: Combines data from all sources into a single large table before computing pFDs.
- MergeFD: Computes pFDs on each source individually and then aggregates the probabilities.
Applications
Generated pFDs are applied to two key database tasks:
- Data Cleaning: The system flags sources violating high-probability pFDs (e.g., $p > 0.8$) to detect dummy values or incorrect mappings.
- Schema Normalization: The system uses pFDs to prune redundant dependencies and apply 3NF normalization, breaking large, automatically generated schemas into logical entities.
Evaluation Datasets
The approach was evaluated on real-world HTML tables from three domains: People, Bibliography (Bib), and Course. These tables are characterized by their small size, averaging only 53 tuples per source, which makes traditional FD discovery tools ineffective.
Key Results and Insights
The experimental results demonstrate that the MergeFD-PerTuple algorithm consistently achieves the highest performance across all domains.
Key Insights:
- Tuple-weighting is crucial: The
PerTupleapproach outperformedPerValuebecause weighting by frequency naturally down-weights rare, dirty values (like typos or dummy text) that would otherwise skew the FD statistics. - Late merging is more robust:
MergeFD(aggregating rules) proved superior toMergeData(aggregating raw data). Merging heterogeneous data from hundreds of sources before analysis amplifies noise and schema mapping errors. - pFDs as Anomaly Detectors: In pay-as-you-go systems, pFD violations serve as highly accurate signals for upstream errors, such as scrapers pulling placeholder text instead of actual data.
Conclusion
The proposed pFD framework successfully automates data cleaning and schema normalization in large-scale, heterogeneous environments. While the system currently relies on hardcoded probability thresholds (e.g., $\tau = 0.8$), future work aims to adaptively adjust these parameters based on specific dataset characteristics to further enhance integration quality.
Summary updated