Search

Search papers and lessons

Emergent Abilities

Level 4 · 11 min read

An emergent ability is a task skill that a language model lacks at small sizes and shows at large ones, often jumping from chance level, so small models give little warning of it.

On this page

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

TL;DR

An emergent ability is a skill that a language model does not show at small sizes and does show at large ones. On many tasks the score sits at chance for a long stretch of model size and then rises well above chance over a shorter stretch. Wei and colleagues collected many such cases in 2022. Their practical point is that the small models you can afford to test give little reliable warning of what a larger model will do.

Builds on: Neural Scaling Laws, In-Context Learning · Leads to: Emergent Abilities of Large Language Models, Are Emergent Abilities of Large Language Models a Mirage?

Where it's used

Deciding whether a task is worth a bigger model. A product team wants a model to solve multi-step arithmetic. It tests small models and sees chance-level scores, then must decide whether the larger, costlier model is worth paying for. Wei and colleagues list three-digit addition and subtraction as emerging in the GPT-3 family of transformer language models at about 13 billion parameters, so the decision depends on where that jump falls.

Prompting methods that only work at scale. Chain-of-Thought Prompting asks a model to write out its reasoning before answering. Wei and colleagues report that on math word problems it stops helping small models and starts helping only around 68 billion parameters in the LaMDA family. A prompt that is useless in a small model can be the best tool in a large one, so the method and the size have to be chosen together.

Planning evaluations before deployment. A safety or capability team cannot test every size of every model it might ship. If a skill can appear suddenly, the team has to test the largest model it might release, not only the cheap ones, and it has to keep an open mind about what the large model can do.

How it works

Imagine a quiz with four answer choices. Guessing gives the right answer one time in four, so a model that knows nothing scores about 25 percent. This is chance. We follow one illustrative family of models with round numbers. Size is measured as x=log⁡10Nx = \log_{10} N, the base-10 logarithm of NN, where NN is the number of parameters (the weights the model learns).

  1. Start at chance. Take the smallest model, at x=4x = 4 (ten thousand parameters). It scores 0.260.26 on the quiz. Check: chance is 0.250.25, so this model is only 0.010.01 above guessing.

  2. Measure a middle size. At x=5x = 5 the model scores 0.330.33. Check: the gain above chance is now 0.080.08. It has grown, but the curve is still close to flat.

  3. Measure the size where the change is fastest. At x=6x = 6 (one million parameters) the score is 0.600.60. Check: the gain above chance is now 0.350.35. Most of the rise happens between x=5x = 5 and x=7x = 7.

  4. Measure the largest size. At x=8x = 8 (one hundred million parameters) the score is 0.940.94. Check: the gain above chance is 0.690.69, and the curve is levelling off near the ceiling.

  5. Ask what a small model predicts. Suppose you only had the x=4x = 4 and x=5x = 5 results. Their slope is (0.33−0.26)/1=0.07(0.33 - 0.26)/1 = 0.07 per unit of xx, and extending that gentle slope to x=8x = 8 predicts a score near 0.540.54, far below the 0.940.94 that the full curve shows. Extrapolation from the flat part misses the jump. Check: the prediction is wrong by more than half of the total possible gain.

345678900.20.40.60.81log10 of parameter countaccuracy on the quiz
  • illustrative accuracy
  • chance (1 in 4)
The score stays near chance for small models, rises steeply around x = 6, and then flattens near its ceiling. The points are the three measurements in steps 1, 3 and 4.

The math

Definition: Emergent ability
A task is emergent over a family of models if its score is close to chance for every model smaller than some scale and clearly above chance for every model larger than it. Wei and colleagues define an ability this way: it is absent in smaller models and present in larger ones.

Steps 1 to 4 in symbols: the sigmoid curve

Let x=log⁡10Nx = \log_{10} N, let cc be the chance score, and let mm be the ceiling. A common shape for a curve that stays flat, rises steeply, and then levels off is the logistic (sigmoid) function:

s(x)=c+(m−c) 11+e−k(x−x0)s(x) = c + (m - c)\,\frac{1}{1 + e^{-k(x - x_0)}}

Here s(x)s(x) is the score at size xx, x0x_0 is the midpoint of the rise, and kk controls how steep it is. In the illustration c=0.25c = 0.25, m=0.95m = 0.95, k=2k = 2 and x0=6x_0 = 6, which gives s(x)=0.25+0.7/(1+e−2(x−6))s(x) = 0.25 + 0.7/(1 + e^{-2(x-6)}).

Step 3 in symbols: the midpoint

At x=x0x = x_0 the fraction 1/(1+e0)1/(1 + e^{0}) is 1/21/2, so s(x0)=c+(m−c)/2=0.25+0.35=0.60s(x_0) = c + (m - c)/2 = 0.25 + 0.35 = 0.60. That matches step 3 of the walkthrough.

Step 5 in symbols: why extrapolation fails

If you fit a straight line to points where the curve is still flat, the line is almost horizontal, so its slope is close to zero. The curve itself is not a line. Its slope is largest near x0x_0 and small far from it, so a line fitted far below x0x_0 says nothing about the rise above it. This is the mathematical reason why small runs can look flat and still hide a steep rise. The same logic applies whenever the true curve is sigmoid rather than linear.

Worked examples

Example
Tiny: the gain above chance on a four-choice quiz
  1. The quiz has four answer choices, so guessing gives 1/4=0.251/4 = 0.25. This is chance.
  2. A model scores 0.260.26 on the quiz.
  3. The gain above chance is 0.26−0.25=0.010.26 - 0.25 = 0.01.
  4. Interpretation: the model is a percentage point above guessing. On a short quiz that gap could easily be noise, so the model has not yet shown the skill.
Example
Standard: where the gain comes from on the illustrative curve
  1. The gain above chance at x=4x = 4 is 0.26−0.25=0.010.26 - 0.25 = 0.01.
  2. The gain at x=6x = 6 is 0.60−0.25=0.350.60 - 0.25 = 0.35.
  3. The gain at x=8x = 8 is 0.94−0.25=0.690.94 - 0.25 = 0.69.
  4. Between x=4x = 4 and x=6x = 6 the gain grows by 0.340.34, and between x=6x = 6 and x=8x = 8 it grows by another 0.340.34. The curve is steepest at x=6x = 6, though, so the sizes near the middle carry most of the change: the gain is 0.080.08 at x=5x = 5 and about 0.620.62 at x=7x = 7, so the band from 55 to 77 holds more than three quarters of the total rise.
  5. Interpretation: a test run at only the smallest sizes would show almost no gain, and the useful information about the skill sits in the middle sizes that the team must measure.
Example
Realistic: a team deciding on a 68 billion parameter run

A team has run its math word problem test with chain-of-thought prompting at two sizes. The 1 billion parameter model and the 8 billion parameter model both score 0.250.25, which is chance on a four-choice test.

  1. The logarithm of 1 billion is log⁡10(109)=9\log_{10}(10^9) = 9.
  2. The logarithm of 8 billion is log⁡10(8×109)=9+log⁡108≈9.90\log_{10}(8 \times 10^9) = 9 + \log_{10} 8 \approx 9.90.
  3. The logarithm of 68 billion is log⁡10(68×109)=9+log⁡1068≈10.83\log_{10}(68 \times 10^9) = 9 + \log_{10} 68 \approx 10.83.
  4. The two measured points are flat, so a straight-line extension of them predicts about 0.250.25 at 68 billion.
  5. Wei and colleagues list this method's emergence on math word problems at around 68 billion parameters in the LaMDA family, so the straight-line forecast would miss it.
  6. Interpretation: two runs at chance are not evidence that a larger run will also be at chance. The team needs a run at or near the size where the change may happen, or it should plan to measure the whole curve, not just the start.

Try it: a team has runs at x=9x = 9 and x=9.9x = 9.9, and both score 0.250.25 on a four-choice test. Could a run at x=10.8x = 10.8 score 0.800.80? Answer: yes. Two flat points fix only a near-zero slope between them, and an emergent jump can happen between sizes that were never measured.

Common mistakes and tradeoffs

It is tempting to think that an emergent ability appears from nothing, as if the model suddenly acquires a new faculty. In fact the training loss, the cross-entropy of predicting the next token, falls smoothly with size, roughly as a Power Law described in Neural Scaling Laws. The jump is in the task score, which has a threshold, so a smooth improvement can look sudden when read through a coarse measure.

It is tempting to think that chance means zero. In fact chance depends on the task. A four-choice quiz has chance 0.250.25, and a score of 0.260.26 is not a sign of success.

It is tempting to think that every task has a fixed threshold size. In fact Wei and colleagues say the scale depends on the data, the metric and the training recipe. They report that a 62 billion parameter PaLM model shows emergence on 14 BIG-Bench tasks where the larger 137 billion parameter LaMDA and 175 billion parameter GPT-3 models do not, so a smaller model can cross the line first.

It is tempting to think that the idea settles the question of whether abilities are real jumps. In fact some researchers argue that much of the apparent jump comes from scoring with all-or-nothing metrics. Schaeffer and colleagues show that smooth metrics can make the same curves look gradual. The debate is open, and a good test uses both kinds of metric.

When to use the idea: when you plan which sizes to test or which sizes to deploy, and when a task has a clear chance level. When not to use it: when a smooth loss curve already predicts what you need, or when a single benchmark is treated as a law of nature. Alternatives: fit a smooth curve on loss, use continuous task metrics such as log-probability of the right answer, and test on many tasks so that one result does not dominate.

History

By 2020 researchers had shown that a large model could do new tasks from a few examples in its prompt, a result reported for GPT-3 by Brown and colleagues. The rise was clear, but the question of whether it came in jumps was open.

In 2022 Jason Wei and colleagues collected cases where a task score sits at chance below some size and rises above it past that size. They used the word emergent, which the paper notes has long been discussed in physics and biology, and they listed the cases across several model families. The paper caught on because it named a pattern that teams had noticed and gave them a reason to test large models directly.

In 2023 Schaeffer and colleagues argued that the apparent jumps depend on the metric, which led to a continuing debate about how much of emergence is real.

Recap

  • A language model's loss falls smoothly with size, as described by Neural Scaling Laws.
  • A task score can sit at chance for small models and then rise sharply, which is the emergent pattern.
  • The rise is well described by a sigmoid curve, whose steep middle part is invisible in the flat start.
  • Extrapolating from flat small-model results can miss the rise, so plan on measuring sizes where the change may happen.
  • Methods such as Chain-of-Thought Prompting can depend on the model being large enough to benefit from them.
  • Read next: Emergent Abilities of Large Language Models for the original collection of cases, and Are Emergent Abilities of Large Language Models a Mirage? for the argument that the jumps depend on the metric.

Check yourself

QuestionWhat does it mean that a task score is at chance for small models?Show answer
The score is about the same as random guessing for the task. On a four-choice quiz that is about 0.250.25.
QuestionA four-choice quiz has a model scoring 0.310.31. What is the gain above chance?Show answer
The gain is 0.31−0.25=0.060.31 - 0.25 = 0.06.
QuestionWhy can two flat measurements at small sizes fail to predict a large model's score?Show answer
A sigmoid curve is flat far below its midpoint and steep near it, so the slope between two flat points says nothing about the steep part higher up. Extending the flat slope misses the rise.
QuestionA team wants to know whether a skill will emerge at a size it cannot afford to test. Which plan follows from this lesson?Show answer
Measure the curve at as many sizes as the budget allows, especially near where the rise may occur, use continuous metrics as well as all-or-nothing ones, and do not treat chance-level small runs as proof that the largest model will fail.

Sources