Home > Article > Technology peripherals > How to reduce AI's growing carbon footprint
As machine learning experiments become more complex, their carbon footprints are swelling. Now, researchers have calculated the carbon cost of training a series of models in cloud computing data centers in different locations. Their findings could help researchers reduce emissions from work that relies on artificial intelligence (AI).
The research team found significant differences in emissions across geographic locations. Jesse Dodge, a machine learning researcher at the Allen Institute for AI in Seattle, Washington, and co-lead of the study, said that in the same AI experiment, “the most efficient areas produced emissions of about one-third of the least efficient regions.”
Priya Donti, a machine learning researcher at Carnegie Mellon University in Pittsburgh, Pennsylvania, and co-founder of the Climate Change AI group, said that so far, there haven’t been any good tools for measuring cloud-based AI production. emissions.
“This is great work that contributes to important conversations about how to manage machine learning workloads to reduce emissions,” she said.
Dodge and his collaborators, including researchers from Microsoft, monitored power consumption while training 11 common AI models, from language models that power Google Translate to Vision algorithms for automatically labeling images. They combined this data with estimates of how emissions from the grid powering 16 Microsoft Azure cloud computing servers changed over time to calculate training energy consumption across a range of locations.
Facilities in different locations have different carbon footprints due to changes in global power supplies and fluctuations in demand. The team found that training BERT, a common machine learning language model, in a data center in central America or Germany would emit 22-28 kilograms of carbon dioxide, depending on the time of year. That's more than double the emissions from the same experiment in Norway, which gets most of its electricity from hydroelectric power, while France relies mostly on nuclear energy.
The time you spend doing experiments every day is also important. For example, Dodge said, training AI at night in Washington, when the state's electricity comes from hydropower, would result in lower emissions than training AI during the day, when the daytime electricity also comes from gas stations. He presented the results last month at the Association for Computing Machinery for Fairness, Accountability and Transparency conference in Seoul.
The emissions from AI models also vary widely. Image classifier DenseNet produced the same CO2 emissions as charging a cell phone while training a medium-sized language model called Transformer (which is much smaller than the popular language model GPT-3, made by research firm OpenAI) in California San Francisco produces about the same amount of emissions as a typical American household produces in a year. Additionally, the team only went through 13 percent of the Transformer's training process; training it fully would produce emissions "on the order of magnitude of burning an entire rail car full of coal," Dodge says.
He added that emissions figures are also underestimated because they do not include factors such as electricity used for data center overhead or emissions used to create the necessary hardware. Ideally, Donti said, the numbers should also include error bars to account for the significant potential uncertainty in grid emissions at a given time.
All other factors being equal, Dodge hopes this research can help scientists choose data centers for experiments that minimize emissions. "This decision turned out to be one of the most impactful things one can do in the discipline," he said. As a result of this work, Microsoft is now providing information about the power consumption of its hardware to researchers using its Azure services.
Chris Preist, who studies the impact of digital technology on environmental sustainability at the University of Bristol in the UK, said the onus on reducing emissions should lie with cloud providers rather than researchers. Suppliers can ensure that at any given time, the data centers with the lowest carbon intensity are used the most, he said. Donti adds that they can also employ flexible policies that allow machine learning runs to start and stop when emissions are reduced.
Dodge said tech companies conducting the largest experiments should bear the greatest responsibility for transparency about emissions and minimizing or offsetting them. He noted that machine learning is not always harmful to the environment. It can help design efficient materials, simulate climate, and track deforestation and endangered species. Still, AI’s growing carbon footprint is becoming a major cause of concern for some scientists. Dodge said that while some research groups are working on tracking carbon emissions, transparency "has not yet developed into a community norm."
"The whole point of this effort is to try to bring transparency to this subject because it's sorely lacking right now," he said.
1.Dodge, J. et al. Preprint at https://arxiv.org/abs/2206.05229 (2022).
The above is the detailed content of How to reduce AI's growing carbon footprint. For more information, please follow other related articles on the PHP Chinese website!