Skip to main content
QUICK REVIEW

[Paper Review] Fast Entropy-Bounded String Dictionary Look-Up with Mismatches.

Paweł Gawrychowski, Gad M. Landau|arXiv (Cornell University)|Jan 1, 2018
Algorithms and Data CompressionComputer Science1 citations
TL;DR

This paper presents a new data structure for fast dictionary look-up with mismatches, supporting queries for up to $k$ mismatches in $O(m/w + \log^k d + \text{occ})$ time and $O(w d \log^k d)$ extra space. It extends prior work on $k=1$ to a broader range of $k$, achieving near-optimal query performance while maintaining entropy-bounded space usage.

ABSTRACT

We revisit the fundamental problem of dictionary look-up with mismatches. Given a set (dictionary) of $d$ strings of length $m$ and an integer $k$, we must preprocess it into a data structure to answer the following queries: Given a query string $Q$ of length $m$, find all strings in the dictionary that are at Hamming distance at most $k$ from $Q$. Chan and Lewenstein (CPM 2015) showed a data structure for $k = 1$ with optimal query time $O(m/w + occ)$, where $w$ is the size of a machine word and $occ$ is the size of the output. The data structure occupies $O(w d \log^{1+\varepsilon} d)$ extra bits of space (beyond the entropy-bounded space required to store the dictionary strings). In this work we give a solution with similar bounds for a much wider range of values $k$. Namely, we give a data structure that has $O(m/w + \log^k d + occ)$ query time and uses $O(w d \log^k d)$ extra bits of space.

Motivation & Objective

  • To address the fundamental problem of dictionary look-up with up to $k$ mismatches in a way that scales efficiently with $k$.
  • To extend prior work on $k=1$ to a wider range of $k$ values while maintaining near-optimal query time and space efficiency.
  • To design a data structure that uses $O(w d \log^k d)$ extra bits beyond entropy-bounded storage, ensuring space efficiency.
  • To achieve query time of $O(m/w + \log^k d + \text{occ})$, balancing speed and scalability for larger $k$.

Proposed method

  • Leverage advanced data structures and string processing techniques to support efficient approximate matching with up to $k$ mismatches.
  • Use a hierarchical decomposition of the dictionary to enable fast filtering of candidate strings based on Hamming distance.
  • Apply word-level parallelism via machine word size $w$ to accelerate comparison operations during query processing.
  • Integrate a compressed representation that maintains entropy-bounded space usage while supporting fast look-up.
  • Employ a recursive or layered indexing strategy to reduce the search space for each query string.
  • Optimize the trade-off between preprocessing time, space, and query time using logarithmic dependencies on $d$ and $k$.

Experimental results

Research questions

  • RQ1Can we extend the fast query-time solution for $k=1$ to support larger values of $k$ while maintaining near-optimal performance?
  • RQ2What is the minimal additional space overhead required to support $k$-mismatch dictionary look-up beyond entropy-bounded storage?
  • RQ3Is it possible to achieve $O(m/w + \log^k d + \text{occ})$ query time with a data structure that uses $O(w d \log^k d)$ extra bits?
  • RQ4How does the query time scale with increasing $k$, and can it remain efficient for practical values of $k$?

Key findings

  • The proposed data structure achieves $O(m/w + \log^k d + \text{occ})$ query time, which is efficient and scales well with $k$.
  • The space usage is $O(w d \log^k d)$ extra bits beyond the entropy-bounded storage of the dictionary strings.
  • The solution generalizes prior work on $k=1$ to a broader range of $k$, maintaining near-optimal query performance.
  • The query time matches the optimal bound for $k=1$ in terms of $m/w$ and $\text{occ}$, while adding a $\log^k d$ term for larger $k$.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.