Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1109/FOCS.2015.15guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Quadratic Conditional Lower Bounds for String Problems and Dynamic Time Warping

Published: 17 October 2015 Publication History

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 O(n2) 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 sub quadratic time algorithms, i.e., No algorithms with running time O(n2 -- ε) for any ε > 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.

Cited By

View all
  • (2023)Co-lexicographically Ordering Automata and Regular Languages - Part IJournal of the ACM10.1145/360747170:4(1-73)Online publication date: 12-Aug-2023
  • (2023)On the Complexity of String Matching for GraphsACM Transactions on Algorithms10.1145/358833419:3(1-25)Online publication date: 12-Apr-2023
  • (2023)Approximating Binary Longest Common Subsequence in Almost-Linear TimeProceedings of the 55th Annual ACM Symposium on Theory of Computing10.1145/3564246.3585104(1145-1158)Online publication date: 2-Jun-2023
  • Show More Cited By
  1. Quadratic Conditional Lower Bounds for String Problems and Dynamic Time Warping

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image Guide Proceedings
    FOCS '15: Proceedings of the 2015 IEEE 56th Annual Symposium on Foundations of Computer Science (FOCS)
    October 2015
    1516 pages
    ISBN:9781467381918

    Publisher

    IEEE Computer Society

    United States

    Publication History

    Published: 17 October 2015

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 16 Feb 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Co-lexicographically Ordering Automata and Regular Languages - Part IJournal of the ACM10.1145/360747170:4(1-73)Online publication date: 12-Aug-2023
    • (2023)On the Complexity of String Matching for GraphsACM Transactions on Algorithms10.1145/358833419:3(1-25)Online publication date: 12-Apr-2023
    • (2023)Approximating Binary Longest Common Subsequence in Almost-Linear TimeProceedings of the 55th Annual ACM Symposium on Theory of Computing10.1145/3564246.3585104(1145-1158)Online publication date: 2-Jun-2023
    • (2023)Recovery From Non-Decomposable Distance OraclesIEEE Transactions on Information Theory10.1109/TIT.2023.328998169:10(6443-6469)Online publication date: 27-Jun-2023
    • (2022)Almost-optimal sublinear-time edit distance in the low distance regimeProceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing10.1145/3519935.3519990(1102-1115)Online publication date: 9-Jun-2022
    • (2022)SETH-based Lower Bounds for Subset Sum and Bicriteria PathACM Transactions on Algorithms10.1145/345052418:1(1-22)Online publication date: 23-Jan-2022
    • (2022)Computing the longest common almost-increasing subsequenceTheoretical Computer Science10.1016/j.tcs.2022.07.021930:C(157-178)Online publication date: 21-Sep-2022
    • (2021)On the string matching with k differences in DNA databasesProceedings of the VLDB Endowment10.14778/3447689.344769514:6(903-915)Online publication date: 12-Apr-2021
    • (2021)Modern Lower Bound Techniques in Database Theory and Constraint SatisfactionProceedings of the 40th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems10.1145/3452021.3458814(19-29)Online publication date: 20-Jun-2021
    • (2021)Subcubic algorithms for Gomory–Hu tree in unweighted graphsProceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing10.1145/3406325.3451073(1725-1737)Online publication date: 15-Jun-2021
    • Show More Cited By

    View Options

    View options

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media