[KongchangAI]
ConceptSampling Decoding / 随机采样

Sampling Decoding

A decoding strategy that randomly draws the next token according to a probability distribution. It introduces diversity but must be combined with temperature scaling and TOP P constraints.

Timeline (last 90 days)

Nov 12

Sampling decoding (randomly sampling according to probability distribution) introduces diversity; with the same question, different runs can produce different continuations.

Unverified50%
Nov 12

In the video experiment, asking the same question 20 times produced 17 different answers, with the first token always identical but diverging more later.

Unverified50%
Nov 5

Greedy decoding always selects the highest-probability token, so after 'The' it necessarily chooses 'moon'; sampling decoding, however, draws randomly according to probability weights and may select low-probability tokens such as 'lunar'.

Unverified50%

All Facts (3)

Source Articles