this post was submitted on 09 Nov 2023
1 points (100.0% liked)

LocalLLaMA

3 readers
1 users here now

Community to discuss about Llama, the family of large language models created by Meta AI.

founded 1 year ago
MODERATORS
 

Is it mathematically possible for neural networks to outperform traditional CPUs in simple (or not) calculations?

Imagine a future where neural networks have become so advanced that they are much cheaper to operate. Even though neural networks are complex and usually use a lot of energy, could they ever become more cost-effective for doing simple math, like '2+2', or more complex tasks like integrating a function, compared to traditional algorithms running on a CPU?

This might be hard to imagine for basic arithmetic, but what about for more complicated calculations?

Is there any research that looks into whether neural networks can perform certain calculations more cheaply and quickly than traditional CPU-based algorithms, focusing on tasks that both can accomplish?

P.s I understand that one can never be 100% sure in correctness of neural network performed calculations, ignoring that

top 3 comments
sorted by: hot top controversial new old
[–] Doormatty@alien.top 1 points 1 year ago

No.

The calculations required to even something simple as '2+2' on a NN are exponentially greater than what's required to do it directly on the CPU.

Even if a completely new method to use NN's is found that uses a thousand times fewer cycles than it currently does, it'd still be orders of magnitudes more.

[–] freehuntx@alien.top 1 points 1 year ago
[–] Just_Maintenance@alien.top 1 points 1 year ago

Absolutely not.

A neural network literally is a bunch of "simple arithmetic" operations.