Schema Integration on Massive Data Sources

Tianbao Lia, Hongzhi Wang, Jianzhong LiarXiv 2018

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

Abstract

As the fundamental phrase of collecting and analyzing data, data integration is used in many applications, such as data cleaning, bioinformatics and pattern recognition. In big data era, one of the major problems of data integration is to obtain the global schema of data sources since the global schema could be hardly derived from massive data sources directly. In this paper, we attempt to solve such schema integration problem. For different scenarios, we develop batch and incremental schema integration algorithms. We consider the representation difference of attribute names in various data sources and propose ED Join and Semantic Join algorithms to integrate attributes with different representations. Extensive experimental results demonstrate that the proposed algorithms could integrate schemas efficiently and effectively.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Manual-gold-standard integration of real NYC OpenData and SF OpenData attributesBatch integrationAverage recall0.9266862evaluation=manual-gold-standard · aggregation=average-across-target-attributes
Source quote
L729: For batch integration, experimental results of different target attributes are shown in Table~\ref{tab:batchIntegrationAccuracy}. Recall and precision manifest that join schema integration works relatively well on different target words. The average recall and precision are 0.9266862 and 0.7431666, respectively. For better analysis on accuracy, the input set of batch integration is small to decrease manual judgement. When the size comes to 1, we can regard the problem as incremental integration. Hence, we do not conduct experiments with incremental integration here.
Manual-gold-standard integration of real NYC OpenData and SF OpenData attributesBatch integrationAverage precision0.7431666evaluation=manual-gold-standard · aggregation=average-across-target-attributes
Source quote
L729: For batch integration, experimental results of different target attributes are shown in Table~\ref{tab:batchIntegrationAccuracy}. Recall and precision manifest that join schema integration works relatively well on different target words. The average recall and precision are 0.9266862 and 0.7431666, respectively. For better analysis on accuracy, the input set of batch integration is small to decrease manual judgement. When the size comes to 1, we can regard the problem as incremental integration. Hence, we do not conduct experiments with incremental integration here.
Freebase · knowledge base · 9,471,476 items, data-size experimentBatch integrationRunning time0.021input-set=2 · input-size=1 · result-size=267
Source quote
L778: 2 │ 1 │ 267 │ 0.021
Freebase · knowledge base · 9,471,476 items, data-size experimentBatch integrationRunning time0.672input-set=3 · input-size=1 · result-size=67476
Source quote
L780: 3 │ 1 │ 67476 │ 0.672
BibTeX
@misc{lia2018schema,
  author = {Tianbao Lia and Hongzhi Wang and Jianzhong Li and Hong Gao},
  title = {{Schema Integration on Massive Data Sources}},
  year = {2018},
  eprint = {1808.01620},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1808.01620},
}
Figure