Approximating the Longest Common Subsequence problem within a sub-polynomial factor in linear time

12/15/2021
by   Negev Shekel Nosatzki, et al.
0

The Longest Common Subsequence (LCS) of two strings is a fundamental string similarity measure with a classical dynamic programming solution taking quadratic time. Despite significant efforts, little progress was made in improving the runtime. Even in the realm of approximation, not much was known for linear time algorithms beyond the trivial √(n)-approximation. Recent breakthrough result provided a n^0.497-factor approximation algorithm [HSSS19], which was more recently improved to a n^0.4-factor one [BCD21]. The latter paper also showed a n^2-2.5α time algorithm which outputs a n^α approximation to the LCS, but so far no sub-polynomial approximation is known in truly subquadratic time. In this work, we show an algorithm which runs in O(n) time, and outputs a n^o(1)-factor approximation to LCS(x,y), with high probability, for any pair of length n input strings. Our entire algorithm is merely an efficient black-box reduction to the Block-LIS problem, introduced very recently in [ANSS21], and solving the Block-LIS problem directly.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/15/2021

A Linear-Time n^0.4-Approximation for Longest Common Subsequence

We consider the classic problem of computing the Longest Common Subseque...
research
11/30/2022

Approximating binary longest common subsequence in almost-linear time

The Longest Common Subsequence (LCS) is a fundamental string similarity ...
research
04/10/2019

Constant factor approximations to edit distance on far input pairs in nearly linear time

For any T ≥ 1, there are constants R=R(T) ≥ 1 and ζ=ζ(T)>0 and a randomi...
research
01/31/2019

Quasi-Linear-Time Algorithm for Longest Common Circular Factor

We introduce the Longest Common Circular Factor (LCCF) problem in which,...
research
12/09/2021

Estimating the Longest Increasing Subsequence in Nearly Optimal Time

Longest Increasing Subsequence (LIS) is a fundamental statistic of a seq...
research
03/15/2021

Promise Problems Meet Pseudodeterminism

The Acceptance Probability Estimation Problem (APEP) is to additively ap...
research
03/16/2020

Approximating LCS in Linear Time: Beating the √(n) Barrier

Longest common subsequence (LCS) is one of the most fundamental problems...

Please sign up or login with your details

Forgot password? Click here to reset