Perplexity
What is Perplexity?
In one sentence: Perplexity measures how surprised a language model is by a piece of text; lower perplexity means the model predicted it better.
If the model gives high probability to each actual next word, perplexity is low. It is useful for comparing language models on the same text, but does not directly measure helpfulness.
Σ Quick math / rule of thumb: If a model has a perplexity of 10, it is on average as uncertain at each step as rolling a fair 10-sided die (lower = tighter predictions).
What does Perplexity look like?
A model with perplexity 5 on a book is, roughly, as unsure as if choosing among 5 words each time.
Why does Perplexity matter?
Perplexity is a basic health check for how well a model understands language.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/perplexity/">Perplexity, explained simply</a> (The AI Math Dictionary)