Lune

STOC2023顶会

Approximating Binary Longest Common Subsequence in Almost-Linear Time

Xiaoyu He, Ray Li

2023年份
1顶会引用

摘要

The Longest Common Subsequence (LCS) is a fundamental string similarity measure, and computing the LCS of two strings is a classic algorithms question. A textbook dynamic programming algorithm gives an exact algorithm in quadratic time, and this is essentially best possible under plausible finegrained complexity assumptions, so a natural problem is to find faster approximation algorithms. When the inputs are two binary strings, there is a simple 1 2 -approximation in linear time: compute the longest common all-0s or all-1s subsequence. It has been open whether a better approximation is possible even in truly subquadratic time. Rubinstein and Song showed that the answer is yes under the assumption that the two input strings have equal lengths. We settle the question, generalizing their result to unequal length strings, proving that, for any ε ą 0, there exists δ ą 0 and a p 1 2 δq-approximation algorithm for binary LCS that runs in n 1ε time. As a consequence of our result and a result of Akmal and Vassilevska-Williams, for any ε ą 0, there exists a p 1 q δq-approximation for LCS over q-ary strings in n 1ε time.

Our techniques build on the recent work of Guruswami, He, and Li who proved new bounds for error-correcting codes tolerating deletion errors. They prove a combinatorial "structure lemma" for strings which classifies them according to their oscillation patterns. We prove and use an algorithmic generalization of this structure lemma, which may be of independent interest.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext e8a7fa8c-acfa-4d6f-b42c-4c22f0fa64ee

引用它的顶会 Paper1

问问它们各自怎么用它

它引用的顶会 Paper7

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖