Zhaolu

Zhao Lü

Silicon Valley engineer, AI educator, and CS tutor

Posts
AI Glossary
Teach
Travels
Talks & Patents

Recent Posts

  • Image Processing with R 2025-06-21
  • 使用 R 处理图像 2025-06-21
  • Diving into Vector Database 2025-06-20
Read more posts →
AI Glossary / Next-Token Prediction

Next-Token Prediction

Next-token prediction trains a model to estimate $P(x_t \mid x_{<t})$. It is the core pretraining (and CPT) objective for decoder LLMs.

Despite its simplicity, it induces rich world knowledge and in-context learning at scale.

Related terms

  • Causal Language Model
  • Pretraining
  • Cross-Entropy

← Back to AI Glossary