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 , the base-10 logarithm of , where is the number of parameters (the weights the model learns).
-
Start at chance. Take the smallest model, at (ten thousand parameters). It scores on the quiz. Check: chance is , so this model is only above guessing.
-
Measure a middle size. At the model scores . Check: the gain above chance is now . It has grown, but the curve is still close to flat.
-
Measure the size where the change is fastest. At (one million parameters) the score is . Check: the gain above chance is now . Most of the rise happens between and .
-
Measure the largest size. At (one hundred million parameters) the score is . Check: the gain above chance is , and the curve is levelling off near the ceiling.
-
Ask what a small model predicts. Suppose you only had the and results. Their slope is per unit of , and extending that gentle slope to predicts a score near , far below the 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.
- illustrative accuracy
- chance (1 in 4)
The math
Steps 1 to 4 in symbols: the sigmoid curve
Let , let be the chance score, and let be the ceiling. A common shape for a curve that stays flat, rises steeply, and then levels off is the logistic (sigmoid) function:
Here is the score at size , is the midpoint of the rise, and controls how steep it is. In the illustration , , and , which gives .
Step 3 in symbols: the midpoint
At the fraction is , so . 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 and small far from it, so a line fitted far below 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
- The quiz has four answer choices, so guessing gives . This is chance.
- A model scores on the quiz.
- The gain above chance is .
- 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.
- The gain above chance at is .
- The gain at is .
- The gain at is .
- Between and the gain grows by , and between and it grows by another . The curve is steepest at , though, so the sizes near the middle carry most of the change: the gain is at and about at , so the band from to holds more than three quarters of the total rise.
- 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.
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 , which is chance on a four-choice test.
- The logarithm of 1 billion is .
- The logarithm of 8 billion is .
- The logarithm of 68 billion is .
- The two measured points are flat, so a straight-line extension of them predicts about at 68 billion.
- 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.
- 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 and , and both score on a four-choice test. Could a run at score ? 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 , and a score of 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
QuestionA four-choice quiz has a model scoring . What is the gain above chance?Show answer
QuestionWhy can two flat measurements at small sizes fail to predict a large model's score?Show answer
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
Sources
- Wei, J. et al. (2022). Emergent Abilities of Large Language Models. https://arxiv.org/abs/2206.07682
- Brown, T. et al. (2020). Language Models are Few-Shot Learners. https://arxiv.org/abs/2005.14165