Sustainable AIGC Workload Scheduling of Geo-Distributed Data Centers: A Multi-Agent Reinforcement Learning Approach

Siyue Zhang, Minrui Xu, Wei Yang Bryan Lim, Dusit Niyato

Introduction

The rapid proliferation of AI-Generated Content (AIGC) tools, such as ChatGPT and Stable Diffusion, has fundamentally altered the landscape of data center operations. These technologies rely on massive GPU-intensive training and fine-tuning tasks, which translate into significant operational costs and a substantial environmental footprint. As global energy prices and carbon intensities fluctuate across regions, the need for an intelligent, sustainable scheduling mechanism becomes paramount. This paper introduces MASAC, a multi-agent reinforcement learning (MARL) framework designed to optimize AIGC workload distribution across a global network of data centers.

The Challenge of Geo-Distributed AIGC Scheduling

Scheduling AIGC workloads is significantly more complex than managing traditional web requests. These tasks often require "gang scheduling," where multiple GPUs must work in synchronization, and involve the movement of massive datasets. Furthermore, the global landscape of energy is highly heterogeneous. For instance, energy costs in Singapore can be up to 13 times higher and 7 times more carbon-intensive than in Ontario, Canada.

A successful scheduling strategy must balance several competing factors:

  1. GPU Utilization: Maximizing the efficiency of expensive hardware.
  2. Operational Costs: Minimizing expenditure on electricity by exploiting regional price differences.
  3. Sustainability: Reducing the carbon footprint by leveraging cleaner energy grids.
  4. Network Constraints: Avoiding bottlenecks during the migration of large datasets.

The MASAC Framework

To address these challenges, the authors propose Multi-Agent Soft Actor-Critic (MASAC), a decentralized scheduling algorithm. Unlike centralized systems that represent a single point of failure and struggle with latency in global networks, MASAC assigns an autonomous agent to each data center.

Key Components:

  • Multi-Agent Reinforcement Learning (MARL): Agents collaborate to decide whether to process a job locally, postpone it to wait for better conditions, or migrate it to a more favorable region.
  • Soft Actor-Critic (SAC): This RL algorithm is employed for its ability to balance exploration and exploitation. It is particularly effective at managing delayed rewards, such as the long-term benefits of migration versus the immediate costs of data transmission.
  • Model-as-a-Service (MaaS) Integration: To mitigate privacy concerns and bandwidth limitations, the framework utilizes a modular architecture where data is pre-processed locally, and only essential intermediate results are transmitted for fine-tuning.

Experimental Methodology

The framework was evaluated using a combination of real-world and synthesized data:

  • Workload Traces: Based on the Alibaba GPU Cluster Trace (2020), reflecting authentic demand for machine learning training.
  • Environmental Data: Hourly energy prices and carbon intensity metrics from five distinct regions (South Australia, West Australia, Ontario, Poland, and Singapore) were sourced via Electricity Maps.
  • Task Modeling: Workloads were modeled after specific AIGC requirements, including image generation, text generation, and text-to-image tasks.

Results and Key Insights

The implementation of MASAC demonstrated significant improvements over baseline methods:

  • System Utility: MASAC achieved a 28.6% increase in overall system utility compared to local-only computing strategies.
  • Revenue Optimization: The framework generated up to 15.6% higher revenue from GPU time compared to standard RL algorithms like MADQN.
  • Geo-Arbitrage for Sustainability: The agents successfully learned to perform "geo-arbitrage," offloading workloads from high-cost, high-carbon regions (like Singapore and Poland) to regions with cleaner, cheaper energy (like Ontario).
  • Algorithmic Stability: MASAC showed superior convergence stability and a lower rate of job failures due to resource contention compared to traditional Deep Q-Networks.

Conclusion and Future Work

MASAC represents a significant step toward "Green AI" by demonstrating that intelligent, decentralized scheduling can align economic incentives with environmental sustainability. By leveraging the "slack" in user-tolerated delays, the system optimizes for the most efficient energy windows globally.

Future research will focus on addressing current limitations, such as:

  • Hardware Heterogeneity: Adapting the model for mixed GPU environments (e.g., combining A100 and H100 clusters).
  • Network Topology: Incorporating more granular, real-time network congestion data.
  • Modern Traffic Patterns: Updating workload traces to reflect the most recent AIGC traffic patterns to ensure the model remains robust against evolving demand.

Summary updated

BibTeX
@inproceedings{zhang2023sustainable,
  author = {Siyue Zhang and Minrui Xu and Wei Yang Bryan Lim and Dusit Niyato},
  title = {{Sustainable AIGC Workload Scheduling of Geo-Distributed Data Centers: A Multi-Agent Reinforcement Learning Approach}},
  booktitle = {GLOBECOM},
  year = {2023},
  doi = {10.1109/globecom54140.2023.10437617},
}
Figure