{"title":"Parallel Metric Tree Embedding Based on an Algebraic View on Moore-Bellman-Ford","authors":"Stephan Friedrichs, C. Lenzen","doi":"10.1145/3231591","DOIUrl":null,"url":null,"abstract":"A metric tree embedding of expected stretch α ≥ 1 maps a weighted n-node graph G = (V, E, ω) to a weighted tree T = (VT, ET , ωT) with V ⊑ VT such that, for all v,w ∈ V, dist(v, w, G) ≤ dist(v, w, T), and E[dist(v, w, T)] ≤ α dist(v, w, G). Such embeddings are highly useful for designing fast approximation algorithms as many hard problems are easy to solve on tree instances. However, to date, the best parallel polylog n)-depth algorithm that achieves an asymptotically optimal expected stretch of α ∈ O(log n) requires Ω (n2) work and a metric as input. In this article, we show how to achieve the same guarantees using polylog n depth and Õ(m1+ϵ) work, where m = |E| and ϵ > 0 is an arbitrarily small constant. Moreover, one may further reduce the work to Õ(m + n1+ε) at the expense of increasing the expected stretch to O(ε−1 log n). Our main tool in deriving these parallel algorithms is an algebraic characterization of a generalization of the classic Moore-Bellman-Ford algorithm. We consider this framework, which subsumes a variety of previous “Moore-Bellman-Ford-like” algorithms, to be of independent interest and discuss it in depth. In our tree embedding algorithm, we leverage it to provide efficient query access to an approximate metric that allows sampling the tree using polylog n depth and Õ(m) work. We illustrate the generality and versatility of our techniques by various examples and a number of additional results. Specifically, we (1) improve the state of the art for determining metric tree embeddings in the Congest model, (2) determine a (1 + εˆ)-approximate metric regarding the distances in a graph G in polylogarithmic depth and Õ(n(m+n1 + ε )) work, and (3) improve upon the state of the art regarding the k-median and the buy-at-bulk network design problems.","PeriodicalId":17199,"journal":{"name":"Journal of the ACM (JACM)","volume":"53 1","pages":"1 - 55"},"PeriodicalIF":0.0000,"publicationDate":"2018-11-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of the ACM (JACM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3231591","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7
Abstract
A metric tree embedding of expected stretch α ≥ 1 maps a weighted n-node graph G = (V, E, ω) to a weighted tree T = (VT, ET , ωT) with V ⊑ VT such that, for all v,w ∈ V, dist(v, w, G) ≤ dist(v, w, T), and E[dist(v, w, T)] ≤ α dist(v, w, G). Such embeddings are highly useful for designing fast approximation algorithms as many hard problems are easy to solve on tree instances. However, to date, the best parallel polylog n)-depth algorithm that achieves an asymptotically optimal expected stretch of α ∈ O(log n) requires Ω (n2) work and a metric as input. In this article, we show how to achieve the same guarantees using polylog n depth and Õ(m1+ϵ) work, where m = |E| and ϵ > 0 is an arbitrarily small constant. Moreover, one may further reduce the work to Õ(m + n1+ε) at the expense of increasing the expected stretch to O(ε−1 log n). Our main tool in deriving these parallel algorithms is an algebraic characterization of a generalization of the classic Moore-Bellman-Ford algorithm. We consider this framework, which subsumes a variety of previous “Moore-Bellman-Ford-like” algorithms, to be of independent interest and discuss it in depth. In our tree embedding algorithm, we leverage it to provide efficient query access to an approximate metric that allows sampling the tree using polylog n depth and Õ(m) work. We illustrate the generality and versatility of our techniques by various examples and a number of additional results. Specifically, we (1) improve the state of the art for determining metric tree embeddings in the Congest model, (2) determine a (1 + εˆ)-approximate metric regarding the distances in a graph G in polylogarithmic depth and Õ(n(m+n1 + ε )) work, and (3) improve upon the state of the art regarding the k-median and the buy-at-bulk network design problems.