MGMohsen Ghaffari

Mohsen Ghaffari

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Mohsen Ghaffari has a total of 17 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Local Distributed Rounding: Generalized to MIS, Matching, Set Cover, and Beyond

    by Salwa Faour, Mohsen Ghaffari, Christoph Grunau, Fabian Kuhn, Václav Rozhoň

    We develop a general deterministic distributed method for locally rounding fractional solutions of graph problems for which the analysis can be broken down into analyzing pairs of vertices. Roughly speaking, the method can transform fractional/probabilistic label assignments of the vertices into integral/deterministic label assignments for the vertices, while approximately preserving a potential function that is a linear combination of functions, each of which depends on at most two vertices (subject to some conditions usually satisfied in pairwise analyses). The method unifies and significantly generalizes prior work on deterministic local rounding techniques [Ghaffari, Kuhn FOCS’21; Harris FOCS’19; Fischer, Ghaffari, Kuhn FOCS’17; Fischer DISC’17] to obtain polylogarithmic-time deterministic distributed solutions for combinatorial graph problems. Our general rounding result enables us to locally and efficiently derandomize a range of distributed algorithms for local graph problems, including maximal independent set (MIS), maximum-weight independent set approximation, and minimum-cost set cover approximation. As highlights, we, in particular, obtain the following results. — We obtain a deterministic \(O(\log^{2}\Delta\cdot\log n)\) -round algorithm for computing an MIS in the \(\mathsf{LOCAL}\) model and an almost as efficient \(O(\log^{2}\Delta\cdot\log\log\Delta\cdot\log n)\) -round deterministic MIS algorithm in the \(\mathsf{CONGEST}\) model. As a result, the best known deterministic distributed time complexity of the four most widely studied distributed symmetry breaking problems (MIS, maximal matching, \((\Delta+1)\) -vertex coloring, and \((2\Delta-1)\) -edge coloring) is now \(O(\log^{2}\Delta\cdot\log n)\) . Our new MIS algorithm is also the first direct polylogarithmic-time deterministic distributed MIS algorithm, which is not based on network decomposition. — We obtain efficient deterministic distributed algorithms for rounding fractional solutions for maximum (weighted) independent set and minimum (weighted) set cover. In particular, for any constant \(\varepsilon > 0\) , we give a deterministic \(O(\log^{2}\Delta+\log^{*}n)\) -round algorithm for computing an independent set of size \((1/2-\varepsilon)\,{\cdot}\,n/\deg_{\mathrm{avg}}\) , and we give deterministic \(O(\log^{2}(\Delta W)+\log^{*}n)\) -round algorithms for computing a \((1-\varepsilon)/\Delta\) -approximation of maximum weight independent set, and for computing a \((1-\varepsilon)/r\) -approximation of maximum weight matching in hypergraphs of rank \( r \) . For minimum set cover instances with sets of size at most \( s \) and where each element is contained in at most \( t \) sets, we show that an \(O(\log s)\) -approximation can be computed in time \(O(\log s\cdot\log^{2}t+\log^{*}n)\) .


  • Open Access

    Parallel Dynamic Maximal Matching

    by Mohsen Ghaffari, Anton Trygub

    We present the first (randomized) parallel dynamic algorithm for maximal matching, which can process an arbitrary number of updates simultaneously. Given a batch of edge deletion or insertion updates to the graph, our parallel algorithm adjusts the maximal matching to these updates in poly(łog n) depth and using poly(łog n) amortized work per update. That is, the amortized work for processing a batch of k updates is k poly(łog n), while all this work is done in poly(łog n) depth, with high probability. This can be seen as a parallel counterpart of the sequential dynamic algorithms for constant-approximate and maximal matching [Onak and Rubinfeld STOC'10; Baswana, Gupta, and Sen FOCS'11; and Solomon FOCS'16]. Our algorithm readily generalizes to maximal matching in hypergraphs of rank r---where each hyperedge has at most r endpoints---with a poly(r) increase in work, while retaining the poly(łog n) depth.


  • Open Access

    Fast Broadcast in Highly Connected Networks

    by Shashwat Chandra, Yi-Jun Chang, Michal Dory, Mohsen Ghaffari, Dean Leitersdorf

    We revisit the classic broadcast problem, wherein we have k messages, each composed of O(log n) bits, distributed arbitrarily across a network. The objective is to broadcast these messages to all nodes in the network. In the distributed CONGEST model, a textbook algorithm solves this problem in O(D+k) rounds, where D is the diameter of the graph. While the O(D) term in the round complexity is unavoidable---given that Ω(D) rounds are necessary to solve broadcast in any graph ---it remains unclear whether the O(k) term is needed in all graphs. In cases where the minimum cut size is one, simply transmitting messages from one side of the cut to the other would require Ω(k) rounds. However, if the size of the minimum cut is larger, it may be possible to develop faster algorithms. This motivates the exploration of the broadcast problem in networks with high edge connectivity. In this work, we present a simple randomized distributed algorithm for performing k-message broadcast in O(((n+k)/λ)log n) rounds in any n-node simple graph with edge connectivity λ. When k = Ω(n), our algorithm is universally optimal, up to an O(log n) factor, as its complexity nearly matches an information-theoretic Ω(k/λ) lower bound that applies to all graphs, even when the network topology is known to the algorithm. The setting k = Ω(n) is particularly interesting because several fundamental problems can be reduced to broadcasting Ω(n) messages. Our broadcast algorithm finds several applications in distributed computing, enabling O(1)-approximation for all distances and (1+ε)-approximation for all cut sizes in ~O(n/λ) rounds.


  • Open Access

    A Near-Optimal Low-Energy Deterministic Distributed SSSP with Ramifications on Congestion and APSP

    by Mohsen Ghaffari, Anton Trygub

    We present a low-energy deterministic distributed algorithm that computes exact Single-Source Shortest Paths (SSSP) in near-optimal time: it runs in Õ(n) rounds and each node is awake during only poly(log n) rounds. When a node is not awake, it performs no computations or communications and spends no energy. The general approach we take along the way to this result can be viewed as a novel adaptation of Dijkstra's classic approach to SSSP, which makes it suitable for the distributed setting. Notice that Dijkstra's algorithm itself is not efficient in the distributed setting due to its need for repeatedly computing the minimum-distance unvisited node in the entire network. Our adapted approach has other implications, as we outline next. As a step toward the above end-result, we obtain a simple deterministic algorithm for exact SSSP with near-optimal time and message complexities of Õ(n) and Õ(m), in which each edge communicates only poly(log n) messages. Therefore, one can simultaneously run n instances of it for n sources, using a simple random delay scheduling. That computes All Pairs Shortest Paths (APSP) in the near-optimal time complexity of Õ(n). This algorithm matches the complexity of the recent APSP algorithm of Bernstein and Nanongkai [STOC 2019] using a completely different method (and one that is more modular, in the sense that the SSSPs are solved independently). It also takes a step toward resolving the open problem on a deterministic Õ(n)-time APSP, as the only randomness used now is in the scheduling.


  • Open Access

    Lenzen’s Distributed Routing Generalized: A Full Characterization of Constant-Time Routability

    by Mohsen Ghaffari, Brandon Wang

    A celebrated and widely used result of Lenzen and Wattenhofer [STOC’11, PODC’13] shows a constant-round (deterministic) distributed routing algorithm for the complete-graph network: if each node is the source or destination of at most Θ(n) packets, there is a constant-round deterministic distributed algorithm that routes all packets to their destinations in a constant number of rounds, on the complete-graph network. We study generalizations of this result to arbitrary network graphs and show a necessary and sufficient condition for the network so that it can route any such demand in constant rounds distributedly. One can easily see that just for the existence of a constant-round routing for all such demands, it is necessary that any cut’s size, when normalized by the number of possible edges in that cut, should be lower bounded by a positive constant. That is, for any partition of nodes with exactly k∈ [1, n/2] nodes on one side, the cut should have at least Θ(kn) edges. We call this a graph with a positive minimum normalized cut, or a positive graph for short. We show that this necessary condition is also sufficient. In particular, by tightening the Leighton-Rao multicommodity max-flow min-cut theorem for positive graphs, we show the existence of a constant-round routing in positive graphs (assuming the network graph is known globally). Then, as the main technical contribution of this paper, we also show that there is a (deterministic) distributed algorithm that computes such a constant-round routing in constant rounds in these graphs. This result allows us to vastly relax the conditions of the well-studied congested clique model of distributed computing: Any distributed algorithm for the congested clique model can be run in any positive graph network, without any asymptotic slow-down. Our results are in fact more general and they give a distributed routing bound for any network, as a function of its minimum normalized cut size (and without assuming it is a constant), within a polynomial of the relevant lower bound.