https://arxiv.org/abs/2410.00907 ABSTRACT Large neural networks spend most computation on floating point tensor multiplications. In this work, we find that a floating point multiplier can be approximated by one integer adder with high precision. We propose the linear-complexity multiplication (L-Mul) algorithm that approximates floating point number multiplication with integer addition operations. The new algorithm c…
AI engineers claim new algorithm reduces AI power consumption by 95%
171–174 of 174 posts
Re: AI engineers claim new algorithm reduces AI power consumption by 95%
#172Re: AI engineers claim new algorithm reduces AI power consumption by 95%
#173I posted this about a week ago: https://news.ycombinator.com/item?id=41816598 This has been done for decades in digital circuits, FPGA’s, Digital Signal Processing, etc. Floating point is both resource and power intensive and using FP without the use of dedicated FP processing hardware is something that has been avoided and done without for decades unless absolutely necessary.
Explain more for the uninitiated please.
At basic level it is very simple: A 10 bit bus gives you the ability to represent numbers between 0 and 1 with a resolution of approximately 0.001. 12 bits would be four times better. Integer circuits can do the math in one clock cycle. Hardware multipliers do the same. To rescale the numbers after multiplication you just take the N high bits, where N is your bus width; which is a zero clock-cycle operation. Etc.
In training a neural network, the back propagation math can be implemented using almost the same logic used for a polyphase FIR filter.
Re: AI engineers claim new algorithm reduces AI power consumption by 95%
#174Earlier quoted context omitted.
> Language is all about context. I wasn't trying to be deceitful. And on HN I've never seen anyone using quotation marks to quote people. It's still unclear how this apparent lack of knowledge of basic writing mechanics would justify your use of quotation marks to attempt a straw man argument wherein you deliberately attempted to convince me that OP said something completely different. > Doctests isn't same as writin…
> That truly sounds like a skill issue. This no-true-Scotsman angle is silly. I said documentation and tests, I don't know how you got "doctests" out of that. I said "documentation", and "tests". I didn't say "the simplest form of documentation", that is another straw man on your behalf. What are you on about? Doctest is the simplest form of documentation and test. I.e. you don't have to write an in-depth test, you j…