News for hackers. Stuff that matters.
Re:It takes a lot of energy for machines to learn by ALittleLight on Wednesday December 30, 2020 @03:30PM (#25585706)
The article points out that the energy to train BERT is comparable to a flight across America. There are hundreds of thousands of flights every day - why should we be concerned about the equivalent of one extra? Especially given that BERT improves ~10% of English language Google search results, it seems like we're getting a lot in return for relatively small energy use. On top of that, Google buys 100% of their energy usage from Green sources.

I think it's great to talk about other methods of training or architectures that don't require so many parameters. The point about how BERT consumes vastly more text than humans do when they learn to read is interesting. But trying to phrase this like an environmental issue just seems disingenuous and misleading.

Re:It takes a lot of energy for machines to learn by spiznnx on Wednesday December 30, 2020 @04:19PM (#25586251)
BERT is much smaller than GPT-3 (500x fewer parameters), not sure why the article doesn't point that out more explicitly.

The mentioned paper itself notes a 300,000x increase in compute used for training language models over the last 6 years.

I think the point is, if nothing changes, the costs will be very significant very soon.

Re:It takes a lot of energy for machines to learn by qeternity on Wednesday December 30, 2020 @04:25PM (#25586299)
We’re already at soon. Another order of magnitude increase (which at our pace is all but guaranteed in the near term) will make large scale training a significant R&D line item even for the FAANGs. It will also push efforts to be commercially viable, as you can longer do proof-of-concept nets at $500m
Re:It takes a lot of energy for machines to learn by PragmaticPulp on Wednesday December 30, 2020 @04:52PM (#25586593)
> I think the point is, if nothing changes, the costs will be very significant very soon.

The energy efficiency of machine learning hardware is progressing at a rapid rate. It's not accurate to assume that the energy costs will stay the same. Just look at how much it would have taken to train something like GPT-3 five years ago.

Re:It takes a lot of energy for machines to learn by _jal on Wednesday December 30, 2020 @05:03PM (#25586700)
I think it is reasonable to assume that any advances in efficiency will be subsumed by increased use, much in the same way increased energy efficiency doesn't decrease absolute overall use.
Re:It takes a lot of energy for machines to learn by joe_the_user on Wednesday December 30, 2020 @08:05PM (#25588359)
ML hardware is no doubt progressing. Whether we can expect a rapid rate is a different matter. The various Moore's Laws have been breaking down (chip speed stopped doubling a while back). GPU are the sort of chip that could most benefit from just transistors doubling (last Mooore's law standing) but even this Moore's Law is breaking down.

ML model size has had it's own Moore's Law, with standard model growing exponentially in size [1]. And this implies model are going butt up against the limits even more than they have already. Whether the "bitter lesson"[2] of ML is true inherently is up for a question. That current researchers have accepted it seems given.

[1] https://openai.com/blog/ai-and-compute/

[2] http://www.incompleteideas.net/IncIdeas/BitterLesson.html

Re:It takes a lot of energy for machines to learn by amelius on Wednesday December 30, 2020 @07:06PM (#25587917)
So much for the "democratization of AI", I suppose.
Re:It takes a lot of energy for machines to learn by acchow on Wednesday December 30, 2020 @04:21PM (#25586266)
> There are hundreds of thousands of flights every day

2019 was peak flight with 38.9 million flights over the year. That averages to 106k flights per day.

Re:It takes a lot of energy for machines to learn by acdc4life on Wednesday December 30, 2020 @05:30PM (#25586996)
My brain does nlp better than any system out there. I’m also able to ride bicycles and do motor control better than Boston Dynamics. I can also construct and prove math, do physics and code all of this in Matlab and C. My brain can handle all these wide range of tasks almost seamlessly with just 15 watts of power, that Silicon Valley’s super computers can barely do 1% of.
Re:It takes a lot of energy for machines to learn by bumby on Wednesday December 30, 2020 @05:37PM (#25587073)
To be a fair comparison wouldn’t you have to include all the energy used to train “your” brain through generations of evolutionary training? Your latest model is like taking an already trained BERT model and adding a few tweaks
Re:It takes a lot of energy for machines to learn by acdc4life on Wednesday December 30, 2020 @11:26PM (#25589593)
I see BERT as non sensical. You need to be scientific and have a mathematical theory on how humans learn language, which is a multi disciplinary task requiring physicists, mathematicians, neuroscientists, cognitive psychologists and linguists. Benchmarks are useless, theories, models, experiments and testable predictions is how science progresses. You’re making a comment on cognitive science, and trying to imply that language learning in humans isn’t learned, but pre baked. The psychological, linguistic, evolutionary biology and neuroscience evidence doesn’t seem to corroborate. The evidence points stronger to humans having general learning and problem solving abilities. For instance, there was no evolutionary pressure for humans to be good at math or programming. I was not born knowing english or calculus or probability theory, these were learned abilities. Evolution favoured brain mechanisms that lead to behaviour for success in a rapidly changing world. Had I been born in ancient Rome as a farmer, I would learn to speak Latin, and learn how to be a successful farmer, instead of the physics, math, probability, computer, driving, reading skills that I learned in my life time.
Re:It takes a lot of energy for machines to learn by bumby on Thursday December 31, 2020 @07:33AM (#25592065)
>You’re making a comment on cognitive science, and trying to imply that language learning in humans isn’t learned, but pre baked.

You make good points, but this one isn’t quite what I meant. I didn’t mean we are trained by evolution for a particular language, but that evolution selected for a language skill. In other words, we are “pre-baked” with the ability to learn a language. It would be analogous to a DL model being trained for generalized regression but not a particular problem. To that extent, I think we’re saying the same thing. Some of the theories related to our generalized learning abilities postulate they stem from this base ability (our aptitude for music, for example, being a consequence of our language learning ability)

>I see BERT as non sensical. You need to be scientific and have a mathematical theory

This is a matter of contention. A lot of science progresses by starting with an empirical result that drives a change in theory rather than the other way around. I can’t remember who to attribute it to, but there’s a quote to the effect that “‘Thats odd’ is the most productive phrase in science, rather than ‘Eureka!’”

Re:It takes a lot of energy for machines to learn by acdc4life on Thursday December 31, 2020 @02:22PM (#25596112)
> evolution selected for a language skill

Yes it did, and we do know a lot about general principles behind, from different disciplines. This is still an early science. NLP research still hasn’t considered many important aspects of language learning that we have discovered in such a short period of time.

> starting with an empirical result

What makes you think these benchmarks are empirical? They were hand constructed to fit some objective, assuming that being good at the said objective is required for NLP tasks. Where’s the empirical experiments to validate the notion that said objectives lead to language? Science hasn’t worked this way, datasets aren’t constructed, you do an experiment and MEASURE it. Then you make models, try to explain the phenomenon, and test new ideas and validate your models. Can your model extrapolate new information and suggest new experiments to validate? I used the word extrapolate over predict intentionally.

Re:It takes a lot of energy for machines to learn by bumby on Thursday December 31, 2020 @02:32PM (#25596218)
It’s a little hard for me to follow your last paragraph but it sounds like you are confusing AI and AGI. I don’t think anybody using BERT is claiming the latter.

I assume the empirical results are the validation sets run. I.e., the tests that show it provides better results than the base rate. Again, it’s important not to conflate verifiable results with understanding the underpinnings of why it works. If you’re walking and I race you with my car over and over again, I can conclude my car is a faster mode off transportation without understanding anything other than “push right peddle to go faster”. My ignorance doesn’t invalidate the results

Re:It takes a lot of energy for machines to learn by Peritract on Thursday December 31, 2020 @06:20AM (#25591668)
Only if you're going to include all the time & energy spent creating BERT's precursors as well when calculating its cost.
Re:It takes a lot of energy for machines to learn by bumby on Thursday December 31, 2020 @07:37AM (#25592083)
Good point. I guess from that perspective it’s impossible to quantify either side
Re:It takes a lot of energy for machines to learn by omgwtfbyobbq on Wednesday December 30, 2020 @05:34PM (#25587040)
To be fair, it takes years of energy to train our brains to the point where it can do all those things, and our brains aren't extensible in the same way hardware/software is. I guess there's also a lot more variation in yields. ;)
Re:It takes a lot of energy for machines to learn by acdc4life on Wednesday December 30, 2020 @11:30PM (#25589617)
Well, that’s not entirely true. Alpha go self played 29 million games of Go, which is in feasible for humans. Assuming a game of Go is 5mins, it would take a human 286 years to achieve the same, assuming this person doesn’t sleep, eat or do anything else other than just play Go. CPU time is an order of magnitude faster than real time, especially on GPU clusters.
Re:It takes a lot of energy for machines to learn by oh_sigh on Wednesday December 30, 2020 @05:43PM (#25587139)
Yeah but your clone() function is very wasteful, and we can't stick 1 million of you in a dark room that just looks at people's google searches and figures out what they're really going for.

And it's not the whole picture to say the brain only uses 15 watts - when there's all sorts of necessary support systems that it couldn't run without. So it's closer to 100 watts (2000kcal/day)

Re:It takes a lot of energy for machines to learn by acdc4life on Thursday December 31, 2020 @12:07AM (#25589792)
Not Google search, but many companies are exploiting cheap labor over seas for different industrial use cases because our algos suck. Not just in manufacturing, there are tech companies outsourcing labeled data for tasks like object detection (Hive.ai as anvexample). Whether it makes you depressed or not, humans are cheaper than algorithms, and I don’t see that changing unless we abandon the current paradigm for ai/ml.
Re:It takes a lot of energy for machines to learn by wongarsu on Wednesday December 30, 2020 @05:46PM (#25587164)
Comparing your pre-trained brain (that has a lot of structure (=training) through evolution) with the training costs of a new algorithm isn't really fair.

All in you require about 100W (2000kcal/day), maybe 3 times that when doing a lot of physical activity. Boston Dynamic's Spot uses about 400W. I can probably outperform it in some disciplines while it would beat me in some others. That would be a fair comparison.

Re:It takes a lot of energy for machines to learn by acdc4life on Wednesday December 30, 2020 @11:43PM (#25589667)
> Comparing your pre-trained brain

You’re making sweeping assertions that require domain experts in several different disciplines. The scientific evidence points to the contrary. It is demonstrated that humans have a general ability to learn wide range of things, without being genetically programmed to. None of us evolved to drive cars. Yet nearly everyone in my grandparents generation were able to learn this totally new skill despite being a new invention, where you couldn’t possibly have had time for evolution to act. They weren’t genetically evolved to drive, it was learned within their lifetime and generation. There are tribal humans in different parts of the world that haven’t developed written language. Yet you can teach them written language. Where’s your “pre trained brain” theory there?

Re:It takes a lot of energy for machines to learn by wongarsu on Thursday December 31, 2020 @02:26PM (#25596155)
Your ancestors might not have driven cars, but they used the motoric skills required for controlling one, and they had a vision system optimized for detecting and avoiding moving objects.
Re:It takes a lot of energy for machines to learn by juanbyrge on Wednesday December 30, 2020 @05:56PM (#25587269)
Human brains are also the culmination of billions of years of iterative development. Computers were only invented in the last century. I would not be surprised if computers could catch up given a few tens or hundred more years.
Re:It takes a lot of energy for machines to learn by absolutelyrad on Wednesday December 30, 2020 @11:32PM (#25589624)
Yeah, I'd give 30(realistically 15) years tops for AGI. And then we'll call it the end of history.

That is if we don't kill ourselves by making stupid mistakes.

Re:It takes a lot of energy for machines to learn by dragonwriter on Wednesday December 30, 2020 @11:37PM (#25589642)
> I'd give 30(realistically 15) years tops for AGI.

I think 30 years is probably reasonable, if for “30 years” one reads “twice as long from now as commercially viable fusion generation actually was when first widely hailed as 15 years away”.

Re:It takes a lot of energy for machines to learn by acdc4life on Wednesday December 30, 2020 @11:55PM (#25589715)
I think this is false. My general opinion of computer scientists and engineers (especially in silicon valley) lack the scientific training that one gets in other disciplines like in physics or other hard sciences. Psychology, linguistics, cognitive science and neuroscience has generated a rich diverse experimental data in the past 50 years, and now is the prime time for a theory to emerge to connect everything. To make what I’m saying clearer, you needed Newtonian mechanics, Maxwell and Plank and Coulomb to develop and discover the science of electricity and atoms in order for us to engineer the silicon transistor. Without the original scientific knowledge, building such devices would have been impossible. This machine learning, ai, deep learning and this obsession with benchmarks are, in my opinion, a hinderance to AGI
Re:It takes a lot of energy for machines to learn by bumby on Thursday December 31, 2020 @12:34PM (#25594818)
I think the error in your thinking is the assumption that scientific discovery is predicated on previously defined theory.

Theory is required for understanding, not for discovery. They are two different things. What gets a lot of scientists and statisticians worked up is how ML can outperform traditional models without always being interpretable. It’s like claiming the Wright brothers couldn’t build a flying machine without having a thorough understanding of the mechanics of flight. I can improve performance of my car by remapping the fuel without necessarily understanding the nuances of optimizing enthalpy. There’s levels of understanding, and they may not correlate completely to effectiveness. To that extent, it’s more engineering than science

Re:It takes a lot of energy for machines to learn by throwaway2245 on Thursday December 31, 2020 @05:10AM (#25591326)
> There are hundreds of thousands of flights every day - why should we be concerned about the equivalent of one extra

See also: Sorites fallacy.

There is a limited desire for flights, which benefit people as far as it allows them to get things where they need to be, and no more than that; there is presumably an unlimited desire for machine learning.

Re:It takes a lot of energy for machines to learn by jkochis on Wednesday December 30, 2020 @11:28PM (#25589605)
The comparison between training BERT and a 5 year old made me wonder what the carbon footprint is to raise someone to the age of 5.
Re:It takes a lot of energy for machines to learn by sgt101 on Wednesday December 30, 2020 @05:48PM (#25587184)
Also, I have downloaded and used Bert in several other applications; and I think that 10,000's of other folks have done the same.
Re:It takes a lot of energy for machines to learn by alisonkisk on Wednesday December 30, 2020 @04:11PM (#25586169)
Google buying "green" isn't a justification because it fails the categorical imperative. It's impossible for everyone to buy "green" energy.
Re:It takes a lot of energy for machines to learn by toomuchtodo on Wednesday December 30, 2020 @04:18PM (#25586237)
As always, there’s nuance. You can schedule workloads, machine learning/training included, where the power is cleanest (low carbon). Google relies on electricitymap.org/Tomorrow to do this.

https://blog.google/inside-google/infrastructure/data-center...

The more folks who elect to pick where to compute based on low electrical carbon intensity, the faster the grid turns over to clean generation. You must vote with your fiat. I encourage technologists to include this consideration in their workload scheduling requirements. Renewables are almost always cheaper than fossil generation as well.

Re:It takes a lot of energy for machines to learn by himinlomax on Wednesday December 30, 2020 @06:28PM (#25587587)
Buying more green energy creates demand for more green energy, which in turn creates more supply (wind, solar farms ...)

Meanwhile, the aforementioned transatlantic flight cannot get greener, whether Bert is trained or not.

Re:It takes a lot of energy for machines to learn by curiousllama on Wednesday December 30, 2020 @04:22PM (#25586286)
The categorical imperative doesn't require everyone to be practically able to do the thing. Is it not moral to feed a starving man because people in China aren't able to feed him?
Re:It takes a lot of energy for machines to learn by rictic on Wednesday December 30, 2020 @05:22PM (#25586902)
There's more than enough solar and wind, it's just a matter of how much we as a society want it. The green energy revolution has barely begun, and we're still climbing the learning curve. More demand means a faster climb means exponentially more green energy sooner.
Re:It takes a lot of energy for machines to learn by adamsea on Wednesday December 30, 2020 @04:07PM (#25586125)
Not sure why folks are defensive? The article is mainly informational.

TFA:

"What does this mean for the future of AI research? Things may not be as bleak as they look. The cost of training might come down as more efficient training methods are invented. Similarly, while data center energy use was predicted to explode in recent years, this has not happened due to improvements in data center efficiency, more efficient hardware and cooling."

Also. One flight in and of itself isn't an environemntal problem; thousands of flights are.

Training this one instance of a model isn't an environmental problem; I would be curious to see some educated guesses about the number of models being trained over the next ten years. Not an expert but I know that use of ML is exploding - lots of new use-cases and thus lots of new models.

So it makes sense to me think about this stuff.

To

Re:It takes a lot of energy for machines to learn by ALittleLight on Wednesday December 30, 2020 @04:22PM (#25586281)
The article suggests that the energy usage of language models is a problem. I don't think energy usage is a problem. I'm not sure how you interpret this as being defensive.

There are hundreds of thousands of flights per day. Adding an additional flight, or even an additional thousand flights, to substantially improve Google doesn't seem like a big cost. Consider: Would your life be worse if one random trans-American flight was cancelled today, or if Google searches became 10% worse?

Another way of thinking about this same point, is, why is the author writing about language models if they are so concerned about the environment. Surely the airline industry is a better subject as, again, they fly hundreds of thousands of flights each day. It's hard to take someone seriously when they are focusing on an infinitesimal part of a huge problem.

It's also misleading because there is a difference between energy used by an airline flight, where the energy comes from burning jet fuel, and energy used in a data center. In Google's case (the people training BERT) the energy used was 100% renewable - Google reached that goal in 2017. Perhaps Open AI didn't use renewable energy to train GPT-3, but I wager they didn't power their machines by burning jet fuel either.

Maybe electricity used to power to train language models will become a meaningful issue at some point in the future. I don't think that future is close at hand though.

Re:It takes a lot of energy for machines to learn by adamsea on Saturday January 02, 2021 @06:41PM (#25617785)
tl;dr I think the tech industry doesn't like to be criticized.

That's a good point about renewable energy sources.

I'd still argue it's reasonable to assume that ML will consume more power as use-cases for it grow (i.e. more and more models are trained), and, therefore, I don't think it's unreasonable to consider the energy usage.

Honestly - I think what you may have heard is "ML is bad/evil." And yeah some folks probably feel/vibe that.

That's different from "Like any other technology the full context of ML deserves to be considered, and since it's so hyped by billion-dollar companies right now, maybe a bit of pushback on all the hype isn't a terrible idea."

And yeah we should definitely look at the airline industry; pretty sure Mother Jones does, and there's no reason we can't look at the energy impact of multiple industries.

Re:It takes a lot of energy for machines to learn by ALittleLight on Monday January 04, 2021 @06:06AM (#25629813)
If you were against lung cancer, and writing about the issues caused by scented candles emitting smoke and that smoke corrupting lungs - it would be hard to take you seriously or accept your criticism as valid. It's probably true that scented candles are infinitesimal contributors to lung cancer, but it's just silly to think of them that way.

Likewise, yes, language models use energy, but objectively, it's not that much energy and the sources for the energy are sometimes green and always efficient (i.e. Coming from the grid and not by burning jet fuel).

You can't really solve the problem of lung cancer by addressing scented candles. Reducing energy used by language models likewise won't have an effect.