arXivPreprintOpen accesscs.DS

Approximate Hamming Convolution via Rectangular Matrix Multiplication

Przemyslaw Uznanski

Key points

From the paper's conclusion
  • We study $(1 \pm \epsilon)$-approximate text-to-pattern Hamming distance: given a length-$N$ pattern and a length-$2N$ text, compute the Hamming distance at every alignment to relative error $\epsilon$.

Abstract

We study $(1 \pm \epsilon)$-approximate text-to-pattern Hamming distance: given a length-$N$ pattern and a length-$2N$ text, compute the Hamming distance at every alignment to relative error $\epsilon$. For every fixed $a \ge 0$ and $\epsilon = N^{-a}$, we give a randomized algorithm with simultaneous high-probability correctness on a logarithmic-word RAM and expected running time $\widetilde{O}(N^{\omega(4a)/2})$, where $\widetilde{O}$ suppresses subpolynomial factors and $\omega(k)$ is the exponent for multiplying an $n \times n^k$ matrix by an $n^k \times n$ matrix. With a recent rectangular bound, this improves the published bounds [CGK+20, FKN26] for $1/12 < a < (3 + \sqrt{3})/16$. In particular, the algorithm runs in expected time $\widetilde{O}(N)$ for $0 \le a \le 1/8$, extending the previous near-linear guarantee through $a = 1/12$.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers