Top-k Approximation
A method that exploits the highly concentrated nature of a language model's output distribution to approximate an expectation over the full vocabulary. The score and its weighted expectation are computed only for the k tokens with the highest probability.
Timeline (last 90 days)
The authors propose a top-k approximation method: consider only the k tokens with the highest probabilities and ensure the accuracy of the approximation by adjusting the mass of the tail probabilities.
In the experiments, k=8 already covers most of the probability mass, k=16 gives higher coverage, while the computation drops by one to two orders of magnitude compared with the full vocabulary.
All Facts (2)
The authors propose a top-k approximation method: consider only the k tokens with the highest probabilities and ensure the accuracy of the approximation by adjusting the mass of the tail probabilities.
50%UnverifiedIn the experiments, k=8 already covers most of the probability mass, k=16 gives higher coverage, while the computation drops by one to two orders of magnitude compared with the full vocabulary.
50%