Search

Search papers and lessons

Are Emergent Abilities of Large Language Models a Mirage?

Rylan Schaeffer, Brando Miranda, Sanmi Koyejo · 2023

Schaeffer, Miranda and Koyejo (2023) argue that the sharp jumps called emergent abilities come from the choice of an all-or-nothing metric, since smooth metrics on the same model outputs rise gradually.

On this page

  • Colour = topic mix
  • Discrete math
  • Calculus
  • Neural network basics
  • Linear algebra
  • Probability
  • Architectures
  • ReadReady to readNot yet

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.

  1. Model the per-token error. Let the probability that the model writes each token correctly be pp. Suppose a family of models has p=0.5p = 0.5, 0.70.7 and 0.90.9 at three sizes. This rises smoothly with size. Check: the three numbers increase steadily, with no jump.

  2. 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 p3p^3. At p=0.5p = 0.5 that is 0.1250.125. At p=0.7p = 0.7 it is 0.3430.343. At p=0.9p = 0.9 it is 0.7290.729. Check: the rises are 0.2180.218 and 0.3860.386, so the exact-match curve is steeper than the per-token curve. That is the nonlinear effect.

  3. Score the same outputs with edit distance. Edit distance counts how many tokens must change to reach the right answer. Scored as 1−(edit distance)/(length)1 - (\text{edit distance}) / (\text{length}), a three-token answer with one error gets 0.670.67. The expected score is linear in pp: it is 0.50.5 at p=0.5p = 0.5 and 0.90.9 at p=0.9p = 0.9, with no bend. Check: the linear score moves 0.40.4 across the same sizes, in equal steps for equal changes in pp.

  4. Repeat for longer answers. Longer answers make exact match fall faster with pp. A five-token answer gives p5p^5, which is 0.0310.031 at p=0.5p = 0.5 and 0.5900.590 at p=0.9p = 0.9. 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 pp looks more like a jump.

  5. 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.

00.20.40.60.8100.20.40.60.81per-token probability of a correct tokenscore
  • per-token correct, smooth metric
  • three-token exact match
  • five-token exact match
The same smooth gain in per-token probability gives a convex curve under exact match, and the convexity grows with answer length. The points are the three-token values from step 2.

The math

Let pNp_N be the per-token probability that a model with NN parameters puts on the correct token. The paper assumes that the per-token cross-entropy falls as a power law, LCE(N)=(N/c)α\mathcal{L}_{CE}(N) = (N/c)^{\alpha} with α<0\alpha \lt 0, so pNp_N rises smoothly with NN.

Step 2 in symbols: exact match

For a target of length LL, the exact-match score under the independence assumption is

Accuracy(N)≈pN L.\text{Accuracy}(N) \approx p_N^{\,L}.

Its derivative with respect to pNp_N is L pN L−1L\,p_N^{\,L-1}. When pNp_N is near one this slope is about LL, so a longer target turns the same smooth change in pNp_N into a steeper change in accuracy.

Step 3 in symbols: a linear metric

Let ℓ\ell be the edit distance between the output and the target, and let LL be the target length. Using the normalised score 1−ℓ/L1 - \ell/L, the expected value is linear in pNp_N 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
The jumps may come from the researcher's choice of a nonlinear or discontinuous metric applied to outputs whose per-token error changes smoothly, rather than from a fundamental change in the model.
QuestionA model has per-token probability 0.50.5 on a three-token answer. What is its exact-match score?Show answer
Exact match needs all three tokens right, so the score is 0.53=0.1250.5^3 = 0.125.
QuestionWhy does exact match make a smooth change in per-token probability look sudden?Show answer
Exact match raises the per-token probability to the power of the answer length. That power is convex, so the same change in pp produces a larger change in the score when pp is high, and the effect grows with length.
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
It should check whether the jump survives a continuous metric and whether the test set is large enough to measure small models' accuracy. It should also check whether the jump appears across several tasks and metrics, not just one.

Sources

Read the full paper

Rylan Schaeffer, Brando Miranda, Sanmi Koyejo, 2023. arXiv:2304.15004