Next Token Prediction
Category: NLP / Language Processing
The core training objective of autoregressive language models, where the model learns to predict the most likely next token given a sequence of preceding tokens.
Full Explanation
Next token prediction is the fundamental mechanism underlying most modern large language models. Given a sequence of tokens, the model outputs a probability distribution over the entire vocabulary for the next position. During training, the model parameters are updated to increase the probability assigned to the actual next token in the training data. This seemingly simple objective, when applied at scale with massive datasets and large models, gives rise to remarkable capabilities including language understanding, reasoning, and generation. The training signal is self-supervised, requiring no human labeling—just raw text. At inference time, the predicted next token is appended to the sequence and the process repeats to generate text. The effectiveness of next token prediction at learning complex language patterns is one of the central phenomena driving the current AI revolution.
Related Terms
More in NLP / Language Processing
Explore More
- AI Tools Library — Discover AI tools related to Next Token Prediction
- AI Education — Courses to learn about NLP / Language Processing
- AI News — Latest news and updates