Searching better does not fix the energy: three searches, the same text
Chapter 16 built the exact search for the energy minimum. This one measures what it does to the text — and shows that the trade-off between heading and plausibility is set by the energy, not by where one searches.
Landed here from LinkedIn? This is chapter 18 of the experiment Antivision · Latent Rehearsal. It reads on its own; if you want the beginning, it is chapter 00.
I fixed my model's search so it finds the true lowest energy, among 16,392 options. The text did not get better. The previous measurement had shown that my generator looked at only 8 candidates and missed the energy minimum. So I wrote the exact search. At first it gave worse text — and the reason was a defect of mine: the search ignored the term that measures whether a word is plausible. Once fixed, I tested three places to search: the 8 most likely tokens, the whole vocabulary, and the nucleus of the distribution. With the same plausibility weight, both exact searches landed at the same point: topic affinity 0.48, perplexity 83. Exactly the point the short list already reached by lowering that weight. Searching better moves along the trade-off between following the topic and writing something plausible. It does not shift it.
The three points
- The exact search's first result was a defect: it ordered the vocabulary by the heading alone, without the plausibility term, and perplexity reached 2,098. With the whole energy, it fell to 83.
- Three searches — the 8 most likely with a lower plausibility weight, the whole vocabulary, and the policy's nucleus — land at the same point: affinity between 0.476 and 0.488, perplexity between 82 and 84.
- What holds plausibility is the token's rank in the policy's list, not probability mass: the model's policy is so flat that the 80% nucleus holds 2,000 tokens, and the tokens the energy picks sit between rank 9 and rank 128.
From the chapter, the beginning
Chapter 16 showed that the energy search did not find the minimum and built an exact search. This chapter measures what the exact search does to the text, and the result points somewhere else: the trade-off between following the heading and writing something plausible is set by the energy, not by where one searches.
In energy mode, the generator picks each token in two steps. First it builds a short list of candidates. Then it imagines, in latent space, where each candidate would take the text, and gives each one an energy with two terms: how far the predicted state lies from the requested heading, and how improbable the token is according to the token head itself.
Chapter 16 showed that the short list — the 8 most probable tokens — often does not contain the lowest-energy token: at γ = 0 this happens in all 96 positions measured. The response was a new mode, todos (all), which computes the energy of each of the 16,392 tokens in the vocabulary and takes the lowest. One question remained, the first on that chapter's list of open questions: does finding the true minimum improve the text, or only lower the energy?
What the chapter covers · 7 sections · 9 min
- The question chapter 16 left
- A defect found along the way
- Three places to search, the same trade-off
- Why the searches tie
- What holds plausibility is rank, not mass
- What changed in the code
- Limits of this measurement
All chapters of the experiment · Antivision · Latent Rehearsal
- 00 · Antivision: an ELLM, a language model that rehearses in latent space before speaking
- 01 · The custom tokenizer: why 16 thousand tokens suit this corpus better than 50 thousand, and what the whole table shows
- 02 · Two architectures, one file: the fair duel between 2019 and what came after
- 03 · The geometry of the embedding: training starts with a perfect space and ruins it
- 04 · The lineage of collapse: five answers from computer vision, each measured on text
- 05 · The rudder and the world model: three versions of the same question, each measured against the last
- 06 · Method and mistakes: the rules of a legitimate comparison and the catalogue of our own errors
- 07 · Scale and budget: what it costs to reach GPT-3, and why VRAM is almost never the limit
- 08 · The workbench: serve, x-ray and train from the browser
- 09 · The hierarchical architecture: the whole project aligned to the four patterns of the world model
- 10 · What JEPA is, according to LeCun: two talks read concept by concept, and where each one applies
- 11 · Memory and horizon: two claims from LeCun that became experiments, and both hold for text
- 12 · Learned costs and inference modes: the three searches and the two sources of energy, measured
- 13 · The corrections from LeCun's talks: failure, passage, flag, measurement
- 14 · Consulted memory: a bank of abstract states read by attention
- 15 · What it costs and what it delivers: us, GPT-1 and GPT-2 on the only ruler valid across tokenizers
- 16 · The minimum was off the list: the day I measured my own search by energy
- 17 · ELLM: the right name for a language model that predicts in latent space and decides by energy
- 18 · Searching better does not fix the energy: three searches, the same text
- 19 · The inversion that did not repeat: the world model's cost appears once the ruler stops swinging
- 20 · What changed on 17/09: two new chapters and two corrections

Writes the GPT-2 course and runs the Antivision experiment, measuring every run before publishing the number. The LinkedIn posts start here and end in the chapters.
Follow on LinkedIn →