Service Management and Energy Scheduling Toward Low-Carbon Edge Computing

Lin Gu, Weiying Zhang, Zhongkui Wang, Deze Zeng, Hai Jin

Edge computing is revolutionizing how we process data by bringing computation closer to the source. However, the environmental impact of distributed edge servers is a growing concern. This paper, published in IEEE Transactions on Sustainable Computing, introduces a novel framework that optimizes both service migration and renewable energy scheduling to achieve a more sustainable and cost-effective edge network.

The researchers propose a model-free Deep Reinforcement Learning (DRL) strategy that jointly manages these two critical aspects. By integrating a model-based optimization solution to guide the DRL agent's training, the approach achieves 37.67% faster convergence and a 32.70% reduction in long-term operational costs compared to state-of-the-art methods.

The Challenge of Green Energy at the Edge

Edge computing's geo-distributed nature makes energy management complex. While servers can harvest local green energy (solar, wind), this supply is intermittent and unpredictable. When green energy is insufficient, operators must rely on "brown energy" from the grid, which is often subject to tiered, time-varying pricing.

The problem involves two main challenges:

  1. Service Management: Determining the optimal server to host a service, considering that migration itself consumes energy and bandwidth.
  2. Energy Scheduling: Deciding whether to consume green energy immediately or store it in batteries for peak hours when grid prices are highest.

Traditional model-based solutions often fail in real-world scenarios due to oversimplified assumptions about user mobility and weather patterns. The variability of the environment is illustrated in the following table, which shows fluctuating energy availability and task arrival rates across different time steps.

Table showing energy availability and task arrival rates for two servers over time.

Prioritized Deep Reinforcement Learning (pDRL)

The authors developed a prioritized Deep Reinforcement Learning (pDRL) algorithm based on the Deep Q-Network (DQN) architecture. This approach features several key innovations:

  • Joint Optimization: It treats energy scheduling and service placement as a coupled problem, formulated as Mixed-Integer Linear Programming (MILP).
  • Model-Free Learning: The agent learns the optimal policy through interaction with the environment, observing rewards in the form of cost savings.
  • Guided Replay Memory: This is the core innovation. Instead of standard experience replay, the authors use a prioritized replay memory guided by the MILP solution. Transitions aligning with the "ideal" model-based solution are prioritized, significantly accelerating the learning process.

The approach was validated using real-world request traces (e.g., Uber, food orders) and energy generation data from ENTSOE, applied to standard network topologies like ARPA and NSF.

The "Foresight" Advantage

A major finding is the "foresight" advantage of the pDRL agent. While myopic or greedy strategies consume green energy as soon as it's available, the "Smart" pDRL agent learns to "bank" energy for periods of high grid costs.

Comparison of Greedy, Myopic, and Smart strategies showing energy consumption and costs.

As shown in the figure above, the "Smart" strategy achieves the lowest brown energy cost (28) compared to the Myopic (36) and Greedy (48) approaches. This demonstrates the value of strategic energy scheduling—using green energy not just when it's available, but when it provides the most economic benefit.

Key Results and Future Directions

  • Convergence Speed: The pDRL algorithm converged in approximately 13,000 episodes, outperforming standard DRL and other methods like DROO.
  • Cost Reduction: The proposed strategy reduced long-term Operational Expenditure (OPEX) by 32.70%.
  • Computational Efficiency: Once trained, the DRL agent makes decisions in roughly 0.07ms, making it ideal for real-time edge environments where MILP solvers would be too slow.

While the current model assumes a centralized controller, future work could explore multi-agent DRL for more decentralized, large-scale deployments. Additionally, investigating energy trading between servers and accounting for battery degradation could further refine the system's sustainability and economic viability.

Summary updated

BibTeX
@article{gu2023service,
  author = {Lin Gu and Weiying Zhang and Zhongkui Wang and Deze Zeng and Hai Jin},
  title = {{Service Management and Energy Scheduling Toward Low-Carbon Edge Computing}},
  journal = {IEEE Trans. Sustain. Comput.},
  year = {2023},
  doi = {10.1109/tsusc.2022.3210564},
}
Figure