Universal and Asymptotically Optimal Data and Task Allocation in Distributed Computing
Javad Maheri, K. K. Krishnan Namboodiri, Petros Elia
TL;DR
The paper addresses the joint optimization of communication and computation in a master–worker distributed setting where a function decomposes into $d$-wise subfunctions over a library of $n$ files. It introduces the deterministic Interweaved-Cliques (IC) design, which partitions the $d$-uniform hypergraph of dependencies into $N$ groups to achieve $\pi_{\mathbf{X}} \asymp n / N^{1/d}$ and keep $\delta_{\mathbf{X}}$ bounded (typically $\le 5$) with high probability, for a broad class of decompositions $\mathbf{X}$. The main theoretical contributions include a tight lower bound $\pi_{\mathbf{X}}^{*} \ge \varphi^{1/d} n / N^{1/d}$ and an IC-based achievability showing order-optimal partitioning gain $\propto N^{1/d}$, plus corollaries that extend optimality across multiple decompositions and degrees. Practically, the IC design provides a universal, reshuffle-free data placement that remains valid across many function representations, enabling efficient multi-function computation in distributed systems with parallel communication channels.
Abstract
We study the joint minimization of communication and computation costs in distributed computing, where a master node coordinates $N$ workers to evaluate a function over a library of $n$ files. Assuming that the function is decomposed into an arbitrary subfunction set $\mathbf{X}$, with each subfunction depending on $d$ input files, renders our distributed computing problem into a $d$-uniform hypergraph edge partitioning problem wherein the edge set (subfunction set), defined by $d$-wise dependencies between vertices (files) must be partitioned across $N$ disjoint groups (workers). The aim is to design a file and subfunction allocation, corresponding to a partition of $\mathbf{X}$, that minimizes the communication cost $π_{\mathbf{X}}$, representing the maximum number of distinct files per server, while also minimizing the computation cost $δ_{\mathbf{X}}$ corresponding to a maximal worker subfunction load. For a broad range of parameters, we propose a deterministic allocation solution, the \emph{Interweaved-Cliques (IC) design}, whose information-theoretic-inspired interweaved clique structure simultaneously achieves order-optimal communication and computation costs, for a large class of decompositions $\mathbf{X}$. This optimality is derived from our achievability and converse bounds, which reveal -- under reasonable assumptions on the density of $\mathbf{X}$ -- that the optimal scaling of the communication cost takes the form $n/N^{1/d}$, revealing that our design achieves the order-optimal \textit{partitioning gain} that scales as $N^{1/d}$, while also achieving an order-optimal computation cost. Interestingly, this order optimality is achieved in a deterministic manner, and very importantly, it is achieved blindly from $\mathbf{X}$, therefore enabling multiple desired functions to be computed without reshuffling files.
