3 ms·
>No, it's not equivalent to nested if statements. It is. If you control the randomness involved, the output of a model is completely deterministic. Which means
by qsera 8mo ago
>No, it's not equivalent to nested if statements.
It is. If you control the randomness involved, the output of a model is completely deterministic. Which means that it can be represented by a huge lookup table.
Anything that can be represented by a lookup table can be expressed as an `if then else` statement.
- fc417fc802 8mo agoBy that logic sin(x) is equivalent to a lookup table. Yeah, you can approximate it that way. But doing so at any reasonable level of precision will quickly become an exercise in the absurd. Neural networks are far worse, consisting of stacks of massive linear combinations fed into nonlinear functions. Regardless, it remains irrelevant to the subject at hand. You're going off on a tangent rather than admit your initial claim was wrong.
- qsera 8mo ago>By that logic sin(x) is equivalent to a lookup table NO! `sin(x)` is continuous, so the domain is infinite. But an LLM model is not a continuous function, and thus the domain of a LLM model is finite (set of all possible tokens). So using a lookup table for a model behavior would be exact and not an approximation. So it can indeed be represented by an if statement of finite size. Hence proved! If you don't understand something in what I wrote, I can clarify if you tell me where you have trouble following.
- basch 8mo agoThat’s not true in practice thought https://sulbhajain.medium.com/why-llms-arent-truly-deterministic-7cc7b451fdab https://sulbhajain.medium.com/why-llms-arent-truly-determini...
- qsera 8mo agothat is why I said >If you control the randomness involved
- basch 8mo agoWhich you essentially cannot do It is inherently randomized
- qsera 8mo agoBut isn't the link shared by that comment doing exactly that https://sulbhajain.medium.com/why-llms-arent-truly-deterministic-7cc7b451fdab https://sulbhajain.medium.com/why-llms-arent-truly-determini... >The Thinking Machines research team showed it’s possible to fix this. They built batch-invariant kernels for RMSNorm, matrix multiplication, and attention, integrating them into the open-source inference engine vLLM. >The outcome: 1,000 identical prompts, 1,000 identical outputs. Perfect reproducibility. ??
- fc417fc802 8mo agoEven if it were true he would still be wrong. I wish HN had some mechanic to evict these sorts of troll accounts that attempt to score rhetorical points rather than honestly learning about a subject. The usual vote and flag mechanics don't work here because there's no singular and overt violation of the guidelines taking place.