Corpus-based Schema Matching

Jayant Madhavan, Philip A. Bernstein, Kuang Chen, Alon Y. Halevy, Pradeep ShenoyIIWeb 2003

Abstract

Schema matching is the problem of identifying corresponding elements in different schemas. Discovering these correspondences or matches is inherently difficult to automate. Past solutions have proposed a principled combination of multiple algorithms. However, these solutions sometimes perform rather poorly due to the lack of sufficient evidence in the schemas being matched. In this paper we show how a corpus of schemas and mappings can be used to augment the evidence about the schemas being matched, so they can be matched better. Such a corpus typically contains multiple schemas that model similar concepts and hence enables us to learn variations in the elements and their properties. We exploit such a corpus in two ways. First, we increase the evidence about each element being matched by including evidence from similar elements in the corpus. Second, we learn statistics about elements and their relationships and use them to infer constraints that we use to prune candidate mappings. We also describe how to use known mappings to learn the importance of domain and generic constraints. We present experimental results that demonstrate corpus-based matching outperforms direct matching (without the benefit of a corpus) in multiple domains.

Introduction

In the field of data integration, semantic heterogeneity remains a significant challenge. Different databases often use disparate terminology for identical concepts—for instance, one system might use SKU while another uses item_num. Traditional schema matching approaches typically analyze two schemas in isolation, relying on string similarity or structural patterns. However, this "fresh start" approach is labor-intensive and ignores the wealth of information available from previous matching tasks. This paper proposes a corpus-based approach that leverages a Mapping Knowledge Base (MKB) to automate and improve matching accuracy by learning from historical data.

Methodology: The Mapping Knowledge Base (MKB)

The central innovation of this research is the MKB, which serves as a repository of previously encountered schemas and successful mappings. Instead of a direct comparison between two new schemas, the system compares both to the accumulated knowledge in the MKB.

Architecture of the MKB and Schema Matching Interface

The MKB employs an ensemble of Base Learners to characterize unique elements:

  • Name Learner: Utilizes n-grams and TF/IDF to manage linguistic variations and abbreviations.
  • Instance Learner: Analyzes actual data values to identify patterns (e.g., currency symbols or numeric formats).
  • Structure Learner: Examines the contextual "neighborhood" of an element, including its parents and children.

A Meta-Learner uses a logistic model to weight these base learners based on their reliability for specific elements. When matching new elements, the system generates "interpretation vectors"—statistical fingerprints that represent similarity to known elements in the corpus. Matches are then identified using the Average Weighted Difference (AWD) metric.

Experimental Evaluation

The approach was tested using relational schemas from an Inventory domain, created independently by senior database students. These schemas, containing 31–47 columns across 3–7 tables, provided a realistic testbed for semantic variety.

Key Results and Discussion

The experimental results highlight several critical advantages of the corpus-based approach:

  1. Synergistic Performance: The MKB does not merely replace traditional matchers; it complements them. As shown in the performance comparison, a combined approach (COMB) consistently outperforms either the MKB or a standalone BasicMatcher.
  2. Learning from Experience: Performance improves as the corpus grows. The inclusion of validated mappings acts as high-quality training data, leading to recall gains of up to 30%.
  3. Cold Start Utility: Even with minimal initial data, the MKB provides valuable insights by capturing the diverse ways concepts are named within a domain.
Comparison of Recall for MKB, Basic, and Combined (COMB) matching approaches

Conclusion

By treating schema matching as a repetitive task rather than a series of isolated problems, the corpus-based approach effectively leverages statistical patterns across a domain. The MKB acts as an evolving proxy for a universal schema, learning the "language" of a domain through exposure. While challenges remain regarding computational scalability as the corpus expands, the results demonstrate that learning from a history of mappings significantly reduces the manual effort required for data integration.

Summary updated

BibTeX
@inproceedings{madhavan2003corpus,
  author = {Jayant Madhavan and Philip A. Bernstein and Kuang Chen and Alon Y. Halevy and Pradeep Shenoy},
  title = {{Corpus-based Schema Matching}},
  booktitle = {IIWeb},
  year = {2003},
  url = {https://openreview.net/forum?id=rk4buBf_WH},
}
Figure