Short Answer

Equivalence of Training Objectives

An auto-regressive language model is trained to predict the next token in a sequence. The training objective is to minimize the cross-entropy loss between the model's predicted probability distribution and the true next token, which is represented as a one-hot vector. Explain mathematically why minimizing this cross-entropy loss for a single token prediction is equivalent to maximizing the log-likelihood of that true token.

0

1

Updated 2025-10-02

Contributors are:

Who are from:

Tags

Ch.4 Alignment - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science