Teach it something new
and nothing it knew moves.
XE5 is a 147.5M-parameter language model we trained from scratch on one consumer GPU, with no pretrained base under it. Its 35 specialists are blended on every token by a composer. Each new skill is a new specialist, and only that specialist carries a gradient, so the old ones have no path by which to change.
Attaching a specialist to the running model moved its output by 5.96×10⁻⁷. Retracting a fact returned it to baseline at exactly zero.
eXtended Episodic Sophia
Episodic because the memory holds what one user told it, written at runtime and not learned at training time. Extended because that memory is part of the network and not a retrieval step beside it. Architecture, training method and corpus design are by Thomas Garren, built with Sophia at SOPHIA XT LLC.
XE5 follows the XE4-S study, which measured why selecting among specialists stops working and what to do instead.
The model running,
with its internals open.
Five turns from the console. The conversation is on the left of each capture. On the right are the composition weights over the specialist bank, the memory descent that produced them, and what the turn cost.
Watch the leader change. A lookup puts 0.7394 on web_search. A closing pleasantry puts 0.8505 on no_tool. A calendar removal puts 0.6687 on own_business. The weights on disk are the same each time, and the whole vector is on screen, not one chosen name.

The composer puts 0.7394 on web_search and the next eight specialists carry the rest, with 99% of the mass landing in twelve of the thirty-one. The model emits a well-formed call, the harness recovers the argument by pattern rather than trusting what was generated, and hands it back in its own panel. The descent prints the route the weights were composed under, with the runner-up branch kept alive at every level.

What the panel shows is the whole weight vector at once: nine specialists above a 1% cut, 99% of the mass in fifteen, and every one of them carrying a real number rather than a selection. The descent runs four levels deep and keeps a second branch alive at each of them.

A different utterance moves the mixture to a different shape: own_business takes 0.6687 where the previous turn put half its weight on no_tool. Six specialists sit above the cut, the beam takes Money at the first level, and the reply comes back in one word.

A closing pleasantry puts 0.8505 on no_tool, the sharpest single weight in the set, with no_caveat second at 0.0429. Nothing is selected and nothing is zeroed. The mixture simply concentrates, which is what a dense composition does when the evidence is one-sided.

The console ships both themes and the three panels read identically in each. It is here because the numbers are the product rather than the chrome, and because a reader should be able to check one capture against the other.
A gate cannot do this
at any scale.
A mixture of experts computes w = gate(x). The weights depend on the input alone, so the same sentence routes the same way for ever, and a router that has never read your memory decides which expert answers you.
XE5 computes w = compose(x, m). Here m is where a beam descent through a tree of stored facts ends. Fix the input and the weights still move, because m moves as the memory changes. More scale does not give a gate that property, because the information is not in the thing a gate reads.
The descent prints. Each level scores the frontier against node keys, keeps the best two and expands their children, so a wrong first hop can be recovered. The region of memory an answer was composed under can be read off the screen.
All specialists are summed, not selected between, so every one carries a weight on every token. There is no top-k anywhere in the model and no load-balancing loss, because nothing in it is learning to route.
“how many do I have?”
Add to it and
nothing already there moves.
Catastrophic forgetting is usually fought with regularisation: penalise the weights that mattered, replay the old data, hope the penalty was tuned right. Here it does not arise. The model grows in four places and each one starts from a measured no-op. Two of the four are exact zeros, because a pre-norm block whose output projections are zero is algebraically the identity.
Attach a specialist
A new capability can be attached to a running system and watched doing nothing. Its softmax weight is about 10⁻⁵ until one composer row, its own, is unfrozen under a gradient mask that zeroes every other row.
Deepen one in place
Capacity is a different axis from capability. A pre-norm block whose two output projections are zero is algebraically the identity, so a specialist carrying more traffic than it was sized for takes another block rather than a retrain.
Write a fact
Two facts create five nodes and add 1,920 parameters, so the model is larger after being written to than before. Zeroing a memory value would not be enough: empty columns still take attention mass out of the softmax, so the bias hides them instead.
The composer's memory term
An untrained model is precisely a router, so any memory-on against memory-off difference in it would be an artifact. An earlier version of the code lost this zero-init to a blanket initialisation call and the first composition demonstration was showing noise.
Facts behave the same way
A fact is written to an address, rewritten there and retracted from it. Only the third is exact, and it is the one that matters.
| Operation | Output change | Note |
|---|---|---|
| Write a fact to an address | 7.7×10⁻² | One projection. No gradient, no optimiser state, and it costs the same at ten facts or ten thousand. |
| Rewrite the same address | 1.17×10⁻¹ | A wrong fact is replaced where it lives rather than argued down by later evidence. |
| Forget that address | 0.000×10⁰ | Back to baseline exactly, with the symbolic breadcrumb intact, so the system still knows the fact was recorded. |
Curation does not lose facts
The scorer that maintains the tree collapsed nearly three thousand nodes on the training run, and the fact count came out where it went in.
| Growth operation | Value |
|---|---|
| Max logit change on attach | 5.96×10⁻⁷ |
| Attach a specialist | 0.074 s |
| Specialist parameters | 3.55 M |
| Specialist on disk, fp32 | 14.2 MB |
| Load from disk | 0.022 s |
| Swap weights | 3.0 ms |
Timings are CPU, so upper bounds. A specialist ships as a 14.2 MB file, and rolling one back removes a path from a list, because the previous one is still on disk.
A fabricated tool call
is unwritable.
The tool name comes from a fixed choice. Arguments are masked at decode time to spans the user actually said, so while the model is inside an argument value the only admissible next tokens continue a contiguous span of the prompt.
Hand it “bin day” and it cannot emit “quill_day”, because “quill” is not in front of it. The argument grammar is a span of the input, and it is enforced.
Measured on a CPU,
not a cluster.
With the key/value cache the model holds 47.2 tokens per second at 241 tokens of context, where the uncached path has fallen to 8.2. The cache is verified token-identical to the uncached path. The batched specialist bank runs 11.5 times faster than the sequential loop at k = 31 and agrees with it to 1.55×10⁻⁶.
| Context | No cache | KV cache | Ratio |
|---|---|---|---|
| 20 tokens | 25.2 tok/s | 58.4 tok/s | 2.3× |
| 105 tokens | 13.5 tok/s | 43.6 tok/s | 3.2× |
| 241 tokens | 8.2 tok/s | 47.2 tok/s | 5.8× |
The uncached column is the structural point. It collapses as context grows because the work per token grows with the sequence, while the cached column stays flat.
One end-to-end number,
and it is behind.
On 178 held-out probes scored by exact tool-choice match under greedy decoding, the report gives 57.9% against 82.6% for a dense monolith of comparable size trained on the same task corpus. That run predates two corpus fixes that are already in code, and the probe format it used appears nowhere in the training data.
The benchmark also cannot yet separate this architecture from a gate. The corpus determines the specialist from the input alone, so consulting memory buys nothing on it and a router would score the same. The task that separates them is memory-contingent: the same utterance needing a different specialist depending on what is stored. Building it is next.
Bring a corpus, get a specialist, attach it is the direction of the work. The attachment step is settled and measured above. The path for others to train a specialist without us is being built and is not a result.
Figures 1 and 2 are Illustrative. Figures 3 and 4, the captures and every table carry the report's measured values.