Integer addition algorithm could reduce energy needs of AI by 95% (techxplore.com)
from floofloof@lemmy.ca to technology@beehaw.org on 13 Oct 2024 13:51
https://lemmy.ca/post/30873188

#technology

threaded - newest

django@discuss.tchncs.de on 13 Oct 2024 14:33 next collapse

<img alt="Rebound effect getting ready behind a tree" src="https://discuss.tchncs.de/pictrs/image/33fe45c7-7ed3-4261-95b0-64ab6be437c2.jpeg">

…m.wikipedia.org/…/Rebound_effect_(conservation)

skarn@discuss.tchncs.de on 13 Oct 2024 15:23 next collapse

But… Isn’t that kind of the point? Slashing computational cost so that we can deploy that stuff wherever it’s needed without a tenfold increase in the world’s energy bill?

Whether we should do that at all is a very different question.

halm@leminal.space on 13 Oct 2024 15:34 next collapse

“Wherever it’s needed” is the operative term here, isn’t it? Looking at how it’s already being implemented, nobody seems to bother asking whether “AI” is really needed.

skarn@discuss.tchncs.de on 13 Oct 2024 15:57 collapse

Personally, I find myself in a bizarre situation.

I have some open source ““Ai”” solutions that I find really really nice and helpful e.g. the image search in Immich, or LanguageTool which bills itself as an AI spellchecker.

At the same time I am horrified at the stupidity underlying 99% of big tech AI stuff that gets wall street hot.

halm@leminal.space on 13 Oct 2024 19:29 collapse

That’s the difference, isn’t it? People can use “AI” to make simple little things easier. Corporations want it to replace and automate the jobs of swathes of the workforce. It’s the latter that is the “growth market”, and the one that eats the most power.

skarn@discuss.tchncs.de on 13 Oct 2024 20:08 collapse

That wouldn’t be so bad per se… Many improvements in human conditions have been achieved by automating stuff and kicking people out. Think of the green revolution.

The problem is that the use case here is to massify the production of literal shit, like clickbaity articles on social media content, or ever larger volumes of advertisement. Those jobs don’t need to be replaced, they just need to go away for good.

Are we really going to use an AI to write motivation letters from a list of bullet points, to send it to an HR that will condense it into a list of bullet points using AI? Seriously?

Artyom@lemm.ee on 13 Oct 2024 22:49 collapse

Improving the technology behind AI will only increase the return on investment per watt, so you’ll want to spend even more on it than before. This would more than likely increase the energy demands (assuming it doesn’t turn into vaporware).

halm@leminal.space on 13 Oct 2024 15:24 collapse

Came here to say that a 95% reduction in energy consumption will only greenwash a corresponding or larger increase in usage — but yours is of course the correct response! 👏👏👏

Jayjader@jlai.lu on 13 Oct 2024 15:36 next collapse

I wonder what other applications this might have outside of machine learning. I don’t know if, for example, intensive 3d games absolutely need 16bit floats (or larger), or if it would make sense to try using this “additive implementation” for their floating point multiplicative as well. Modern desktop gaming PCs can easily slurp up to 800W.

DdCno1@beehaw.org on 13 Oct 2024 23:29 collapse

I have a vague memory of a 3D engine from the 1990s using an approach like this, but I’m not entirely sure.

IrritableOcelot@beehaw.org on 14 Oct 2024 01:03 collapse

I think you’re thinking of the famous fast inverse square root algorithm from Quake.

With respect to the top comment, the only reason 3d graphics are possible (even at 850W of power consumption) is due to taking a bunch of shortcuts and approximations like culling of polygons. If its a reasonable shortcut it either has or will be taken.

technocrit@lemmy.dbzer0.com on 13 Oct 2024 15:36 next collapse

This is an extremely misleading headline.

From the abstract:

… applying the L-Mul operation in tensor processing hardware can potentially reduce 95% energy cost by element-wise floating point tensor multiplications and 80% energy cost of dot products.

In other words… This method of computation could save 95% of the energy spent on floating point multiplication (and save 80% on dot products)… Not 95% of total energy.

It’s an improvement (potentially), but I don’t see any analysis of how this would impact total energy.

IrritableOcelot@beehaw.org on 14 Oct 2024 01:05 next collapse

Good point. Though, the vast majority of ML training and use is tensor math on floating points, so largely dot and cross products, among other matrix operations.

AndrasKrigare@beehaw.org on 14 Oct 2024 07:51 collapse

I’d say it’s not just misleading but incorrect if it says “integer” but it’s actually floats.

kbal@fedia.io on 13 Oct 2024 17:05 collapse

Isn't this basically just the old trick of estimating (x * y) as (x + y - 1) when x and y are somewhat close to 1?

p03locke@lemmy.dbzer0.com on 14 Oct 2024 01:20 collapse

3 * 2 = 6

3 + 2 - 1 = 4

So, close enough? How “close to 1” are you talking about?

toast@retrolemmy.com on 14 Oct 2024 01:37 collapse

Seems pretty good for 1.1 x .9, and for .9 x .8

I guess values must be pretty close