Earlier quoted context omitted.
Yes, but determinism != ambiguity, because determinism means: for this exact input the same exact output needs to follow. If I ask the same model the same question I should be able to deterministically get the same answer. Now if we phrase the same question slightly differently we would expect to get a slightly different answer.
> Now if we phrase the same question slightly differently we would expect to get a slightly different answer. You wouldn't get this from an LLM though, a tiny change in starting point gets a massive change in output, its a chaotic system.
Defeating Nondeterminism in LLM Inference
81–90 of 137 posts
Re: Defeating Nondeterminism in LLM Inference
#82A bit off topic from the technical discussion but does anyone recognize what blog layout or engine this is? I really like the layout with sidenotes and navigation.
Re: Defeating Nondeterminism in LLM Inference
#83Earlier quoted context omitted.
There is no such thing as "exactly the same input, but with different preceding context". The preceding context is input! If you were to obtain exactly the same output for a given input prompt, regardless of context, then that would mean that the context is being ignored, which is indistinguishable from the session not maintaining any context such that each prompt is in a brand new empty context. Now what some people…
I wonder if there's a way to use an LLM to rewrite the prompt, standardizing the wording when two prompts mean the same thing?
Re: Defeating Nondeterminism in LLM Inference
#84Fixing "theoretical" nondeterminism for a totally closed individual input-output pair doesn't solve the two "practical" nondeterminism problems, where the exact same input gives different results given different preceding context, and where a slightly transformed input doesn't give a correctly transformed result. Until those are addressed, closed-system nondeterminism doesn't really help except in cases where a looku…
There is no such thing as "exactly the same input, but with different preceding context". The preceding context is input! If you were to obtain exactly the same output for a given input prompt, regardless of context, then that would mean that the context is being ignored, which is indistinguishable from the session not maintaining any context such that each prompt is in a brand new empty context. Now what some people…
„The context is the input“ betrays a misunderstanding of what (artificial) intelligence systems are aiming for.
Re: Defeating Nondeterminism in LLM Inference
#85cool project but if this is what you are producing with $2 billion funding, i doubt you will survive. This is the type of article a grad student would write over a weekend.
on the contrary this makes me bullish about their team, it shows that people here care about the craft
I've seen this play out dozens of times. So many startups that have come and go in the bay area were composed of extremely talented individuals, but almost all of them failed.
Re: Defeating Nondeterminism in LLM Inference
#86Re: Defeating Nondeterminism in LLM Inference
#87I am baffled that I still run against these statement years after LLM's have been around. LLM's are deterministic and always have been. The reason people are having issues with them is because they are basing their assumptions on api based experiments. Like my man, how can you be making these statements when you haven't done the due diligence of running the LLM on your own hardware with all of the variables locked do…
I suggest you look up the name of the main author of TFA before assuming they don’t know what they are talking about. This is literally one of the most knowledgeable person on the topic. I think you are the one that hasn’t peeled enough layers to connect with what they are saying.
Re: Defeating Nondeterminism in LLM Inference
#88Re: Defeating Nondeterminism in LLM Inference
#89Earlier quoted context omitted.
Me: What’s an example of a dice roll? LLM: 1 “Language ambiguity with determinism”? Sure I can juxtapose the terms but if it’s semantically inconsistent, then what we mean by that is not a deterministic, definitive thing. You’re chasing your tail on this ‘goal’.
> LLM: 1 A perfectly acceptable answer. If it answers 1 every time it's still a perfectly acceptable answer.
Re: Defeating Nondeterminism in LLM Inference
#90Seems a buried lede is that on-policy RL is unlocked by bitwise identical results between training and sampling. I'm not an expert here but my understanding is that this would allow for stronger guarantees about deployment/training alignment for the RL training that the labs already do.
I don't fully understand the BigMath example though. They show that off-policy RLVR requires off-policy correction, which avoids divergence, but is suboptimal because it results in noisy rewards. Then they say "we fixed the sampler and trainer numerical mismatch, which allows for on-policy RL, look how much better it is." It's not clear to me whether this is an artificial example that deliberately uses different trainer/sampler setups, or if it's actually impossible to have the same numerics between trainer/sampler without their fixes (even if we use same batch size, no atomics, etc.).