firehose> #llmops

Perplexity and cross-entropy are the intrinsic metrics that measure how well an autoregressive language model predicts the next token. Entropy is how much information, on average, a token carries — higher entropy means each token is more surprising. Cross-entropy measures how far the model's predicted distribution is from the data's true distribution; a perfectly trained model reaches cross-entropy equal to the data's entropy (KL divergence zero). Perplexity is simply the exponential of cross-entropy — the effective number of options the model is choosing among when it predicts. What counts as "good" perplexity depends entirely on the data (more structured data is more predictable → lower perplexity; larger vocabulary → higher; longer context → lower). Its value is as a proxy for general capability and as a diagnostic — but it degrades as a quality signal after heavy post-training, since a model that got better at tasks can get statistically worse at raw next-token prediction.

Claims


Linked from