Uncertainty-Aware Decarbonization for Datacenters

Yi Ding, Amy Li, Sihang Liu, Yi Ding 0006arXiv 2024 · DOI

Abstract

Datacenters increasingly rely on carbon intensity forecasts to shift workloads to greener periods or locations. However, standard point-estimate forecasts often fail to account for uncertainty, potentially leading to increased emissions. This paper proposes a framework using Sequential Predictive Conformal Inference (SPCI) to provide mathematically guaranteed confidence intervals for carbon intensity. Evaluation across three major US energy regions demonstrates that incorporating uncertainty prevents accidental emission spikes of up to 14% and ensures reliable coverage of true carbon values.

Introduction

To achieve "24/7 carbon-free energy," datacenters utilize carbon intensity forecasts—measuring $CO_2$ emissions per kilowatt-hour—to schedule power-hungry jobs. Temporal shifting moves jobs to cleaner times, while spatial shifting sends them to cleaner regions. However, current forecasting tools typically provide point estimates without quantifying confidence. If a prediction is inaccurate, a scheduler might inadvertently move a job to a "dirtier" period, increasing emissions by up to 14%. This research identifies two primary types of uncertainty—temporal (seasonal/daily variability) and spatial (regional variability)—and introduces an uncertainty quantification framework to mitigate these risks.

Methodology: Sequential Predictive Conformal Inference

The proposed framework builds upon CarbonCast, a state-of-the-art carbon intensity forecaster, by adding an uncertainty layer using Sequential Predictive Conformal Inference (SPCI).

Unlike standard conformal prediction, SPCI is optimized for time-series data. It employs a feedback loop that analyzes past residuals (the difference between predicted and actual values) to calculate a confidence interval. By using a quantile random forest to predict future errors and updating the residual set at each step, the system outputs a range with a mathematical guarantee that the true carbon intensity will fall within it a specified percentage of the time (e.g., 95%).

Experimental Setup

The study evaluated three major US energy regions: CISO (California), ERCO (Texas), and ISNE (New England). The researchers utilized historical energy mix data from the EIA, 96-hour weather forecasts from the NCEP Global Forecasting System, and solar/wind data for California. To simulate realistic scenarios, production power traces from Google datacenter clusters were used as workload models.

Results and Discussion

Regional and Temporal Variability

Predictability varies significantly by region and season. Regions like California (CISO) exhibit higher volatility due to heavy reliance on weather-dependent renewables. Furthermore, carbon intensity is notably harder to predict in winter than in summer.

The Forecast Horizon Problem

A critical finding is the "horizon problem": forecast accuracy decays as the prediction window extends. As shown in Figure 1, a 96-hour forecast carries substantially more uncertainty than a 24-hour forecast, which is vital for scheduling long-running batch jobs.

MAPE increases significantly as the forecast horizon extends from 24 to 96 hours across all regions.

Reliable Coverage and Emission Reduction

The SPCI framework successfully met target confidence levels (90%, 95%, and 99%) across all regions. Figure 2 illustrates how the predicted confidence intervals consistently encompass the ground truth carbon intensity, providing a reliable basis for decision-making.

The SPCI framework provides reliable confidence intervals that cover the ground truth carbon intensity across different target levels and regions.

By incorporating these intervals, the researchers prevented significant emission spikes. Relying solely on point estimates led to a 5% increase in emissions for temporal shifting and a 14% increase for spatial shifting. For a 20 MW datacenter, uncertainty-aware scheduling saved between 2.1 and 10.4 tons of $CO_2$ during the study period.

Conclusion and Future Work

Ignoring forecast uncertainty in datacenter decarbonization is counterproductive. This work demonstrates that providing "uncertainty-aware" intervals allows for more conservative or assertive scheduling based on data reliability. Future research will focus on integrating these confidence intervals into automated orchestrators like Kubernetes and expanding the scope to include Scope 3 embodied carbon emissions.

Summary updated

BibTeX
@misc{ding2024uncertainty,
  author = {Yi Ding and Amy Li and Sihang Liu and Yi Ding},
  title = {{Uncertainty-Aware Decarbonization for Datacenters}},
  year = {2024},
  eprint = {2407.02390},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.02390},
}
Figure