Real-Time Fuzzy Record-Matching Similarity Metric and Optimal Q-Gram Filter
In this paper, we introduce an advanced Fuzzy Record Similarity Metric (FRMS) that improves approximate record matching and models human perception of record similarity. The FRMS utilizes a newly developed similarity space with favorable properties combined with a metric space, employing a bag-of-words model with general applications in text mining and cluster analysis. To optimize the FRMS, we propose a two-stage method for approximate string matching and search that outperforms baseline methods in terms of average time complexity and F measure on various datasets. In the first stage, we construct an optimal Q-gram count filter as an optimal lower bound for fuzzy token similarities such as FRMS. The approximated Q-gram count filter achieves a high accuracy rate, filtering over 99% of dissimilar records, with a constant time complexity of ≈O(1). In the second stage, FRMS runs for a polynomial time of approximately ≈O(n4) and models human perception of record similarity by maximum weight matching in a bipartite graph. The FRMS architecture has widespread applications in structured document storage such as databases and has already been commercialized by one of the largest IT companies. As a side result, we explain the behavior of the singularity of the Q-gram filter and the advantages of a padding extension. Overall, our method provides a more accurate and efficient approach to approximate string matching and search with real-time runtime.
Authors
- Ondřej Rozinek (ORCID: https://orcid.org/0000-0003-2248-7940)
- Jan Mareš (ORCID: https://orcid.org/0000-0003-4693-2519)
- Jaroslav Marek (ORCID: https://orcid.org/0000-0002-5712-8852)
- Jan Panuš (ORCID: https://orcid.org/0000-0003-3190-7310)
Institutions
- University of Pardubice (CZ)
- Czech Technical University in Prague (CZ)
- University of Chemistry and Technology, Prague (CZ)
Publication Details
- Journal
- Algorithms
- Published
- 2025-03-06
- DOI
- https://doi.org/10.3390/a18030150
- Citations
- 1
- Primary Topic
- Data Quality and Management
- Type
- article
- Field-Weighted Citation Impact
- 2.11