NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On Heterogeneous Coded Distributed Computing

Mehrdad Kiamari, Chenwei Wang, Amir Salman Avestimehr

Abstract

Coded Distributed Computing (CDC) has emerged as a powerful technique to mitigate the "Shuffle Phase" bottleneck in large-scale distributed frameworks like MapReduce. However, existing CDC research primarily assumes homogeneous systems. This paper generalizes the CDC framework to heterogeneous clusters where nodes possess varying storage and processing capabilities. We characterize the information-theoretically optimal communication load for a 3-node system and propose a scalable linear programming-based algorithm to minimize data shuffling bottlenecks in larger, diverse networks.

Introduction

In modern distributed computing environments, such as MapReduce or Spark, the "Shuffle Phase"—the stage where intermediate data is moved between nodes—often constitutes the primary performance bottleneck, accounting for 33% to 70% of total execution time. Coded Distributed Computing (CDC) addresses this by utilizing redundant computations to create "side information" at nodes. This side information enables nodes to broadcast XOR-compressed messages that satisfy multiple peers simultaneously, significantly reducing communication costs.

While prior CDC research focused on homogeneous systems with identical nodes, real-world cloud environments like Amazon EC2 are inherently heterogeneous, featuring a mix of instances with different RAM, CPU, and storage capacities. This work tackles the challenge of optimal file allocation and coding scheme design when computing nodes are not created equal.

System Model and Methodology

The authors model the system as a Map-Shuffle-Reduce framework consisting of $K$ nodes and $N$ files. Each node $k$ is characterized by a specific storage capacity $M_k$.

The Map-Shuffle-Reduce framework illustrating Map functions ($g$) and Reduce functions ($h$).

The methodology involves several key components:

  • Optimal Characterization for $K=3$: The authors identify seven distinct "regimes" based on the relative storage capacities of a 3-node system. They provide a closed-form expression for the minimum communication load ($\mathcal{L}^*$) and prove its optimality using novel "genie-aided" cut-set bounds.
  • File Allocation Subsets: Files are partitioned into $2^K - 1$ subsets based on their storage location across nodes. For $K=3$, this results in 7 subsets (e.g., files stored only at node 1, files stored at nodes 1 and 2, etc.).
  • Linear Programming (LP) for Scaling: To handle the exponential growth of coding opportunities in larger networks ($K > 3$), the authors formulate file allocation and shuffling as a linear optimization problem. This allows for finding high-performance strategies by treating file placement as a set of undetermined variables.
  • XOR-based Shuffling: The core technique employs XOR operations to combine intermediate values, ensuring each node can cancel out "interference" using its local data.

Key Insights

A central finding is that non-symmetric file allocation is essential in heterogeneous systems to reach the theoretical minimum communication load, breaking the "cyclically symmetric" patterns typical of homogeneous systems. A "Storage Triangle Inequality" was identified for the 3-node case, where the optimal strategy shifts if one node's storage significantly exceeds the combined capacity of others. Furthermore, the authors suggest decomposing large systems into parallel "subsystems" to manage complexity, reinforcing that redundant computation is a valuable investment for reducing expensive network communication.

Results and Performance

The performance of the proposed schemes was evaluated using synthetic parameters, varying the number of nodes ($K$), total files ($N$), and storage distribution ($M_k$). The authors provide the first complete information-theoretic characterization of the communication-storage tradeoff for a 3-node heterogeneous cluster.

An example of XOR-based shuffling in a 3-node heterogeneous cluster, showing how nodes broadcast compressed data to satisfy mutual needs.

In a specific test case with storage constraints $(M_1=6, M_2=7, M_3=7, N=12)$, the optimal scheme achieved a communication load of 12—a 25% reduction compared to uncoded distributed computing. This performance significantly outperforms standard coded schemes that do not account for optimized, heterogeneous file placement. The translation of this combinatorial problem into a standard Linear Programming framework provides a practical roadmap for optimizing real-world heterogeneous clusters.

Limitations and Future Work

Despite its successes, the LP approach faces computational challenges as the number of variables grows exponentially ($2^K$), making it difficult for very large clusters (e.g., $K=100$). Additionally, while this work minimizes total communication load, it does not yet account for "stragglers"—nodes that are slower than others. Future research aims to develop a unified framework addressing both bandwidth optimization and straggler mitigation, as well as exploring coding opportunities across different subsystems in large networks.

Summary updated

BibTeX
@inproceedings{kiamari2017heterogeneous,
  author = {Mehrdad Kiamari and Chenwei Wang and Amir Salman Avestimehr},
  title = {{On Heterogeneous Coded Distributed Computing}},
  booktitle = {GLOBECOM},
  year = {2017},
  doi = {10.1109/glocom.2017.8254164},
}
Figure