Concept

Sequence Evaluation using Log-Probability

In text generation, candidate sequences are evaluated based on their log-probability. Given an input x, the quality of a potential output sequence y (composed of tokens y1...yi) is measured by log Pr(y|x). Using log-probabilities is a standard practice because it simplifies computation; the joint probability of a sequence, which is a product of conditional probabilities, becomes a sum of log-probabilities. This conversion is more numerically stable and computationally easier to manage.

0

1

Updated 2026-05-02

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

Related