Chapter 23: The Yonglin Corollary — Intelligence, Emergence, and the Ordinary Equation
Intelligence is no exception, and neither is emergence; they are names that one ordinary equation takes at different scales.
Suppose a model faces only three answers. Its current belief is
and the prior anchor left by the training data is
Chapter 12 already proved that, as long as the step size lies in the right window, this belief walks step by step toward
But “it converges” and “how fast it converges” are two different things. What you actually want to know is:
- How many steps does it take?
- Do all directions shrink at the same speed?
- If the prior, the model, or the scale changes, how does the speed change?
Here is what it actually looks like. The table below iterates the inference operator from Chapter 12 with step size
| error ratio | |||
|---|---|---|---|
| 0 | 0.648 | — | |
| 1 | 0.217 | 0.335 | |
| 2 | 0.102 | 0.470 | |
| 3 | 0.0438 | 0.429 | |
| 4 | 0.0211 | 0.482 | |
| 5 | 0.00997 | 0.473 |
After two or three steps, the error is multiplied by about 0.45 each time:
That 0.45 is the protagonist of this chapter. It is called the contraction rate, written
This chapter does one thing: compute this number, then measure it on a real model's belief orbit.
Another famous curve appears here: scaling law. Put loss on log-log axes with scale on the horizontal axis, and it is a straight line. This chapter uses the three-answer simplex for something more basic: first compute
The Chapter in Five Steps
- 23.1–23.3: compress “how fast” into one number,
; - 23.4: show that this number depends only on two endpoints, and where those endpoints come from;
- 23.5: draw
as a semi-log line and compute the window; - 23.6: measure a Cauchy sequence on a real model;
- 23.7: close.
If you are short on time, read 23.1, 23.3, 23.5, and 23.6. Sections 23.2 and 23.4 answer “why.”
The same object will appear again and again:
where
Why “corollary”? Because the engine of convergence is still Banach's fixed-point theorem, and the energy surface is still the KL divergence from information theory. This chapter does not replace the engine. It reads off the engine's power.
This is not all of intelligence. But any intelligent system whose output space is the probability simplex cannot avoid this piece of geometry.
The Yonglin Corollary = an information-theoretic energy surface + Banach completeness + one rate.
The completeness used here comes from Banach's fixed-point theorem, which belongs to the Polish school of mathematics between the two world wars. The story of that school — and the methodological question of why convergence should be placed in a complete space — is told in the Polish-school note in Chapter 12. This chapter uses the result and does not retell the history.
Prologue: Inference and Training Are the Same Road
Put forward inference and backward training on the same sheet of paper. The output of one forward pass is a point
The anchor
The objective of backward training is the cross-entropy
Split it open:
The data entropy
which is exactly the gradient of
Then why does the code show the logit gradient
taking the expectation over the data distribution gives
Backpropagation and forward inference share one energy surface, and both land in the same tangent space. The chapter uses one ruler throughout: the Euclidean norm on the tangent space.
The “empirical simplex” is the set of all possible output distributions: the training data contributes one point
The backward gradient lands on
One boundary of language matters here: a parameter-space update does not itself live on the simplex; it is pushed forward through the output map before it lands in the tangent space. “Tangent-space training” refers to the tangential motion of the output distribution, not to the parameters walking inside the simplex.
Linearize the two dynamics near
This is the Yonglin Corollary. It is not only “how fast inference returns to the prior”; it is also “how fast the last stretch of training sticks to the label distribution.” Training builds
What is described here is the local dynamics on the output distribution: the tangential motion of the last stretch of training on the simplex. Real training also involves non-convexity, stochasticity, finite samples, and parameterization; the local quadratic picture is a theorem about the last stretch, not a global theory of training. This boundary needs no second theory to state: the chapter uses only the Euclidean norm on the tangent space, and KL serves only as the energy surface, never as a distance.
But the last stretch is enough for what this chapter explains. Training builds the anchor; inference returns to it; one condition number prices both roads.
23.1 Turning “How Fast” into a Number
Start with the error
Convergence means
First, one dimension
If the error is a single number and the update is
In a world of
A matrix compresses different directions by different amounts. Its eigenvalues
In the long run, the slowest direction decides everything. If one direction multiplies by
So “how fast” is not an average; it is the slowest multiplier:
Writing down the multiplier matrix
The inference operator is still the one from Chapter 12:
Each symbol does exactly one job:
is the energy surface, with anchor ; says which way is downhill; projects the gradient onto the tangent space, removing the normal component that adds the same amount to every answer; pulls the point back into the probability simplex.
At the anchor, the curvature of the energy surface is
The derivative of one update — the multiplier matrix for the error — is
Its eigenvalues are
Don't mix the two sets of eigenvalues:
is the curvature of the energy surface ; is the multiplier of one update. The first says how steep the slope is; the second says how much error is left after one step.
Why
This is not an upper bound. It is the exact value.
Why this is the exact rate, not an upper bound
For initial points near
(If the initial error has a nonzero component in the dominant eigendirection; otherwise it is only faster.)

Figure 23.1 draws compression on the probability simplex. The orbit starts at
Which way do the numbers run? Larger
Want larger numbers to mean faster? Use the fraction cleared per step,
Don't confuse it with the step size
This is also a ledger of learning efficiency. Treat one update as one purchase: the step size
steps; a larger
The per-step input–output ratio can be written
One sentence: the contraction rate is the retention ratio of the slowest direction; after each step the error is at most
times what it was, and this “at most” is attainable.
23.2 Why Only Two Endpoints Matter
No.
Start with a simpler question. Fix the step size
It is a V-shaped curve, with its minimum at
We want the maximum of this V over the interval
Lemma 23.1. Suppose
Proof. Fix
This lemma compresses a
It also gives the exact stability window:
Why this boundary? When the step is too large, the fastest mode
One sentence: watch only the flattest and the steepest directions; the eigenvalues in between change the shape of the spectrum, not the worst case.
23.3 Optimal Step Size: Let the Slowest and the Fastest Arrive Together
Now choose the step size.
Too small: the slow direction barely moves and the error stalls early. Too large: the fast direction overshoots, oscillates, and can even diverge. The optimum lies in between.
Draw the two endpoint errors as two lines:
- slow mode:
, falling as grows; - fast mode:
, rising as grows.
One falls, one rises; their intersection is the optimum:
At the optimum, the two branches are equal:
Solving,
This step is the harmonic mean of two reciprocal curvatures. Let
be the steps at which the fast and slow modes, taken alone, would hit zero. The optimal step is their harmonic mean:
It lies between
Do not apply this average to the rates.
The name of
Theorem 23.2 (the rate form of the Yonglin Corollary). Inside the stability window, the minimum of
That is, the optimal step size makes the slowest and the fastest modes contract at exactly the same speed.
This rate has four exact properties, each a one-line calculation:
- Range.
. When (all tangent eigenvalues equal), and one step suffices; as , and convergence becomes arbitrarily slow. - Monotonicity.
. A larger condition number means a worse rate, without exception. - Invertibility.
. Rate and condition number correspond one-to-one: knowing the rate is knowing the condition number, and vice versa. In this sense, is a complete invariant of the condition number. - Endpoint dependence. By Lemma 23.1,
is determined only by . The shape of the spectrum in between never enters the formula.
Property 3 is worth a second look. It says that “how fast it converges” and “how anisotropic the energy surface is” are not two independent questions: they are two ways of writing the same number.

Panel (a) is the V-shape of
Panel (b) is
Panel (c) is the window. Section 23.5 turns it into an exact inequality.

Figure 23.3 isolates the relation. The left panel plots
Back to the opening example.
These are the 0.183 and 0.45 in the table. Here
The spectral harmonic step. Given local curvature bounds
The same algebra appears in ADS's entropy control in Chapter 8: read the barrier
One sentence: the optimal step size is not the fastest step; it is the step that lets the slowest and the fastest arrive together.
23.4 Where the Two Endpoints Come From
Only one thing remains: where do
Take an example with

Read this figure as three panels: the raw Hessian, the projected Hessian, and its spectrum.
Panel (a): The raw Hessian — the “local stiffness” of each answer
The
But probabilities cannot vary independently. They must sum to one. This constraint plants off-diagonal entries.
Panel (b): The tangent Hessian — the constraint couples the answers
After projection, each entry of
Three readings:
- Every row sums to zero. The all-ones direction is normal,
. Adding the same number to every answer does not change the belief. - Diagonal entries are positive, and the total trace shrinks.
, smaller than the raw trace . The constraint eats part of the total curvature. - Most off-diagonal entries are negative, but not all. The two rarest answers are strongly negatively coupled (
between and ): raise one and you must lower the other. The two most common answers have a small positive coupling ( between and ). The only strict statements are: row sums vanish, and the matrix is positive semidefinite on the tangent space.
An analogy: six balls threaded on a rope of fixed total length. Pull one left and the others must move right. The constraint is not background; it is the source of the coupling.
A beautiful special case: when
This is the graph Laplacian of the complete graph
Panel (c): The tangent spectrum — only the two ends matter
For this anchor, the tangent spectrum is
Hence
- The smallest eigenvalue is the slow mode: “redistribute mass between the two most likely answers”;
- The largest eigenvalue is the fast mode: “correct the rarest answer”;
- The three eigenvalues in between contribute nothing to the optimal rate. This is Lemma 23.1 in action.

Panel (a) of Figure 23.5 draws the interlacing of the secular equation: gray levels are the raw diagonal
If you want to compute it: the tangent spectrum is determined by one scalar equation
Let
Its
To get
which is exactly the quadratic that appeared in the “direct evidence” section of Chapter 12.
A beautiful limit: the tangent condition number saturates at
The raw Hessian explodes at the boundary: as
The full-space condition number
Numerically,

Panel (a) of Figure 23.6 is the symmetric vertex limit for
One sentence: the endpoints are not guessed; they are handed over by the matrix. The constraint smears the explosion of “one tiny probability” into a coupling among
answers.
23.5 The Rate Is the Slope of the Log Curve
Back to the table. The errors are
From the third step on, each is about
This is a linear function of
This is also what “geometric convergence” means: not the same distance removed each time, but the same proportion removed each time.
Two kinds of coordinates must be kept apart:
- Geometric convergence is a straight line on a semi-log plot;
- A power law is a straight line on a log-log plot.
They are two different laws, not two ways of drawing the same curve. Figure 23.7 plots the same data twice.

Panel (a) of Figure 23.7 uses semi-log axes: three geometric orbits are exact straight lines, with slopes equal to
At rate
For the baseline
That is: about three steps. This matches the opening table — at step 2 the error is still
Here is a harder statement: without first computing
Theorem 23.3 (exact linear bounds on the window). For
Proof
Let
Two standard inequalities give
Substituting
Taking reciprocals and multiplying by
Both bounds are exact, not asymptotic approximations. They sandwich the window between two lines of slopes
For the baseline
The window falls inside the bounds, and the two bounds differ by only
One sentence: the rate is the slope; the window is computed, not felt.
The next section brings this distinction to a real model: if the orbit is geometric, semi-log should be straight; if it is a power law, only log-log should be. The same API data is plotted in both coordinates.
23.6 Industrial Verification: Measuring a Cauchy Sequence on a Real Model
The previous section separated two coordinate systems: geometric convergence is a straight line on semi-log axes, while a power law is a straight line on log-log axes. Now bring the ruler to a real model and measure an actual belief orbit.
“Industrial” means three things here: the interface is real (DeepSeek chat completions), the protocol is fixed (same prompt, same temperature, same number of steps), and the data is auditable (the collection and analysis code and the figure are in this section). One model, two tasks: a case. Every step of the case can be rerun and refuted.
Why move the ruler to tangent space
Start with a metric problem. You might want to measure the KL between consecutive steps:
It cannot serve as a distance. KL is asymmetric and does not satisfy the triangle inequality; the open simplex
is not a complete metric space. “Cauchy sequence” has no definition there.
The move is to bring beliefs to tangent space. Let
For
and define coordinates
Because the difference of any two probability vectors lies in
Equivalently, define the tail diameter
The sequence is Cauchy exactly when
If the update map
then every orbit is automatically Cauchy:
and by Banach's fixed-point theorem the fixed point
There is one more ruler worth crossing. The Bregman tangent norm
is the second-order principal part of KL near
Why
Let
Multiply by
So
One sentence: do not measure KL on the simplex; move the belief to tangent space and measure the Cauchy sequence in Euclidean distance.
Experiment design: two tasks, three starts
Protocol: each step writes the current belief as one line of text and asks the model not to re-solve the problem but to make one small adjustment in the direction the evidence points, then to box the updated triple in \boxed{}; that triple is the next input. Temperature
The experiment uses two tasks from the same family with different condition numbers.
Task C3 (two Blue reports). A bag contains 7 red balls, 2 blue balls, and 1 black ball. A detector is correct with probability
the likelihood is
and the Bayesian posterior is
Task C4 (one Blue report). The same detector, a bag with 4 balls of each color, and a uniform prior; one Blue report. Thus
Why these two? They share one geometry but pull the condition number apart: C3 has
Each task starts from three points:
The first is black-skew, the second neutral, the third red-skew. The starts are far apart, which tests whether they land on the same fixed point. Each task runs twelve steps at temperature
In this chapter's notation,
One sentence: two condition numbers, three starts, twelve steps; one fixed point and one contraction law are on trial.
Results: geometry holds; the model has its own step size
First the table.
| Task | Semi-log | |||
|---|---|---|---|---|
| C3 (two Blue reports) | 8.60 | 0.792 | 0.610 / 0.653 / 0.753 | 0.911–0.982 |
| C4 (one Blue report) | 2.10 | 0.355 | 0.711 / 0.754 / 0.753 | 0.831–0.927 |
The three orbits are the black-skew, uniform, and red-skew starts.

Figure 23.8 has four panels.
(a) Tangent plane: is there a common fixed point? The axes are
(b) Semi-log: is convergence geometric? The vertical axis is
(c) Log-log: is it a power law? The axes are
(d) Tail diameter: the Cauchy certificate. The axes are
The reading order is three words: fixed point, law, certificate. (a) fixed point, (b)(c) law, (d) certificate.
Now the most interesting part. C3's three rates run from
is the optimal rate that Theorem 23.2 gives at the optimal step , namely . It is the ideal projected-gradient operator's smallest compression factor and the fastest convergence theory allows. is the rate the model walks under the “one small adjustment” prompt. The step size is the model's own choice.
C4's gap shows that the model does not sit at
Plug in the harmonic mean: C3's
The two experiments'
After this step the error retains at least
The model's step is not written directly in its output. The experiment is designed to test whether it is a step that does not adapt to the task; call that common effective step
Require every orbit in both experiments to land in its own band. The two tightest constraints are: C4's lowest rate requires
(the upper end rounded down conservatively). Take
| Experiment | Width | Three orbits' | ||
|---|---|---|---|---|
| C3 | 0.58 | 0.82 | 0.24 | 0.610 / 0.653 / 0.753 |
| C4 | 0.71 | 0.86 | 0.15 | 0.711 / 0.754 / 0.753 |
All three C3 orbits lie in their own
This also makes “economics” concrete: the width is not an error bar but the spread of retention ratios left by different modes at one step.
This also bounds what the experiment can say. A single task's rate cannot pin the step; put both tasks at one common effective step, and two bands each contain their own samples, narrowing the step to
Two existence claims. At a fixed step, a task's legal rate is not a line but a band:
Put the two tasks side by side: C3's band is wider and lower, C4's narrower and higher; they overlap on
A proof, not a precision claim. Write the proposition as a type: there is a common step
The Curry–Howard point. A proof of an existence proposition is the construction of its resident; now there are two existence propositions, so there are two residents. The experiment does not issue each sample a certificate of optimality; it checks whether each task's readings live inside their own band. This is not witness logic: the samples do not witness the optimum, they only have to show they fit inside. C3's three move into C3's band, C4's three move into C4's band; both constructions hold. Conversely, if every sample landed exactly on its own
What this step proves. It is two existence proofs for these two tasks, six starts, and a twelve-step window. The
Two lines per resident are enough. This is an existence construction, not a statistical estimate. Building one task's resident needs only two endpoints:
A healthy band, not a magic interval. The resident band is not fitted point by point; given the common step, it is computed directly from the tangent spectrum and does not fit each orbit's rate. The common step itself is inferred from the data and is the only quantity taken from the data; it is chosen so that the two bands contain all six orbits at once. This is a construction, not a data-free prediction. What the band gives is a healthy range, not a pass saying "inside means optimal." Most positions in the band are merely legal, normal, and convergent; only a very thin line near
Top models live in the interval too. This is not "DeepSeek happened to qualify"; it is the construction doing its job: as long as a model makes small Bayesian updates on the simplex, its legal rate lies in its task's
This is the experiment's value: it verifies the geometry and the fixed point, measures how far the model sits from the optimal step, and confirms that both residents are non-empty.
- Geometry verified. All six orbits contract in tangent space, semi-log is close to straight, the fixed point is the evidence-consistent posterior, and the tail diameter falls.
- Fixed point verified. C3 and C4 land on their own posteriors; different starts, same landing point.
- Two residents verified. C3 and C4 each have a band, and all six orbits lie in their own; it is not one large interval barely containing every point, but two bands each holding on its own.
- Step size measured. The two experiments narrow the common effective step to
– . The model walks its own legal step, not the optimum. measures the ideal operator; measures the model.
Two technical details. First, across the six orbits
Code: keep the audit in the text
Industrial verification differs from a toy experiment not in length but in whether someone else can walk the same path through the code. The two snippets below collect and analyze; comments are in English and state only the coordinates, boundaries, and reasons for choices.
Beyond the standard library, the two snippets depend only on httpx and numpy; the key is read from an environment variable and never appears in the text.
Collection:
import json
import os
import re
import time
from pathlib import Path
import httpx
BOX = re.compile(r"boxed\s*\{([^{}]*)\}", re.I | re.S)
NUM = re.compile(r"-?\d+(?:\.\d+)?")
QUESTION = """Question: A bag contains 7 red balls, 2 blue balls, and 1 black ball.
The balls are otherwise identical. A detector examines a ball drawn at random
and reports its color. The detector is correct with probability 0.70; when it
is wrong, it reports each of the other two colors with equal probability.
The detector reports "Blue" on the first draw and "Blue" on the second draw
(after replacing the ball). Which color is the drawn ball most likely?"""
def ask_once(client, url, key, belief, decimals=2):
"""One API call. Return the reported belief as a probability vector.
The model sees the current belief and is asked for one small adjustment;
the boxed triple is the next point of the reported orbit.
"""
user = (
QUESTION
+ "\n\nCurrent belief: "
+ f"(red={belief[0]:.4f}, blue={belief[1]:.4f}, "
f"black={belief[2]:.4f}).\n"
+ "Reconsider the question from the statement and make one small "
"adjustment to your belief in the direction the evidence points. "
"Do not re-solve the problem from scratch.\n"
+ f"At the very end, box the updated belief with {decimals} decimals "
"in the order Red, Blue, Black, summing to 1."
)
body = {
"model": "deepseek-flash",
"messages": [{"role": "user", "content": user}],
"thinking": {"type": "disabled"},
"reasoning_effort": "none",
"temperature": 0.0, # greedy decoding; no sampling temperature
"max_tokens": 2048,
}
r = client.post(url, json=body,
headers={"Authorization": f"Bearer {key}"}, timeout=120)
r.raise_for_status()
text = r.json()["choices"][0]["message"]["content"]
for box in reversed(BOX.findall(text)):
nums = [float(x) for x in NUM.findall(box)]
if len(nums) == 3 and sum(nums) > 0:
s = sum(nums)
return tuple(x / s for x in nums) # tolerate tiny rounding drift
return None
def run_orbit(client, url, key, start, steps=12):
"""Iterate the reported-belief map and return the orbit."""
path = [tuple(start)]
for _ in range(steps):
q = ask_once(client, url, key, path[-1])
if q is None:
break
path.append(q)
time.sleep(0.2) # keep the request rate modest
return path
STARTS = {
"black_skew": (0.10, 0.20, 0.70),
"uniform": (1 / 3, 1 / 3, 1 / 3),
"red_skew": (0.70, 0.20, 0.10),
}
A_STAR = (0.1358, 0.8448, 0.0194) # C3 posterior; swap in C4's for task c4
def save_orbit(task, A_star, orbits):
"""Write one experiment file next to this script."""
path = Path(".") / f"ch23_orbit_{task}.json"
path.write_text(json.dumps({"task": task, "A_star": A_star,
"orbits": orbits}, indent=1),
encoding="utf-8")
return path
key = os.environ["DEEPSEEK_API_KEY"] # read from the environment; never print it
url = "https://api.deepseek.com/chat/completions"
with httpx.Client() as client:
orbits = {name: run_orbit(client, url, key, start)
for name, start in STARTS.items()}
print(save_orbit("c3", A_STAR, orbits))Run all three starts and write the orbits to ch23_orbit_c3.json; the analysis reads it back from the same directory. For C4, only QUESTION changes to the one-Blue-report version, the starts change to the three points in the table, and the output file is ch23_orbit_c4.json.
Analysis:
import json
import math
from pathlib import Path
import numpy as np
HERE = Path(".")
U = np.array([1 / 3, 1 / 3, 1 / 3])
E = np.array([[1, 0, -1], [1, -2, 1]], float)
E /= np.linalg.norm(E, axis=1, keepdims=True)
def load_orbit(task):
"""Read the JSON written by the collector from this directory."""
path = HERE / f"ch23_orbit_{task}.json"
with open(path, encoding="utf-8") as f:
return json.load(f)
def tangent(p):
"""Coordinates of p - U in the orthonormal basis of T."""
return E @ (np.asarray(p, float) - U)
def spectrum(A):
"""2x2 matrix of P_T diag(1/A) P_T in the tangent basis."""
m = 1.0 / np.asarray(A, float)
h11 = 0.5 * (m[0] + m[2])
h22 = (m[0] + 4 * m[1] + m[2]) / 6
h12 = (m[0] - m[2]) / math.sqrt(12)
return np.array([[h11, h12], [h12, h22]])
def rho_star(A):
"""Optimal contraction rate from the two tangent eigenvalues."""
lam = np.linalg.eigvalsh(spectrum(A))
kappa = lam.max() / lam.min()
return kappa, (kappa - 1) / (kappa + 1)
def distances(P, A):
"""Euclidean distance in T; equals ||p - A||_2 because p - A is in T."""
X = np.array([tangent(p) for p in P])
return np.linalg.norm(X - tangent(A), axis=1)
def fit_rate(d, floor=1e-2, dmax=0.5):
"""Fit log10 d = a + b t near the anchor; return rho = 10**b."""
t = np.arange(len(d))
m = (t >= 1) & (d > floor) & (d < dmax)
if m.sum() < 2:
return float("nan")
b, _ = np.polyfit(t[m], np.log10(d[m]), 1)
return 10 ** b
for task in ("c3", "c4"):
data = load_orbit(task)
A = np.array(data["A_star"], float)
kappa, rho = rho_star(A)
print(f"{task}: kappa_T={kappa:.3f} rho*={rho:.3f}")
# common effective step inferred from the two bands (see text)
vals = np.abs(1 - 0.044 * np.linalg.eigvalsh(spectrum(A)))
print(f" band at eta=0.044: m={vals.min():.2f} rho={vals.max():.2f}")
for name, P in data["orbits"].items():
d = distances(np.array(P, float), A)
print(f" {name:10s} rho_E={fit_rate(d):.3f}")The code fits each orbit separately; the three numbers in the table are exactly the rho_E it prints. The band at eta=0.044 line prints each task's ch23_orbit_c3.json and ch23_orbit_c4.json, written by the collector in the same directory; the same near-anchor window and fit also produce panels (b) and (c) of Figure 23.8.
One sentence: code is not decoration in an appendix; it is the part that lets the conclusion be audited.
What this experiment covers
The orbit is the model's reported belief, not an internal activation. The report is all the interface gives, and all a reader can rerun.
It holds for the “small adjustment” map. For the same question, “answer immediately” and “small adjustment” give different fixed points; changing the prompt changes the map. Chapter 12 speaks about a fixed map; here the evidence is written into the question, so the anchor becomes the evidence-consistent posterior.
It is a window of twelve steps and two decimals, one model, two tasks. That is all the data: the empirical rate, the tail diameter, and the fixed point inside this window. Treating these numbers as universal constants is a misreading; moving the method to other models and tasks is the next step.
One sentence: the window is finite and the conclusion is definite: inside this window the orbit is Cauchy, and the geometry holds.
23.7 Conclusion: Intelligence, Emergence, and the Ordinary Equation
Back to the opening: three answers, initial error
That number is
Together with the
- Slope. The semi-log error curve has slope
. - Steps. The number of steps to reach
is exactly sandwiched between and . - Stability. The stability window is
, and the optimal step is . - Empirical readout. A real model's reported beliefs form a Cauchy sequence in tangent space; semi-log is close to straight and log-log bends; the fixed point is the evidence-consistent posterior; the measured
runs over C3 – and C4 – on three orbits. This is the rate the model walks under “one small adjustment.” The geometry holds on the real orbit; the step size is the model's own. - The emergence criterion. If
is unchanged while the metric jumps, it is a readout; if jumps, it is dynamics.
The whole chain has only three links:
one number, determined by two endpoints; two endpoints, determined by the tangent Hessian; the tangent Hessian, determined by the anchor and the simplex constraint.
Chapter 12 says: inference converges to the prior anchor
How fast is determined by one condition number; the condition number is determined by two endpoints of the tangent Hessian; the two endpoints are determined by the matrix. Beyond this, there is no second scalar.
Now we can say which part of scaling law is ordinary and which part is not. What is ordinary is its format: as long as the output lies on the simplex, the loss is recorded as KL, and samples are counted,
This chapter does not reproduce any company's curve, nor use a toy to impersonate it. It measures the same geometry behind that curve: a system whose output lies on the simplex converges as
Intelligence and emergence look like miracles mainly when we stare at a single readout; put the readout back on the curve, and they are simply names that one ordinary equation takes at different scales.
One sentence: the curve does not belong to any one company; it belongs to everyone who counts on the simplex.
Open Questions
How should the rate be estimated away from the anchor's neighborhood? The
Can
When does
Are twelve steps and two decimals enough? The Cauchy certificate in 23.6 covers one finite window; the two-decimal readout floor is around
Why does the fixed point move when the interface changes? The “small adjustment” map in 23.6 converges to the evidence-consistent posterior; the earlier “answer immediately” map converged to a prior-dominated point. Which map is the model's real inference dynamics? This requires treating the interface, the prompt, and the readout as variables, not mistaking one readout for the whole model.
Exercises
★ Warm-up
- Using the opening table, verify at which step the error ratio settles near
. Why is the first ratio noticeably smaller? - For
and , verify , write down all eigenvalues, and compute . - For
, use the secular equation to compute , then , and . - Using the table in 23.6, compare each C3 orbit's
with , then do the same for C4 and compare the two ranges.
★★ Derivations
- Prove Lemma 23.1: the convex function
attains its maximum on an interval at an endpoint. - Prove
. - Prove Theorem 23.2:
is the unique minimizer, , and the two endpoint branches are equal at the optimum. - Prove the two bounds in Theorem 23.3:
. - Prove that for any two probability vectors
, and . Then prove that the Euclidean norm on and the Bregman tangent norm are equivalent, and give the equivalence constants. - Prove that if
satisfies with , then every orbit is Cauchy, the limit is unique, and .
★★★ Challenge
- For
, write the secular equation as , and verify that it matches the quadratic in Chapter 12. - Design an experiment that uses only the change of
with scale to distinguish a “readout effect” from a “spectral bifurcation.” State what you would see in each case and how to rule out confounders. - Try to construct a counterexample showing that away from the anchor's neighborhood, where second-order terms cannot be ignored, the Euclidean linearized rate
is no longer the exact rate; then state what extra condition would restore an exact rate formula. - Extend the twelve steps of 23.6 to thirty, or raise the output precision to six decimals, and re-estimate
. If it is stable but far from , the model's step is not ; if it drifts with the window, the window is still too short. Design a control experiment that separates the two explanations.
Appendix: Core Computation Script
The code below does one thing: given an anchor
import numpy as np
def tangent_spectrum(q, iters=90):
"""Eigenvalues of P_T diag(1/q) P_T on T={sum=0}, via secular equation."""
d = np.sort(1.0 / np.asarray(q, float))
K = len(d)
roots = np.empty(K - 1)
for j in range(K - 1):
lo, hi = d[j], d[j + 1] # one root in each interval
for _ in range(iters):
mid = 0.5 * (lo + hi)
f = np.sum(1.0 / (d - mid)) # sum 1/(d_i - lambda)
if f > 0: hi = mid
else: lo = mid
roots[j] = 0.5 * (lo + hi)
return roots
def rate(q, eps=0.1, e0=1.0):
lam = tangent_spectrum(q)
lam_min, lam_max = lam.min(), lam.max()
kappa = lam_max / lam_min
eta_star = 2.0 / (lam_min + lam_max)
rho_star = (kappa - 1.0) / (kappa + 1.0)
n_real = np.log(e0 / eps) / np.log(1.0 / rho_star)
n_steps = np.ceil(n_real)
lo = (kappa - 1.0) / 2.0 * np.log(e0 / eps)
hi = kappa / 2.0 * np.log(e0 / eps)
return dict(lam_min=lam_min, lam_max=lam_max, kappa_T=kappa,
eta_star=eta_star, rho_star=rho_star,
n_real=n_real, n_steps=n_steps, n_lo=lo, n_hi=hi)
print(rate([0.70, 0.20, 0.10]))
# lam_min=2.9904, lam_max=7.9620, kappa_T=2.6625,
# eta_star=0.18261, rho_star=0.45393, n_real=2.915, n_steps=3,
# n_lo=1.914, n_hi=3.065
print(rate([0.35, 0.25, 0.15, 0.12, 0.08, 0.05]))
# kappa_T=5.4268References
- Banach, Stefan (1922). “Sur les opérations dans les ensembles abstraits et leur application aux équations intégrales.” Fundamenta Mathematicae 3(1), 133–181. DOI: 10.4064/fm-3-1-133-181. — the original paper on the contraction mapping principle
- Schaeffer, Rylan; Miranda, Brando; and Koyejo, Sanmi (2023). “Are Emergent Abilities of Large Language Models a Mirage?” arXiv:2304.15004. — emergent abilities as a metric artifact
- Wei, Jason; Tay, Yi; Bommasani, Rishi; Raffel, Colin; Zoph, Barret; Borgeaud, Sebastian; Yogatama, Dani; Bosma, Maarten; Zhou, Denny; Metzler, Donald; Chi, Ed H.; Hashimoto, Tatsunori; Vinyals, Oriol; Liang, Percy; Dean, Jeff; and Fedus, William (2022). “Emergent Abilities of Large Language Models.” arXiv:2206.07682. — a systematic description of emergent phenomena
- Nesterov, Yurii (2018). Lectures on Convex Optimization, 2nd edition. Springer Optimization and Its Applications 137. Springer. DOI: 10.1007/978-3-319-91578-4. — strong convexity, smoothness, step size, and condition number
- Boyd, Stephen; and Vandenberghe, Lieven (2004). Convex Optimization. Cambridge University Press. DOI: 10.1017/CBO9780511804441. — nonexpansiveness of projection and convergence rates
- Cover, Thomas M.; and Thomas, Joy A. (2006). Elements of Information Theory, 2nd edition. Wiley. — the local quadratic expansion of KL and the covariance of empirical distributions
- Chapter 12, Yonglin's Formula — the global version of the Yonglin theorem, tangent spectral bounds, and direct evidence
