Perfect labels
broke our router.
The paper is called XE4-S: Dense Composition after a Routing Collapse. Its first result is a failure. A stage trained on oracle routing labels scored 0.3322 when the labels were supplied and 0.4774 when it had to trust its own router. It had never seen its router make a mistake, so the first real ones were expensive.
Trained again with the router in the loop, the gap closed to −0.0008. Most of the damage sat at the start of a turn: 85% of routing errors fall in the first three tokens.
The first three tokens
decide the lane.
A turn opens before the request is clear. At token one the router has seen a verb at most, and the specialist it picks shapes everything after. Training on perfect labels hides this, because the labels never get the first tokens wrong.
Putting the router in the loop makes the stage train on its own early mistakes. That was enough to remove the gap.
Selection got harder
as the bank grew.
The earlier line packaged each capability as a rank-16 LoRA delta of about 16.7 MiB over a frozen pretrained base, shipped as an .ncn file with a capability capsule, a scope and exclusion list, a validation set and a provenance record. A pooled query embedding was scored against the capsules in closed form, and the highest scorers became the active set. This is the architecture behind Mnema V1.
The ship gate was 85% top-1 route accuracy. At two specialists the router cleared it: 18 of 20 combined across bases, both misroutes low-margin confusions. At three and above, over capsules from similar domains, accuracy fell to 23.3% and never recovered past 46.7%. The code capsule was absorbed by the architecture capsule and sat at 0% from five specialists onward.
| Intervention | What it did | Outcome |
|---|---|---|
| Mean-centre the capsules | Tripled decision margins | Accuracy essentially flat. N = 6 rose only from 46.7% to 50.0%, so the failure is a query-to-capsule representation mismatch, not a geometry problem. |
| Enlarge one specialist's corpus | 237 examples to 4,361 | N = 6 went down, from 53.3% to 46.7%, and two capsule cosines collided at 0.926. A single mean-vector capsule gets more diffuse as its corpus broadens. |
| Replace closed form with a learned router | The NCN v2 router | Worse. All 30 prompts across all six specialists went to one node, mutual information exactly 0.0 bits. Abandoned. |
Four mechanisms were tried in that line without isolating a cause: cosine-to-mean, GSVD, a learned router and shrinkage-LDA. A hierarchical gate that descends a topology region before selecting inside it is specified and untested.
Two differences,
both load bearing.
A mixture of experts computes w = gate(x). XE4-S computes w = compose(x, m), where m summarises where a beam descent through a runtime-written memory of user facts ended. The rest of the stack is kept.
It never selects
All 31 specialists receive non-zero weight and their outputs are summed. There is no active set to choose, so no top-k and no load-balancing loss anywhere in the work. As N grows the router is not solving a harder discrimination, because it is not discriminating.
It does not learn to route from geometry
One uint8 per token, aligned with the token stream and written when the corpus is built. The same bytes mask the loss that trains specialist i and supervise the composer that weights it. The assignment is fixed in the data, so nothing has to recover it from embedding geometry.
At 31 specialists
nothing collapsed.
The composer routes 18 of 19 task shapes correctly in distribution. Twelve of the 31 are knowledge specialists that were never trained, because that run had no knowledge corpus, and the composer gives all twelve exactly 0.000 weight, mean and max, on every probe. Nothing asks it to. There is no dead attractor and nothing absorbing a neighbour's mass.
That is about fifteen times the specialist count at which the earlier architecture stopped working. It measures a different quantity from Figure 3: top-1 selection over a sparse active set there, against whether a dense composer that selects nothing puts its mass on the right specialist here. What transfers is the direction of the curve, not the axis.
The knowledge axis collapsed
in exactly the old pattern.
A companion run with a knowledge corpus routed 12 of 12 knowledge branches to one specialist, know:Home. One destination for every input is the zero-bit failure of the earlier router in different notation.
The cause came from arithmetic. The batch sampler walked a sequential cursor from block zero. Stage E runs 2,500 steps, half on knowledge at batch 24, so its knowledge stream consumes 30,000 blocks of 512 tokens, 15.4M tokens, starting at block zero. The corpus is laid out branch by branch and Home holds blocks 0 through 34,921. The stream never left Home. Eleven of twelve labels were never shown.
Measured against the real corpus over the 1,250 steps the stage uses, a sequential cursor shows 1 of 12 labels with Home at 100.00%. Random block draws show 12 of 12 with Home at 9.00%, and after the fix every branch appears in proportion to its size, from Person at 3.10% to Nature at 9.42%.
| Measure | Before | After |
|---|---|---|
| Branches routed to their own specialist | 1 of 12 | 3 of 12 |
| Mean mass on own specialist | not reported | 0.111 (uniform 0.032) |
| Cost of composing against the best single specialist | −0.3093 nats | −0.1923 nats |
| Where the collapse sits | know:Home | know:Society |
The collapse moved and did not disperse. The cause here was data exposure, not routing machinery, and it was isolated.
One parallel cuts against both architectures. The obvious remedy made things worse in each: a corpus nearly twenty times larger dropped N = 6 accuracy, and three attempts to train the composer harder are the record on the XE4-S side.
The model
does not work yet.
178 held-out probes, tool-choice exact match, greedy decoding. The dense baseline is a 17M monolith trained on the same 700,000 sessions with an 8,192-entry BPE, so content is matched and tokenizers are not.
| Model | Accuracy | Note |
|---|---|---|
| mono1, dense monolith, 17M | 82.6% | Wilson interval 76 to 87 |
| clm2, predecessor | 60.1% | different tokenizer, memory inert |
| XE4-S, memory path off | 57.9% | 103 of 178 |
| XE4-S, memory path live | 57.3% | 102 of 178, interval 50 to 64 |
| XE4-S, after the read fix | 36.5% | the fix that made it worse |
Making the memory path live moved the score by one probe. Validation loss composed against ablated is 0.3898 against 0.4055, the cleaner statement of what memory contributes.
The deficit is one failure mode. XE4-S emits no call at all on 50 probes and the wrong tool on 25. The baseline emits no call on 0 and the wrong tool on 31. On wrong-tool confusions XE4-S is ahead. The entire deficit is failing to act.
Four causes were tested and rejected: not the tokenizer, not the prompt format, not the frozen trunk, not dilution by the abstaining tail. What is left is where the composer puts its mass. On the 128 probes it gets right, 0.883 of the mixture sits on specialists that would open a call. On the 50 it fails, 0.285.
The training corpus is template-generated, the specialists fit it closely, and what they learned was the templates. Four of the five remaining failures are things the data never required: copying, consulting memory, the hard frames, and saying more than a template does. The fifth, 4.6 tok/s serving, is a verified 11.5× speed-up that nothing imported.
So the next corpus is built so the easy strategy fails, and it is not simply larger. Nothing gets claimed before it replicates. The ordering result is the cautionary case: four seeds and a mean of −0.93, quoted for months as +5.3.
Figures 1 and 2 are Illustrative. Every table and number is from the paper.