Antivision · Latent Rehearsal
17

What an
ELLM is

Energy-based latent predictive language model. The right name for what Antivision builds: a language model that predicts in latent space and decides by energy. This chapter explains each word of the name, shows what has already been measured for each one, and what the name does not promise.

Chapter 17 Prerequisite: 00 (project map); the measurements come from chapters 12, 13, 15 and 16

1 Why a name of its own

Until now this collection has called the system a "language model", and at times compared it with "an LLM". Both miss what it does differently.

The first L in LLM stands for large: the name describes scale. And what an LLM does, by construction, is choose the next token by the probability a forward pass assigns to each candidate. The model in this collection is not large — mini has 7.4 million parameters — and what sets it apart is not size but where it predicts and how it decides.

The definition

An ELLM — Energy-based Latent predictive Language Model — is a language model that, before emitting a token, predicts in latent space where each candidate would take the state, and chooses by minimizing an energy over those predicted futures. The token head is still there: it is what turns the state into text.

Latent Rehearsal (rehearsing in the latent space before speaking) is still the name of the idea, and Antivision is still the name of the structure. ELLM is the name of the class of model that structure belongs to. The underlying ideas — energy-based models, predicting in the latent space, JEPA — are Yann LeCun's; the name and the application to text are this project's part.

2 The four parts of the name

Each part of the name, what it means in practice, the piece of the project that realises it, and where it was measured.
part of the namewhat it meansthe project piecewhere it was measured
Energy-basedthe token choice comes from minimizing an energy — heading, plausibility and guardrails added together — not from probability alonethe rudder and the inference modes (energy, gradient, mpc)12, 16
Latentprediction happens in the space of internal states, not in the space of text: nothing is decoded while the model imaginesthe encoder's hidden states, at levels 1 and 209, 13
predictivethere is a piece that predicts the next state given the current state and a candidate token — the world modelthe action-conditioned mundo predictor05, 13, 15
Language Modelthe output is still text, token by token, and the model is still trained to predict the next tokenthe token head, as decoder, guardrail and comparable ruler02, 15

3 LLM and ELLM side by side

The comparison below describes each one's mechanism, not a contest. An ELLM contains the central piece of an LLM — the head that predicts the next token — and adds other pieces around it.

The same generation step, described for both kinds of model.
questionLLMELLM (this project)
what it predictsthe next-token distributionthe next-token distribution and the next latent state, for each candidate
how it choosessamples or takes the most likely, in one forward passimagines each candidate's future and chooses the lowest energy
how it is steeredthrough the prompt and fine-tuningthrough the prompt, and also through a heading and guardrails that enter the energy at every step
collapse riskdoes not apply to the next-token objectiveexists in the world model, and is controlled by regularization (16)
how it is measuredperplexity, bits per characterthe same, plus energy, search coverage and volume of low energy

4 What is already measured

The name only holds if every part of it has a number. These are the results that support the definition, all from earlier chapters:

The measurements that support each part of the name. mini model, same data and seed as the whole collection, except where noted.
partwhat was measuredresultchapter
Energy-basedthe best rudder configuration (learned head, cost on the real state, γ = 0.1) against free generationaffinity 0.355 against 0.256, with PPL 36.7 against 48.512
Energy-basedthe guardrail in the energy, applied only to the imagined states (mixed head, γc = 3), on a prompt that pulls towards numbers0.0% digits, against 50–56% without the guardrail13 §5
Latent + predictivethe world model's cost to the generator on the full corpus, fixed validation+1.77% on mini (3 seeds) and +4.92% on pequeno (2 seeds)15 §5 and 19
Latent + predictivedependency energy detects violated order without being given the token+130% to +142%, against +38% for the plain error13 §11
Latent + predictivethe volume of space with low energy, regularized against shortcutmedian energy of a sampled point about 4× cheaper in the shortcut (ratio 3.6–4.1)16 §8 and §10
Language Modelthe size of the whole world model inside the model7% of the parameters00
What the name does not yet guarantee

Chapter 16 measured an important limit of the energy-based part. With the default guardrail weight (γ = 1), the energy is dominated by the token head's own probability, and the energy minimum lies among the 8 most likely tokens in 100% of positions — and is the most likely token itself in 90.6% of them. The decision only truly belongs to the energy when the heading has weight (low γ). And chapter 18 measured the other side: at low γ, searching better — over the whole vocabulary or inside the policy's nucleus — does not improve the text; it lands at the same affinity and perplexity as the short list with a lower γ. An ELLM, then, is a model that can decide by energy; how much it does depends on the configuration, and that is measured, not assumed.

5 What the name does not promise

  1. It does not promise to be larger or better than an LLM. The name describes how the model works. Where ours does better (bits per character in Portuguese), chapter 15 shows the advantage comes from the tokenizer and the data, not from the architecture.
  2. It does not replace the token head. The head is still the piece that writes the text, that supplies the energy's plausibility term, and that makes the model comparable with any other. The ELLM adds pieces; it removes none.
  3. It is not an assistant. It is a base model that continues text, like the models in the GPT course.
  4. It is not a closed class. Any language model with a latent predictor and a decision by energy fits the definition, regardless of size, encoder architecture or data.
Open questions

This chapter brings no new run: it names what the earlier ones measured, and points to where each number lives.