Energy and Policy Considerations for Deep Learning in NLP

39609

Authors

nan

Abstract

AbstractRecent 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.

Keywords

nan

Full Content

Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 3645–3650 Florence, Italy, July 28 - August 2, 2019. c⃝2019 Association for Computational Linguistics 3645 Energy and Policy Considerations for Deep Learning in NLP Emma Strubell Ananya Ganesh Andrew McCallum College of Information and Computer Sciences University of Massachusetts Amherst {strubell, aganesh, mccallum}@cs.umass.edu Abstract Recent progress in hardware and methodol- ogy for training neural networks has ushered in a new generation of large networks trained on abundant data. These models have ob- tained notable gains in accuracy across many NLP tasks. However, these accuracy improve- ments depend on the availability of exception- ally large computational resources that neces- sitate similarly substantial energy consump- tion. As a result these models are costly to train and develop, both financially, due to the cost of hardware and electricity or cloud com- pute time, and environmentally, due to the car- bon 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 re- cently successful neural network models for NLP. Based on these findings, we propose ac- tionable recommendations to reduce costs and improve equity in NLP research and practice. 1 Introduction Advances in techniques and hardware for train- ing deep neural networks have recently en- abled impressive accuracy improvements across many fundamental NLP tasks (Bahdanau et al., 2015; Luong et al., 2015; Dozat and Man- ning, 2017; Vaswani et al., 2017), with the most computationally-hungry models obtaining the highest scores (Peters et al., 2018; Devlin et al., 2019; Radford et al., 2019; So et al., 2019). As a result, training a state-of-the-art model now re- quires substantial computational resources which demand considerable energy, along with the as- sociated financial and environmental costs. Re- search and development of new models multiplies these costs by thousands of times by requiring re- training to experiment with model architectures and hyperparameters. Whereas a decade ago most Consumption CO2e (lbs) Air travel, 1 person, NY↔SF 1984 Human life, avg, 1 year 11,023 American life, avg, 1 year 36,156 Car, avg incl. fuel, 1 lifetime 126,000 Training one model (GPU) NLP pipeline (parsing, SRL) 39 w/ tuning & experiments 78,468 Transformer (big) 192 w/ neural arch. search 626,155 Table 1: Estimated CO2 emissions from training com- mon NLP models, compared to familiar consumption.1 NLP models could be trained and developed on a commodity laptop or server, many now require multiple instances of specialized hardware such as GPUs or TPUs, therefore limiting access to these highly accurate models on the basis of finances. Even when these expensive computational re- sources are available, model training also incurs a substantial cost to the environment due to the en- ergy required to power this hardware for weeks or months at a time. Though some of this energy may come from renewable or carbon credit-offset re- sources, the high energy demands of these models are still a concern …

Content truncated to 500 words

Labeled Text

AbstractRecent 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.

Publication Details

Paper ID:
39609
Year:
2019
Publication:
TIPSTER
Publication Type:
conf
DOI:
nan