Quadratic Conditional Lower Bounds for String Problems and Dynamic Time Warping
Karl Bringmann, Marvin K\"unnemann

TL;DR
This paper establishes that classic string similarity measures like edit distance and dynamic time warping cannot be computed faster than quadratic time under the Strong Exponential Time Hypothesis, even for simplified cases.
Contribution
It proves quadratic-time lower bounds for these measures, generalizes previous hardness results, and introduces a framework for proving similar bounds for other similarity measures.
Findings
No strongly subquadratic algorithms for these measures unless SETH fails
Quadratic-time hardness extends to edit distance with fixed costs
Hardness results apply to longest palindromic and tandem subsequence problems
Abstract
Classic similarity measures of strings are longest common subsequence and Levenshtein distance (i.e., the classic edit distance). A classic similarity measure of curves is dynamic time warping. These measures can be computed by simple dynamic programming algorithms, and despite much effort no algorithms with significantly better running time are known. We prove that, even restricted to binary strings or one-dimensional curves, respectively, these measures do not have strongly subquadratic time algorithms, i.e., no algorithms with running time for any , unless the Strong Exponential Time Hypothesis fails. We generalize the result to edit distance for arbitrary fixed costs of the four operations (deletion in one of the two strings, matching, substitution), by identifying trivial cases that can be solved in constant time, and proving…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Network Packet Processing and Optimization · Data Management and Algorithms
