logoalt Hacker News

red75prime • today at 8:19 AM • 2 replies • view on HN

> The core technology of an LLM is sampling from a distribution so there is literally no way to make it deterministically robust (only probabilistically).

An LLM mostly deterministically (except parallel processing nondeterminism that can be mitigated) produces a probability distribution that can be sampled deterministically: just take the highest probability token or use beam search.


Replies

gottheUIblues • today at 8:49 AM

I think people on here tend to somewhat fixate on the determinism issue. Even with a deterministic LLM - stabilising the floating point arithmetic, and choosing from the distribution by a fixed method, or just save the random seeds - there is still a kind of a chaotic unpredictability that can exist between its inputs and outputs. However maybe that is a price that needs to be paid to get creativity.

Vetch • today at 8:43 AM

Deterministic yes, robust deterministic no. The most likely conjunction is not always the best nor representative of what the model is considering unless its certainty is high.

➕ show 1 reply