Mean-field Analysis for Load Balancing on Spatial Graphs

Daan Rutten, Debankur Mukherjee

Abstract

The analysis of large-scale, parallel-server load balancing systems has relied heavily on mean-field analysis. A pivotal assumption for this framework is that the servers are exchangeable. However, modern data-centers have data locality constraints, where tasks of a particular type can only be routed to a small subset of servers. An emerging line of research, therefore, considers load balancing algorithms on bipartite graphs where vertices in the two partitions represent the task types and servers, respectively, and an edge represents the server's ability to process the corresponding task type. Due to the lack of exchangeability in this model, the mean-field techniques fundamentally break down. Recent progress has been made by considering graphs with strong edge-expansion properties, i.e., where any two large subsets of vertices are well-connected. However, data locality often leads to spatial constraints, where edges are local. As a result, these bipartite graphs do not have strong expansion properties. In this paper, we consider the power-of-$d$ choices algorithm and develop a novel coupling-based approach to establish mean-field approximation for a large class of graphs that includes spatial graphs. As a corollary, we also show that, as the system size becomes large, the steady-state occupancy process for arbitrary regular bipartite graphs with diverging degrees, is indistinguishable from a fully flexible system on a complete bipartite graph. The method extends the scope of mean-field analysis far beyond the classical full-flexibility setup. En route, we prove that, starting from suitable states, the occupancy process becomes close to its steady state in a time that is independent of $N$. Such a large-scale mixing-time result might be of independent interest. Numerical experiments are conducted, which positively support the theoretical results.

Introduction: The Challenge of Data Locality

In massive data centers, load balancing algorithms like "Power-of-$d$" (choosing the shortest of $d$ random queues) are essential for minimizing delay. Traditionally, researchers analyze these using mean-field analysis, which assumes "exchangeability"—the idea that any server can handle any task.

However, modern systems face data locality constraints: a task might require specific data stored only on a few nearby servers. This is modeled as a bipartite "compatibility graph" between tasks and servers. If this graph is sparse or has a "spatial" structure (where edges only exist between nearby nodes), the assumption of exchangeability breaks down. Previous mathematical tools only worked if the graph was "well-connected" (high expansion). This paper tackles the harder case of spatial graphs, where connections are strictly local and expansion is poor, yet the system still needs to perform efficiently.

Methodology: Beyond Exchangeability

The authors move beyond traditional mean-field techniques by introducing several novel theoretical components to handle the lack of exchangeability:

  • Novel Stochastic Coupling: A coupling-based approach was developed to compare a constrained system with a fully flexible one. The authors proved a monotonicity property: if one system starts with fewer jobs than another, a specific coupling can maintain that ordering over time.
  • Large-Scale Mixing Time: They established that the system reaches its steady state in a time that is independent of the number of servers ($N$). This allows researchers to approximate steady-state behavior using transient analysis, a significant result for practical system design.
  • Graph-Theoretic Parameters: Two key parameters, $\phi(G_N)$ (measuring graph regularity) and $\gamma(G_N)$ (measuring average inverse degree), were introduced to quantify exactly how "good" a graph needs to be for the mean-field approximation to hold.
  • Martingale Analysis: To handle the lack of exchangeability, martingales were used to track the evolution of local neighborhoods and bound their deviation from the global average.

Graph Topologies and Spatial Constraints

To validate the theory, the paper relies on synthetic generative models that represent different connectivity paradigms. The primary focus is on how spatial constraints differ from random connectivity.

Comparison of Erdős–Rényi and Random Geometric graphs.

As shown in Figure 1, the Erdős–Rényi graph (a) represents a well-connected system where any two nodes have a uniform probability of being connected. In contrast, the Random Geometric graph (b) models spatial constraints where nodes are placed on a unit torus and edges exist only between nodes within a certain distance $r(N)$. This latter model represents the "spatial" constraint where expansion is poor, yet the paper proves that mean-field convergence still occurs if degrees grow appropriately.

Key Insights and Results

"Local is Global"

The most striking insight is that even if every task only "sees" a tiny, local fraction of the servers, the aggregate system still behaves like a global, fully flexible pool as long as the number of connections per node grows (even as slowly as $\ln N$).

Steady-State Convergence and Indistinguishability

The authors provide a non-asymptotic bound on the distance between the actual steady-state occupancy and the theoretical "fluid limit." For any regular bipartite graph where degrees grow with $N$, the occupancy process is indistinguishable from a complete bipartite graph (full flexibility). This means the "power-of-two" effect (double-exponential tail of queue lengths) is fully preserved in these spatial systems.

Numerical Validation

Simulations on graphs with $10^5$ servers confirmed that for average degrees like $(\ln N)^2$ or $\sqrt{N}$, the mean queue length perfectly matches the fixed point of the mean-field ODE. Furthermore, the expected difference between the transient state and the steady state decays at a rate of $1/t^\alpha$, independent of $N$.

Conclusion and Future Directions

While this work significantly extends the scope of mean-field analysis, it also highlights the limits of current theory. For graphs with constant degrees (e.g., degree 3), numerical experiments showed that the system does not converge to the standard mean-field limit. In these cases, the "power-of-$d$" effect still appears to exist but with a "lower effective $d$." Characterizing the exact behavior of these constant-degree spatial graphs and refining parameters for highly irregular graphs remain open challenges for future research.

Summary updated

BibTeX
@article{rutten2024mean,
  author = {Daan Rutten and Debankur Mukherjee},
  title = {{Mean-field Analysis for Load Balancing on Spatial Graphs}},
  journal = {The Annals of Applied Probability},
  year = {2024},
  doi = {10.1214/24-aap2090},
}
Figure