Reading LLM Capability Evolution Through Log-Perplexity Curves

    Model-release disclosures increasingly include a curve showing how pre-training log-perplexity evolves over training, and this curve is often used to estimate where a new model's capability sits relative to known points in an existing model family. This article explains what such curves actually measure, why bits-per-byte (BPB) normalization makes cross-model comparison possible, and how anchor interpolation maps a capability score onto a reference loss curve. It breaks down the assumptions interpolation relies on, explains why reasoning and long-tail knowledge metrics should be interpolated separately, and demonstrates the logic with sample Python code. It also catalogs common misreadings and lays out a practical framework enterprises can use to build their own evaluation systems—covering dual-track benchmarks, fixed evaluation methodology, paired comparison with bootstrap confidence intervals, layered reporting, and regression gates.

    1. Introduction: Why a Single Loss Curve Says Something About “Capability Position”

    Public disclosures around model releases often include a curve showing how pre-training log-perplexity changes as training progresses. This curve is commonly used to answer one question: roughly which training stage of an existing model family does a new model’s capability correspond to?

    The value of this kind of data lies in its observability. Benchmark scores are affected by question difficulty, evaluation setup, and sampling variance, which makes them hard to compare directly. Training loss, by contrast, is a continuous quantity computed token by token over large corpora, so it is naturally comparable. However, loss and capability do not map to each other one-to-one. For this curve to actually say something meaningful, three things need to be clarified: what loss really measures, how anchor interpolation works, and where the boundaries of the conclusion lie. This article addresses these three points.

    2. Fundamentals: What Log-Perplexity and Bits-Per-Byte Actually Measure

    Log-perplexity is essentially the model’s negative log-likelihood of text. It can be normalized per token or per byte, and the industry most commonly uses the latter—bits-per-byte (BPB):

    1. loss_token (in nats, cross-entropy)
    2. ppl = exp(loss_token)
    3. BPB = loss_token / (ln2 × bytes_per_token)
    4. = log2(ppl) / bytes_per_token

    Here bytes_per_token denotes the average number of UTF-8 bytes per token. This quantity answers the question: given the preceding context, how many bits does the model need on average to uniquely determine the text when predicting the next token?

    Three points are worth noting:

    1. The log scale is easier to compare. On a per-token basis, a fixed percentage drop in perplexity does not correspond to an equal change in loss. Switching to log-perplexity or BPB makes the relationship between loss and capability approximately linear—which is why scaling-law research widely adopts the log scale.
    2. Per-byte normalization is the key to commensurability. Different tokenizers produce different token counts and vocabulary sizes, so per-token perplexity cannot be compared directly. Using the UTF-8 byte count as the denominator removes any dependence on a specific tokenization scheme, which is what makes values comparable across models.
    3. Relative levels carry more information than absolute values. Subtle differences in evaluation design—normalization, aggregation, stratified sampling—can shift results by several decimal places. It is therefore better to focus on the relative levels of loss values across models under the same evaluation methodology.

    This relationship is easy to verify: if two models have the same token-level cross-entropy on English text but one uses a finer tokenization (a smaller average bytes_per_token), its BPB will be higher. This shows that comparing perplexity indiscriminately easily mistakes tokenization differences for capability differences.

    3. From “Performance Scores” to “Loss Position”: Anchor Interpolation and Its Assumptions

    3.1 The method itself

    Anchor interpolation is not complicated: it maps a target model’s capability metric score onto a known “loss–capability” reference curve to find the reference model that matches numerically. Expressed as a function:

    1. f: loss → capability metric score
    2. z = f⁻¹(the new model's score on the same eval set)

    Here f is fitted from the no-thinking-mode performance of a reference model family across different training stages (different loss values), and z is the loss position that the new model corresponds to on the reference curve.

    3.2 Three implicit assumptions

    Assumption Meaning Consequence when violated
    Comparability The new model and the reference models use the same eval set and scoring rules, with consistent prompt and answer normalization Numerical offsets get mistaken for capability differences
    Monotonic and stable On the reference curve, lower loss means higher scores; and this relationship can be extrapolated to regions the reference family does not cover The extrapolated position becomes distorted, with error growing as distance increases
    Capability homogeneity The capability dimension being compared is related to the training objective (next-token prediction), and the new model has not received additional reinforcement on that capability Multimodal or specially enhanced models may be “mis-anchored”

    It is worth emphasizing that the monotonic-and-stable assumption does not always hold. If a new model significantly improves a capability through extensive specialized training while benchmark difficulty and scoring methods stay unchanged, its score will show a kink on the true capability curve. Inferring loss from the reference curve is essentially “assuming this relationship still holds.”

    3.3 Two types of metrics should be interpolated separately

    On the question of evaluation metric design, a common practice is to split the overall score into several mutually orthogonal sub-dimensions:

    • Reasoning metrics: measure multi-step logic, mathematics, and symbolic reasoning;
    • Long-tail knowledge metrics: measure mastery of low-frequency facts and specialized-domain content.

    The sub-dimensions are “asynchronous”: long-tail knowledge is closer to “how much is memorized” and rises quickly with training data volume and parameter scale, whereas reasoning ability depends on more complex emergence and training signals. Because the two curves have different slopes, their interpolation positions naturally differ. The gap between the “NCRI interpolation” and “NCKI interpolation” columns in the table below essentially reflects “which metric you choose as the anchor”—not the real pre-training loss, and certainly not a confidence interval.

    Model (illustrative) NCRI (reasoning) interpolation NCKI (long-tail knowledge) interpolation Approximate reference
    Model A 0.889 0.885 Near the upper-middle tier
    Model B 0.847 0.847 The second-highest tier
    Model C 0.837 0.842 Toward the later part of the second-highest tier
    Model D 0.819 0.806 A higher tier
    Model E 0.892 — Roughly equal to the previous tier, sitting between two adjacent tiers

    Three cautions when reading this table:

    1. The interpolated values are “anchor positions,” not the model’s own loss;
    2. A small gap between the two columns does not mean the metrics are unimportant—it indicates high overlap between the chosen capability dimensions;
    3. A large gap indicates that the “generational positions” of the two capability dimensions themselves diverge.

    3.4 Reproducing the logic with sample code

    The sample code below illustrates the basic idea of anchor interpolation and interpolation-uncertainty assessment:

    1. import math
    2. import random
    3. def interpolate(x, xp, fp):
    4. """Linearly interpolate/extrapolate x over a monotonic anchor sequence (xp, fp)."""
    5. assert xp == sorted(xp) # xp must be ascending loss anchors
    6. for (x0, y0), (x1, y1) in zip(zip(xp, fp), zip(xp[1:], fp[1:])):
    7. if x0 <= x <= x1:
    8. return y0 + (x - x0) * (y1 - y0) / (x1 - x0)
    9. return fp[0] if x < xp[0] else fp[-1] # only flag extrapolation when out of range
    10. def bpb(token_logprobs, token_byte_lens):
    11. """Convert token-level log-probabilities to bits-per-byte."""
    12. nll = -sum(token_logprobs) # in nats
    13. nbytes = sum(token_byte_lens)
    14. return nll / (nbytes * math.log(2))
    15. def bootstrap_position(scores, losses, ref_losses, ref_scores, n=500):
    16. """Resample eval samples with replacement to get a distribution of interpolated positions."""
    17. out = []
    18. pairs = list(zip(scores, losses))
    19. for _ in range(n):
    20. sample = [random.choice(pairs) for _ in pairs]
    21. s = sum(p[0] for p in sample) / len(sample)
    22. l = sum(p[1] for p in sample) / len(sample)
    23. out.append(interpolate(l, ref_losses, ref_scores))
    24. out.sort()
    25. return out[int(0.025 * n)], out[int(0.975 * n)] # approximate 95% interval

    The key point is that the interpolation result is not a definite “generation number” but a distribution; different subsets of evaluation samples shift the interpolated position. If your conclusion is “equivalent to the two-thirds point of some model,” then that conclusion is merely a point estimate and must be accompanied by an interval.

    4. What This Data Means for Understanding Capability Evolution

    4.1 Making the “scale–capability” relationship observable

    Before this kind of data was available, external judgments of large-model capability relied mainly on benchmark scores and subjective experience. Public log-perplexity data lets practitioners directly observe:

    • The shape of the capability curve as training progresses, and whether it approximates a power law;
    • Whether the curve bends after data-mixture adjustments or model architecture changes;
    • Whether the “arrival times” of different capability dimensions are synchronized.

    This is useful for judging “where the next generation of models will likely be stronger, and by how much.”

    4.2 Revealing “synchronicity” and “heterogeneity”

    Within the same table, results from reasoning-metric interpolation and long-tail-knowledge-metric interpolation often differ. This shows that:

    • Model capability is not a single scalar but a multi-dimensional vector;
    • A “composite capability ranking” is merely a weighted projection of several dimensions, and the choice of weights itself affects the conclusion;
    • The training objective (for example, whether extensive post-training targeted reasoning) changes the slope of each dimension.

    Understanding this is more valuable than memorizing “model X equals tier Y.”

    4.3 Revealing the boundary between “noise” and “real differences”

    In public data, some models share the same base but differ only in their post-training versions. In this case, tiny differences between the two versions (on the order of 0.001) almost certainly come from sampling variance, not a change in the base model. Interpreting them indiscriminately as a “base-model generational shift” leads to the wrong conclusion.

    Similarly, when some models score very close to a previous-tier model on a given metric (for example, 74.55 versus 74.24 / 75.11), “just a little behind” and “exactly on par” cannot be distinguished statistically. The interpolation result of “located between two models” is more accurately stated as “overlapping the confidence intervals of the two models.”

    4.4 Revealing the importance of “evaluation methodology”

    The same model can differ by several points under different evaluation methodologies. Whether the eval set is public, whether it has been covered by training data, whether scoring normalizes answers, and whether “thinking” mode is enabled all affect results. Part of the value of public loss data is that it bypasses these methodological differences and provides a relatively “clean” reference.

    4.5 A reminder: capabilities are “compositional”

    Even when loss positions are close, the actual experience can differ noticeably, because:

    • Post-training (instruction tuning, preference optimization, reasoning enhancement) significantly changes model behavior;
    • Engineering factors such as context length, tool calling, and system prompts change the effectively usable capability;
    • Multimodal capability often does not show up in text-only loss.

    Therefore, log-perplexity is a “slice” for understanding capability evolution, not the whole picture.

    5. Common Misreadings and How to Avoid Them

    Misreading The problem Recommended approach
    Treating the interpolation result as the real pre-training loss Interpolation is a “position,” not the model’s own loss Explicitly label it as an “equivalent position”
    Treating the gap between the two columns as a confidence interval The gap reflects the choice of metric Use resampling to produce a real interval
    Treating a 0.001-level difference as a generational gap It is the same order of magnitude as sampling variance Test for significance first, then conclude
    Ignoring differences in evaluation methodology Different eval sets and scoring rules are not directly comparable Standardize the methodology, or compare only relatively
    Inferring multimodal capability from text-only loss Multimodal capability is not reflected in text-only loss Evaluate separately by modality and by task
    Aligning “thinking mode” performance against a no-thinking curve Scores from the two modes are not directly comparable Unify the reasoning mode before interpolation

    6. How Enterprises Can Apply This Approach to Their Own Evaluation Systems

    For enterprise users, the key is not “understanding someone else’s curve” but building an evaluation mechanism that your own organization can run continuously. Here is a practical framework.

    6.1 Build a “dual-track” evaluation: internal benchmarks + general benchmarks

    • Internal benchmarks: construct eval sets by sampling from real business scenarios, covering both high-frequency and long-tail questions. High-frequency questions reveal stability; long-tail questions reveal knowledge coverage. Keep internal benchmarks private to avoid “gaming” by training data.
    • General benchmarks: select publicly recognized eval sets for cross-comparison. Fix the version and scoring script, and periodically re-check for contamination.

    Combining the two lets you see both “absolute level” and “relative position.”

    6.2 Fix the evaluation methodology, achieving “same question, same method”

    Fix at least the following elements:

    • Prompt templates and system prompts;
    • Decoding parameters (such as temperature, top-p, maximum length);
    • Whether “thinking” mode is enabled;
    • Answer normalization and scoring rules;
    • The eval set version number and sampling seed.

    Any change to these should be recorded as a “methodology change” and noted in reports; otherwise historical data becomes incomparable.

    6.3 Use paired comparison + resampling to report intervals, not point values

    When comparing two models, the most effective method is a “paired comparison” over the same batch of samples: record both models’ scores for each question, compute the difference distribution, then perform bootstrap resampling to obtain a confidence interval for the difference. If the interval crosses 0, the two models show no significant difference on this batch of data.

    The sample code below illustrates this workflow:

    1. def paired_diff_ci(a_scores, b_scores, n=1000, alpha=0.05):
    2. """Paired comparison + bootstrap; returns the mean difference and an approximate CI."""
    3. assert len(a_scores) == len(b_scores)
    4. diffs = [x - y for x, y in zip(a_scores, b_scores)]
    5. means = []
    6. for _ in range(n):
    7. s = [random.choice(diffs) for _ in diffs]
    8. means.append(sum(s) / len(s))
    9. means.sort()
    10. lo, hi = means[int(alpha / 2 * n)], means[int((1 - alpha / 2) * n)]
    11. return sum(diffs) / len(diffs), lo, hi
    12. # A difference holds on this sample only if lo and hi share the same sign

    6.4 Report in layers: do not give a single total score

    Report in layers across the following dimensions:

    • Reasoning (multi-step logic, mathematics, code);
    • Knowledge (facts, long-tail, specialized domains);
    • Instruction following and format compliance;
    • Safety and refusal policy;
    • Cost and latency (if applicable).

    Give a separate point estimate and interval for each dimension, then a weighted total score. This reveals both “where it is strong” and “where it is weak.”

    6.5 Build a “regression gate” to prevent version degradation

    Wire evaluation into the continuous integration pipeline: on every model or prompt change, automatically run the internal benchmark, and if a key dimension degrades beyond a threshold (for example, the upper bound of the difference’s confidence interval falls below 0), block the release. This is far more reliable than a human “glancing at the scores.”

    6.6 Infrastructure implementation recommendations

    When implementing these mechanisms in the cloud, you can combine general-purpose capabilities:

    • Object storage: store eval sets, prompt templates, and model versions, with versioning and immutable archiving;
    • Container platform: host evaluation tasks, scale on demand, and isolate different evaluation environments;
    • Message queue: decouple evaluation task scheduling from result aggregation;
    • Logging service: centrally collect evaluation logs and metrics for traceability;
    • Monitoring and alerting: set threshold alerts on key metrics to catch degradation promptly.

    In related practice at Baidu AI Cloud, this kind of “evaluate–observe–alert” closed loop is typically implemented through a combination of the general-purpose product capabilities above, rather than relying on a single tool. The specific choices should be determined based on team size, evaluation frequency, and compliance requirements.

    7. Conclusion

    The significance of public log-perplexity data is not to provide some “authoritative ranking,” but to offer a comparable, reproducible, and extrapolable reference frame. It enables practitioners to:

    • Observe capability evolution on a unified scale;
    • Place a “new model” onto a “known curve” using anchor interpolation;
    • Distinguish “real differences” from “noise” using uncertainty analysis.

    But one must stay clear-headed: interpolation is a tool, not a conclusion; a position is an estimate, not a fact. Truly reliable judgment comes from a unified evaluation methodology, sufficient sample size, paired comparison and interval estimation, and a deep understanding of the business context.

    For enterprises, rather than chasing claims about “which tier a model equals,” it is better to build your own sustainable evaluation system: use internal benchmarks to hold the business baseline, general benchmarks to gauge your industry position, layered reports to pinpoint capability gaps, and regression gates to prevent version degradation. This is where the real value of this kind of public data lies.