Transformer-Gather, Fuzzy-Reconsider: A Scalable Hybrid Framework for Entity Resolution
Mohammadreza Sharifi, Danial Ahmadzadeh
TL;DR
The paper tackles scalable entity resolution in noisy enterprise data by proposing TGFR, a hybrid pipeline that couples semantic embeddings from a pre-trained transformer with KNN-based candidate retrieval and deterministic fuzzy verification. It uses a serialized natural-language representation of records, a fine-tuned all-mpnet-base-v2 encoder with MNR-Loss for ground-truth labeling, and a cosine similarity threshold to finalize matches, achieving a retrieval recall near $0.97$ on CPU-based infrastructure. Experimental results show that transformer-based embeddings outperform TF-IDF, that fine-tuning improves recall, and that adding fuzzy string matching yields a $4.6$ percentage point boost in F1-score, demonstrating the value of a hybrid semantic-syntactic approach. The framework provides a practical, deployable solution for enterprise-level data integrity auditing on standard CPU hardware, with favorable scalability properties and robust performance in production environments.
Abstract
Entity resolution plays a significant role in enterprise systems where data integrity must be rigorously maintained. Traditional methods often struggle with handling noisy data or semantic understanding, while modern methods suffer from computational costs or the excessive need for parallel computation. In this study, we introduce a scalable hybrid framework, which is designed to address several important problems, including scalability, noise robustness, and reliable results. We utilized a pre-trained language model to encode each structured data into corresponding semantic embedding vectors. Subsequently, after retrieving a semantically relevant subset of candidates, we apply a syntactic verification stage using fuzzy string matching techniques to refine classification on the unlabeled data. This approach was applied to a real-world entity resolution task, which exposed a linkage between a central user management database and numerous shared hosting server records. Compared to other methods, this approach exhibits an outstanding performance in terms of both processing time and robustness, making it a reliable solution for a server-side product. Crucially, this efficiency does not compromise results, as the system maintains a high retrieval recall of approximately 0.97. The scalability of the framework makes it deployable on standard CPU-based infrastructure, offering a practical and effective solution for enterprise-level data integrity auditing.
