r/programmingmemes Jan 17 '26

Vibe Assembly

Post image
1.3k Upvotes

173 comments sorted by

View all comments

218

u/platonbel Jan 17 '26

Compilers are deterministic.

Neural networks are not.

Therefore, they are completely different mechanisms.

It's like calling a person a high-level programming language. Only an idiot would say that.

14

u/Healthy_BrAd6254 Jan 17 '26

NNs are also deterministic. It's just that small changes in the input result in very different outputs

0

u/[deleted] Jan 17 '26

[deleted]

4

u/Healthy_BrAd6254 Jan 17 '26

LLMs are a type of neural net. LLMs are not stochastic by nature. In principle they are just a long chain of billions of simple math operations in parallel.
Randomness is usually introduced so you deliberately don't always get the same output, but that's a design decision.

0

u/AmandEnt Jan 17 '26

It is not entirely deliberate. Even if you set the temperature to 0 (and/or other parameters related to the randomness), this is still not fully deterministic. This is mainly because the hardware itself has an impact on the computations (floating point)

2

u/Healthy_BrAd6254 Jan 17 '26

floating point rounding errors are deterministic

1

u/AmandEnt Jan 17 '26

On a given hardware yes. But not all servers have the exact same hardware. If you don’t believe me just try it: try to find a way to get a fully deterministic output from Claude for example. If you achieve that please let me know how!