29 research outputs found

    Sparse Hopsets in Congested Clique

    Get PDF
    We give the first Congested Clique algorithm that computes a sparse hopset with polylogarithmic hopbound in polylogarithmic time. Given a graph G=(V,E)G=(V,E), a (ÎČ,Ï”)(\beta,\epsilon)-hopset HH with "hopbound" ÎČ\beta, is a set of edges added to GG such that for any pair of nodes uu and vv in GG there is a path with at most ÎČ\beta hops in GâˆȘHG \cup H with length within (1+Ï”)(1+\epsilon) of the shortest path between uu and vv in GG. Our hopsets are significantly sparser than the recent construction of Censor-Hillel et al. [6], that constructs a hopset of size O~(n3/2)\tilde{O}(n^{3/2}), but with a smaller polylogarithmic hopbound. On the other hand, the previously known constructions of sparse hopsets with polylogarithmic hopbound in the Congested Clique model, proposed by Elkin and Neiman [10],[11],[12], all require polynomial rounds. One tool that we use is an efficient algorithm that constructs an ℓ\ell-limited neighborhood cover, that may be of independent interest. Finally, as a side result, we also give a hopset construction in a variant of the low-memory Massively Parallel Computation model, with improved running time over existing algorithms

    Massively Parallel Approximate Distance Sketches

    Get PDF
    Data structures that allow efficient distance estimation (distance oracles, distance sketches, etc.) have been extensively studied, and are particularly well studied in centralized models and classical distributed models such as CONGEST. We initiate their study in newer (and arguably more realistic) models of distributed computation: the Congested Clique model and the Massively Parallel Computation (MPC) model. We provide efficient constructions in both of these models, but our core results are for MPC. In MPC we give two main results: an algorithm that constructs stretch/space optimal distance sketches but takes a (small) polynomial number of rounds, and an algorithm that constructs distance sketches with worse stretch but that only takes polylogarithmic rounds. Along the way, we show that other useful combinatorial structures can also be computed in MPC. In particular, one key component we use to construct distance sketches are an MPC construction of the hopsets of [Elkin and Neiman, 2016]. This result has additional applications such as the first polylogarithmic time algorithm for constant approximate single-source shortest paths for weighted graphs in the low memory MPC setting

    DISTRIBUTED, PARALLEL AND DYNAMIC DISTANCE STRUCTURES

    Get PDF
    Many fundamental computational tasks can be modeled by distances on a graph. This has inspired studying various structures that preserve approximate distances, but trade off this approximation factor with size, running time, or the number of hops on the approximate shortest paths. Our focus is on three important objects involving preservation of graph distances: hopsets, in which our goal is to ensure that small-hop paths also provide approximate shortest paths; distance oracles, in which we build a small data structure that supports efficient distance queries; and spanners, in which we find a sparse subgraph that approximately preserves all distances. We study efficient constructions and applications of these structures in various models of computation that capture different aspects of computational systems. Specifically, we propose new algorithms for constructing hopsets and distance oracles in two modern distributed models: the Massively Parallel Computation (MPC) and the Congested Clique model. These models have received significant attention recently due to their close connection to present-day big data platforms. In a different direction, we consider a centralized dynamic model in which the input changes over time. We propose new dynamic algorithms for constructing hopsets and distance oracles that lead to state-of-the-art approximate single-source, multi-source and all-pairs shortest path algorithms with respect to update-time. Finally, we study the problem of finding optimal spanners in a different distributed model, the LOCAL model. Unlike our other results, for this problem our goal is to find the best solution for a specific input graph rather than giving a general guarantee that holds for all inputs. One contribution of this work is to emphasize the significance of the tools and the techniques used for these distance problems rather than heavily focusing on a specific model. In other words, we show that our techniques are broad enough that they can be extended to different models

    Exploiting Hopsets: Improved Distance Oracles for Graphs of Constant Highway Dimension and Beyond

    Get PDF
    For fixed h >= 2, we consider the task of adding to a graph G a set of weighted shortcut edges on the same vertex set, such that the length of a shortest h-hop path between any pair of vertices in the augmented graph is exactly the same as the original distance between these vertices in G. A set of shortcut edges with this property is called an exact h-hopset and may be applied in processing distance queries on graph G. In particular, a 2-hopset directly corresponds to a distributed distance oracle known as a hub labeling. In this work, we explore centralized distance oracles based on 3-hopsets and display their advantages in several practical scenarios. In particular, for graphs of constant highway dimension, and more generally for graphs of constant skeleton dimension, we show that 3-hopsets require exponentially fewer shortcuts per node than any previously described distance oracle, and also offer a speedup in query time when compared to simple oracles based on a direct application of 2-hopsets. Finally, we consider the problem of computing minimum-size h-hopset (for any h >= 2) for a given graph G, showing a polylogarithmic-factor approximation for the case of unique shortest path graphs. When h=3, for a given bound on the space used by the distance oracle, we provide a construction of hopset achieving polylog approximation both for space and query time compared to the optimal 3-hopset oracle given the space bound

    Almost Shortest Paths with Near-Additive Error in Weighted Graphs

    Get PDF
    Let G=(V,E,w)G=(V,E,w) be a weighted undirected graph with nn vertices and mm edges, and fix a set of ss sources S⊆VS\subseteq V. We study the problem of computing {\em almost shortest paths} (ASP) for all pairs in S×VS \times V in both classical centralized and parallel (PRAM) models of computation. Consider the regime of multiplicative approximation of 1+Ï”1+\epsilon, for an arbitrarily small constant Ï”>0\epsilon > 0 . In this regime existing centralized algorithms require Ω(min⁥{∣E∣s,nω})\Omega(\min\{|E|s,n^\omega\}) time, where ω<2.372\omega < 2.372 is the matrix multiplication exponent. Existing PRAM algorithms with polylogarithmic depth (aka time) require work Ω(min⁥{∣E∣s,nω})\Omega(\min\{|E|s,n^\omega\}). Our centralized algorithm has running time O((m+ns)nρ)O((m+ ns)n^\rho), and its PRAM counterpart has polylogarithmic depth and work O((m+ns)nρ)O((m + ns)n^\rho), for an arbitrarily small constant ρ>0\rho > 0. For a pair (s,v)∈S×V(s,v) \in S\times V, it provides a path of length d^(s,v)\hat{d}(s,v) that satisfies d^(s,v)≀(1+Ï”)dG(s,v)+ÎČ⋅W(s,v)\hat{d}(s,v) \le (1+\epsilon)d_G(s,v) + \beta \cdot W(s,v), where W(s,v)W(s,v) is the weight of the heaviest edge on some shortest s−vs-v path. Hence our additive term depends linearly on a {\em local} maximum edge weight, as opposed to the global maximum edge weight in previous works. Finally, our ÎČ=(1/ρ)O(1/ρ)\beta = (1/\rho)^{O(1/\rho)}. We also extend a centralized algorithm of Dor et al. \cite{DHZ00}. For a parameter Îș=1,2,
\kappa = 1,2,\ldots, this algorithm provides for {\em unweighted} graphs a purely additive approximation of 2(Îș−1)2(\kappa -1) for {\em all pairs shortest paths} (APASP) in time O~(n2+1/Îș)\tilde{O}(n^{2+1/\kappa}). Within the same running time, our algorithm for {\em weighted} graphs provides a purely additive error of 2(Îș−1)W(u,v)2(\kappa - 1) W(u,v), for every vertex pair (u,v)∈(V2)(u,v) \in {V \choose 2}, with W(u,v)W(u,v) defined as above. On the way to these results we devise a suit of novel constructions of spanners, emulators and hopsets

    On Efficient Distributed Construction of Near Optimal Routing Schemes

    Full text link
    Given a distributed network represented by a weighted undirected graph G=(V,E)G=(V,E) on nn vertices, and a parameter kk, we devise a distributed algorithm that computes a routing scheme in (n1/2+1/k+D)⋅no(1)(n^{1/2+1/k}+D)\cdot n^{o(1)} rounds, where DD is the hop-diameter of the network. The running time matches the lower bound of Ω~(n1/2+D)\tilde{\Omega}(n^{1/2}+D) rounds (which holds for any scheme with polynomial stretch), up to lower order terms. The routing tables are of size O~(n1/k)\tilde{O}(n^{1/k}), the labels are of size O(klog⁥2n)O(k\log^2n), and every packet is routed on a path suffering stretch at most 4k−5+o(1)4k-5+o(1). Our construction nearly matches the state-of-the-art for routing schemes built in a centralized sequential manner. The previous best algorithms for building routing tables in a distributed small messages model were by \cite[STOC 2013]{LP13} and \cite[PODC 2015]{LP15}. The former has similar properties but suffers from substantially larger routing tables of size O(n1/2+1/k)O(n^{1/2+1/k}), while the latter has sub-optimal running time of O~(min⁥{(nD)1/2⋅n1/k,n2/3+2/(3k)+D})\tilde{O}(\min\{(nD)^{1/2}\cdot n^{1/k},n^{2/3+2/(3k)}+D\})
    corecore