Log-Perplexity Explained: How to Judge Progress in Base Models
A leading AI company's disclosure of log-perplexity results on an internal code held-out set offers a way to examine base-model progress. This article explains what log-perplexity measures, how to interpret the reported decline across model generations, what caveats apply, and how developers and enterprises can build more practical evaluation, deployment, and monitoring workflows.
In artificial intelligence, the pace of capability improvement in base large models is a major industry focus. Because there is no unified evaluation standard, outsiders often rely on scattered benchmark leaderboards to judge model progress. Recently, a leading AI company disclosed log-perplexity data on the same internal code held-out set, covering multiple generations of base models and several unreleased internal versions. This data provides one angle for observing changes in underlying model capability, but it is a single metric on a single dataset. Readers need to distinguish what it can show from what it cannot.
What Is Log-Perplexity?
Perplexity is a common metric for evaluating a language model’s predictive ability. The more accurately a model estimates the probability of the next word, the lower its perplexity. Log-perplexity is the result of taking the natural logarithm of perplexity. During training, language models typically minimize cross-entropy loss, and the exponential of cross-entropy is perplexity. Therefore, log-perplexity is effectively the average cross-entropy per token, measured in natural-log units. After taking the logarithm, the values become a scale that is easier to add and compare, making it easier to see the gap between adjacent versions.
Two points require attention. First, log-perplexity is strongly tied to the tokenizer and the dataset. If different models use different tokenizers, their token segmentation differs, and their values cannot be compared directly. Second, the purpose of a held-out set is to test a model’s predictive ability on unseen samples. Only when the held-out set does not overlap with training data can the results reflect generalization rather than memorization.
How to Read the Data
The disclosed values are as follows: early generations moved from 0.986 to 0.913 and then to 0.888. Recent versions were 0.871, 0.848, 0.828, 0.783, and 0.761, while an unreleased internal version was 0.732.
Based on these numbers, the early phase went from 0.986 to 0.888, a total decline of about 0.098 over several years. The recent phase went from 0.888 to 0.761, a decline of about 0.127, which the original source says occurred over a span of less than one year. The absolute difference between the two declines is about 1.3 times, but the time spans are clearly different, so the gap in the rate of decline per unit of time is even larger than 1.3 times. This change can be described as a clear acceleration in the decline, that is, nonlinear improvement.
Several limitations apply. First, the original public information did not provide the size of the held-out set, the sampling method, the version of the evaluation script, or the exact release date corresponding to each value. Before these definitions can be verified, the numbers should be treated as the company’s self-reported reference values. Second, a decline in log-perplexity only shows that the model predicts more accurately on this held-out set. It does not mean that code-generation pass rates, reasoning ability, or business question-answering quality improve by the same amount. Third, the value for the unreleased version has no public evaluation details, so it can only serve as a directional signal, not as a conclusion about capability.
What Could Explain the Accelerating Decline?
Industry discussions usually explain this kind of change through three areas, but each area requires more evidence.
The first is architecture. Sparse activation architectures such as mixture-of-experts, or MoE, have been adopted more widely in the past year or two. The total parameter count of such models can be much larger than the number of parameters actually activated during each inference, so capacity can be expanded while inference cost remains controllable. To judge their contribution, it is necessary to look at total parameters, activated parameters, training tokens, and inference cost together. Looking only at total parameter count is not sufficient.
The second is data. Early training relied mainly on general web data. Later, methods for cleaning, deduplicating, and mixing high-logic-density data such as code and math improved. If the held-out set is mainly code, then changes in data mix may have a relatively large impact on this metric.
The third is training systems. As parameter scale grows, tensor parallelism, pipeline parallelism, and more efficient operator implementations have been widely used in addition to data parallelism. These engineering methods can shorten iteration cycles and allow teams to complete more training and tuning in a shorter time.
These three factors may well act together, and they may also be related to the characteristics of the evaluation set itself. A single set of held-out data is not enough to determine which factor dominates.
Practical Guidance for Developers and Enterprises
For teams selecting or deploying large models, this data is more suitable as an evaluation approach than as a direct basis for model selection. The following three practices are more practical.
- Build an internal held-out set.
There is often a gap between public leaderboards and a team’s own business. Teams can sample representative examples from historical business data, covering high-frequency questions and edge cases, to form an internal held-out set. To ensure reproducibility, the following information should be recorded: the size and sampling strategy of the held-out set, the version of the perplexity calculation script, the tokenizer version, and downstream task metrics such as task accuracy and consistency of human ratings. Each evaluation should use the same setup so that comparisons between candidate models are meaningful.
- Design an application architecture that supports switching.
Separating the model inference layer from the business logic layer can reduce the cost of changing models. By deploying inference services on a container platform, orchestration tools can handle canary rollouts or A/B testing between old and new models. Before launch, rollback conditions should be clearly defined, such as an error rate exceeding a set threshold, a significant increase in response latency, or per-call cost exceeding budget. Rollback should be completed quickly and should not affect existing user sessions.
- Build a monitoring and feedback loop.
After a model is deployed, latency, error rate, cost, and sampled scores of output quality should be monitored continuously. User feedback and anomalous samples should periodically flow back into the internal held-out set for the next round of evaluation. In this way, evaluation, deployment, monitoring, and feedback form a loop, and teams can adjust model selection based on real usage rather than relying only on a one-time evaluation conclusion.
Conclusion
The disclosed log-perplexity data provides a window for observing model evolution. The recent rate of decline is clearly faster than in the early phase, and this phenomenon deserves attention. However, the definitions behind the numbers still need verification, and a decline in the metric cannot be directly equated with capability improvement on all tasks. For developers and enterprises, a more practical approach is to build their own evaluation criteria, use them to test how each model generation performs in their own scenarios, and then decide whether to migrate.
