News for hackers. Stuff that matters.
Re:The Bitter Lesson is coming for Tokenization by rictic on Tuesday June 24, 2025 @02:19PM (#44369121)
Models are deterministic, they're a mathematical function from sequences of tokens to probability distributions over the next token.

Then a system samples from that distribution, typically with randomness, and there are some optimizations in running them that introduce randomness, but it's important to understand that the models themselves are not random.

Re:The Bitter Lesson is coming for Tokenization by mgraczyk on Tuesday June 24, 2025 @03:14PM (#44369860)
This is only ideally true. From the perspective of the user of a large closed LLM, this isn't quite right because of non-associativity, experiments, unversioned changes, etc.

It's best to assume that the relationship between input and output of an LLM is not deterministic, similar to something like using a Google search API.

Re:The Bitter Lesson is coming for Tokenization by ijk on Tuesday June 24, 2025 @03:28PM (#44370022)
And even on open LLMs, GPU instability can cause non-determinism. For performance reasons, determinism is seldom guaranteed in LLMs in general.
Re:The Bitter Lesson is coming for Tokenization by rar00 on Wednesday June 25, 2025 @08:36AM (#44376582)
yep, even with greedy sampling and fixed system state, numerical instability is sufficient to make output sequences diverge when processing the same exact input
Re:The Bitter Lesson is coming for Tokenization by geysersam on Tuesday June 24, 2025 @04:29PM (#44370679)
The LLMs are deterministic but they only return a probability distribution over following tokens. The tokens the user sees in the response are selected by some typically stochastic sampling procedure.
Re:The Bitter Lesson is coming for Tokenization by danielmarkbruce on Tuesday June 24, 2025 @06:28PM (#44371710)
Assuming decent data, it won't be stochastic sampling for many math operations/input combinations. When people suggest LLMs with tokenization could learn math, they aren't suggesting a small undertrained model trained on crappy data.
Re:The Bitter Lesson is coming for Tokenization by anonymoushn on Tuesday June 24, 2025 @07:41PM (#44372243)
I mean, this depends on your sampler. With temp=1 and sampling from the raw output distribution, setting aside numerics issues, these models output nonzero probability of every token at each position
Re:The Bitter Lesson is coming for Tokenization by danielmarkbruce on Wednesday June 25, 2025 @01:58PM (#44380103)
A large model well trained on good data will have logits so negative for something like "1+1=" -> 3 that they won't come up in practice unless you sample in a way to deliberately misuse the model.