最长公共子序列的线性时间n0.4逼近

IF 0.9 3区 计算机科学 Q3 COMPUTER SCIENCE, THEORY & METHODS ACM Transactions on Algorithms Pub Date : 2023-02-20 DOI:https://dl.acm.org/doi/10.1145/3568398
Karl Bringmann, Vincent Cohen-Addad, Debarati Das
{"title":"最长公共子序列的线性时间n0.4逼近","authors":"Karl Bringmann, Vincent Cohen-Addad, Debarati Das","doi":"https://dl.acm.org/doi/10.1145/3568398","DOIUrl":null,"url":null,"abstract":"<p>We consider the classic problem of computing the <b>Longest Common Subsequence (LCS)</b> of two strings of length <i>n</i>. The 40-year-old quadratic-time dynamic programming algorithm has recently been shown to be near-optimal by Abboud, Backurs, and Vassilevska Williams [FOCS’15] and Bringmann and Künnemann [FOCS’15] assuming the Strong Exponential Time Hypothesis. This has led the community to look for subquadratic <i>approximation</i> algorithms for the problem.</p><p>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, only a naive <i>O</i>(<i>n</i><sup>ɛ</sup>/2-approximation algorithm with running time <i>OŠ</i>(<i>n<sup>2-ɛ</sup></i> has been known, for any constant 0 &lt; ɛ ≤ 1. Recently, a breakthrough result by Hajiaghayi, Seddighin, Seddighin, and Sun [SODA’19] provided a linear-time algorithm that yields a <i>O</i>(<i>n</i><sup>0.497956</sup>-approximation in expectation; improving upon the naive \\(O(\\sqrt {n})\\)-approximation for the first time.</p><p>In this paper, we provide an algorithm that in time <i>O</i>(<i>n</i><sub>2-ɛ</sub>) computes an <i>OŠ</i>(<i>n<sup>2ɛ/5</sup></i>-approximation with high probability, for any 0 &lt; ɛ ≤ 1. Our result (1) gives an <i>OŠ</i>(<i>n</i><sup>0.4</sup>-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 <i>O</i>(<i>n</i><sup>2-ɛ</sup>), improving upon the naive bound of <i>O</i>(<i>n</i><sup>ɛ/2</sup>) for any ɛ, and (3) instead of only in expectation, succeeds with high probability.</p>","PeriodicalId":50922,"journal":{"name":"ACM Transactions on Algorithms","volume":"46 1","pages":""},"PeriodicalIF":0.9000,"publicationDate":"2023-02-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Linear-Time n0.4-Approximation for Longest Common Subsequence\",\"authors\":\"Karl Bringmann, Vincent Cohen-Addad, Debarati Das\",\"doi\":\"https://dl.acm.org/doi/10.1145/3568398\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>We consider the classic problem of computing the <b>Longest Common Subsequence (LCS)</b> of two strings of length <i>n</i>. The 40-year-old quadratic-time dynamic programming algorithm has recently been shown to be near-optimal by Abboud, Backurs, and Vassilevska Williams [FOCS’15] and Bringmann and Künnemann [FOCS’15] assuming the Strong Exponential Time Hypothesis. This has led the community to look for subquadratic <i>approximation</i> algorithms for the problem.</p><p>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, only a naive <i>O</i>(<i>n</i><sup>ɛ</sup>/2-approximation algorithm with running time <i>OŠ</i>(<i>n<sup>2-ɛ</sup></i> has been known, for any constant 0 &lt; ɛ ≤ 1. Recently, a breakthrough result by Hajiaghayi, Seddighin, Seddighin, and Sun [SODA’19] provided a linear-time algorithm that yields a <i>O</i>(<i>n</i><sup>0.497956</sup>-approximation in expectation; improving upon the naive \\\\(O(\\\\sqrt {n})\\\\)-approximation for the first time.</p><p>In this paper, we provide an algorithm that in time <i>O</i>(<i>n</i><sub>2-ɛ</sub>) computes an <i>OŠ</i>(<i>n<sup>2ɛ/5</sup></i>-approximation with high probability, for any 0 &lt; ɛ ≤ 1. Our result (1) gives an <i>OŠ</i>(<i>n</i><sup>0.4</sup>-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 <i>O</i>(<i>n</i><sup>2-ɛ</sup>), improving upon the naive bound of <i>O</i>(<i>n</i><sup>ɛ/2</sup>) for any ɛ, and (3) instead of only in expectation, succeeds with high probability.</p>\",\"PeriodicalId\":50922,\"journal\":{\"name\":\"ACM Transactions on Algorithms\",\"volume\":\"46 1\",\"pages\":\"\"},\"PeriodicalIF\":0.9000,\"publicationDate\":\"2023-02-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"ACM Transactions on Algorithms\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/https://dl.acm.org/doi/10.1145/3568398\",\"RegionNum\":3,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM Transactions on Algorithms","FirstCategoryId":"94","ListUrlMain":"https://doi.org/https://dl.acm.org/doi/10.1145/3568398","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

摘要

我们考虑计算两个长度为n的字符串的最长公共子序列(LCS)的经典问题。Abboud, Backurs, and Vassilevska Williams [FOCS ' 15]和Bringmann and k nnemann [FOCS ' 15]最近证明了40年前的二次时间动态规划算法在强指数时间假设下是接近最优的。这使得社区开始寻找针对该问题的次二次逼近算法。然而,与编辑距离问题不同的是,在几乎线性时间内已知的常因子近似值,LCS几乎没有取得进展,这使得它在近似值领域也是一个众所周知的难题。对于一般设置,对于任意常数0 &lt,只有已知的运行时间为OŠ(n2- æ)的朴素O(n æ /2)近似算法;(1)最近,Hajiaghayi, Seddighin, Seddighin和Sun [SODA ' 19]的突破性成果提供了一种线性时间算法,该算法在期望上产生O(n0.497956)近似值;第一次改进了朴素的\(O(\sqrt {n})\) -近似。在本文中,我们提供了一种算法,该算法在时间O(n2- æ)内对任意0 &lt,以高概率计算出OŠ(n2 æ /5)近似;(1)我们的结果(1)给出了线性时间内的OŠ(n0.4)近似,改进了Hajiaghayi, Seddighin, Seddighin和Sun的界;(2)提供了一个算法,其近似尺度为任意次二次运行时间O(n2- æ),改进了任意æ的O(n æ /2)的naive界;(3)而不是仅在期望中,以高概率成功。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
A Linear-Time n0.4-Approximation for Longest Common Subsequence

We consider the classic problem of computing the Longest Common Subsequence (LCS) of two strings of length n. The 40-year-old quadratic-time dynamic programming algorithm has recently been shown to be near-optimal by Abboud, Backurs, and Vassilevska Williams [FOCS’15] and Bringmann and Künnemann [FOCS’15] assuming the Strong Exponential Time Hypothesis. This 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, 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(\sqrt {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.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
ACM Transactions on Algorithms
ACM Transactions on Algorithms COMPUTER SCIENCE, THEORY & METHODS-MATHEMATICS, APPLIED
CiteScore
3.30
自引率
0.00%
发文量
50
审稿时长
6-12 weeks
期刊介绍: ACM Transactions on Algorithms welcomes submissions of original research of the highest quality dealing with algorithms that are inherently discrete and finite, and having mathematical content in a natural way, either in the objective or in the analysis. Most welcome are new algorithms and data structures, new and improved analyses, and complexity results. Specific areas of computation covered by the journal include combinatorial searches and objects; counting; discrete optimization and approximation; randomization and quantum computation; parallel and distributed computation; algorithms for graphs, geometry, arithmetic, number theory, strings; on-line analysis; cryptography; coding; data compression; learning algorithms; methods of algorithmic analysis; discrete algorithms for application areas such as biology, economics, game theory, communication, computer systems and architecture, hardware design, scientific computing
期刊最新文献
Deterministic Replacement Path Covering On the complexity of symmetric vs. functional PCSPs Scattering and Sparse Partitions, and their Applications Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and \(k\) -mismatch Matching On Computing the \(k\) -Shortcut Fréchet Distance
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1