Quadratic Conditional Lower Bounds for String Problems and Dynamic TimeWarping

被引:102
作者
Bringmann, Karl [1 ]
Kuennemann, Marvin [2 ,3 ]
机构
[1] Swiss Fed Inst Technol, Inst Theoret Comp Sci, Zurich, Switzerland
[2] Max Planck Inst Informat, Saarbrucken, Germany
[3] Saarbrucken Grad Sch Comp, Saarbrucken, Germany
来源
2015 IEEE 56TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE | 2015年
关键词
ALGORITHM; TIME;
D O I
10.1109/FOCS.2015.15
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 O(n(2)) 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 O(n(2-epsilon)) for any epsilon > 0, 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 quadratic-time hardness on binary strings for all other cost choices. This improves and generalizes the known hardness result for Levenshtein distance [Backurs, Indyk STOC' 15] by the restriction to binary strings and the generalization to arbitrary costs, and adds important problems to a recent line of research showing conditional lower bounds for a growing number of quadratic time problems. As our main technical contribution, we introduce a framework for proving quadratic-time hardness of similarity measures. To apply the framework it suffices to construct a single gadget, which encapsulates all the expressive power necessary to emulate a reduction from satisfiability. Finally, we prove quadratic-time hardness for longest palindromic subsequence and longest tandem subsequence via reductions from longest common subsequence, showing that conditional lower bounds based on the Strong Exponential Time Hypothesis also apply to string problems that are not necessarily similarity measures.
引用
收藏
页码:79 / 97
页数:19
相关论文
共 23 条
  • [1] Abboud A., 2015, P 56 ANN IE IN PRESS
  • [2] Popular conjectures imply strong lower bounds for dynamic problems
    Abboud, Amir
    Williams, Virginia Vassilevska
    [J]. 2014 55TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS 2014), 2014, : 434 - 443
  • [3] Abboud A, 2014, LECT NOTES COMPUT SC, V8572, P39
  • [4] Abboud Amir, 2015, P 26 ANN ACM SIAM S, P218, DOI DOI 10.1137/1.9781611973730.17
  • [5] Polylogarithmic Approximation for Edit Distance and the Asymmetric Query Complexity
    Andoni, Alexandr
    Krauthgamer, Robert
    Onak, Krzysztof
    [J]. 2010 IEEE 51ST ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, 2010, : 377 - 386
  • [6] Color Fractal Descriptors for Adaxial Epidermis Texture Classification
    Backes, Andre R.
    de Mesquita Sa Junior, Jarbas Joaci
    Kolb, Rosana Marta
    [J]. PROGRESS IN PATTERN RECOGNITION, IMAGE ANALYSIS, COMPUTER VISION, AND APPLICATIONS, CIARP 2015, 2015, 9423 : 51 - 58
  • [7] A survey of longest common subsequence algorithms
    Bergroth, L
    Hakonen, H
    Raita, T
    [J]. SPIRE 2000: SEVENTH INTERNATIONAL SYMPOSIUM ON STRING PROCESSING AND INFORMATION RETRIEVAL - PROCEEDINGS, 2000, : 39 - 48
  • [8] Bringmann K., 2015, QUADRATIC CONDITIONA
  • [9] Why walking the dog takes time: Frechet distance has no strongly subquadratic algorithms unless SETH fails
    Bringmann, Karl
    [J]. 2014 55TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS 2014), 2014, : 661 - 670
  • [10] Cormen TH., 2009, Introduction to algorithms, V3