6.1.3 · D4Scaling & Efficient Architectures

Exercises — Emergent abilities in large models

2,983 words14 min readBack to topic

This is a self-testing page. Try each problem before opening its solution. Difficulty climbs from L1 (recognition) to L5 (mastery). The engine behind almost every answer is the same lens from the parent note, Emergent abilities in large models: a smooth per-token skill raised to a task length gives , which looks like a jump but is smooth underneath.


Level 1 — Recognition

Exercise 1.1

Which of these is the definition of an emergent ability (Wei et al., 2022)? (a) Any ability that improves with scale. (b) An ability absent in small models, present in large ones, and not predictable by extrapolating small-model performance. (c) An ability that only large models can ever have, forever.

Recall Solution

(b). The key phrase is cannot be predicted by extrapolating small-model performance. (a) is too broad — smooth improvement is not emergence. (c) overclaims permanence; emergence is about the shape of the scale curve, not a metaphysical limit.

Exercise 1.2

On the standard picture (smooth loss curve + S-shaped accuracy curve), which quantity is the smooth one and which shows the sharp look?

Recall Solution

Loss is smooth (a power law with no kink). Task accuracy shows the sharp look (flat at chance, then a hockey-stick). Mnemonic: "Smooth Loss, Sharp Look."

The figure below plots both against model scale (horizontal axis, arbitrary units, running left-to-right from small to large models) on the same vertical axis (a dimensionless "value" from upward). The black curve is the loss: it slides down smoothly with no bend. The red curve is exact-match accuracy : it hugs the bottom (near ) for a long stretch, then curls up sharply. Same underlying model, two lenses — the red arrow marks the point where accuracy crosses into "looks emergent."

Figure — Emergent abilities in large models
Figure s01 — Horizontal axis: model scale (arbitrary units). Vertical axis: value (dimensionless). Black = smoothly declining loss; red = exact-match accuracy pinned near zero then rising sharply.

Exercise 1.3

Name the two competing explanations for emergence and match each to a one-line summary.

Recall Solution
  • Capability phase transition: a hard task chains many fragile sub-skills. Let = the number of serial sub-skills the task requires. If each is right with probability , the whole chain succeeds with probability . This explodes (rises fast) once passes a knee → genuinely sharper skill.
  • Metric mirage (Schaeffer et al., 2023): the jump is an artifact of a harsh, thresholded metric (exact-match); a smooth metric (edit distance, log-likelihood) reveals smooth progress underneath.

Level 2 — Application

Exercise 2.1

A task needs tokens all correct. Compute exact-match accuracy for , , and . What story do the three numbers tell?

Recall Solution
  • — effectively "can't do it."
  • .
  • — "solved it."

Story: a per-token skill climbing (smooth) turns into accuracy. That feels like a switch, but nothing discontinuous happened.

Exercise 2.2

For the same jump (), compute the smooth metric with . How much (in relative terms) does it change, versus how much exact-match changes?

Recall Solution
  • Relative change: → about a 24% increase.

Exact-match went from to , a factor of . Same model, same skill gain — the harsh metric magnifies it while the smooth metric barely moves. This is the mirage in numbers. Compare with Cross-entropy loss and perplexity, which is likewise a smooth per-token lens.

Exercise 2.3

A 3-digit addition answer is tokens (three digits + a carry token). Model A has , Model B has . Which reports as "emergent" on exact-match, and by what factor did accuracy grow?

Recall Solution
  • Model A: .
  • Model B: .
  • Growth factor: .

Model B looks emergent (near-random → strong). The mechanism is the exact-carry chain of Chain-of-thought prompting-style arithmetic: one wrong digit fails the whole answer.


Level 3 — Analysis

Exercise 3.1

Two tasks improve their per-token skill by the same absolute amount (from to ). Task X has , Task Y has . Compute the accuracy gain (final minus initial) for each. Which one looks more emergent, and why does that follow from the algebra?

Recall Solution

Task X (): , → gain . Task Y (): , → absolute gain , but measured as a factor it is huge (), off a near-zero base.

Why Y looks more emergent: for large , sits crushed near until is very close to , then rises steeply. The slope of with respect to is , which is largest for big once nears . So Task Y's curve has a later, steeper knee — the visual signature of emergence.

Exercise 3.2

Show algebraically why the log of exact-match accuracy is linear in , and use that to explain why "the larger , the sharper the transition."

Recall Solution

Start from . Take the natural log: Since , . So is a negative number scaled by . When is small, is very negative → . As , .

Doubling doubles the depth for any fixed , pushing small- accuracy even closer to zero while still snaps to one. The gap between "pinned at zero" and "snaps to one" widens with ⇒ a sharper-looking transition.

Why the axis choice changes the "sharpness": the eye judges "sharp" by how fast the plotted height changes. On a linear accuracy axis, the height is — for large this stays glued to the floor and then rockets up, so your eye sees a knee. But if we plot the height as against , the relation is a perfectly straight line of slope — a line has no knee anywhere. Nothing about the model changed; we only swapped the vertical (and horizontal) ruler for a logarithmic one, which stretches the crushed-near-zero region back open. The "sharp transition" was living in the linear ruler, not in the mathematics. This is the same trick the mirage view uses: pick a lens (metric/axis) and the discontinuity appears or vanishes.

Figure — Emergent abilities in large models
Figure s02 — Horizontal axis: per-token skill (0 to 1, dimensionless). Vertical axis: exact-match accuracy (0 to 1). Black curves are ; the red curve is , staying pinned near zero until is close to 1 — bigger gives a later, steeper apparent knee.

The figure makes this concrete. The horizontal axis is per-token skill (from to ); the vertical axis is exact-match accuracy (from to ). Each black curve is a different (labelled ); the red curve is , which stays pinned near the floor and only lifts once is very close to — the red arrow marks that "stays near 0 until close to 1" behaviour. Bigger ⇒ later, steeper apparent knee, exactly as the algebra predicts.

Exercise 3.3

Parent note's link: where is the training loss (a function of scale and dataset size ) and the irreducible entropy (the loss floor defined in the preamble). If the loss gap shrinks smoothly from to , and the task needs tokens, compute exact-match at both ends. Confirm it is a smooth composition despite the visual jump.

Recall Solution

First :

  • , so .
  • , so .

Note the clean form . Every function (, then raising to ) is continuous and smooth, yet accuracy went from to . Emergence = amplification by the exponent , not a discontinuity. This ties directly to Compute-optimal training and Scaling laws (Kaplan, Chinchilla), where shrinks like a smooth power law.


Level 4 — Synthesis

Exercise 4.1

Chain-of-thought prompting adds intermediate reasoning steps. Model it: without CoT the task needs final token at skill . With CoT it needs a chain of reasoning tokens each at skill , but if the chain is right the final answer is essentially certain. (a) For a small model with , does CoT help or hurt? (b) For a large model with , does CoT help? Use and .

Recall Solution

(a) Small, : no-CoT ; CoT . CoT hurts () — extra fragile steps multiply errors. (b) Large, : no-CoT ; CoT .

Here CoT is still slightly below raw guessing in this toy setup — the point is the gap collapses as rises: the CoT penalty shrinks from down to . In the real world CoT's benefit comes because the direct answer's effective is far lower than the per-step (hard problems can't be one-shot), so once per-step is high, decomposition wins. CoT emergence = a composition/crossover effect, matching the parent note.

Exercise 4.2

Design a smooth diagnostic. You suspect an "emergent" benchmark is a metric mirage. You have small models scoring exact-match. Propose two smooth metrics from the Connections and predict what each would show if the mirage hypothesis is true.

Recall Solution
  • Per-token log-likelihood / Cross-entropy loss and perplexity: should decline smoothly across small models — a clean trend you can extrapolate to forecast the large-model jump.
  • Token edit distance to the gold answer: should shrink smoothly (fewer wrong tokens) even while exact-match sits at .

Prediction under mirage: both smooth metrics improve monotonically and predictably, so the large-model "leap" is forecastable — the discontinuity was only in the harsh exact-match lens. This is exactly the red-teaming argument: small-model trends do inform us. Contrast with Inverse scaling and Grokking (delayed generalization), where the underlying dynamics themselves are non-monotone or delayed — those are not pure metric artifacts.


Level 5 — Mastery

Exercise 5.1

Regulators want to name the scale where a dangerous capability "turns on." Two tempting definitions of "steepest" are on the table. Using with the per-token skill rising smoothly with scale, : (a) does have an inflection point in (a place where its curvature changes sign)? (b) On the scale axis , where is the accuracy curve genuinely steepest, and is that a physical threshold or a convention?

Recall Solution

(a) Curvature in . First derivative: . Second derivative: For and this is strictly positive and never zero — it does not change sign. So is convex everywhere on : there is no inflection point in . The "knee" your eye sees is pure convexity (hug the floor, then curl up toward ), not a true turning point. The steepest slope in is at the boundary , where .

(b) Steepest on the scale axis . Because accuracy reaches only through , use the chain rule: This can peak at a finite — but the location depends entirely on the shape of (how fast skill grows), not on any intrinsic property of . There is no universal baked into the mathematics.

Interpretation / answer to the regulators. Since has no inflection in , there is no canonical, model-independent threshold scale. Any reported "" is a convention — e.g. "the scale where exact-match first crosses ", i.e. solve . It is a chosen line in the sand, not a physical singularity. (On a log-log plot is a straight line of slope — no knee at all — confirming the "turn-on" is an axis illusion.) This is the mastery point: "emergence" gives you a convention to define , never a discontinuity to discover it.

Exercise 5.2 (capstone)

A dangerous capability needs tokens correct. Regulators want an early-warning trigger. From two small checkpoints you measure per-token skill at scale and at scale , and you find grows as . (a) Solve for . (b) Predict at . (c) Compute exact-match at , , and and state at which scale the capability "emerges" (cross ).

Recall Solution

Write (the per-token error).

  • At : .
  • At : .

(a) Ratio: . So .

(b) At : . Now . So , giving .

(c) Exact-match :

  • : ().
  • : ().
  • : ().

None crosses yet, but the smooth per-token error law was fully forecastable from the two small checkpoints — the exact-match "silence" () hid a clean, extrapolable trend. That is the whole safety point: measure the smooth quantity, extrapolate the error law, and predict the emergence before it happens.