Papers
Topics
Authors
Recent
Search
2000 character limit reached

Approximating Text-to-Pattern Distance via Dimensionality Reduction

Published 9 Feb 2020 in cs.DS | (2002.03459v2)

Abstract: Text-to-pattern distance is a fundamental problem in string matching, where given a pattern of length mm and a text of length nn, over an integer alphabet, we are asked to compute the distance between pattern and the text at every location. The distance function can be e.g. Hamming distance or ℓp\ell_p distance for some parameter $p &gt; 0$. Almost all state-of-the-art exact and approximate algorithms developed in the past ∼40\sim 40 years were using FFT as a black-box. In this work we present O~(n/ε<sup>2)\widetilde{O}(n/\varepsilon<sup>2) time algorithms for (1±ε)(1\pm\varepsilon)-approximation of ℓ2\ell_2 distances, and O~(n/ε<sup>3)\widetilde{O}(n/\varepsilon<sup>3) algorithm for approximation of Hamming and ℓ1\ell_1 distances, all without use of FFT. This is independent to the very recent development by Chan et al. [STOC 2020], where O(n/ε<sup>2)O(n/\varepsilon<sup>2) algorithm for Hamming distances not using FFT was presented -- although their algorithm is much more "combinatorial", our techniques apply to other norms than Hamming.

Citations (3)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.