Method of record deduplication in heterogeneous data sources based on string similarity metrics
Keywords
- data deduplication
- string similarity metrics
- Levenshtein distance
- Jaro-Winkler metric
- TF-IDF
- record linkage
- Fellegi-Sunter model
- record blocking
Abstract
The problem of detecting and eliminating duplicate records in heterogeneous data sources of enterprise information systems is considered. Based on an analysis of the Fellegi-Sunter theoretical model and current research in record linkage, a deduplication method is proposed that relies on comparing three string similarity metrics — Levenshtein distance, the Jaro-Winkler metric, and TF-IDF cosine similarity on character n-grams — combined with a simplified linear probabilistic model accounting for additional record attributes, namely phone and city. A blocking technique is applied to reduce computational complexity. A series of computational experiments was conducted on a synthetic test dataset with a controlled duplication rate of 450 records, of which 150 form duplicate pairs: comparison of similarity metrics, a grid search for optimal model weighting coefficients, and measurement of actual execution time with and without candidate-pair space reduction. It is shown that incorporating additional record attributes increases the F1-score from 0.28-0.30 to 0.96-1.00, while blocking reduces the number of comparisons by 87.7-88.5% and speeds up computation by a factor of 7.1-8.7.References
Fellegi I.P., Sunter A.B. A Theory for Record Linkage. Journal of the American Statistical Association. 1969. Vol. 64, No. 328. P. 1183–1210.
Winkler W.E. String Comparator Metrics and Enhanced Decision Rules in the Fellegi-Sunter Model of Record Linkage. Proceedings of the Section on Survey Research Methods, American Statistical Association. 1990. P. 354–359.
Levenshtein V.I. Binary codes capable of correcting deletions, insertions, and reversals. Soviet Physics Doklady. 1966. Vol. 10, No. 8. P. 707–710.
Christen P. Data Matching: Concepts and Techniques for Record Linkage, Entity Resolution, and Duplicate Detection. Data-Centric Systems and Applications. Berlin, Heidelberg: Springer, 2012.
Elmagarmid A.K., Ipeirotis P.G., Verykios V.S. Duplicate Record Detection: A Survey. IEEE Transactions on Knowledge and Data Engineering. 2007. Vol. 19, No. 1. P. 1–16.
Cohen W.W., Ravikumar P., Fienberg S.E. A Comparison of String Distance Metrics for Name-Matching Tasks. Proceedings of IJCAI-2003 Workshop on Information Integration on the Web (IIWeb-03). 2003. P. 73–78.
Papadakis G., Skoutas D., Thanos E., Palpanas T. Blocking and Filtering Techniques for Entity Resolution: A Survey. ACM Computing Surveys. 2020. Vol. 53, No. 2, Article 31. 42 p.
Bilenko M., Mooney R.J. Adaptive Duplicate Detection Using Learnable String Similarity Measures. Proceedings of the 9th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD). Washington, DC, 2003. P. 39–48.
OpenRefine. Clustering Methods In-depth [Electronic resource]. URL: https://openrefine.org/docs/technical-reference/clustering-in-depth (дата звернення: 20.07.2026).