TL;DR
Schaeffer, Miranda and Koyejo test a specific claim: that large language models gain abilities suddenly and unpredictably as they grow. They show that the same model outputs can look sharp or smooth depending on the metric. A nonlinear metric such as exact-match accuracy turns a steady gain in the per-token error into a sudden jump, while a linear metric such as edit distance shows the steady gain. Their conclusion is that many claimed emergent abilities may be a mirage made by the choice of measurement, not a fundamental property of scaling.
Builds on: Emergent Abilities, Neural Scaling Laws · Leads to: Emergent Abilities of Large Language Models, In-Context Learning
Why it mattered
The paper changed how researchers talk about the jumps in Emergent Abilities. Before it, sudden gains were often described as a property of the model. After it, a careful evaluation has to say which metric is used and whether the result holds under another one. The claim also bears on planning, because a sudden jump is harder to foresee. The paper's answer does not say that jumps are impossible, but it shows that many of the cited jumps depend on the way the score is computed.
The paper is also a template for evaluation work. It takes existing public model outputs, rescores them with several metrics, and shows which conclusions survive. That habit, checking whether a result depends on the metric, is useful for any benchmark comparison.
The problem
The jumps were reported in model families such as GPT-3 and LaMDA on tasks like arithmetic and multi-step reasoning. The reports said that small models score near zero and large ones score well above zero, and that this change could not be predicted by extrapolating from small models. The reports used scores such as accuracy, where a model gets credit only when the whole answer is right.
The earlier picture, from Neural Scaling Laws, says that the Cross-Entropy Loss on held-out text falls as a power law in parameters, data and compute. If the loss falls smoothly, the question is how a smooth fall can produce a sharp rise in a task score. The paper answers that question with a metric.
How it works
Consider one model that gets a short answer right or wrong. We follow a tiny instance with round numbers.
-
Model the per-token error. Let the probability that the model writes each token correctly be . Suppose a family of models has , and at three sizes. This rises smoothly with size. Check: the three numbers increase steadily, with no jump.
-
Score a three-token answer with exact match. The answer is correct only if all three tokens are right. Assuming independent tokens, the chance is . At that is . At it is . At it is . Check: the rises are and , so the exact-match curve is steeper than the per-token curve. That is the nonlinear effect.
-
Score the same outputs with edit distance. Edit distance counts how many tokens must change to reach the right answer. Scored as , a three-token answer with one error gets . The expected score is linear in : it is at and at , with no bend. Check: the linear score moves across the same sizes, in equal steps for equal changes in .
-
Repeat for longer answers. Longer answers make exact match fall faster with . A five-token answer gives , which is at and at . The longer the answer, the more the metric exaggerates the change. Check: the curve bends more sharply as the answer gets longer, so the same smooth change in looks more like a jump.
-
Test the explanation on real models. If the story is right, rescoring the same outputs with a linear metric should remove the jump, and collecting more test data should reveal above-chance accuracy for small models. Check: these are the two predictions the paper tests.
- per-token correct, smooth metric
- three-token exact match
- five-token exact match
The math
Let be the per-token probability that a model with parameters puts on the correct token. The paper assumes that the per-token cross-entropy falls as a power law, with , so rises smoothly with .
Step 2 in symbols: exact match
For a target of length , the exact-match score under the independence assumption is
Its derivative with respect to is . When is near one this slope is about , so a longer target turns the same smooth change in into a steeper change in accuracy.
Step 3 in symbols: a linear metric
Let be the edit distance between the output and the target, and let be the target length. Using the normalised score , the expected value is linear in for one-token targets, and the paper reports that it stays approximately quasilinear in length.
Step 4 in symbols: length effect
The paper states that under exact match the accuracy falls approximately geometrically with target length, and under token edit distance it falls approximately quasilinearly. These match the two curves in step 4 of the walkthrough.
Results
The paper tests three predictions on the InstructGPT and GPT-3 family, on two arithmetic tasks: two-shot multiplication of two two-digit integers and two-shot addition of two four-digit integers. The models tested are the publicly queryable sizes of 350 million, 1.3 billion, 6.7 billion and 175 billion parameters.
Under exact-match accuracy, the family looks emergent on the four- and five-digit targets. Under token edit distance, the same outputs rise smoothly and predictably with scale. With more test data, accuracy itself shows above-chance performance for all the models, and accuracy falls approximately geometrically with target length.
In a meta-analysis of BIG-Bench, of 39 preferred metrics at most 5 show emergence. A hand-annotated set of claimed emergent abilities shows them under 4 of the 39 metrics, and more than 92 percent of the claimed cases appear under either Multiple Choice Grade or Exact String Match. On the LaMDA family, abilities that appear under the discontinuous Multiple Choice Grade disappear under the continuous Brier score.
The paper also induces seemingly emergent behaviour in neural networks on vision tasks by choosing the metric, which shows that the same effect is not special to language models.
Limits and misreadings. The paper does not say that large language models cannot show emergent abilities; its claim is narrower, that the cases previously reported as emergent may be produced by the metric and by too little test data. A metric is not a neutral ruler, because each one deforms the per-token error in its own way, so the choice of metric is part of the result. The GPT analysis uses only the publicly queryable models and two arithmetic tasks, and the meta-analysis depends on published results and on how the authors annotated them. The paper argues that the cited cases are likely produced by metric choice, not that this holds for every task.
When to use the idea: when a claimed jump depends on one nonlinear or discontinuous metric, or when a benchmark reports only pass or fail on long answers. When not to use it: when the task has no reasonable continuous metric, or when several tasks and metrics agree. Alternatives: report several metrics, use continuous scores such as the Brier score, and collect enough test items that small models give a measurable score.
Reading guide
- Abstract and Section 1: the definition of emergence the paper is responding to, and the two properties called sharpness and unpredictability. Needs Emergent Abilities.
- Section 2 and Figure 2: the mathematical model. Needs Neural Scaling Laws for the power law and Cross-Entropy Loss for the per-token error.
- Section 3 and Figures 3 and 4: the GPT arithmetic analysis, with the two predictions. Needs Perplexity only if you want the per-token view, and Edit Distance for the linear metric.
- Section 4 and Figures 5 and 6: the BIG-Bench meta-analysis and the LaMDA check. Needs the metric definitions above.
- Section 5: the vision experiments. Needs Convolutional Neural Network for the networks used.
- Section 7: the discussion and its implications for benchmarks.
Check yourself
QuestionIn one sentence, what does the paper claim about the sharp jumps in emergent abilities?Show answer
QuestionA model has per-token probability on a three-token answer. What is its exact-match score?Show answer
QuestionWhy does exact match make a smooth change in per-token probability look sudden?Show answer
QuestionA team rescores a model with edit distance and sees a smooth curve, while accuracy shows a jump. What should it check before claiming emergence?Show answer
Sources
- Schaeffer, R., Miranda, B. and Koyejo, S. (2023). Are Emergent Abilities of Large Language Models a Mirage? https://arxiv.org/abs/2304.15004
- Wei, J. et al. (2022). Emergent Abilities of Large Language Models. https://arxiv.org/abs/2206.07682