Skip to main content
QUICK REVIEW

[Paper Review] Measuring the Carbon Intensity of AI in Cloud Instances

Jesse Dodge, Taylor Prewitt|arXiv (Cornell University)|Jun 10, 2022
Green IT and SustainabilityEngineering11 citations
TL;DR

This paper introduces a framework to measure the real-time carbon intensity of AI workloads on cloud platforms using location- and time-specific marginal emissions data. It demonstrates that choosing lower-carbon regions and optimizing computation timing can reduce emissions by up to 70%, offering actionable strategies for minimizing the environmental impact of AI training and inference in cloud environments.

ABSTRACT

By providing unprecedented access to computational resources, cloud computing has enabled rapid growth in technologies such as machine learning, the computational demands of which incur a high energy cost and a commensurate carbon footprint. As a result, recent scholarship has called for better estimates of the greenhouse gas impact of AI: data scientists today do not have easy or reliable access to measurements of this information, precluding development of actionable tactics. Cloud providers presenting information about software carbon intensity to users is a fundamental stepping stone towards minimizing emissions. In this paper, we provide a framework for measuring software carbon intensity, and propose to measure operational carbon emissions by using location-based and time-specific marginal emissions data per energy unit. We provide measurements of operational software carbon intensity for a set of modern models for natural language processing and computer vision, and a wide range of model sizes, including pretraining of a 6.1 billion parameter language model. We then evaluate a suite of approaches for reducing emissions on the Microsoft Azure cloud compute platform: using cloud instances in different geographic regions, using cloud instances at different times of day, and dynamically pausing cloud instances when the marginal carbon intensity is above a certain threshold. We confirm previous results that the geographic region of the data center plays a significant role in the carbon intensity for a given cloud instance, and find that choosing an appropriate region can have the largest operational emissions reduction impact. We also show that the time of day has notable impact on operational software carbon intensity. Finally, we conclude with recommendations for how machine learning practitioners can use software carbon intensity information to reduce environmental impact.

Motivation & Objective

  • To develop a practical, real-time method for measuring the operational carbon intensity of AI workloads in cloud computing environments.
  • To address the lack of accessible, reliable carbon footprint data for machine learning practitioners, which hinders emission reduction efforts.
  • To evaluate spatial and temporal strategies—such as selecting low-carbon regions and scheduling workloads during low-carbon periods—for reducing AI's environmental impact.
  • To advocate for cloud providers to expose software carbon intensity data to users, enabling informed, sustainable decision-making.
  • To call for updated carbon accounting standards that support consequential, marginal emissions approaches over traditional attributional methods.

Proposed method

  • The framework uses location-based and time-specific marginal emissions rates (LME) per kWh to estimate real-time carbon intensity of cloud instances.
  • It applies these LME rates to actual AI training and inference workloads across diverse models and cloud instances on Microsoft Azure.
  • The method computes software carbon intensity (SCI) as the product of compute energy use and the marginal grid emissions rate at a given time and location.
  • It evaluates emission reductions through three strategies: selecting different geographic regions, scheduling workloads at different times of day, and dynamically pausing instances when marginal emissions exceed a threshold.
  • The approach leverages publicly available LME data from sources like WattTime to enable real-time carbon estimation.
  • The framework is implemented as a tool to estimate and report operational carbon emissions for cloud-based AI workloads.

Experimental results

Research questions

  • RQ1How can we accurately measure the real-time carbon intensity of AI workloads running on cloud platforms?
  • RQ2To what extent does the geographic location of a cloud data center affect the carbon intensity of AI computations?
  • RQ3How does the time of day influence the carbon intensity of cloud-based AI workloads?
  • RQ4Can dynamic workload scheduling based on real-time emissions data reduce the carbon footprint of AI training and inference?
  • RQ5What role can cloud providers and users play in reducing AI's operational carbon emissions through transparency and strategic resource allocation?

Key findings

  • The geographic region of the cloud data center has the largest impact on operational carbon intensity, with differences of up to 70% between high- and low-carbon regions.
  • The time of day significantly affects carbon intensity, with morning and evening peaks in emissions due to grid load variations, especially in regions with high renewable intermittency.
  • Scheduling AI workloads during low-carbon periods—such as midday in solar-rich regions or nighttime in wind-rich areas—can reduce emissions by up to 50% compared to peak times.
  • Dynamic pausing of cloud instances when marginal emissions exceed a threshold can yield measurable reductions, especially when combined with regional and temporal optimization.
  • The study confirms that marginal emissions data (LME) provides a more accurate and actionable measure of carbon impact than average or regional grid averages.
  • The current GHGP Scope 2 accounting framework is incompatible with consequential, real-time carbon estimation, highlighting the need for updated standards in AI carbon reporting.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.