Introduction
Duplicate detection, also known as record linkage or entity resolution, is the critical task of identifying different records in a database that refer to the same real-world entity. This process is frequently hindered by "noisy" data—typos, OCR errors, varying formatting, or abbreviations. Traditional methods rely on static similarity metrics like Levenshtein distance or Cosine similarity. However, these metrics are domain-agnostic; they cannot distinguish between significant differences and common variations specific to a field, such as "St." vs "Street" in an address.
To address these limitations, this paper presents MARLIN (Multiply Adaptive Record Linkage with INduction), a framework that employs machine learning to train field-specific similarity measures and combines them using a high-level classifier to achieve superior accuracy.
The MARLIN Framework
MARLIN utilizes a two-level learning approach to move beyond generic string matching. The framework is divided into two distinct phases: training and detection.
During the training phase, MARLIN extracts field-level data to learn optimal distance metrics for each attribute. In the detection phase, these learned metrics generate features for a binary classifier that identifies duplicates. To maintain efficiency on large-scale databases, the system incorporates the Canopies clustering method to quickly filter out unlikely matches before applying more computationally intensive learned comparisons.
Field-Level Learning
The first level of MARLIN focuses on learning how to compare individual fields (e.g., Name, Address). The authors introduce two primary learnable measures:
- Learnable String Edit Distance: This extends the standard edit distance by using an Expectation-Maximization (EM) algorithm to learn the costs of character operations. By analyzing a corpus of similar strings, the model learns to assign lower penalties to common substitutions or errors specific to the dataset.
- SVM-based Vector Space Similarity: This approach represents strings as "bags of tokens" using TF-IDF weighting. A Support Vector Machine (SVM) is trained to identify which token overlaps are truly indicative of a duplicate, allowing the system to prioritize distinctive terms over frequent noise words.
Record-Level Learning
The second level of learning aggregates the field-specific scores to make a final decision for the entire record. MARLIN employs an SVM as a meta-classifier, taking the vector of similarity scores from all fields as input.
As illustrated in the example above, distances for fields like "Name", "Address", and "City" are computed independently. These values form a feature vector that the SVM uses to classify the record pair as either a "Duplicate" or "Non-duplicate". This method is particularly effective at handling high-dimensional, correlated features and performs robustly even with limited training data.
Key Results and Insights
The authors evaluated MARLIN on several real-world datasets, including the Restaurant database and the Cora citation database. The experiments consistently demonstrated that learnable measures outperform static ones:
- Field-Level Performance: On the Restaurant "name" field, the learned edit distance achieved an F-measure of 0.354, compared to 0.290 for the standard version.
- System-Wide Accuracy: For the Cora dataset, the full MARLIN approach reached an F-measure of 0.824, significantly beating the baseline of 0.793.
- Data Efficiency: The record-level SVM proved superior to traditional decision trees (like ADTrees), especially when training examples were sparse (e.g., only 30 positive/negative pairs).
Conclusion
MARLIN provides a powerful, adaptive solution to the duplicate detection problem by leveraging machine learning at both the field and record levels. By capturing domain-specific nuances automatically, it eliminates the need for manual tuning of similarity metrics. Future research will explore "macro-operators" for substring substitutions and transductive learning techniques to further enhance performance on unlabeled data.
Summary updated