Learning-Assisted Competitive Algorithms for Peak-Aware Energy Scheduling

Russell Lee, Mohammad H. Hajiesmaili, Jian LiarXiv 2019

Introduction

Large-scale energy consumers, such as hyperscale data centers operated by Google or Microsoft, navigate a complex electricity billing landscape. Beyond standard volume pricing (total energy consumed), these entities are subject to peak pricing, where the single highest point of usage in a billing cycle can incur charges over 200 times the standard spot price. To mitigate these costs, facilities often employ on-site "peak-shaving" generators. The operational challenge lies in deciding when to run expensive local generation versus relying on the grid, especially when future demand is uncertain.

Problem Formulation

The scheduling problem is inherently "online": at any given time, a decision must be made without full knowledge of future demand. Traditional competitive algorithms provide a safety net by optimizing for the worst-case scenario, but they are often overly pessimistic. Conversely, pure machine learning (ML) approaches can offer high performance but lack formal guarantees, risking catastrophic peak charges if predictions fail during unexpected traffic spikes.

Methodology

This research proposes a "learning-assisted" framework that bridges the gap between conservative online algorithms and high-performance ML models. The core idea is to use a hyperparameter, $\lambda$, as a "trust dial" for ML predictions.

The $\lambda$BED Algorithm

The $\lambda$BED (Deterministic Break-Even Device) algorithm calculates a predicted threshold for switching from local generation to the grid. By adjusting $\lambda$, administrators can tune the system's reliance on ML predictions versus a conservative worst-case strategy.

Algorithm 1: The deterministic $\lambda$BED strategy for switching between local generation and grid electricity.

The $\lambda$RED Algorithm

The $\lambda$RED (Randomized) algorithm extends this concept by selecting a switching point based on a probability distribution. This approach is designed such that as ML accuracy improves, the algorithm's performance asymptotically approaches the theoretical offline optimum.

The framework is evaluated based on two primary metrics:

  • Robustness: The maximum cost ratio compared to the optimal when predictions are entirely incorrect.
  • Consistency: The performance ratio when predictions are perfectly accurate.

Experimental Evaluation

The algorithms were tested using real-world data to ensure practical applicability:

  • Energy Demand: Traces from Akamai data centers, reflecting global web traffic patterns.
  • Energy Prices: 2018 hourly spot prices from the New York Electricity Market (NYISO).
  • Utility Benchmarks: Peak pricing structures modeled after PG&E and Duke Energy.

Key Results

The learning-assisted approach demonstrates significant improvements over traditional methods:

  • Cost Efficiency: In simulations, $\lambda$BED achieved a 15.13% cost reduction compared to the standard BED algorithm.
  • Proximity to Optimal: The total cost was brought within 4.44% of the "offline optimal"—the theoretical minimum achievable with perfect foresight.
  • Mathematical Guarantees: The authors proved that $\lambda$BED is $(1 + (1-\beta)/\lambda)$-robust and $(1+\lambda)$-consistent, ensuring that even if the ML model fails, the total cost remains within a bounded ratio of the optimum.

Conclusion

By moving away from the binary choice of "online vs. offline," this work establishes a spectrum for energy scheduling. The introduction of $\lambda$ allows for a controlled trade-off between worst-case protection and average-case performance. Future work will explore integrating energy storage systems (batteries) and addressing physical constraints like generator ramp-up times in formal proofs.

Summary updated

BibTeX
@misc{lee2019learning,
  author = {Russell Lee and Mohammad H. Hajiesmaili and Jian Li},
  title = {{Learning-Assisted Competitive Algorithms for Peak-Aware Energy Scheduling}},
  year = {2019},
  eprint = {1911.07972},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.07972},
}
Figure