全对有界边缘连接的高效算法

IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING
Shyan Akmal, Ce Jin
{"title":"全对有界边缘连接的高效算法","authors":"Shyan Akmal,&nbsp;Ce Jin","doi":"10.1007/s00453-023-01203-2","DOIUrl":null,"url":null,"abstract":"<div><p>Our work concerns algorithms for a variant of <span>Maximum Flow</span> in unweighted graphs. In the <span>All-Pairs Connectivity (APC)</span> problem, we are given a graph <i>G</i> on <i>n</i> vertices and <i>m</i> edges, and are tasked with computing the maximum number of edge-disjoint paths from <i>s</i> to <i>t</i> (equivalently, the size of a minimum (<i>s</i>, <i>t</i>)-cut) in <i>G</i>, for all pairs of vertices (<i>s</i>, <i>t</i>). Significant algorithmic breakthroughs have recently shown that over undirected graphs, <span>APC</span> can be solved in <span>\\(n^{2+o(1)}\\)</span> time, which is essentially optimal. In contrast, the true time complexity of <span>APC</span> over directed graphs remains open: this problem can be solved in <span>\\({\\tilde{O}}(m^\\omega )\\)</span> time, where <span>\\(\\omega \\in [2, 2.373)\\)</span> is the exponent of matrix multiplication, but no matching conditional lower bound is known. Following [Abboud et al. In: 46th International colloquium on automata, languages, and programming, ICALP 2019, July 9-12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019], we study a bounded version of <span>\\({{\\textsf {APC}}}\\)</span> called the <i>k</i>-<span>Bounded All Pairs Connectivity</span> (<i>k</i>-<span>APC)</span> problem. In this variant of <span>APC</span>, we are given an integer <i>k</i> in addition to the graph <i>G</i>, and are now tasked with reporting the size of a minimum (<i>s</i>, <i>t</i>)-cut only for pairs (<i>s</i>, <i>t</i>) of vertices with min-cut value less than <i>k</i> (if the minimum (<i>s</i>, <i>t</i>)-cut has size at least <i>k</i>, we can just report it is “large” instead of computing the exact value). Our main result is an <span>\\({\\tilde{O}}((kn)^\\omega )\\)</span> time algorithm solving <i>k</i>-<span>APC</span> in directed graphs. This is the first algorithm which solves <i>k</i>-<span>APC</span> faster than simply solving the more general <span>APC</span> problem exactly, for all <span>\\(k\\ge 3\\)</span>. This runtime is <span>\\({{\\tilde{O}}}(n^\\omega )\\)</span> for all <span>\\(k\\le {{\\,\\textrm{poly}\\,}}(\\log n)\\)</span>, which essentially matches the optimal runtime for the <span>\\(k=1\\)</span> case of <i>k</i>-<span>APC</span>, under popular conjectures from fine-grained complexity. Previously, this runtime was only achieved for <span>\\(k\\le 2\\)</span> in general directed graphs [Georgiadis et al. In: 44th international colloquium on automata, languages, and programming (ICALP 2017), volume 80 of Leibniz International Proceedings in Informatics (LIPIcs), Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2017], and for <span>\\(k\\le o(\\sqrt{\\log n})\\)</span> in the special case of directed acyclic graphs [Abboud et al. In: 46th international colloquium on automata, languages, and programming, ICALP 2019, July 9–12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019]. Our result employs the same algebraic framework used in previous work, introduced by [Cheung et al. In: FOCS, 2011]. A direct implementation of this framework involves inverting a large random matrix. Our new algorithm is based off the insight that for solving <i>k</i>-<span>APC</span>, it suffices to invert a low-rank random matrix instead of a generic random matrix. We also obtain a new algorithm for a variant of <i>k</i>-<span>APC</span>, the <i>k</i>-<span>Bounded All-Pairs Vertex Connectivity</span> (<i>k</i>-<span>APVC</span>) problem, where we are now tasked with reporting, for every pair of vertices (<i>s</i>, <i>t</i>), the maximum number of internally vertex-disjoint (rather than edge-disjoint) paths from <i>s</i> to <i>t</i> if this number is less than <i>k</i>, and otherwise reporting that there are at least <i>k</i> internally vertex-disjoint paths from <i>s</i> to <i>t</i>. Our second result is an <span>\\({\\tilde{O}}(k^2n^\\omega )\\)</span> time algorithm solving <i>k</i>-<span>APVC</span> in directed graphs. Previous work showed how to solve an easier version of the <i>k</i>-<span>APVC</span> problem (where answers only need to be returned for pairs of vertices (<i>s</i>, <i>t</i>) which are not edges in the graph) in <span>\\({{\\tilde{O}}}((kn)^\\omega )\\)</span> time [Abboud et al. In: 46th International colloquium on automata, languages, and programming, ICALP 2019, July 9–12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019]. In comparison, our algorithm solves the full <i>k</i>-<span>APVC</span> problem, and is faster if <span>\\(\\omega &gt; 2\\)</span>.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 5","pages":"1623 - 1656"},"PeriodicalIF":0.9000,"publicationDate":"2024-01-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s00453-023-01203-2.pdf","citationCount":"0","resultStr":"{\"title\":\"An Efficient Algorithm for All-Pairs Bounded Edge Connectivity\",\"authors\":\"Shyan Akmal,&nbsp;Ce Jin\",\"doi\":\"10.1007/s00453-023-01203-2\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Our work concerns algorithms for a variant of <span>Maximum Flow</span> in unweighted graphs. In the <span>All-Pairs Connectivity (APC)</span> problem, we are given a graph <i>G</i> on <i>n</i> vertices and <i>m</i> edges, and are tasked with computing the maximum number of edge-disjoint paths from <i>s</i> to <i>t</i> (equivalently, the size of a minimum (<i>s</i>, <i>t</i>)-cut) in <i>G</i>, for all pairs of vertices (<i>s</i>, <i>t</i>). Significant algorithmic breakthroughs have recently shown that over undirected graphs, <span>APC</span> can be solved in <span>\\\\(n^{2+o(1)}\\\\)</span> time, which is essentially optimal. In contrast, the true time complexity of <span>APC</span> over directed graphs remains open: this problem can be solved in <span>\\\\({\\\\tilde{O}}(m^\\\\omega )\\\\)</span> time, where <span>\\\\(\\\\omega \\\\in [2, 2.373)\\\\)</span> is the exponent of matrix multiplication, but no matching conditional lower bound is known. Following [Abboud et al. In: 46th International colloquium on automata, languages, and programming, ICALP 2019, July 9-12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019], we study a bounded version of <span>\\\\({{\\\\textsf {APC}}}\\\\)</span> called the <i>k</i>-<span>Bounded All Pairs Connectivity</span> (<i>k</i>-<span>APC)</span> problem. In this variant of <span>APC</span>, we are given an integer <i>k</i> in addition to the graph <i>G</i>, and are now tasked with reporting the size of a minimum (<i>s</i>, <i>t</i>)-cut only for pairs (<i>s</i>, <i>t</i>) of vertices with min-cut value less than <i>k</i> (if the minimum (<i>s</i>, <i>t</i>)-cut has size at least <i>k</i>, we can just report it is “large” instead of computing the exact value). Our main result is an <span>\\\\({\\\\tilde{O}}((kn)^\\\\omega )\\\\)</span> time algorithm solving <i>k</i>-<span>APC</span> in directed graphs. This is the first algorithm which solves <i>k</i>-<span>APC</span> faster than simply solving the more general <span>APC</span> problem exactly, for all <span>\\\\(k\\\\ge 3\\\\)</span>. This runtime is <span>\\\\({{\\\\tilde{O}}}(n^\\\\omega )\\\\)</span> for all <span>\\\\(k\\\\le {{\\\\,\\\\textrm{poly}\\\\,}}(\\\\log n)\\\\)</span>, which essentially matches the optimal runtime for the <span>\\\\(k=1\\\\)</span> case of <i>k</i>-<span>APC</span>, under popular conjectures from fine-grained complexity. Previously, this runtime was only achieved for <span>\\\\(k\\\\le 2\\\\)</span> in general directed graphs [Georgiadis et al. In: 44th international colloquium on automata, languages, and programming (ICALP 2017), volume 80 of Leibniz International Proceedings in Informatics (LIPIcs), Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2017], and for <span>\\\\(k\\\\le o(\\\\sqrt{\\\\log n})\\\\)</span> in the special case of directed acyclic graphs [Abboud et al. In: 46th international colloquium on automata, languages, and programming, ICALP 2019, July 9–12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019]. Our result employs the same algebraic framework used in previous work, introduced by [Cheung et al. In: FOCS, 2011]. A direct implementation of this framework involves inverting a large random matrix. Our new algorithm is based off the insight that for solving <i>k</i>-<span>APC</span>, it suffices to invert a low-rank random matrix instead of a generic random matrix. We also obtain a new algorithm for a variant of <i>k</i>-<span>APC</span>, the <i>k</i>-<span>Bounded All-Pairs Vertex Connectivity</span> (<i>k</i>-<span>APVC</span>) problem, where we are now tasked with reporting, for every pair of vertices (<i>s</i>, <i>t</i>), the maximum number of internally vertex-disjoint (rather than edge-disjoint) paths from <i>s</i> to <i>t</i> if this number is less than <i>k</i>, and otherwise reporting that there are at least <i>k</i> internally vertex-disjoint paths from <i>s</i> to <i>t</i>. Our second result is an <span>\\\\({\\\\tilde{O}}(k^2n^\\\\omega )\\\\)</span> time algorithm solving <i>k</i>-<span>APVC</span> in directed graphs. Previous work showed how to solve an easier version of the <i>k</i>-<span>APVC</span> problem (where answers only need to be returned for pairs of vertices (<i>s</i>, <i>t</i>) which are not edges in the graph) in <span>\\\\({{\\\\tilde{O}}}((kn)^\\\\omega )\\\\)</span> time [Abboud et al. In: 46th International colloquium on automata, languages, and programming, ICALP 2019, July 9–12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019]. In comparison, our algorithm solves the full <i>k</i>-<span>APVC</span> problem, and is faster if <span>\\\\(\\\\omega &gt; 2\\\\)</span>.</p></div>\",\"PeriodicalId\":50824,\"journal\":{\"name\":\"Algorithmica\",\"volume\":\"86 5\",\"pages\":\"1623 - 1656\"},\"PeriodicalIF\":0.9000,\"publicationDate\":\"2024-01-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://link.springer.com/content/pdf/10.1007/s00453-023-01203-2.pdf\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Algorithmica\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://link.springer.com/article/10.1007/s00453-023-01203-2\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"COMPUTER SCIENCE, SOFTWARE ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Algorithmica","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s00453-023-01203-2","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

摘要

我们的研究涉及无权重图中最大流量(Maximum Flow)变体的算法。在全对连接(APC)问题中,我们给定了一个有 n 个顶点和 m 条边的图 G,任务是计算 G 中所有顶点对(s, t)从 s 到 t 的最大边交叉路径数(等价于最小(s, t)切口的大小)。最近的重大算法突破表明,在无向图上,APC 可以在 \(n^{2+o(1)}\) 时间内求解,这基本上是最优的。相比之下,有向图上 APC 的真正时间复杂度仍是未知数:这个问题可以在 \({\tilde{O}}(m^\omega )\) 时间内解决,其中 \(\omega \in [2, 2.373)\)是矩阵乘法的指数,但目前还不知道匹配的条件下限。继 [Abboud et al. In: 46th International colloquium on automata, languages, and programming, ICALP 2019, July 9-12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019] 之后,我们研究了 \({{text\sf {APC}}) 的有界版本,称为 k-Bounded All Pairs Connectivity (k-APC) 问题。在 APC 的这一变体中,除了图 G 之外,我们还得到了一个整数 k,现在的任务是只报告最小切割值小于 k 的顶点对 (s, t) 的最小 (s, t) 切割的大小(如果最小 (s, t) 切割的大小至少为 k,我们可以只报告它 "很大",而不用计算精确值)。我们的主要成果是一种解决有向图中 k-APC 的({\tilde{O}}((kn)^\omega )\)时间算法。这是第一种算法,对于所有(k\ge 3\ ),它解决 k-APC 的速度比精确解决更一般的 APC 问题更快。对于所有 kle {{\,\textrm{poly}\,}}(\log n)\),这个运行时间是 \({{\tilde{O}}}(n^\omega )\),这基本上与k-APC的\(k=1\)情况下的最优运行时间相匹配,符合细粒度复杂性的流行猜想。在此之前,只有在一般有向图中的\(k\le 2\) 情况下才能达到这个运行时间[Georgiadis et al.In: 44th international colloquium on automata, languages, and programming (ICALP 2017), volume 80 of Leibniz International Proceedings in Informatics (LIPIcs), Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2017], and for \(k\le o(\sqrt{/log n})\) in the special case of directed acyclic graphs [Abboud et al.In: 46th international colloquium on automata, languages, and programming, ICALP 2019, July 9-12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019]。我们的结果采用了之前工作中使用的代数框架,该框架由 [Cheung et al. In: FOCS, 2011] 引入。这一框架的直接实现涉及到一个大型随机矩阵的反演。我们的新算法基于这样的见解,即要解决 k-APC 问题,只需反演一个低阶随机矩阵,而不是一般的随机矩阵。我们还获得了 k-APC 的一个变体--k-Bounded All-Pairs Vertex Connectivity(k-APVC)问题的新算法,现在我们的任务是为每一对顶点(s, t)报告从 s 到 t 的内部顶点相交(而非边缘相交)路径的最大数目,如果这个数目小于 k,则报告从 s 到 t 至少有 k 条内部顶点相交路径。我们的第二个成果是一种解决有向图中 k-APVC 的({\tilde{O}}(k^2n^\omega )\)时间算法。之前的工作展示了如何在 \({\{tilde{O}}((kn)^\omega )\) time 内解决一个更简单版本的 k-APVC 问题(其中只需要为图中不是边的顶点对(s, t)返回答案)[Abboud 等人,In: 46th International colloquium on automata, languages, and programming, ICALP 2019, July 9-12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019]。相比之下,我们的算法可以解决完整的 k-APVC 问题,并且在 \(\omega > 2\) 的情况下速度更快。
本文章由计算机程序翻译,如有差异,请以英文原文为准。

An Efficient Algorithm for All-Pairs Bounded Edge Connectivity

An Efficient Algorithm for All-Pairs Bounded Edge Connectivity

Our work concerns algorithms for a variant of Maximum Flow in unweighted graphs. In the All-Pairs Connectivity (APC) problem, we are given a graph G on n vertices and m edges, and are tasked with computing the maximum number of edge-disjoint paths from s to t (equivalently, the size of a minimum (st)-cut) in G, for all pairs of vertices (st). Significant algorithmic breakthroughs have recently shown that over undirected graphs, APC can be solved in \(n^{2+o(1)}\) time, which is essentially optimal. In contrast, the true time complexity of APC over directed graphs remains open: this problem can be solved in \({\tilde{O}}(m^\omega )\) time, where \(\omega \in [2, 2.373)\) is the exponent of matrix multiplication, but no matching conditional lower bound is known. Following [Abboud et al. In: 46th International colloquium on automata, languages, and programming, ICALP 2019, July 9-12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019], we study a bounded version of \({{\textsf {APC}}}\) called the k-Bounded All Pairs Connectivity (k-APC) problem. In this variant of APC, we are given an integer k in addition to the graph G, and are now tasked with reporting the size of a minimum (st)-cut only for pairs (st) of vertices with min-cut value less than k (if the minimum (st)-cut has size at least k, we can just report it is “large” instead of computing the exact value). Our main result is an \({\tilde{O}}((kn)^\omega )\) time algorithm solving k-APC in directed graphs. This is the first algorithm which solves k-APC faster than simply solving the more general APC problem exactly, for all \(k\ge 3\). This runtime is \({{\tilde{O}}}(n^\omega )\) for all \(k\le {{\,\textrm{poly}\,}}(\log n)\), which essentially matches the optimal runtime for the \(k=1\) case of k-APC, under popular conjectures from fine-grained complexity. Previously, this runtime was only achieved for \(k\le 2\) in general directed graphs [Georgiadis et al. In: 44th international colloquium on automata, languages, and programming (ICALP 2017), volume 80 of Leibniz International Proceedings in Informatics (LIPIcs), Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2017], and for \(k\le o(\sqrt{\log n})\) in the special case of directed acyclic graphs [Abboud et al. In: 46th international colloquium on automata, languages, and programming, ICALP 2019, July 9–12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019]. Our result employs the same algebraic framework used in previous work, introduced by [Cheung et al. In: FOCS, 2011]. A direct implementation of this framework involves inverting a large random matrix. Our new algorithm is based off the insight that for solving k-APC, it suffices to invert a low-rank random matrix instead of a generic random matrix. We also obtain a new algorithm for a variant of k-APC, the k-Bounded All-Pairs Vertex Connectivity (k-APVC) problem, where we are now tasked with reporting, for every pair of vertices (st), the maximum number of internally vertex-disjoint (rather than edge-disjoint) paths from s to t if this number is less than k, and otherwise reporting that there are at least k internally vertex-disjoint paths from s to t. Our second result is an \({\tilde{O}}(k^2n^\omega )\) time algorithm solving k-APVC in directed graphs. Previous work showed how to solve an easier version of the k-APVC problem (where answers only need to be returned for pairs of vertices (st) which are not edges in the graph) in \({{\tilde{O}}}((kn)^\omega )\) time [Abboud et al. In: 46th International colloquium on automata, languages, and programming, ICALP 2019, July 9–12, 2019, Patras, Greece, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2019]. In comparison, our algorithm solves the full k-APVC problem, and is faster if \(\omega > 2\).

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Algorithmica
Algorithmica 工程技术-计算机:软件工程
CiteScore
2.80
自引率
9.10%
发文量
158
审稿时长
12 months
期刊介绍: Algorithmica is an international journal which publishes theoretical papers on algorithms that address problems arising in practical areas, and experimental papers of general appeal for practical importance or techniques. The development of algorithms is an integral part of computer science. The increasing complexity and scope of computer applications makes the design of efficient algorithms essential. Algorithmica covers algorithms in applied areas such as: VLSI, distributed computing, parallel processing, automated design, robotics, graphics, data base design, software tools, as well as algorithms in fundamental areas such as sorting, searching, data structures, computational geometry, and linear programming. In addition, the journal features two special sections: Application Experience, presenting findings obtained from applications of theoretical results to practical situations, and Problems, offering short papers presenting problems on selected topics of computer science.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信