Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2746539.2746612acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
research-article

Edit Distance Cannot Be Computed in Strongly Subquadratic Time (unless SETH is false)

Published: 14 June 2015 Publication History

Abstract

The edit distance (a.k.a. the Levenshtein distance) between two strings is defined as the minimum number of insertions, deletions or substitutions of symbols needed to transform one string into another. The problem of computing the edit distance between two strings is a classical computational task, with a well-known algorithm based on dynamic programming. Unfortunately, all known algorithms for this problem run in nearly quadratic time.
In this paper we provide evidence that the near-quadratic running time bounds known for the problem of computing edit distance might be {tight}. Specifically, we show that, if the edit distance can be computed in time O(n2-δ) for some constant δ>0, then the satisfiability of conjunctive normal form formulas with N variables and M clauses can be solved in time MO(1) 2(1-ε)N for a constant ε>0. The latter result would violate the Strong Exponential Time Hypothesis, which postulates that such algorithms do not exist.

References

[1]
Amir Abboud, Arturs Backurs, and Virginia Vassilevska Williams. Quadratic-time hardness of lcs and other sequence similarity measures. arXiv preprint arXiv:1501.07053, 2015.
[2]
Alexandr Andoni, Robert Krauthgamer, and Krzysztof Onak. Polylogarithmic approximation for edit distance and the asymmetric query complexity. In FOCS, pages 377--386. IEEE, 2010.
[3]
A. Abboud and V. Vassilevska Williams. Popular conjectures imply strong lower bounds for dynamic problems. FOCS, 2014.
[4]
Amir Abboud, V. Vassilevska Williams, and Oren Weimann. Consequences of faster sequence alignment. ICALP, 2014.
[5]
Karl Bringmann and Marvin Künnemann. Quadratic conditional lower bounds for string problems and dynamic time warping. arXiv preprint arXiv:1502.01063, 2015.
[6]
Karl Bringmann. Why walking the dog takes time: Frechet distance has no strongly subquadratic algorithms unless seth fails. FOCS, 2014.
[7]
Russell Impagliazzo and Ramamohan Paturi. On the complexity of k-sat. Journal of Computer and System Sciences, 62(2):367--375, 2001.
[8]
Russell Impagliazzo, Ramamohan Paturi, and Francis Zane. Which problems have strongly exponential complexity? Journal of Computer and System Sciences, 63:512--530, 2001.
[9]
William J Masek and Michael S Paterson. A faster algorithm computing string edit distances. Journal of Computer and System sciences, 20(1):18--31, 1980.
[10]
Gonzalo Navarro. A guided tour to approximate string matching. ACM computing surveys (CSUR), 33(1):31--88, 2001.
[11]
M. Patrascu and R. Williams. On the possibility of faster sat algorithms. SODA, 2010.
[12]
L. Roditty and V. Vassilevska Williams. Fast approximation algorithms for the diameter and radius of sparse graphs. STOC, 2013.
[13]
Ryan Williams. A new algorithm for optimal 2-constraint satisfaction and its implications. Theoretical Computer Science, 348(2):357--365, 2005.

Cited By

View all
  • (2024)Co-linear chaining on pangenome graphsAlgorithms for Molecular Biology10.1186/s13015-024-00250-w19:1Online publication date: 27-Jan-2024
  • (2024)Algorithms for the Uniqueness of the Longest Common SubsequenceJournal of Bioinformatics and Computational Biology10.1142/S021972002350027021:06Online publication date: 10-Jan-2024
  • (2024)The Orthogonal Vectors Conjecture and Non-Uniform Circuit Lower Bounds2024 IEEE 65th Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS61266.2024.00088(1372-1387)Online publication date: 27-Oct-2024
  • Show More Cited By

Index Terms

  1. Edit Distance Cannot Be Computed in Strongly Subquadratic Time (unless SETH is false)

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    STOC '15: Proceedings of the forty-seventh annual ACM symposium on Theory of Computing
    June 2015
    916 pages
    ISBN:9781450335362
    DOI:10.1145/2746539
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 14 June 2015

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. SETH
    2. conditional lower bounds
    3. edit distance
    4. pattern matching

    Qualifiers

    • Research-article

    Conference

    STOC '15
    Sponsor:
    STOC '15: Symposium on Theory of Computing
    June 14 - 17, 2015
    Oregon, Portland, USA

    Acceptance Rates

    STOC '15 Paper Acceptance Rate 93 of 347 submissions, 27%;
    Overall Acceptance Rate 1,469 of 4,586 submissions, 32%

    Upcoming Conference

    STOC '25
    57th Annual ACM Symposium on Theory of Computing (STOC 2025)
    June 23 - 27, 2025
    Prague , Czech Republic

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)65
    • Downloads (Last 6 weeks)11
    Reflects downloads up to 25 Dec 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Co-linear chaining on pangenome graphsAlgorithms for Molecular Biology10.1186/s13015-024-00250-w19:1Online publication date: 27-Jan-2024
    • (2024)Algorithms for the Uniqueness of the Longest Common SubsequenceJournal of Bioinformatics and Computational Biology10.1142/S021972002350027021:06Online publication date: 10-Jan-2024
    • (2024)The Orthogonal Vectors Conjecture and Non-Uniform Circuit Lower Bounds2024 IEEE 65th Annual Symposium on Foundations of Computer Science (FOCS)10.1109/FOCS61266.2024.00088(1372-1387)Online publication date: 27-Oct-2024
    • (2024)Haplotype-aware sequence alignment to pangenome graphsGenome Research10.1101/gr.279143.12434:9(1265-1275)Online publication date: 16-Jul-2024
    • (2024)Hierarchical Categories in Colored SearchingComputational Geometry10.1016/j.comgeo.2024.102090(102090)Online publication date: Mar-2024
    • (2024)Fast Edit Distance Prediction for All Pairs of Sequences in Very Large NGS DatasetsAdvances in Knowledge Discovery and Data Mining10.1007/978-981-97-2238-9_6(72-91)Online publication date: 1-May-2024
    • (2024)Burst Edit DistanceString Processing and Information Retrieval10.1007/978-3-031-72200-4_4(41-56)Online publication date: 19-Sep-2024
    • (2023)Bypass exponential time preprocessingProceedings of the 37th International Conference on Neural Information Processing Systems10.5555/3666122.3668209(48110-48137)Online publication date: 10-Dec-2023
    • (2023)Genome Assembly, from Practice to Theory: Safe, Complete and Linear-TimeACM Transactions on Algorithms10.1145/363217620:1(1-26)Online publication date: 8-Nov-2023
    • (2023)On the Complexity of String Matching for GraphsACM Transactions on Algorithms10.1145/358833419:3(1-25)Online publication date: 12-Apr-2023
    • Show More Cited By

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media