[Paper Review] Carbon Emissions and Large Neural Network Training
The paper estimates energy use and carbon footprint of several large models and outlines strategies to reduce emissions in ML training and evaluation.
The computation demand for machine learning (ML) has grown rapidly recently, which comes with a number of costs. Estimating the energy cost helps measure its environmental impact and finding greener strategies, yet it is challenging without detailed information. We calculate the energy use and carbon footprint of several recent large models-T5, Meena, GShard, Switch Transformer, and GPT-3-and refine earlier estimates for the neural architecture search that found Evolved Transformer. We highlight the following opportunities to improve energy efficiency and CO2 equivalent emissions (CO2e): Large but sparsely activated DNNs can consume <1/10th the energy of large, dense DNNs without sacrificing accuracy despite using as many or even more parameters. Geographic location matters for ML workload scheduling since the fraction of carbon-free energy and resulting CO2e vary ~5X-10X, even within the same country and the same organization. We are now optimizing where and when large models are trained. Specific datacenter infrastructure matters, as Cloud datacenters can be ~1.4-2X more energy efficient than typical datacenters, and the ML-oriented accelerators inside them can be ~2-5X more effective than off-the-shelf systems. Remarkably, the choice of DNN, datacenter, and processor can reduce the carbon footprint up to ~100-1000X. These large factors also make retroactive estimates of energy cost difficult. To avoid miscalculations, we believe ML papers requiring large computational resources should make energy consumption and CO2e explicit when practical. We are working to be more transparent about energy use and CO2e in our future research. To help reduce the carbon footprint of ML, we believe energy usage and CO2e should be a key metric in evaluating models, and we are collaborating with MLPerf developers to include energy usage during training and inference in this industry standard benchmark.
Motivation & Objective
- Quantify energy consumption and carbon footprint of recent large neural networks (e.g., T5, Meena, GShard, Switch Transformer, GPT-3).
- Refine prior estimates from neural architecture search on energy use.
- Highlight opportunities to reduce CO2e through model architectures, data center choices, and training practices.
- Advocate for including energy and CO2e as explicit metrics in ML research and benchmarks.
Proposed method
- Review and aggregate energy use and CO2e estimates for several recent large models (T5, Meena, GShard, Switch Transformer, GPT-3).
- Update earlier neural architecture search estimates for energy efficiency (Evolved Transformer).
- Analyze factors affecting energy consumption including model sparsity, geographic location, datacenter infrastructure, and accelerators.
- Suggest practical strategies to reduce emissions and improve energy efficiency in ML training and inference.
Experimental results
Research questions
- RQ1What are the estimated energy use and CO2e for recent large neural networks?
- RQ2How do architectural choices, data center characteristics, and geographic location affect carbon footprint?
- RQ3What strategies can meaningfully reduce energy consumption and CO2e in large-scale ML training?
- RQ4Should energy usage and CO2e be incorporated into standard ML evaluation and benchmarking?
Key findings
- Large, sparsely activated DNNs can use <1/10th the energy of large, dense DNNs without sacrificing accuracy, even with similar or more parameters.
- Geographic location can cause 5X–10X differences in CO2e due to varying carbon-free energy fractions.
- Optimizing where and when large models are trained yields meaningful emissions reductions.
- Datacenter infrastructure matters, with Cloud datacenters often 1.4–2X more energy efficient than typical datacenters, and ML accelerators inside them 2–5X more effective than off-the-shelf systems.
- The choice of DNN, datacenter, and processor can reduce the carbon footprint by up to 100–1000X.
- The authors advocate for explicit reporting of energy use and CO2e in ML research and for incorporating these metrics into MLPerf benchmarking.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.