A model card reports perplexity of 3.2. Explain what that number means in plain English.
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Perplexity measures model surprise on held-out text. A perplexity of 3.2 means the model is as uncertain as choosing among 3.2 equally likely next tokens. Lower is better, but low perplexity does not imply correctness.
Imagine you are playing a guessing game where you predict the next word in a sentence. If you are really good, you almost always guess right. You might narrow it down to about three possible words each time. If you are bad, you might be choosing among fifty possibilities each time. Perplexity is a number that says how many options you are effectively choosing among. A perplexity of 3.2 means the model narrows down the next word to about 3.2 equally likely choices on average. That is pretty good for language modeling, because natural language is fairly predictable once you see the context. But here is the catch: being good at predicting the next word does not mean the model gives correct answers to questions. A model with perfect perplexity could still confidently produce wrong facts, because it is predicting what text looks like, not what is true.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: define perplexity as exponential of cross-entropy, give the intuitive interpretation, show the formula, explain why it is useful for comparing language models, state the gap between perplexity and downstream task performance, and close with the tokenizer comparability warning.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating low perplexity as proof that a model is good at downstream tasks. Perplexity measures language modeling quality, not instruction following, factual accuracy, or safety.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.