Learning Mean-Field Control for Delayed Information Load Balancing in Large Queuing Systems

Anam Tahir, Kai Cui, Heinz Koeppl · DOI

Abstract

Large-scale distributed systems often suffer from "herd behavior" due to synchronization delays in load balancing. This paper proposes a scalable solution by combining Mean-Field Control (MFC) with Reinforcement Learning (RL). By modeling the system in the infinite-agent limit, the authors develop a policy that effectively mitigates inefficiencies caused by stale information, outperforming traditional heuristics like Join-the-Shortest-Queue (JSQ) in high-latency environments.

Introduction

In massive queuing systems such as data centers, load balancers (clients) must decide which server should handle incoming jobs. While "Join-the-Shortest-Queue" (JSQ) is a standard heuristic, it relies on instantaneous state information. In practice, synchronization delays ($\Delta t$) lead to "herd behavior": multiple clients observe a server as idle and simultaneously flood it with jobs before the system state updates. This results in severe load imbalances and dropped tasks. The challenge lies in finding a policy that remains computationally feasible as the number of agents and servers scales into the millions.

Methodology: Mean-Field Control and RL

To address the complexity of massive interacting agents, the authors employ a Mean-Field Control (MFC) framework. Instead of tracking individual server states, they focus on the global distribution (the mean-field) of queue lengths across the entire system.

  1. Mean-Field Approximation: The system is modeled as $N, M \to \infty$, transforming a high-dimensional multi-agent problem into a tractable one involving a single representative agent interacting with the global state distribution.
  2. Handling Delays: The state space is expanded to include information from the last synchronization point, allowing the policy to account for the staleness of data directly in the discrete-time Markov Decision Process (MDP).
  3. Policy Optimization: A policy $\pi$ is trained using Proximal Policy Optimization (PPO). This "upper-level" policy determines how individual clients should weight their choices among sampled servers based on the current mean-field state.
The Mean-Field Control framework integrates the queuing environment with a PPO-based reinforcement learning policy to manage delayed information.

Experimental Setup

The approach was evaluated using synthetic simulations of finite-buffer queuing systems. Jobs arrive via a Markov Modulated Poisson Process (MMPP) to simulate realistic traffic fluctuations. Simulations involved up to 1,000,000 clients and 1,000 servers, testing the policy against random assignment (MF-RND) and power-of-2 JSQ (MF-JSQ(2)).

Key Results and Insights

The learned policy demonstrates significant performance gains, particularly in scenarios with intermediate synchronization delays ($\Delta t > 2$).

  • Mitigating Herd Behavior: While JSQ excels at low latency, the learned MF policy intelligently "smooths" the load as delays increase, preventing the catastrophic server flooding typical of greedy heuristics.
  • Scalability: Due to the symmetry of homogeneous servers, the complexity of the MF solution remains independent of the total number of agents, making it highly scalable for real-world data center applications.
  • Convergence: Empirical results confirm that as the system size grows, the performance of the finite system converges to the theoretical Mean-Field limit, validating the mathematical model.
Training performance for a synchronization delay of $\Delta t = 5$, showing the learned MF policy outperforming JSQ(2) and random assignment.

Conclusion and Future Work

This work provides a robust framework for load balancing under information delay. Future research directions include extending the model to heterogeneous server environments with varying processing speeds and exploring non-exponential service time distributions to better reflect bursty real-world workloads. Additionally, decentralized estimation of the global state distribution remains an open challenge for fully autonomous implementation.

Summary updated

BibTeX
@inproceedings{tahir2022learning,
  author = {Anam Tahir and Kai Cui and Heinz Koeppl},
  title = {{Learning Mean-Field Control for Delayed Information Load Balancing in Large Queuing Systems}},
  booktitle = {ICPP},
  year = {2022},
  url = {https://openreview.net/forum?id=XdkW4z7uos},
}
Figure