Skip to content
Back to the collection

Energy and Policy Considerations for Deep Learning in NLP

Emma Strubell, Ananya Ganesh, Andrew McCallum

2019 · arXiv

Read the paper
HN score
1
Mentions
7
Readers
7
Months
6
What’s in a score?

From the abstract

Recent progress in hardware and methodology for training neural networks has ushered in a new generation of large networks trained on abundant data. These models have obtained notable gains in accuracy across many NLP tasks. However, these accuracy improvements depend on the availability of exceptionally large computational resources that necessitate similarly substantial energy consumption. As a result these models are costly to train and develop, both financially, due to the cost of hardware and electricity or cloud compute time, and environmentally, due to the carbon footprint required to fuel modern tensor processing hardware. In this paper we bring this issue to the attention of NLP researchers by quantifying the approximate financial and environmental costs of training a variety of recently successful neural network models for NLP. Based on these findings, we propose actionable recommendations to reduce costs and improve equity in NLP research and practice.

Metadata: arXiv. Abstracts retain their original authors’ rights.

In the conversation

Original HN comments, with labels from simple text rules. A label describes the whole comment and may miss context or irony. Read the discussion to make up your own mind. About the labels

7 selected excerpts · 7 total mentions

SilverBirch
Recommendation · rule
I don't know if you just... hope people don't read your citations. But as far as I could see from your citations you're not making sensible claims. The first citation the article talks about her citing someone else's work about carbon footprint. So firstly, they're not her calculations - the paper is by Strubell[1]. Secondly, the paper absolutely does not assume the compute is running from jet fuel! It calculates the total energy to train a model and then uses US EPA data to show how much CO2 that would be in practice and then compares that to how much CO2 emissions a flight puts out. Honestly, I don't know where on earth you got this rubbish about running Google compute…
Read the full comment
on jet fuel. Secondly, you claim she isn't technical, she has a Masters in Electrical Engineering, a PhD in Computer Vision, and has had a fantastic career. Again in the actual link that you cite she is described as "technical co-lead of the Ethical Artificial Intelligence Team". I just don't know what you think you're doing citing things that directly contradict your claims. If you think that Gebru is terrible, I would thoroughly recommend you talk about her less, because your attacks on her are so poor it lends her credibility. I'm fairly undecided on her - I literally don't know enough to judge, but your arguments are very poor. [1]:https://arxiv.org/abs/1906.02243
logicprog
Neutral mention · rule
I'm not sure your premise even makes any sense here, because it doesn't take an artist much more resources to produce art then it took them to just exist for the same amount of time. They're still just eating, sleeping, making basic usage of the computer, using heating and light, and so on either way. Whereas someone using dall-e is doing all of that plus relying on the immense training costs of the artificial intelligence. That basic usage of the computer in order to use the machine learning model might be shorter than the basic use of the computer to use procreate or something, but they'll still be using the computer for about the same amount of time anyway, because the…
Read the full comment
time not spent not making art will just be shifted over to other things. So it doesn't seem to me like having machine learning models do something for you instead of learning a skill and doing it yourself will really decrease emissions or energy usage noticeably at all. Furthermore, even if there is some decrease in emissions using pre-trained machine learning models over using your own skills and labor, the energy costs of training a powerful machine learning model like you're thinking of are way higher than I think you are imagining. The energy and carbon emission cost of training even a 213M parameter transformer for 3.5 days is 626 times the cost of an average human existing for an entire year according to [this study](https://arxiv.org/abs/1906.02243). Does using a pre-trained machine learning model take that much emission out of people's lives? Or a day's worth out of 228,490 lives, perhaps? I doubt it. But we aren't even using such a small transformers anymore either — they actually aren't that useful. We're using massive models lile GPT-4, and pushing as hard as we can to scale models even further in a cargo cult faith that making them bigger will fundamentally qualitatively shift their capabilities at some point. So what does the emissions picture look like for GPT-4? The study above found that emissions costs scale linearly with number of parameters and tuning steps as well as training time, so we can make a back of the napkin estimate that GPT-4 is 8,592,480 times more expensive to train than the transformer used in the study, since it is rumored to have 1.76 trillion parameters versus the 213 million of the model in the study, and GPT-3 was said to take 3640 days to train (despite using insane amounts of simultaneous compute to scale the compute up in conjunction with the scale of the model) versus 3.5 days. This in turn means it is 5,378,892,480 times more expensive to train a GPT-4 than it is for a human to live for one year. And again, to reiterate, no matter what work the humans are doing, they're going to be living for around the same amount of time and using roughly the same amount of carbon emissions as long as they're not like taking cross country or transatlantic flights or something. So it's more expensive to train gpt4 then it is for almost 6 billion people to live for a year. I don't think it's taking a year's worth of emissions off of 6 billion people's lives by being slightly more convenient than having to type some things in or draw some art yourself. And there are only 8 billion people on the planet, so I don't think there's enough people to spread smaller gains out across to justify the training of this model (you'd have to take a days worth of emissions off of 1,963,295,755,200 people to offset that training cost!), especially since in my opinion the decrease in emissions of using machine learning models would necessarily be absolutely miniscule.
mempko
Neutral mention · rule
The actual paper [0] that Gebru wrote referenced Strubell's climate impact paper [1]. None of them make the assumption that google compute runs from jet fuel. They compare training the models to flying, driving, etc. In the "Gender Shades" paper [2] as you call it, she doesn't use race but dermatologist approved Fitzpatrick Skin Type in their analysis as a proxy which of course covers all people including Asians. The kind of bullshit (a technical term) response you gave is common among reactionaries who don't read, and can't do science. [0] https://dl.acm.org/doi/pdf/10.1145/3442188.3445922 [1] https://arxiv.org/pdf/1906.02243.pdf [2] http://proceedings.mlr.press/v81/buolamwini18a/buolamwini18a...
soraki_soladead
Neutral mention · rule
This is somewhat well covered in prior research, in so far as the information required is available. Here are some recent evaluations of the carbon footprint of modern models: https://arxiv.org/abs/1906.02243 (cited in the above paper) > The U.S. Environmental Protection Agency (EPA) provides average CO2 produced (in pounds per kilowatt-hour) for power consumed in the U.S. (EPA, 2018), which we use to convert power to estimated CO2 emissions: > CO2e = 0.954 pt > This conversion takes into account the relative proportions of different energy sources (primarily natural gas, coal, nuclear and renewable) consumed to produce energy in the United States. (Other countries are…
Read the full comment
also included in the paper.) https://arxiv.org/abs/2104.10350 The authors note that in many cases accurately estimating the carbon footprint is difficult because the information required is not publicly or readily available. However, they do provide some additional data, improved calculations, as well as motivations beyond CO2 reduction.
culi
Neutral mention · rule
Here's the original study[1] that seems to be the primary source for this article. It's an important study from a respectable journal. To be frank, it's pretty disconcerting that the top comments on this thread are those writing off the topic on the premise alone while those comments actually engaging with the topic seem to be at the bottom [1] https://arxiv.org/pdf/1906.02243.pdf
css
Neutral mention · rule
The citation for the "surprisingly large carbon footprint" [0] is crazy. The paper alleges that a car, including fuel, has a lifetime footprint of 126,000 lbs of CO₂e, and training a big NN transformer consumes 626,155 lbs of CO₂e, almost a 5-fold increase. [0] https://arxiv.org/pdf/1906.02243.pdf
briga
Neutral mention · rule
On the other hand, as software and frameworks get more complex, they require more compute to run. Software hasn't decoupled economic growth from energy consumption, it has just made the energy consumption harder to see. Edit: since people are asking for examples, I would have to point to the insane cost of training modern ML models. For instance, according to [1], training a single big NLP model can burn up to 620,000 lbs of CO2. I say a lot of energy consumption is hidden because it's generally moved to data centres, which by the way use up astronomical amounts of energy [2] [1] https://arxiv.org/abs/1906.02243 [2] https://ec.europa.eu/jrc/en/publication/trends-data-centre-e...

Keep following the thread.

More in Machine learning

More from the same topics.