TY - GEN
T1 - A linear-time n0.4-approximation for longest common subsequence
AU - Bringmann, Karl
AU - Das, Debarati
N1 - Funding Information:
Funding Karl Bringmann: This work is part of the project TIPEA that has received funding from the European Research Council (ERC) under the European Unions Horizon 2020 research and innovation programme (grant agreement No. 850979). Debarati Das: Work supported by Basic Algorithms Research Copenhagen, grant 16582 from the VILLUM Foundation.
Publisher Copyright:
© 2021 Karl Bringmann and Debarati Das.
PY - 2021/7/1
Y1 - 2021/7/1
N2 - We consider the classic problem of computing the Longest Common Subsequence (LCS) of two strings of length n. While a simple quadratic algorithm has been known for the problem for more than 40 years, no faster algorithm has been found despite an extensive effort. The lack of progress on the problem has recently been explained by Abboud, Backurs, and Vassilevska Williams [FOCS'15] and Bringmann and Künnemann [FOCS'15] who proved that there is no subquadratic algorithm unless the Strong Exponential Time Hypothesis fails. This major roadblock for getting faster exact algorithms has led the community to look for subquadratic approximation algorithms for the problem. Yet, unlike the edit distance problem for which a constant-factor approximation in almost-linear time is known, very little progress has been made on LCS, making it a notoriously difficult problem also in the realm of approximation. For the general setting (where we make no assumption on the length of the optimum solution or the alphabet size), only a naive O(n∈/2)-approximation algorithm with running time Õ(n2-∈) has been known, for any constant 0 < ∈ ≤ 1. Recently, a breakthrough result by Hajiaghayi, Seddighin, Seddighin, and Sun [SODA'19] provided a linear-time algorithm that yields a O(n0.497956)-approximation in expectation; improving upon the naive O(√ n)-approximation for the first time. In this paper, we provide an algorithm that in time O(n2-∈) computes an Õ(n2∈/5)-approximation with high probability, for any 0 < ∈ ≤ 1. Our result (1) gives an Õ(n0.4)-approximation in linear time, improving upon the bound of Hajiaghayi, Seddighin, Seddighin, and Sun, (2) provides an algorithm whose approximation scales with any subquadratic running time O(n2-∈), improving upon the naive bound of O(n∈/2) for any ∈, and (3) instead of only in expectation, succeeds with high probability.
AB - We consider the classic problem of computing the Longest Common Subsequence (LCS) of two strings of length n. While a simple quadratic algorithm has been known for the problem for more than 40 years, no faster algorithm has been found despite an extensive effort. The lack of progress on the problem has recently been explained by Abboud, Backurs, and Vassilevska Williams [FOCS'15] and Bringmann and Künnemann [FOCS'15] who proved that there is no subquadratic algorithm unless the Strong Exponential Time Hypothesis fails. This major roadblock for getting faster exact algorithms has led the community to look for subquadratic approximation algorithms for the problem. Yet, unlike the edit distance problem for which a constant-factor approximation in almost-linear time is known, very little progress has been made on LCS, making it a notoriously difficult problem also in the realm of approximation. For the general setting (where we make no assumption on the length of the optimum solution or the alphabet size), only a naive O(n∈/2)-approximation algorithm with running time Õ(n2-∈) has been known, for any constant 0 < ∈ ≤ 1. Recently, a breakthrough result by Hajiaghayi, Seddighin, Seddighin, and Sun [SODA'19] provided a linear-time algorithm that yields a O(n0.497956)-approximation in expectation; improving upon the naive O(√ n)-approximation for the first time. In this paper, we provide an algorithm that in time O(n2-∈) computes an Õ(n2∈/5)-approximation with high probability, for any 0 < ∈ ≤ 1. Our result (1) gives an Õ(n0.4)-approximation in linear time, improving upon the bound of Hajiaghayi, Seddighin, Seddighin, and Sun, (2) provides an algorithm whose approximation scales with any subquadratic running time O(n2-∈), improving upon the naive bound of O(n∈/2) for any ∈, and (3) instead of only in expectation, succeeds with high probability.
UR - http://www.scopus.com/inward/record.url?scp=85115293248&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85115293248&partnerID=8YFLogxK
U2 - 10.4230/LIPIcs.ICALP.2021.39
DO - 10.4230/LIPIcs.ICALP.2021.39
M3 - Conference contribution
AN - SCOPUS:85115293248
T3 - Leibniz International Proceedings in Informatics, LIPIcs
BT - 48th International Colloquium on Automata, Languages, and Programming, ICALP 2021
A2 - Bansal, Nikhil
A2 - Merelli, Emanuela
A2 - Worrell, James
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
T2 - 48th International Colloquium on Automata, Languages, and Programming, ICALP 2021
Y2 - 12 July 2021 through 16 July 2021
ER -