Improved Bounds for Distributed Load Balancing

Sepehr Assadi, Aaron Bernstein, Zachary Langley

Abstract

This paper introduces the first distributed algorithms to achieve a constant-factor ($O(1)$) approximation for the load balancing problem within polylogarithmic rounds. By establishing a new structural lemma concerning "short augmenting paths," the authors bridge a long-standing gap in distributed computing between algorithms that were fast but inaccurate and those that were accurate but prohibitively slow. The results extend to both unweighted and weighted clients and provide simultaneous approximations for all $\ell_p$-norms.

Introduction

The load balancing problem is a fundamental challenge in resource allocation, typically modeled using a bipartite graph $G = (C \cup S, E)$. In this model, "clients" ($C$) must be assigned to adjacent "servers" ($S$). Each assignment contributes to the "load" of a server, defined as the number or total weight of clients assigned to it. The objective is to find an assignment that minimizes the maximum load (the $\ell_\infty$-norm) or, more broadly, balances the load across all servers.

In distributed environments, nodes (clients and servers) must make assignment decisions using only local information and communication with immediate neighbors. This constraints the optimization process significantly. Research in this field generally operates under two primary models:

  1. CONGEST: Communication is restricted to $O(\log n)$ bits per edge per round.
  2. LOCAL: Communication is unlimited, focusing strictly on the number of rounds required for convergence.

Prior to this work, distributed algorithms faced a stark trade-off. Existing solutions either achieved a 2-approximation but required $O(\Delta^5)$ rounds (where $\Delta$ is the maximum degree), or they operated in polylogarithmic rounds but only achieved an $O(\log n / \log \log n)$ approximation. This paper provides a "best of both worlds" solution: constant-factor approximations in polylogarithmic time.

The Structural Lemma: Short Augmenting Paths

The core theoretical contribution of this work is Lemma 3.1 (The Structural Lemma). This lemma addresses the relationship between local optimality and global approximation. It states that if a graph admits a "perfect" assignment (where server loads remain within a specific bound), then any current assignment that is not yet near-optimal must contain a "short" augmenting path of length $O(\log n)$.

This insight is transformative because it suggests that global optimization is not necessary for a constant-factor approximation. Instead, an algorithm only needs to ensure that no local improvements can be made via these short paths. If no augmenting paths of logarithmic length exist, the current assignment is guaranteed to be within a constant factor of the global optimum.

Algorithmic Framework

Unweighted Load Balancing in CONGEST

For unweighted clients, the authors propose an algorithm that iterates through potential capacity bounds $B$ (incrementing by powers of two). For each bound, the algorithm employs a distributed matching subroutine to eliminate all augmenting paths shorter than $O(\log n)$. Because the Structural Lemma ensures that the absence of short paths implies an $O(1)$-approximation, clients can locally determine the most efficient server assignment based on these successful iterations. This approach achieves an $O(1)$-approximation in $O(\log^5 n)$ rounds.

Weighted Rounding in LOCAL

Weighted load balancing presents a greater challenge because heavy clients cannot be fractionally divided among servers in the final output. The authors address this by first computing a "split assignment" (a fractional relaxation of the problem). They then introduce a novel distributed rounding procedure, grounded in the Structural Lemma, to convert this fractional assignment into a valid integral one. In the LOCAL model, this achieves an $O(1)$-approximation in $O(\log^3 n)$ rounds.

Sequential Simulation

Beyond distributed environments, the authors demonstrate that their approach can be simulated sequentially. This results in a deterministic, near-linear time ($O(m \log^3 n)$) algorithm for $O(1)$-approximate load balancing. This represents a significant performance increase over previous methods that relied on complex linear programming or $O(m\sqrt{n} \log n)$ timeframes.

Key Insights and Results

  • All-Norm Approximation: A striking feature of the proposed algorithm is its versatility. It does not merely minimize the maximum load; it simultaneously provides an $O(1)$-approximation for all $\ell_p$-norms ($p \ge 1$). This ensures the resulting assignment is mathematically balanced across multiple metrics.
  • Backup Placement: The research extends to the "distributed backup placement" problem, where each client requires a replication factor $r > 1$, achieving an 8-approximation.
  • Efficiency Summary:
    • CONGEST (Unweighted): $O(1)$-approximation in $O(\log^5 n)$ rounds.
  • LOCAL (Weighted): $O(1)$-approximation in $O(\log^3 n)$ rounds.
  • CONGEST (Weighted): $O(\log n)$-approximation in $O(\log^5 n)$ rounds.

Limitations and Future Work

Despite these advancements, several areas remain open for investigation. First, a gap persists for weighted clients in the CONGEST model; while the authors achieve $O(1)$ in LOCAL, they only reach $O(\log n)$ in CONGEST due to the difficulty of solving generalized $b$-matching with edge capacities under strict communication limits. Second, the distributed algorithms are currently randomized, inheriting this property from their underlying matching subroutines; a deterministic polylogarithmic-round version remains an open challenge. Finally, while $O(\log^5 n)$ is polylogarithmic, reducing the exponent of the log factor would improve the practical applicability of these algorithms in massive networks.

Summary updated

BibTeX
@inproceedings{assadi2020improved,
  author = {Sepehr Assadi and Aaron Bernstein and Zachary Langley},
  title = {{Improved Bounds for Distributed Load Balancing}},
  booktitle = {DISC},
  year = {2020},
  doi = {10.4230/lipics.disc.2020.1},
}
Figure