Activity (Process)

Expansion Stage in K-Best Selection

The expansion stage is the initial step in the K-best selection process. In this phase, a language model generates a set of potential next tokens or words based on the current context. For example, as depicted in the diagram labeled 'â‘  Expansion', given the token 'is', the model might produce a list of candidate words such as '.', 'cute', 'on', 'are', and 'sick'. These candidates are then passed to the subsequent ranking stage.

Image 0

0

1

Updated 2025-10-10

Contributors are:

Who are from:

Tags

Ch.5 Inference - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences