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

Optimization-based Block Coordinate Gradient Coding

Qi Wang, Ying Cui, Chenglin Li, Junni Zou, Hongkai Xiong

Introduction

In large-scale distributed machine learning, a central "master" node distributes computation tasks across multiple "worker" nodes. A persistent challenge in these systems is the presence of stragglers—workers that are significantly slower than others due to network congestion, hardware variability, or background processes. These stragglers often become the bottleneck for the entire training process.

Existing solutions typically employ Gradient Coding (GC) to introduce redundancy. By having multiple workers compute the same part of a gradient, the master can proceed without waiting for the slowest nodes. However, traditional GC schemes often assume a binary "full straggler" model where workers either complete their entire task or nothing at all. In practice, many stragglers are "partial"—they are slow but still complete some portion of their assigned work. Current GC methods use uniform redundancy across all gradient parts, failing to leverage these partial results.

Proposed Coordinate Gradient Coding

This paper introduces a novel Coordinate Gradient Coding (CGC) scheme that shifts from uniform redundancy to a coordinate-specific strategy. Instead of treating the gradient as a single monolithic block, the authors assign varying redundancy levels ($s_l$) to different coordinates of the gradient.

Comparison of traditional Gradient Coding (b, c) vs. the proposed Coordinate Gradient Coding scheme (d) in a master-worker system.

The Block Simplification

Optimizing redundancy for millions of individual model parameters is computationally prohibitive. To address this, the authors prove a critical theoretical property: it is sufficient to use at most $N$ levels of redundancy, where $N$ is the number of workers. This allows the $L$ coordinates to be partitioned into $N$ "blocks," transforming a high-dimensional optimization problem into a tractable partitioning task.

Optimization Framework

The authors formulate a stochastic optimization problem to minimize the expected overall runtime. They provide three solutions:

  1. Optimal Solution: Obtained via a stochastic projected subgradient method.
  2. Approximate Solutions ($x^{(t)}$ and $x^{(f)}$): Two closed-form solutions that are computationally efficient and offer near-optimal performance with provable sub-linear multiplicative gaps from the true minimum.

Performance Evaluation

The framework was evaluated using simulated distributed environments where worker computation times followed shifted-exponential distributions—a standard benchmark for cloud computing research. The proposed CGC schemes were compared against several baselines, including the original Gradient Coding (Tandon et al.) and Hierarchical Coded Computation (Ferdinand et al.).

Expected total runtime comparison between the proposed optimal/approximate solutions and existing baselines across different rate parameters.

Key Results

  • Significant Speedups: In simulations with 50 workers, the proposed schemes achieved a 37% to 44% reduction in expected overall runtime compared to the best existing baselines.
  • Robustness: The method demonstrates superior scaling in unreliable environments, performing particularly well when the "rate parameter" (the likelihood of a worker being slow) is high.
  • Practicality: The closed-form approximate solutions performed almost identically to the computationally expensive optimal solution, making them highly suitable for real-world deployment.

Conclusion and Future Work

By diversifying redundancy across gradient coordinates, Coordinate Gradient Coding effectively harvests results from partial stragglers that traditional methods ignore. While the current model assumes independent and identically distributed (i.i.d.) worker times and sequential computation, future research may extend this to heterogeneous clusters and explore the impact of parallel coordinate computation or communication overhead in bandwidth-constrained environments.

Summary updated

BibTeX
@inproceedings{wang2021optimization,
  author = {Qi Wang and Ying Cui and Chenglin Li and Junni Zou and Hongkai Xiong},
  title = {{Optimization-based Block Coordinate Gradient Coding}},
  booktitle = {GLOBECOM},
  year = {2021},
  url = {https://openreview.net/forum?id=BGMWp0EPfy5},
}
Figure