Elamur Research

Carbon Emissions and Large Neural Network Training

Paper · 2021 · David Patterson, Joseph Gonzalez, Quoc Le et al.

Summary

A training run leaves a record of what a neural network learned, but its environmental cost is harder to recover. A team may know how long its run lasted and what equipment it used. A reader may see only the size of the finished network and the quality of its predictions. Carbon Emissions and Large Neural Network Training asks what can be learned when the people who ran the computation make those missing details available. The authors, from Google and the University of California, Berkeley, account for electricity and the associated greenhouse gases, expressed in carbon dioxide equivalent, or CO₂e. Their boundary is the operation of computers and datacenters. Manufacturing and recycling the equipment sit outside it.

The paper examines training for Meena, T5, Switch Transformer and GShard-600B, together with GPT-3. It combines average power under load, the amount of accelerator time, facility overhead and the emissions intensity of electricity. The detailed account puts GShard-600B training at 24.1 MWh and 4.3 net tCO₂e, where the net estimate credits qualifying clean electricity purchases. A dense system in the cited multilingual translation comparison took ~10X as much computation to train and translated less accurately. GShard-600B illustrates why a network can store a great many adjustable parameters and still be relatively economical to run. Only a small portion of its expert components is called on for each piece of text.

The authors work through a smaller translation example to show how choices accumulate. They move from Transformer (Big) on P100 GPUs under average US datacenter assumptions to Evolved Transformer (Medium) on TPU v2 accelerators in Iowa. The evolved architecture reaches comparable translation quality with less work, the processors execute that work more efficiently, and facility power overhead falls. The electricity accounting adds a further change. The paper reports a 57X reduction in emissions for the combined comparison. Across the opportunities it examines, it puts the potential from choosing the architecture, processor and datacenter together at up to ~100-1000X.

The same dependencies make a historical estimate easy to get wrong. An earlier account of the search that produced Evolved Transformer priced candidate evaluations as if they used a larger training setup than the researchers had actually run. Patterson and colleagues recover the smaller search procedure, then use the hardware and datacenter involved in the original work. The revised estimate is 3.2 tCO₂e, an 88X downward revision. The authors ask researchers to publish electricity, emissions, training duration and accelerator count, and to evaluate efficiency alongside predictive quality. They describe work with MLPerf to include energy in its benchmarks. They also cite an industry estimate placing inference, the work of answering requests with a trained network, at 80–90% of machine-learning workload. Training is the part they investigate in detail, and the cost of serving remains important to the larger account. Evaluation and benchmarks

Deep dive: Carbon Emissions and Large Neural Network Training

The paper traces the electricity and emissions of large neural network training to choices about computation, hardware, datacenters and power supply. · about 40 minutes to read

The problem and its context

What the published experiment leaves out

The paper starts with a tension in machine learning. Increasing the scale of a network had often improved what it could do. It had also increased the amount of computation researchers wanted to carry out. The authors focus on natural language processing because it mattered to Google’s products and because several substantial language training projects had recently appeared. The projects made the question concrete. A reader could ask about a completed run, find out what happened, and see which parts of the answer would still have to be estimated.

A paper can communicate a scientific result with almost none of the information needed to answer that question. A quality score tells a reader something about the behavior of a trained network. A parameter count describes how much adjustable capacity the architecture contains. An operations count comes closer to the work done during training. To connect any of these quantities to electricity, someone still needs to know what program executed, how the equipment performed while executing it, and how much power the system drew. The evidence can become hard to recover once the people responsible for the run have moved on.

Even an electricity total leaves a question open. A kilowatt-hour is an amount of energy. A carbon estimate assigns greenhouse-gas emissions to that energy using information about its supply. Facility design also enters the calculation because a site has to deliver power to its computers and remove heat from them. Electrical demand at the equipment, electricity attributable to the facility, and emissions attributable to that electricity are successive parts of the account. A reader can understand where a change came from only if the parts are visible.

These differences matter to the interpretation of efficiency. Suppose one training approach reaches the desired quality sooner. The saved time is immediately relevant to the people running the experiment. Whether it saves electricity depends on how much power the equipment draws while it runs. Whether it saves the same proportion of emissions depends on the electricity factors used in the comparison. The paper’s motivation is to make those intermediate questions answerable, including when a result involves changes at several levels.

Earlier work made cost a subject of research

The authors credit earlier environmental studies with bringing the resource demands of deep learning into view. Energy and Policy Considerations for Deep Learning in NLP examined energy and emissions and called attention to what expensive training means for participation in research. The present study takes up some of the same questions. It also revisits that work’s estimate for the computation behind Evolved Transformer. The earlier study had to reconstruct the search from published information, which makes the case an example of what happens when the reader’s evidence is dispersed across descriptions of different stages.

Green AI is part of the argument for making efficiency an explicit evaluation criterion. If experimental results are presented mainly through their highest quality scores, spending less to reach a useful score may receive little attention. A report that includes the resources used gives readers a way to see that accomplishment. Patterson and colleagues add a distinction within resource reporting. Time and accelerator use remain relevant to a research budget even if a provider improves how it supplies electricity.

Earlier studies also gave researchers ways to estimate or record the missing quantities. Quantifying the Carbon Emissions of Machine Learning is the source of the ML Emissions Calculator discussed in the paper. An estimator can use accessible information about hardware and location when facility measurements are unavailable. Towards the Systematic Reporting of Energy and Carbon Footprints is associated with experiment-impact-tracker, which the authors mention as an open-source way of recording information during experiments. These approaches address different moments in the life of a result. One helps calculate a footprint from the information a researcher can assemble. The other helps keep information from being lost in the first place.

The authors also point to prior concern about experimental effort that disappears from a publication. A finished training run may follow preliminary tests, attempts to get a configuration working and trials that produced weaker results. An environmental account for the successful run has a useful meaning. A research team weighing the cost of developing a competing approach may need the larger history. The paper treats that missing history as a measurement problem in its own right, because the final run is typically easier to define, document and check.

The computation can change before the hardware does

The field already had several ways to reduce the work required of a neural network. One was to reuse something learned previously. With fine-tuning, a researcher starts from an already trained network and adapts it to a further task. Transfer learning allows earlier training to serve more than one purpose. The paper connects this approach to T5, whose text-to-text formulation puts language tasks into a common input and output format. A different form of reuse, distillation, transfers behavior from a larger trained system to a smaller one that is cheaper to run. T5 · Distilling the Knowledge in a Neural Network

Other techniques change the work executed for an individual input. In a dense network, the parts of the network evaluated for each token are broadly the same. A token is a unit of text processed by the network. A sparse mixture of experts can route a token to selected components, so much of the stored capacity stays inactive for that token. That creates room to increase capacity without requiring an equal increase in arithmetic for every input. The paper discusses this approach alongside pruning, quantization and more efficient coding as techniques that can affect the resources needed to reach a given result.

Architecture search adds another distinction. Search is the process of discovering a design. Training a network with a chosen design is a later process that can happen repeatedly. A search may require many trials, with some stopped early and others given extensive evaluation. Once a design is available, its users can benefit from it without carrying out those trials again. The paper uses the family of architectures introduced in Attention Is All You Need and the search that led to The Evolved Transformer to examine those costs in the same study.

Running the computation is also an engineering choice

A research implementation uses a processor as part of a system. Data has to move, the equipment needs a host and memory, and a large run may need accelerators to communicate with one another. The paper gives these details practical importance because a chip’s advertised capability does not tell a reader how much of it a training program realizes. Cloud companies had also begun building processors specifically for deep learning. The authors connect that investment to the operating and capital costs of a datacenter, which give providers an economic reason to pursue useful throughput per watt.

A facility owner has related reasons to lower the electricity required for cooling and power delivery. The authors discuss cloud efficiency in the context of work on global datacenter electricity use. They use it to explain why changes in computing capacity and energy demand may proceed at different rates. For an individual experiment, they focus on a quantity that can be put into the calculation: the overhead associated with delivering computing services at the chosen site.

Electricity sourcing opens a further option. Training can frequently be assigned to a site before it begins, and some work can be scheduled when it is less urgent. The paper contrasts this flexibility with inference for a geographically distributed service, where keeping delay low helps determine where the service runs. A study centered on training can therefore investigate a location choice that may be less available during deployment. It also has to establish what a cleaner location means, including which grid supplies it and which electricity purchases enter the emissions account.

The method, step by step

From a completed run to an emissions estimate

The method follows a run from the work the program performed to the electricity used by the equipment and facility. It then connects that electricity to an emissions factor. The authors look for values specific to the run. Where they use a broader average or reconstruct part of the execution history, the estimate depends on that substitution. The same general procedure can account for a translation training run, a large pretraining effort or a collection of candidate evaluations in an architecture search.

From training records to operational emissions

The steps in order.

From training records to operational emissionsStep 1: Identify the workload and stopping point1. Identify the workload and stopping pointStep 2: Record accelerator count and duration2. Record accelerator count and durationStep 3: Measure power during representative execution3. Measure power during representative executionStep 4: Include datacenter electricity overhead4. Include datacenter electricity overheadStep 5: Find emissions factors for the location and period5. Find emissions factors for the location and periodStep 6: Calculate gross and procurement-adjusted emissions6. Calculate gross and procurement-adjusted emissions

The paper opens the accounting with a simplified expression that includes both training and subsequent use. It then sets most of the empirical work on the training side. A bounded run offers a known allocation and completion point. Serving has an additional variable that can become large over time: the number of requests.

F = (Eₜ + Q × Eᵢ) × C

F is the operational greenhouse-gas footprint. Eₜ is the electricity spent on training, Q is the number of inference queries, and Eᵢ is electricity per query. C gives CO₂e per kilowatt-hour for the datacenter. The product inside the parentheses represents total serving electricity, which is added to training electricity before the conversion to emissions. When C is given in kilograms of CO₂e per kilowatt-hour, F is in kilograms of CO₂e.

The equation represents the training and serving electricity with a common carbon intensity and the queries with a representative energy cost. This is enough to show why the relative size of those terms matters. The paper gives an illustrative division of 10% of electricity for training and 90% for serving. With that starting point, even doubling training energy can go along with a lower total if the energy spent serving falls by 20%. Those figures define the example. For the training runs that follow, the authors document the initial expenditure and discuss serving as a separate source of demand.

Determine which training work was done

For the smaller translation example, the authors compare Transformer (Big) and Evolved Transformer (Medium). The comparison uses the result from the architecture paper that the evolved configuration could reach the relevant quality level of the larger original Transformer. This gives training time a specific meaning. It is time to reach a quality goal on the English-to-German WMT task, so the resource comparison has a common purpose on both sides. Transformer and attention

The larger training accounts describe different procedures. Meena is an open-domain conversational system that learns to predict the next token. Its objective involves minimizing perplexity, which describes how uncertain the network is about the observed next tokens. T5 uses pretraining in a unified text-to-text setting. The authors draw attention to training it until quality is sufficient, because the point at which an experiment stops affects its total computation. GPT-3 also predicts text autoregressively, with earlier text supplying the context for the next token. Its training account covers an already completed run, with its total arithmetic work reported in the original study. Meena · GPT-3

GShard-600B and Switch Transformer make the relevance of execution particularly clear. The former applies the GShard framework to multilingual translation. GShard helps divide computation across accelerators through automatic sharding, where parts of the work and its data are distributed among devices. Its translation network also uses sparse routing. Switch Transformer simplifies routing among experts to reduce communication and computation. In both cases, what happens to an individual token is a better guide to its arithmetic cost than an assumption that all stored parameters are used for every token. GShard

Architecture search requires a different description of the workload. The event being costed is a sequence of trials. Candidate designs can be tested with a smaller setup, and trials that already look unpromising can be stopped before their more promising competitors. To determine the total work, the authors need both how many steps the trials used and what a step consisted of. The full training procedure for the selected design gives limited information about either part of the earlier search.

Establish accelerator time and achieved throughput

For the Google runs, the authors have the accelerator counts and durations. They also use Xprof, Google’s internal profiling system, to obtain achieved arithmetic rates. The rate measures floating-point work divided by the time used to perform it. A floating-point operation is an arithmetic operation of the kind counted in the training workload. An accelerator’s peak rate refers to what its specification allows under suitable conditions, while the achieved rate describes its progress on this particular program.

R = O ÷ S

R is the achieved rate of floating-point operations per second. O is the number of counted floating-point operations, and S is execution time in seconds for the same work. When a measured rate is given per accelerator, the scope of O and S likewise describes the work behind that per-accelerator rate.

The paper uses performance per accelerator, processor count and elapsed duration to obtain aggregate arithmetic work for the Google runs. With the rate in operations per second and time in seconds, the relationship can be written as follows.

Oₜ = Rₐ × N × Sₜ

Oₜ is the total number of floating-point operations during training. Rₐ is average achieved operations per second per accelerator, N is the number of accelerators, and Sₜ is elapsed training time in seconds. The multiplication treats the observed per-accelerator rate as representative of the allocated devices over that duration.

The GPT-3 calculation works in the other direction. It starts from 3.14E+23 published floating-point operations for training. OpenAI supplied a V100 rate of 24.6 TFLOPS/s for that workload. The authors use 10,000 V100 accelerators, following the allocation suggested in an NVIDIA announcement, and list 14.8 days in their detailed account. The rate and the total operations establish the accelerator time under the reconstruction. The proposed allocation turns that time into an elapsed duration.

The authors explain that one could use a different division between duration and chip count in the arithmetic so long as the aggregate accelerator time remains the same. This relies on retaining the assumed throughput and average power per device. It is a property of the estimate under those inputs. An actual run on a differently sized allocation has its own communication behavior, which would have to be observed to determine whether those inputs still fit.

Measure the power of computing equipment under load

The relevant power figure is the average draw of the computing system attributed to an accelerator while the work is running. It includes the accelerator and equipment that supports it, such as memory, the host CPU, network interfaces and fans. In the discussion of the search measurements the authors also mention rack equipment, including power supplies and a switch. Measuring within that boundary brings the energy needed to operate the processor into the same account as the processor’s own demand.

The paper gives thermal design power, or TDP, in its tables so that readers can see how a specification relates to the evidence used. TDP concerns the chip’s thermal design. The measured figure concerns a running system that includes equipment beyond the chip. For the GPT-3 account, OpenAI reported average power of 330 W per V100 system during the relevant work, and the paper lists a chip TDP of 300 W. The figures can coexist because their boundaries differ. The authors also discuss Turbo Mode and Dynamic Voltage Frequency Scaling in the GPUs, operating features that affect how their power relates to the design figure.

Repeated measurement has a cost of its own. The authors consider an average from several similar training workloads an acceptable practical substitute when measuring each run is difficult. To give some idea of the variability in their examples, they report standard deviations as percentages for groups using the same processor type. The listed value for the TPU v3 group is 10%, and the one for the V100 group is 2%. The groups contain the workloads measured in the study. Those percentages help explain the proposed shortcut while leaving its applicability dependent on how similar another workload is.

The scope of the power number also helps explain a difference between the historical P100 estimate for search and the authors’ own P100 measurements for translation. They identify differences in hosts, implementations and the equipment included in the measurement. They also mention sampling frequency as a possible contributor. A nominally identical accelerator can therefore appear in separate power estimates without making those estimates interchangeable.

Include the electricity spent outside the computing equipment

Power Usage Effectiveness, or PUE, is the ratio of facility electricity to the part used by computing equipment. It represents how much additional demand accompanies operation of the equipment. Cooling and getting power to the equipment are part of the overhead. The paper illustrates the measure with a facility overhead of 50%, corresponding to a PUE of 1.50. The amount of electricity measured at the equipment is the base to which that facility factor applies.

E = H × N × P × U ÷ 1000

E is the electricity attributable to training in kilowatt-hours. H is elapsed training time in hours. N counts the allocated processors, and P is their average system power per processor in watts. U is the dimensionless PUE. Multiplying hours by the combined power gives watt-hours, and dividing by 1000 converts them to kilowatt-hours.

The multiplication makes each input inspectable. A shorter training time changes H. Higher throughput can shorten the run, while a change in processor power enters through P. A new facility can have a different U even when nothing about the program changes. This is also why the boundary of P matters. The authors first count the computing equipment within the measured system and then apply the overhead factor appropriate to the datacenter.

The paper uses facility PUE for Google’s runs and a PUE of 1.10 communicated by OpenAI for the Azure datacenter used for GPT-3. In the comparison involving an average US datacenter, it uses 1.59 for 2020. The historical architecture-search reconstruction uses 1.58 for the US average in 2018. The year is part of the assumption in each case. The authors suggest using an average when a provider does not publish the relevant facility data. A report can still make clear which kind of value went into the result.

Apply an electricity factor with a place and time

The next calculation assigns greenhouse-gas emissions to each kilowatt-hour. Carbon dioxide equivalent expresses the contribution of gases such as methane and nitrous oxide alongside that of carbon dioxide. The paper distinguishes this quantity from an inventory of carbon dioxide alone. Its training results are usually given in metric tons of the combined equivalent.

T = E × I ÷ 1000

T is the training footprint in metric tons of CO₂e. E is electricity in kilowatt-hours. I is the electricity emissions intensity in kilograms of CO₂e per kilowatt-hour. Multiplication yields kilograms of CO₂e, and division by 1000 converts kilograms to metric tons.

For Google runs, the authors use factors for the datacenter and the period of execution. They describe the monthly average as a workable approximation for this study. For GPT-3 they use the 2020 US national factor of 0.429 kg of CO₂e per kWh. That gives the Azure account a different evidential structure from the Google accounts. Some inputs describe the actual execution or its facility, while the electricity factor describes a much larger area. When a usable regional or facility factor cannot be obtained, the paper points to ML Emissions Calculator and Green Algorithms as alternatives for estimating emissions.

The dating also matters when interpreting a claim about moving computation. A site can have a changing grid mix and changing access to contracted electricity. The authors’ estimate describes the factor used for the account, and their hypothetical move of a search to Iowa uses the conditions stated for that comparison. The organization’s name by itself tells a reader little about the factor that applies to an individual run.

Account for gross electricity emissions and local clean purchases

The gross calculation uses the emissions intensity attributed to the grid. The net calculation in this paper allows for carbon-free energy bought through a local, hourly accounting framework. The same run can thus have gross and net figures derived from the same electricity total. To see what changes between them, a reader has to look at the electricity factor.

The paper’s appendix explains the framework by starting with conventional renewable electricity accounting. Under the Scope 2 rules described there, use in one region and month can be matched by the purchase of clean electricity in another region and month, within the relevant accounting arrangement. The authors illustrate this with Georgia consumption in July and a Montana purchase in November. Renewable Energy Certificates represent the environmental attributes of the generation. They are intended to make renewable claims traceable and avoid double counting those attributes.

The local approach narrows both the region and the time window. A qualifying purchase has to come from the local grid and match use in the same hour. The accounting counts an uncovered part of a facility’s demand as a shortfall for that hour. Surplus clean power in a different hour does not carry forward as credit. The resulting carbon-free share can be determined after consumption, grid and generation information becomes available. The paper uses that framework to derive net factors for the accounts where the necessary data are available.

The authors discuss long-term power purchase agreements because a reliable revenue commitment can help finance a generating project. They also explain additionality, the question of whether an emissions reduction would occur without an offset market or purchase. These details supply the economic context for the accounting. The reported net value reflects qualifying procurement under the framework, while the electricity delivered through a common grid remains physically shared. The paper gives both gross and net values so that the size of the accounting change is visible.

Rebuild the architecture-search estimate in stages

Appendix C first reconstructs the earlier estimate for the Evolved Transformer search using its original assumptions. This exposes the place where the descriptions of two workloads had been conflated. The arithmetic uses a count of candidate training steps and a cost assigned to each step through time, chips and their emissions rate.

Cₛ = Nₛ × K × Hₛ × A

Cₛ is the estimated CO₂e attributable to search, in pounds when using the emissions rate from the earlier study. Nₛ is the count of chips assumed for each candidate evaluation. K is the total number of training steps being costed. Hₛ gives elapsed hours per step for that candidate configuration, and A gives pounds of CO₂e per chip-hour. Multiplying Hₛ by K and Nₛ expresses the search as aggregate chip-hours.

The paper describes the chip-hour emissions rate as a combination of power, facility overhead and the electricity emissions factor. Written with the factor expressed per watt-hour, the relationship is as follows.

A = Pₛ × Uₛ × Iₛ

A is the CO₂e assigned to a chip-hour. Pₛ is the average power in watts attributed to each chip. Uₛ is the PUE assumed for the search facility, and Iₛ gives pounds of CO₂e per watt-hour. Watt-hours are the appropriate basis for Iₛ here because Pₛ is in watts and A is stated for an hour of operation.

The search had considered 15K candidate networks. Over 13K failed to advance beyond the first screening hurdle. This kept the search at 979M training steps, compared with the 3.6B steps that the architecture paper associates with giving the same candidates the longer training allocation without those hurdles. The researchers then took the top 20 configurations and trained them for 300K steps each, with a TPU v2 chip for each configuration. The account gives the search trial and the later evaluation distinct purposes and durations.

The earlier carbon estimate assigned the trials the cost of Transformer (Big) with batch size 32,768. A batch is the set of examples processed together in a training step. The proxy evaluations actually used Transformer (Base) with batch size 4,096. According to the appendix, the change of configuration reduced the cost per step by 2.3x, and the smaller batch contributed a further 8x. The aggregate step count could therefore be correct while the computation assigned to it was far too large. The hypothetical P100 reconstruction in Appendix C uses the observed search design with GPU timing assumptions. Appendix D then replaces hypothetical execution with the TPU v2 system, facility overhead and electricity intensity for the original search.

The architecture resulting from the search was released in Tensor2Tensor. That makes the distinction between finding a design and training with it practical. A group with a use for the Evolved Transformer architecture can start from the released implementation, even when its application differs from the translation task used in search.

Experiments and results

The large training runs differ in what they accomplish

The paper brings together operating records, hardware measurements, reported totals from the original training studies and assumptions about electricity. It presents a collection of cases with different tasks and stopping conditions. The detailed columns cover accelerator count, elapsed days, achieved throughput and floating-point operations, followed by electricity and gross and net emissions. Processor-years in the paper’s graphical comparison are another way to express the amount of hardware time. A long run on fewer accelerators and a short run on many accelerators take on comparable units under that description.

The electricity comparison shows the spread across the large natural language processing workloads. GShard-600B has the lowest training electricity total among these cases. The tasks need to stay attached to the labels. A multilingual translation system, a dialogue system and a general-purpose text predictor each have their own reason for being trained, and the electricity figure describes the resources committed to that purpose.

Electricity for the reported large NLP training runs

GShard-600B uses the least electricity among the training runs examined.

Electricity for the reported large NLP training runsGPT-3: 1,287GPT-31,287Meena: 232Meena232Switch Transformer: 179Switch Transformer179T5: 85.7T585.7GShard-600B (this paper): 24.1GShard-600B (this paper)24.1
The numbers
System or settingMWh
GPT-31,287
Meena232
Switch Transformer179
T585.7
GShard-600B (this paper)24.1

The T5 entry concerns the 11B-parameter configuration. Its run used 512 TPU v3 accelerators for 20 days, with average system power of 310 W per accelerator. The detailed account gives 46.7 tCO₂e for both gross and net training emissions. When the paper plots computation against parameter count, T5 occupies a position the authors partly attribute to ending training when the desired quality was reached. This makes the stopping decision part of the explanation of the electricity total.

Meena has 2.6B parameters and was trained for multi-turn dialogue. It used 1024 TPU v3 accelerators for 30 days. The recorded average system power is 289 W per accelerator, and the paper assigns the run 96.4 tCO₂e in both its gross and net columns. Meena also supplies an application in which the authors estimate the benefit of using the architecture that resulted from the earlier search. That comparison concerns the original architecture as an alternative for this dialogue workload.

GShard-600B also used 1024 TPU v3 accelerators, with average power of 288 W per accelerator. Training lasted 3.1 days. The detailed table gives 4.8 gross tCO₂e and 4.3 net tCO₂e. Its gross and net electricity factors are 0.201 and 0.177 kg of CO₂e per kWh, respectively. The table lists 0.25% as the share of parameters activated per token. The network’s 600B total parameters and its brief training duration belong in the same account, because they describe different properties of the computation.

The Switch Transformer entry has 1024 TPU v3 accelerators and a duration of 27 days, with 245 W of average system power per accelerator. The emissions estimate is 72.2 gross tCO₂e and 59.1 net tCO₂e. The discussion describes a network with 1500B parameters, of which 0.1% are activated for a token. It reports a result from the architecture work of up to 7x faster pretraining with the same computational resources. The run in the table has its own training duration and total, which reflect the workload chosen for that case.

GPT-3 has 175B parameters, all in the dense rather than sparse setting considered by the paper. Its estimated duration is shorter than Meena’s, while its estimated equipment allocation is substantially larger. The GPT-3 account gives 552.1 tCO₂e for both gross and net emissions under the US-average factor. OpenAI provided measurements of hardware performance and power, together with facility information. The electricity factor applied to the calculation comes from the national estimate, so the fact that the two emissions columns agree here follows from how the authors construct the account.

Multilingual translation connects computation to quality

Across the GShard and GPT-3 cases, the paper reports that GShard uses ~45X fewer processor-years and ~55X less electricity. It gives reductions of ~115X for gross emissions and ~130X for net emissions. These are ratios between the reported run accounts. They combine differences in training work, equipment and electricity. Their role is to demonstrate the range of actual resource demand in large training runs, including cases in which the ordering by parameter count would give a different impression.

A translation comparison drawn from GShard makes a more specific connection to quality. The plotted task is translation from 100 source languages into English. The reference scores come from separate baseline Transformers trained on each language pair. The multilingual systems are compared with those references using BLEU score, the paper’s measure of translation quality, based on agreement with reference translations. The resulting curves show how gains vary across languages and across architectures.

The paper reports a mean gain of +13.5 BLEU for the 600B expert-based system, which is 7.4 BLEU above the 2.3B dense system in this analysis. It also says the dense alternative required ~10X as much computation for training despite its lower translation quality. This comparison supplies two pieces of evidence together. The expert architecture can carry high capacity across a multilingual problem, and its selective computation lowers the cost of using that capacity in training.

The figure groups source languages by the amount of training material available. The accompanying description identifies low-resource cases with less than 1M training examples and high-resource cases with more than 1B. The multilingual gains extend across the source languages and are especially large towards the low-resource end. The authors use Yoruba and Spanish to illustrate the contrast. The average BLEU gain describes overall performance on the reported set; the language-level curves make visible how unevenly that gain is distributed. Low-resource languages

Translation at comparable quality reveals cumulative savings

The running example concerns a more narrowly defined comparison on WMT English-to-German translation. The starting point is an original Transformer configuration running on P100 GPUs with an average US facility and electricity supply. The endpoint is a smaller Evolved Transformer running on TPU v2s at the Iowa site. The paper uses the comparable quality result of the two architectures to make the endpoint comparison meaningful. It reports 316 kWh of training electricity at the starting point and 30 kWh at the endpoint.

WMT English-to-German training, net emissions at comparable translation quality

The evolved architecture on TPU hardware with Iowa’s electricity accounting has the lower net footprint.

WMT English-to-German training, net emissions at comparable translation qualityTransformer (Big), P100, US-average datacenter: 0.1357Transformer (Big), P100, US-averagedatacenter0.1357Evolved Transformer (Medium), TPU v2, Iowa (this paper): 0.0024Evolved Transformer (Medium), TPU v2,Iowa (this paper)0.0024
The numbers
System or settingnet tCO₂e
Transformer (Big), P100, US-average datacenter0.1357
Evolved Transformer (Medium), TPU v2, Iowa (this paper)0.0024

The paper gives the endpoint change as 57X. The intermediate results explain where that change comes from. Evolved Transformer (Medium) requires 1.03E+19 floating-point operations for the training comparison, against 1.61E+19 for Transformer (Big). The authors characterize the reduction as 1.6X. The evolved network has 0.13B parameters, compared with 0.21B in Transformer (Big). The accompanying comparison reports that the smaller design can reach the quality goal faster, and the original architecture study contains operating points at which it improves quality.

The hardware figures show changes in both performance and draw. For Transformer (Big), TPU v2 achieves 4.3X the performance of the P100 in the comparison, with power lower by a factor of 1.3X. For Evolved Transformer (Medium), the corresponding factors are 5.2X for speed and 1.2X for reduced power. The stated performance-per-watt gains are 5.6X and 6.2X, respectively. These changes use measured system figures for the relevant programs, so they capture how the implementations make use of the equipment.

At the facility level, the Iowa PUE of 1.11 is lower than the 1.59 used for the average US site. The authors describe the advantage as 1.4X. The electricity accounting introduces a larger change at the endpoint. The US average is 0.429 kg of CO₂e per kWh, and the Iowa grid’s gross figure is 0.478 kg of CO₂e per kWh. After local matching, Iowa’s net factor is 0.080 kg of CO₂e per kWh. In the paper’s comparison, that net factor represents a 5.4X improvement over the national factor. Thus the endpoint pairs an electricity saving from the run and facility with a further reduction attributable to the net emissions calculation.

The paper also reports how later TPU generations affect the same translation workload. On TPU v3, it gives 0.44 days for Transformer (Big) and 0.37 days for Evolved Transformer (Medium). On TPU v4, the corresponding times are 0.25 days and 0.19 days. The reported electricity and emissions improvements from TPU v2 to TPU v3 are ~1.4X for the original Transformer and ~1.3X for the evolved one. Time and electricity appear separately because a training run can finish sooner while drawing power at a different rate.

The historical search account changes when the proxy is recovered

The earlier estimate for the Evolved Transformer search used an average US facility and a P100 setup. In the first stage of the revision, Patterson and colleagues retain that hypothetical setting and reprice the work using the smaller candidate configuration. The next stage gives an account of the historical TPU v2 execution in Georgia. The three estimates have distinct premises, even though they aim to describe the emissions attributable to the same search.

Evolved Transformer architecture search, CO₂e under different reconstruction assumptions

The smaller candidate workload lowers the estimate, and the historical infrastructure lowers it further.

Evolved Transformer architecture search, CO₂e under different reconstruction assumptionsEarlier estimate using full-size candidate evaluations: 284Earlier estimate using full-sizecandidate evaluations284Actual proxy with hypothetical P100 execution: 15.2Actual proxy with hypothetical P100execution15.2Historical TPU v2 execution in Georgia (this paper): 3.2Historical TPU v2 execution in Georgia(this paper)3.2
The numbers
System or settingtCO₂e
Earlier estimate using full-size candidate evaluations284
Actual proxy with hypothetical P100 execution15.2
Historical TPU v2 execution in Georgia (this paper)3.2

Under the larger workload assumption, the earlier reconstruction assigns 8 P100s to the candidate configuration and 0.00028 hours to a step. Under the smaller configuration, the appendix uses 1 P100 and 0.00012 hours per step. It keeps the estimated emissions rate of 0.2855296 pounds of CO₂e per chip-hour for the comparison. The earlier estimate and the corrected proxy calculation differ by ~18.7 according to the appendix. The reason for the change is how the same reported training steps are priced.

For the actual search, the paper gives 32,633 TPU v2 hours and 208 W of average measured system power per accelerator. It compares that to a reconstructed total of 117,780 P100 hours and the earlier power estimate of 189 W per GPU system. Appendix D reports a 3.3X advantage in performance per watt for the search on TPU v2 under those inputs. The historical Georgia facility contributes a PUE of 1.10 and an electricity factor of 0.431 kg of CO₂e per kWh for the period in question. The latter is close to the 0.423 kg per kWh used as the national assumption for the earlier comparison. A lower electricity factor therefore accounts for little of the actual search revision. The proxy workload, equipment and facility overhead explain the large changes.

The detailed account assigns the historical search 7.5 MWh, with gross and net emissions both at 3.2 tCO₂e. Meena provides the paper’s example of a subsequent saving. The authors estimate 48.5 tCO₂e saved by training it with Evolved Transformer instead of the regular architecture and describe that one use as returning ~15X the emissions cost of the search. That comparison ties a discovery expense to a particular reuse of its output. A separate estimate in Appendix D puts the same search at 0.6 tCO₂e under the stated Iowa conditions with TPU v2. The Iowa case is a prospective calculation for a run that took place in Georgia.

What the ablations show

The paper offers no conventional component-removal ablation, and its comparisons instead examine alternative architectures, hardware measurements, facility assumptions and ways of estimating the work behind a result.

How much the architecture changes the training requirement

The translation case is the closest comparison to asking what changes when different architectures are trained to the same goal. In the reported WMT comparison, the authors describe the evolved configuration as having 37% fewer parameters and requiring 25% less energy to converge to comparable quality. FLOPS and time to reach the goal add supporting evidence. In this setting, the benefit goes beyond the size of the resulting network. The improvement appears in the execution of training itself.

The original architecture figure also shows a series of sizes for each design. The paper can therefore discuss both the resources needed for a particular quality and the possibility of getting better quality with a different configuration. Those comparisons address choices that researchers actually have. A team can use an improved architecture to reach a target sooner, or it can use part of the available capacity and budget to aim for a stronger result. The cost statement depends on which of those experiments was performed.

The GShard analysis tests a different architectural question. A multilingual system can benefit from considerable capacity while executing only selected experts on each input. The BLEU results show that the particular sparse system could use that capacity to improve translation, with gains that were especially strong for languages with less training material. The dense comparison is important here because it brings quality into the claim about computation. The much broader gap between the GShard and GPT-3 training accounts illustrates variation across applications, while the translation evidence supports a comparison within one application.

Which hardware looks efficient depends on how it is measured

The authors compare theoretical and measured performance per watt for V100 and TPU v3. The theoretical comparison favors V100 by 1.5X. With measured workload throughput and power, the paper gives TPU v3 a 2.0X advantage on average for the large language workloads examined. The ranking changes because each method uses a different account of the work delivered for the electricity drawn. Peak arithmetic performance supplies a capacity figure. Measurements pair the power of the running system with the throughput that the program actually obtains.

The authors report that theoretical performance per watt exceeds measured performance by an average factor of 1 across the measurements they included.6X for TPUs and 3.5X for GPUs. Their argument is about how to compare hardware for a real workload. Processors can expose different fractions of their peak capability when they run it. The measured boundary also includes systems such as memory and the host, so the power attached to the throughput describes more than the accelerator chip.

The paper reinforces this point with its hypothetical supercomputer example. It projects training Transformer (Big) on Quartz-Tundra, a machine whose design was aimed at work other than machine-learning training. It assumes that the run reaches 40% of peak arithmetic performance and applies US averages for facility and grid. The projected result is ~75 MWh and 32 tCO₂e. The authors use the large estimate to show how easy it is to generate a striking number from a plausible but unobserved setup. The result describes the assumptions specified for the hypothetical, while the translation measurements describe actual implementations on the processors studied.

Estimators are useful with an identifiable reference

The paper checks what a researcher would obtain using two public calculators. For each relevant case, the authors select the closest location option available in the calculator and compare its gross estimate with their own gross account. ML Emissions Calculator produces ratios from 0.53–1.64 with a geometric mean of 0.92. Green Algorithms produces ratios from 0.91–2.42 with a geometric mean of 1.48. Each ratio describes a calculator estimate divided by the study’s gross estimate. The geometric mean summarizes multiplicative agreement across cases.

The ranges matter alongside the averages. A calculator can come reasonably close in aggregate while producing appreciably different figures for particular runs. Choosing a regional option can miss conditions at the actual facility. A calculator may also start from a typical hardware power figure where the paper uses observations from a particular workload. The comparison measures the combined effect of those substitutions, and the ratios show that the estimate can move in either direction.

The calculators in this comparison estimate gross emissions. The authors say that net emissions under local procurement can be up to 10X lower. That creates a different question from how close the calculator came to the measured inputs. A gross estimate can be reasonable for the question it answers, while an organization may also be able to produce a procurement-adjusted account with the relevant data. The results support using an estimator when measurement is difficult and identifying which emissions quantity it returns.

Geography works through electricity as well as facility overhead

The Iowa example shows how a comparatively low net factor can arise from the use of a site and a procurement portfolio together. The authors attribute the gap between the local gross figure and net figure in the December 2020 example to wind purchases and report a 6X reduction. The effect can be large when the local supply and the timing of generation match load well. In the paper’s Georgia search account, the gross and net factors happen to agree. These cases explain why a common corporate procurement policy can leave individual runs with very different adjustments.

The authors also discuss geographic and temporal scheduling more broadly. A cloud provider can have locations with different grid supply and different opportunities to buy clean generation. Some work has enough scheduling flexibility to make use of those differences. Google’s Oklahoma example, at 95.6% net carbon-free energy on average for 2020, illustrates what can be achieved at a particular site under its framework. The paper uses this kind of observation to explain its interest in choosing where and when a run takes place.

The possible gains have different meanings at different levels. An operations saving changes the program’s computational demand. A processor efficiency saving changes the electricity needed to deliver the work. Lower PUE reduces supporting electricity, and a lower emissions factor changes the footprint assigned to the electricity consumed. The combined result in the WMT example is large precisely because these inputs enter at distinct places in the calculation. Its interpretation depends on retaining the measured and accounting contributions behind the final total.

Limitations

The boundary the authors set

The authors explicitly limit the environmental inventory to running computers and datacenters. They exclude the emissions from fabricating and recycling the equipment. They also identify computation on phones and other edge devices as outside the investigation. The study therefore supports comparisons within its operational boundary, and a decision about replacing hardware would require additional evidence about what the replacement itself costs to make and install.

The authors focus on training because it is easier to isolate. They cite NVIDIA’s estimate that inference accounts for 80–90% of machine-learning workload, alongside an AWS statement that 90% of cloud demand for machine learning comes from inference. These describe workload or demand as reported by the sources. They supply context for the importance of serving, while detailed energy shares for the particular systems would require their own observations. That would mean knowing how much the systems are used, how serving is implemented, and where its electricity is supplied.

The authors suggest one possible saving when a pretrained network can adapt its behavior from examples in a prompt: fresh training for each task may be avoidable. The study leaves open how much retraining a particular application avoids and how much electricity it spends handling requests over time. A full judgement would combine those quantities for the same deployment. Few-shot learning

Missing work before the successful run

The paper explicitly notes that a final training run leaves out the resources needed to arrive at it. Experiments can fail, and finding settings that work can take repeated trials. The authors describe planned additions to internal tracking and the emerging CodeCarbon project as approaches to recording more of that work. They also point out the difficulty of checking after publication whether a team has reported all of its preliminary experiments.

The architecture search receives an unusually detailed reconstruction because its original investigators can explain the proxy, stopping rules and historical allocation. A careful reader should treat it as evidence from one identifiable development process. The study gives no comparable reconstruction of the full experimental history behind every large run in the collection. Differences between the totals could be accompanied by differences in exploratory effort whose magnitude the accounts cannot reveal.

The Meena case also has a limited denominator. The authors can relate an estimated saving on a particular run to the footprint assigned to finding Evolved Transformer. They remark that the development costs of other efficient architectures are rarely available, which prevents a straightforward comparison of returns across search methods. For a careful reader, the favorable reuse case establishes that repayment can occur under the reported conditions. Estimating a typical return would require expenditure and reuse evidence across more designs.

The evidence for each number has its own scope

The authors acknowledge that the training projects have different tasks. For a careful reader, this confines what can be inferred from the ordering in the electricity chart. The systems are trained to different objectives, on different workloads, with different criteria for finishing. The GShard comparison on translation and the quality target in the WMT example have more direct bearing on relative efficiency at a particular task. The same causal interpretation cannot be carried over to every pair in the larger collection.

The paper also states how it combined evidence for GPT-3. It had communicated measurements of power and throughput, access to published total operations and a reported facility PUE. Its processor count is a reconstruction choice, and its electricity intensity is a national average. For a careful reader, the final emissions figure inherits those assumptions despite the decimal precision of the table. The facility data from 2020 are also described by the authors as provisional, pending validation in May 2021.

Another inference from the setup concerns comparisons between implementations. Measured throughput and power are an advantage because they capture the computation as performed. They also tie the result to that performance environment. A hardware ratio can change if a program is implemented differently or if supporting equipment changes. The paper gives a group-level description of variation in some processor power measurements. A reader seeking uncertainty bounds for the emissions of an individual run would still need to consider the reliability of its specific power, facility and electricity inputs.

What net emissions and location can establish

The authors explicitly acknowledge the limits of tracing electricity in a shared grid and describe the standards and market arrangements for hourly local matching as unfinished. Their net figure credits qualifying procurement under the framework they describe. Annual renewable matching is a further claim at a different time and geographic scale. Either can be interpreted only by retaining the corresponding rules of attribution.

A careful reader can go another step and ask about the consequence of moving a particular workload. A lower average emissions factor supports a lower inventory estimate under the method. Determining the change in total grid emissions from the move would require evidence about how supply and other loads respond. The authors give reasons why transferring a job to a cleaner datacenter need not displace some other job onto dirtier power, including unused capacity, expansion and investment in generation. They present possible mechanisms, while the magnitude of any displacement in a particular move depends on conditions at the sites.

The same scope applies to the claim that flexible training can choose a location. The authors describe advantages of a concentrated training allocation and distinguish them from the latency demands of serving users in many places. A careful reader would also tie the choice to the equipment and capacity needed for a run. The paper documents a route to a lower-emissions estimate where the requisite hardware, time and electricity conditions can be obtained.

A run-level improvement leaves aggregate outcomes open

The authors explicitly recognize a possible consequence of cheaper training: more people may run the experiment. Better affordability can broaden access to research and also increase demand for computation. The training accounts can establish how much electricity is used in a particular execution, while any field-wide total depends on participation, the volume of training and the amount of serving. The paper’s claim for better efficiency is a claim about what can be improved per run and how incentives might encourage it.

Contextual comparisons are limited in a related way. The paper reports that the included Google training runs would account for less than 0.005% of Google’s 2019 electricity under its comparison. The denominator supplies a sense of scale for those runs. A careful reader would need a larger inventory to estimate how much electricity all of the company’s language development and serving consumed. The paper’s comparisons with aviation also depend on the unit of comparison, such as the whole plane or one traveler, and clarify magnitude within the units stated.

The authors give examples of possible benefits from language technology, including a service for finding evidence in biomedical literature and improvements in translation. Their GShard discussion likewise recognizes the need to attend to fairness and bias. These accounts demonstrate why evaluating a system can involve more than its resource bill. A careful reader would need evidence of realized use, quality and harms to assess the overall value of a deployment. The paper contributes comparable resource quantities where it has the data to calculate them.

What came after

Energy became a subject of optimization

The later citing works take up different parts of the problem Patterson and colleagues describe. The clearest extension by subject is Zeus, which studies how to understand and optimize GPU energy for deep neural network training. Patterson and colleagues use observed power and duration to estimate the electricity consumed by a run. Zeus’s stated research question puts that electricity use inside the optimization problem. The citation establishes a connection between these lines of work. Its title identifies the objective, while any particular measurement procedure or numerical result would need evidence from Zeus itself. Zeus

The later survey of efficient natural language processing takes up efficiency at the level of the research literature. This extends the setting in which the earlier paper asked for energy and emissions alongside quality. An efficiency survey has reason to consider work that changes learning, work that changes execution, and evidence that distinguishes between those improvements. The citation links Patterson and colleagues’ operational accounting to the broader subject of efficient methods. The extent to which the survey adopts the paper’s gross and net accounting distinction remains unspecified. Efficient Methods for Natural Language Processing

Expert routing continued across applications

GLaM continues the architecture question raised by the GShard and Switch Transformer accounts. Its stated subject is efficient scaling in language through a mixture of experts. The link to the emissions paper is concrete at the level of the approach. Expert routing gives a large network selective execution, so the cost of exercising that capacity needs to be evaluated through actual computation. Efficient Large Scale Language Modeling with Mixtures of Experts pursues the same relationship between scaling and selective use of capacity. The citations and titles establish the shared design direction, while the earlier training totals belong to the systems for which they were calculated. GLaM · Efficient Large Scale Language Modeling with Mixtures of Experts

The work on scaling vision with sparse mixtures of experts takes that architecture question into a different application. Patterson and colleagues study the work triggered by text tokens, especially in multilingual translation. The later work identifies sparse experts as its approach to scaling visual computation. What carries across is the relationship between stored capacity and active computation. Whether that relationship yields an electricity saving in a new domain still turns on the workload, routing and hardware execution. Scaling Vision with Sparse Mixture of Experts

No Language Left Behind continues the multilingual translation problem. The earlier study uses GShard to connect training cost with performance across languages that differ in available examples. The later work’s stated subject is the scaling of human-centered machine translation, so it continues the application in which that combination of quality and cost was examined. The citation alone leaves open how the later authors estimated electricity or which comparisons they used for training efficiency. No Language Left Behind

Scaling kept reporting and transparency in view

PaLM and Gopher cite the study in work on scaling language systems. PaLM names Pathways as part of its scaling approach, and Gopher presents methods and analysis from a large training effort. Their stated subjects keep attention on an empirical setting in which an architecture, an implementation and an allocation together determine the executed workload. The relation to the emissions paper is the continued need to understand those conditions when judging a scaling result. There is no basis in the citation relationships for equating the electricity factors, facility boundaries or training budgets of the projects. PaLM · Gopher

OPT and BLOOM put openness in their stated research subjects. They extend the citation connection into work where access to a pretrained system is part of what the authors describe. Access to the resulting network and access to the history of its computation are distinct forms of evidence. The emissions study specifies pieces of that history that make a training footprint intelligible, from accelerator time to site-specific electricity. The citations document the connection without establishing the contents of each project’s resource account. OPT · BLOOM

The Foundation Model Transparency Index takes transparency itself as the named subject. This gives the earlier paper’s call for disclosure a connection to a broader assessment of what researchers and developers make visible. An energy total with disclosed inputs allows a reader to examine the assumptions behind it. A published quality result has a similar need for context about how it was obtained. The citation brings the training-cost study into that wider discussion, while the title alone leaves the index’s treatment of particular electricity or emissions fields open. The Foundation Model Transparency Index

 Fields, topics and concepts

Cite

Cite as David Patterson, Joseph Gonzalez, Quoc Le, Chen Liang, Lluis-Miquel Munguia, Daniel Rothchild, David So, Maud Texier and Jeff Dean. 2021. Carbon Emissions and Large Neural Network Training. arXiv:2104.10350.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2104.10350 · arXiv 2104.10350

@misc{patterson2021carbon,
  title = {{Carbon Emissions and Large Neural Network Training}},
  author = {David Patterson, Joseph Gonzalez, Quoc Le, Chen Liang, Lluis-Miquel Munguia, Daniel Rothchild, David So, Maud Texier and Jeff Dean},
  year = {2021},
  doi = {10.48550/arxiv.2104.10350},
  eprint = {2104.10350},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2104.10350}
}

References

55 references, 14 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. Adiwardana, D. , Luong, M., R. So, D., Hall, J., Fiedel, N., Thoppilan, R., Yang, Z., Kulshreshtha, A., Nemade, G., Lu, Y., and Le. Q. Towards a Human-like Open-Domain Chatbot . arXiv preprint arXiv:2001.09977 .
  2. Armbrust, M., Fox, A., Griffith, R., Joseph, A.D., Katz, R., Konwinski, A., Lee, G., Patterson, D., Rabkin, A., Stoica, I. and Zaharia, M., 2010. A view of cloud computing. Communications of the ACM, 53(4), pp.50-58. OpenAlex ↗ · Scholar ↗
  3. Barr, J. December 3, 2019. Amazon EC2 Update, aws.amazon.com/blogs/aws/amazon-ec2-update-inf1-instances-with-aws-inferentia-chips -for-high-performance-cost-effective-inferencing/ . OpenAlex ↗ · Scholar ↗
  4. Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam , P., Sastry, G., Askell, A., Agarwal, S., Herbert-Voss, A., Krueger, G., Henighan, T., Child, R., Ramesh, A., Ziegler, D., Wu, J., Winter, C., Hesse, C., Chen, M., Sigler, E., Litwin, M., Gray, S., Chess,… — Language Models are Few-Shot Learners
  5. Bender, E., Gebru, T., McMillan-Major, A. Shmitchell, S. On the Dangers of Stochastic Parrots: Can Language Models Be Too Big? FAccT 2021. http://faculty.washington.edu/ebender/papers/Stochastic_Parrots.pdf . OpenAlex ↗ · Scholar ↗
  6. Carbon Offset Research and Education, 2021, Carbon Offset Guide, https://www.offsetguide.org/ . OpenAlex ↗ · Scholar ↗
  7. Chang, K.W., Prabhakaran, V. and Ordonez, V., 2019, November. Bias and fairness in natural language processing. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP): Tutorial…
  8. Criddle, C., February 10, 2021. Bitcoin consumes more electricity than Argentina, www.bbc.com/news/technology-56012952 . OpenAlex ↗ · Scholar ↗
  9. Digiconomist, 2021, Bitcoin Energy Consumption Index, https://digiconomist.net/bitcoin-energy-consumption/ . OpenAlex ↗ · Scholar ↗
  10. Dodge, J., Gururangan, S., Card, D., Schwartz, R., and Smith, N., 2019. Show Your Work: Improved Reporting of Experimental Results. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMN… OpenAlex ↗ · Scholar ↗
  11. Dodge, J., Ilharco, G., Schwartz, R., Farhadi, A., Hajishirzi, H. and Smith, N., 2020. Fine-tuning pretrained language models: Weight initializations, data orders, and early stopping. arXiv preprint arXiv:2002.06305 . OpenAlex ↗ · Scholar ↗
  12. Apache-licensed Evolved Transformer open-source implementation in tensorflow/tensor2tensor GitHub repository. https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/models/evolved_transformer.py OpenAlex ↗ · Scholar ↗
  13. Fedus, W., Zoph, B., Shazeer, N., January 11, 2021, Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity https://arxiv.org/abs/2101.03961 . OpenAlex ↗ · Scholar ↗
  14. Garg, S., Perot, V., Limtiaco, N., Taly, A., Chi, E.H. and Beutel, A., 2019, January. Counterfactual fairness in text classification through robustness. In Proceedings of the 2019 AAAI/ACM Conference on AI, Ethics, and Society (pp. 219-226). https://research.google/pubs/pub47670/ . OpenAlex ↗ · Scholar ↗
  15. Google, December 2016, Achieving Our 100% Renewable Energy Purchasing Goal and Going Beyond, https://static.googleusercontent.com/media/www.google.com/en//green/pdf/achieving-100-renewable-energy-purchasing-goal .pdf . OpenAlex ↗ · Scholar ↗
  16. Google, Environmental Report 2020, https://www.gstatic.com/gumdrop/sustainability/google-2020-environmental-report.pdf . OpenAlex ↗ · Scholar ↗
  17. Google, February 2021, 24/7 Carbon-Free Energy: Methodologies and Metrics, https://www.gstatic.com/gumdrop/sustainability/24x7-carbon-free-energy-methodologies-metrics.pdf . OpenAlex ↗ · Scholar ↗
  18. Gupta, U., Kim, Y.G., Lee, S., Tse, J., Lee, H.H.S., Wei, G.Y., Brooks, D. and Wu, C.J., 2020. Chasing Carbon: The Elusive Environmental Footprint of Computing. arXiv preprint arXiv:2011.02839 . — arXiv:2011.02839 OpenAlex ↗ · Scholar ↗
  19. Hall, K., May 4, 2020, An NLU-Powered Tool to Explore COVID-19, https://ai.googleblog.com/2020/05/an-nlu-powered-tool-to-explore-covid-19.html . OpenAlex ↗ · Scholar ↗
  20. Han, S., Pool, J., Tran, J. and Dally, W.J., 2015. Learning both weights and connections for efficient neural networks. ICLR 2016. arXiv preprint arXiv:1510.00149 . OpenAlex ↗ · Scholar ↗
  21. Henderson, P., Hu, J., Romoff, J., Brunskill, E., Jurafsky, D. and Pineau, J., 2020. Towards the systematic reporting of the energy and carbon footprints of machine learning. Journal of Machine Learning Research. https://jmlr.org/papers/v21/20-312.html OpenAlex ↗ · Scholar ↗
  22. Hernandez, D. and Brown, T.B., 2020. Measuring the algorithmic efficiency of neural networks. arXiv preprint arXiv:2005.04305. https://arxiv.org/abs/2005.04305 . — arXiv:2005.04305 OpenAlex ↗ · Scholar ↗
  23. Hinton, G., Vinyals, O. and Dean, J., 2015. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531 .
  24. Hölzle, U., Feb 27, 2020. datacenters are more energy efficient than ever. blog.google/outreach-initiatives/sustainability/data-centers-energy-efficient OpenAlex ↗ · Scholar ↗
  25. Johnson, M., April 22, 2020, A Scalable Approach to Reducing Gender Bias in Google Translate, https://ai.googleblog.com/2020/04/a-scalable-approach-to-reducing-gender.html . OpenAlex ↗ · Scholar ↗
  26. Jouppi, N., Yoon, D-H, Jablin, T., Kurian, G., Laudon, J., Li, S., Ma, P., Ma, X., Patil, N.,Prasad, S., Young, C., Zhou, Z., and Patterson, D., May 2021. Ten Lessons From Three Generations Shaped Google’s TPUv4i, to appear, the 48th International Symposium on Computer Architecture. OpenAlex ↗ · Scholar ↗
  27. Kaplan, J., McCandlish, S., Henighan, T., Brown, T.B., Chess, B., Child, R., Gray, S., Radford, A., Wu, J. and Amodei, D., 2020. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361.
  28. Kärcher B. Formation and radiative forcing of contrail cirrus. Nature communication s. 2018 May 8;9(1):1-7. https://www.nature.com/articles/s41467-018-04068-0 . OpenAlex ↗ · Scholar ↗
  29. Kuczmarski, J. and Johnson, M., 2018. Gender-aware natural language translation. www.tdcommons.org/dpubs_series/1577/ . OpenAlex ↗ · Scholar ↗
  30. Lacoste, A., Luccioni, A., Schmidt, V. and Dandres, T., 2019. Quantifying the carbon emissions of machine learning. arXiv preprint arXiv:1910.09700 .
  31. Lannelongue, L., Grealey, J. and Inouye, M., 2020. Green algorithms: Quantifying the carbon footprint of computation. arXiv: 2007.07610 . OpenAlex ↗ · Scholar ↗
  32. Leopold, G. March 19, 2019, AWS to Offer Nvidia’s T4 GPUs for AI Inferencing, www.hpcwire.com/2019/03/19/aws-upgrades-its-gpu-backed-ai-inference-platform/ . OpenAlex ↗ · Scholar ↗
  33. Lepikhin, D., Lee, H., Xu, Y., Chen, D., Firat, O., Huang, Y., Krikun, M., Shazeer, N. and Chen, Z., 2020. GShard: Scaling giant models with conditional computation and automatic sharding. arXiv preprint arXiv:2006.16668 . OpenAlex ↗ · Scholar ↗
  34. Li, S., Tan, M., Pang, R., Li, A., Cheng, L., Le, Q. and Jouppi, N.P., 2021. Searching for Fast Model Families on Datacenter Accelerators. arXiv preprint arXiv:2102.05610 . OpenAlex ↗ · Scholar ↗
  35. Liu, H., Simonyan, K. and Yang, Y., 2018. Darts: Differentiable architecture search. arXiv preprint arXiv:1806.09055 . OpenAlex ↗ · Scholar ↗
  36. Luccioni, A., and Schmidt, V.. March 2021, Private Communication. OpenAlex ↗ · Scholar ↗
  37. Masanet, E., Shehabi, A., Lei, N., Smith, S. and Koomey, J., 2020. Recalibrating global datacenter energy-use estimates. Science , 367(6481), pp.984-986. https://datacenters.lbl.gov/sites/default/files/Masanet_et_al_Science_2020.full_.pdf . OpenAlex ↗ · Scholar ↗
  38. Masanet, E., March 24, 2021, Data Center Energy Analysis: Past, Present, and Future , lecture at UCSB. OpenAlex ↗ · Scholar ↗
  39. Mehrabi, N., Morstatter, F., Saxena, N., Lerman, K. and Galstyan, A., 2019. A survey on bias and fairness in machine learning. arXiv preprint arXiv:1908.09635. https://arxiv.org/pdf/1908.09635.pdf .
  40. Pham, H., Guan, M., Zoph, B., Le, Q. and Dean, J., 2018, July. Efficient neural architecture search via parameters sharing. In International Conference on Machine Learning (pp. 4095-4104). PMLR. arXiv preprint arXiv:1802.03268 . — Efficient Neural Architecture Search via Parameter Sharing
  41. Radovanovic, A. April 22, 2020, Our datacenters now work harder when the sun shines and wind blows, https://blog.google/inside-google/infrastructure/data-centers-work-harder-sun-shines-wind-blows OpenAlex ↗ · Scholar ↗
  42. Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S., Matena, M., Zhou, Y., Li, W. and Liu, P.J., 2019. Exploring the limits of transfer learning with a unified text-to-text transformer. arXiv preprint arXiv:1910.10683 .
  43. Ritchie, H., October 22, 2020, Climate change and flying: what share of global CO2 emissions come from aviation? https://ourworldindata.org/co2-emissions-from-aviation . OpenAlex ↗ · Scholar ↗
  44. Ryor, J.N. and Tawney, L.E.T.H.A., 2014. Utility-Scale Renewable Energy: Understanding Cost Parity. Paris: World Resources Institute. https://www.ctc-n.org/sites/www.ctc-n.org/files/resources/wri14_factsheets_utility_scale_v4.pdf . OpenAlex ↗ · Scholar ↗
  45. Sanh, V., Debut, L., Chaumond, J. and Wolf, T., 2019. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108 .
  46. Schwartz, R., Dodge, J., Smith, N.A. and Etzioni, O., 2020. Green AI. Communications of the ACM , 63(12), pp.54-63. https://cacm.acm.org/magazines/2020/12/248800-green-ai/fulltext .
  47. Schleier-Smith, J., Sreekanti, V., Khandelwal, A., Carreira, J., Yadwadkar, N., Popa, R., Joseph E. Gonzalez,J., Ion Stoica, I., and David A. Patterson, D., 2021 What Serverless Computing Is and Should Become: The Next Phase of Cloud Computing, Communications of the ACM, 64(5) . OpenAlex ↗ · Scholar ↗
  48. Shazeer, N., Mirhoseini, A., Maziarz, K., Davis, A., Le, Q., Hinton, G. and Dean, J., 2017. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. ICLR 2017. arXiv preprint arXiv:1701.06538 . OpenAlex ↗ · Scholar ↗
  49. So, D., Le, Q. and Liang, C., 2019, May. The Evolved Transformer. In International Conference on Machine Learning 2019 (pp. 5877-5886). PMLR. arXiv preprint arXiv:1901.11117 . OpenAlex ↗ · Scholar ↗
  50. Strubell, E., Ganesh, A. and McCallum, A., 2019. Energy and policy considerations for deep learning in NLP. ACL 2019. arXiv preprint arXiv:1906.02243 .
  51. Sutskever, I. Personal Communication, February 4, 2021. OpenAlex ↗ · Scholar ↗
  52. Tan, M. and Le, Q., 2019, May. EfficientNet: Rethinking model scaling for convolutional neural networks. In International Conference on Machine Learning (pp. 6105-6114). PMLR. arXiv preprint arXiv:1905.11946 .
  53. US Energy Information Administration, 2021, FAQ How much carbon dioxide is produced per kilowatt hour of U.S. electricity generation? https://www.eia.gov/tools/faqs/faq.php?id=74&t=11 . OpenAlex ↗ · Scholar ↗
  54. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L. and Polosukhin, I., 2017. Attention is all you need. NeurIPS 2017. arXiv preprint arXiv:1706.03762 .
  55. Wang, Y., Yao, Q., Kwok, J.T. and Ni, L.M., 2020. Generalizing from a few examples: A survey on few-shot learning. ACM Computing Surveys , 53(3), pp.1-34. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/patterson-2021-carbon-emissions-large-neural-network/