Abstract
Traditional schema integration techniques rely on the manual creation of a predefined global schema, a process that becomes untenable when dealing with millions of heterogeneous data sources. This paper presents a scalable framework for automatically generating a global schema by integrating massive datasets through a combination of literal string matching and knowledge-base-driven semantic analysis. By utilizing an Edit Distance (ED) Join for syntactic similarity and a Semantic Join for conceptual relationships, the proposed system achieves high recall and demonstrates significant scalability through disk-optimized indexing strategies.
Introduction
In the era of Big Data, the volume and variety of information sources have outpaced the capabilities of traditional database management. Standard schema integration—the process of mapping local data structures to a single, unified view—typically requires human experts to define a global schema a priori. However, when faced with millions of web-based data sources and billions of attributes, it is impossible for a human to capture the entire landscape.
This research addresses two primary hurdles in modern data integration: the Heterogeneity Headache, where attributes representing identical concepts use different terminology (synonyms) or similar terms represent different concepts (homonyms); and the Scalability Wall, where the computational cost of identifying semantic matches across billions of attributes necessitates efficient disk-based operations rather than simple exhaustive scans.
Methodology
The authors propose a dual-track integration framework designed for both batch processing of existing data and incremental integration of new sources. The system architecture is built upon three core operations:
1. ED Join (Literal Similarity)
To address minor typographical errors and spelling variations (e.g., "Abrehan Lincon" vs. "Abraham Lincoln"), the framework employs an Edit Distance (ED) Join. To maintain performance at scale, the system utilizes q-gram-based inverted lists and count filtering, which allows the algorithm to prune the search space and skip unnecessary comparisons.
2. Semantic Join (Semantic Similarity)
Literal matching alone cannot bridge the gap between synonyms like "Pies" and "Tarts." The Semantic Join serves as the system's conceptual engine, leveraging a Knowledge Base (KB) such as Freebase or WordNet. Attributes are considered related if they fall within a specific "path distance" in the KB graph. For instance, if "Sweet pies" and "Meat pie" both link to a central "Pie" node within a defined threshold, they are integrated into the same cluster.
3. The Resolve Step
Similarity in large-scale data is often non-transitive; if attribute A relates to B, and B relates to C, it does not guarantee that A relates to C (e.g., "house" relates to "home," and "home" relates to "family," but "house" is not "family"). The Resolve phase partitions these clusters to prune false positives and ensure the integrity of the generated global schema.
Engineering for Scalability
A significant contribution of this work is the optimization of the Semantic Join for massive datasets. The authors developed a Hash-based Storage system for the Knowledge Base that utilizes "neighbor tables" indexed by powers of two (1, 2, 4, 8...). This mathematical approach allows the system to satisfy any distance threshold $\gamma$ by combining a minimal number of pre-computed tables, significantly reducing disk I/O and allowing the system to operate with a relatively small memory footprint.
Experimental Evaluation
The framework was evaluated using Freebase (containing over 9.4 million items) as the semantic backbone and real-world datasets from NYC OpenData and SF OpenData. These datasets were selected for their inherent messiness and diversity, representing the typical challenges of internet-scale data.
Key Results
- High Recall: The system achieved an average recall of approximately 92.6%, successfully identifying the vast majority of related attributes that a human integrator would recognize.
- Precision Challenges: The average precision was 74.3%. This lower figure is attributed to the "unweighted" nature of current Knowledge Bases, which often treat all relationships as equal, leading to the occasional grouping of loosely related concepts.
- Performance Dynamics: Interestingly, the research found that running time is more sensitive to the "density" of a concept (the number of related neighbors in the KB) than the raw number of input attributes.
Discussion and Future Work
While the framework demonstrates a robust path forward for automated schema integration, several limitations remain. Current Knowledge Bases lack the nuance of relationship "weights," which would help the algorithm distinguish between strong and weak semantic connections. Future work will focus on developing algorithms to determine the strength of these connections to improve precision.
Additionally, the authors suggest that while basic transformations (like converting "FY" to "Fiscal Year") are handled, more advanced transformation discovery is needed. Finally, for applications requiring near-perfect accuracy, the authors propose a human-in-the-loop model where crowdsourcing is used to verify the final results of the Resolve step.
Summary updated