Lune

KDD2020Top-tier venue

MinSearch: An Efficient Algorithm for Similarity Search under Edit Distance

Haoyu Zhang, Qin Zhang

Abstract

We study a fundamental problem in data analytics: similarity search under edit distance (or, edit similarity search for short). In this problem we try to build an index on a set of n strings S = s 1 , . . . , s n , with the goal of answering the following two types of queries: (1) the threshold query: given a query string t and a threshold K, output all s i ∈ S such that the edit distance between s i and t is at most K; (2) the top-k query: given a query string t, output the k strings in S that are closest to t in terms of edit distance. Edit similarity search has numerous applications in bioinformatics, databases, data mining, information retrieval, etc., and has been studied extensively in the literature.

In this paper we propose a novel algorithm for edit similarity search named MinSearch. The algorithm is randomized, and we can show mathematically that it outputs the correct answer with high probability for both types of queries. We have conducted an extensive set of experiments on MinSearch, and compared it with the best existing algorithms for edit similarity search. Our experiments show that MinSearch has a clear advantage (often in orders of magnitudes) against the best previous algorithms in query time, and MinSearch is always one of the best among all competitors in the indexing time and space usage. Finally, MinSearch achieves perfect accuracy for both types of queries on all datasets that we have tested.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Fast Comparative Analysis of Merge Trees Using Locality Sensitive HashingWeiran Lyu, Raghavendra Sridharamurthy, Jeff M. Phillips, Bei WangIEEE VIS 2024 · 8 citations
  2. minIL: A Simple and Small Index for String Similarity Search with Edit DistanceZhong Yang, Bolong Zheng, Xianzhi Wang, Guohui Li et al.ICDE 2022 · 2 citations
  3. FedVS: Towards Federated Vector Similarity Search with FiltersZeheng Fan, Yuxiang Zeng, Zhuanglin Zheng, Binhan Yang et al.KDD 2025 · 1 citation

Related papers

  1. Almost Linear Size Edit Distance SketchMichal Koucký, Michael E. SaksSTOC 2024 · 1 citation
  2. Boosting Graph Similarity Search through Pre-ComputationJongik KimSIGMOD 2021 · 10 citations
  3. SimTab: Accuracy-Guaranteed SimRank Queries through Tighter Confidence Bounds and Multi-Armed BanditsYu Liu, Lei Zou, Qian Ge, Zhewei WeiVLDB 2020
  4. S^3AND: Efficient Subgraph Similarity Search Under Aggregated Neighbor Difference SemanticsQi Wen, Yutong Ye, Xiang Lian, Mingsong ChenVLDB 2025 · 3 citations
  5. Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv FactorizationDaniel Gibney, Ce Jin, Tomasz Kociumaka, Sharma V. ThankachanSODA 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines