[KongchangAI]
Concepttop-k近似方法

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)

Oct 26

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.

Unverified50%
Oct 26

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.

Unverified50%

All Facts (2)

Source Articles