Measuring the Carbon Intensity of AI in Cloud Instances
By Jesse Dodge, Taylor Prewitt, Rémi Tachet des Combes, Erika Odmark, Roy Schwartz, Emma Strubell, Alexandra Sasha Luccioni, Noah A. Smith, Nicole DeCario, W. Buchanan. 2022
311 citations recorded by the source corpus.
The advent of cloud computing has provided people around the world with unprecedented access to computational power and 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, which precludes development of actionable tactics. We argue that 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 covering natural language processing and computer vision applications, 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 present new results showing that the time of day has meaningful 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.
Subfields: Computer Networks and Communications, Computer Science Applications, Electrical and Electronic Engineering, AI Ethics, Fairness & Society
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Computer Networks and Communications
- Marie-Anne Lachaux
- Angela Fan
- Luke S. Zettlemoyer
- Sergey Edunov
- Hugo Touvron
- Shruti Bhosale
- Xia Hu
- Tushar Khot
In Computer Science Applications
In Electrical and Electronic Engineering
- Cristian Canton-Ferrer
- Luke S. Zettlemoyer
- Hugo Touvron
- Xia Hu
- Tushar Khot
- Oyvind Tafjord
- Todor Mihaylov
- Dan Alistarh
In AI Ethics, Fairness & Society
Citations in the corpus
- Llama 2: Open Foundation and Fine-Tuned Chat Models (2023, methodology): “Following preceding research (Bender et al., 2021a; Patterson et al., 2021; Wu et al., 2022; Dodge et al., 2022) and using power consumption estimates of GPU devices and carbon efficiency, we aim to calculate the carbon emissions resulting from the pretraining of Llama 2models.”
- ChatGPT and large language models in academia: opportunities and challenges (2023, background): “A recent study estimated that the training of BERT (a 6 billion parameter LLM) would produce between 21 to 78 metric tons of CO 2 to train to completion [14].”
- Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyond (2023, methodology): “The total energy consumption for training a transformer model with 6B parameters to completion is estimated to be around 103.5 MWh [33].”
- Power Hungry Processing: Watts Driving the Cost of AI Deployment? (2023, unknown): “There have also been studies of specific model architectures, e.g. BLOOM [31] and Nour [27], which carried out in-depth analyses of the different steps in the models’ life cycle and their relative contribution towards the final quantity of carbon emissions.”
- OLMo: Accelerating the Science of Language Models (2024, methodology): “Following previous literature (Strubell et al., 2019; Patterson et al., 2021; Wu et al., 2022; Dodge et al., 2022), we estimate the total energy consumed and carbon released while pretraining our models by calculating the total power consumption required for training, and then multiplying it by the…”