Skip to content

Nine LLMs, one shared key space

Overview: read each model's key, fit one map per model into a shared space, carry a key through it, swap it into the recipient One shared space for nine LLMs. (a) Each model builds a key for a fact at the last subject token. (b) One rotation and scale per model maps those keys into a single shared space. (c) Any model’s key reaches any other model through that space. (d) Swapped into the recipient, it makes the recipient give the donor’s answer. The France/Germany prompt is an illustration; the numbers under it are measured.

What Plato’s Key left open

On 25 November, Hazy Research published Plato’s Key (Vivien Cheng, Jerry Liu, Morris Yau, Chris Ré). When an LLM recalls “The capital of France is Paris”, early layers build a key at the last token of the subject, and later layers use it to retrieve the answer. Their finding: take that key from model A, apply a rotation and one global scale fitted in closed form, write it into model B, and B produces A’s answer. It works across twelve models from eight families.

The post ends with questions it does not answer. Two of them are about the same thing:

  1. Is there one space, or only pairs? They write: “Rotations align pairs of LLMs, but do all LLMs share one underlying geometry?” Their evidence is indirect. Chaining A→B→C keeps about 99% of direct A→C accuracy, and transfer survives compression to a few hundred dimensions, both “consistent with LLMs being rotated views of one shared, lower-dimensional space”. The figure that shows all twelve models in one space is a schematic with a question mark. No joint alignment is fitted.
  2. Does finding the alignment need paired facts? For pairs of models they report that Wasserstein Procrustes, which is never told which key belongs to which fact, reaches a median 87% of the paired rotation. Whether a shared space for many models can be found that way is not addressed.

They also list multi-hop reasoning, post-trained models, larger models and other modalities as open. I do not touch those.

The plan

Pairwise rotations cannot settle the first question. With N models there are N(N−1)/2 pairs, each fitted on its own, and nothing forces those fits to agree with each other. If the models really are views of one space, N maps should be enough: One per model into the shared space, with every pair read off as A → space → B.

Pairwise maps versus one hub

So the test is direct. Fit the hub, route every pair through it, and compare with the pairwise rotation on the original metric. Then push on it three ways: Attach a model the hub has never seen with a single map, cut the hub down to fewer dimensions, and try to find it with no paired facts at all.

What I found, in short. On nine open models from 1.5B to 14B parameters, one 1,536-dimensional space with nine maps transfers facts between all 72 ordered pairs as well as 36 separate pairwise fits. A model left out of the fit joins with one more map and no measurable loss. The same space can be recovered without telling the fit which key belongs to which fact, at about half strength. In my experiments that only worked by routing models through each other, which a hub makes possible.

I fixed four pass/fail criteria before the final run. Three passed and one failed, and each is marked below.

Setup

  • Models. Nine base models from seven families: Qwen2.5 (1.5B, 7B, 14B), Mistral-7B, Falcon3-7B, Granite-3.1-8B, DeepSeek-7B, Llama-3.1-8B, Gemma-2-9B. Hidden widths run from 1,536 to 5,120.
  • Facts. All 21,919 CounterFact facts (34 relations), split by subject into train, validation and test. Maps are fitted on train, layers chosen on validation, and every number below is on test.
  • Recall. A model “recalls” a fact if its greedy continuation of the prompt starts with the answer. The nine models recall 16–25% of CounterFact by that test. As in the original post, swaps for a pair use only test facts that both models recall.
  • Keys. The hidden state at the last subject token, at one layer per model, chosen by a self-swap on validation facts.
  • Metric. The original one: swap the key of fact S into the prompt of fact T, where S and T share a relation and differ in answer, and count how often the recipient’s continuation starts with S’s answer. 500 swaps per ordered pair, 72 pairs, 36,000 swaps per condition.
  • Pairwise baseline. The post’s map: centre, orthogonal Procrustes, one global scale.
  • The hub. Each model gets a centre, a scale, and a matrix with orthonormal columns into a shared 1,536-dimensional space, fitted jointly by generalised Procrustes: alternate between “a fact’s point in the hub is the average over models” and “re-fit each model to those points”. The hub’s width is that of the narrowest model. A→B is then a scale and an orthogonal map of rank at most 1,536, factored through the hub.
  • Fitting data. Unless stated, maps are fitted on all training facts, whether or not a model recalls them. The original post fits on recalled facts only. I ran both: All-facts fits are better for pairwise and hub alike (39.9% against 34.9%, and 41.3% against 36.6%). The new-model and dimension experiments below were run on recalled-fact fits, so their absolute numbers sit about five points under the headline table.
  • Controls. Self-swap (the recipient’s own key, no map) as the ceiling; a rotation fitted on shuffled pairs as the floor.

Main result: one space does the work of 36 maps

Hub versus pairwise, every pair

Each point is one ordered pair of models. The hub sits on or above the pairwise line in 61 of 72 pairs.

fitstransfer accuracy
Self-swap (ceiling)049.1%
One hub941.3%
Pairwise rotations3639.9%
Shuffled pairs (floor)–1.9%
  • Criterion 1: Hub beats the shuffled control in every ordered pair. Pass, 72 of 72 (Holm-corrected sign test per pair). The weakest pair, Qwen-7B into Mistral, still transfers 30% against a 50% self-swap.
  • Criterion 2: Hub keeps at least 95% of pairwise accuracy. Pass, 103.3% for the median pair (95% CI 101.9–104.6%).

The hub reaches 83% of self-swap accuracy for the median pair. The original post reports 73% for its pairwise rotations on different models and facts, so the two are in the same range.

The hub’s small edge over pairwise has a mundane source: A pairwise fit sees two models, while the hub pools evidence about each fact from all nine. I would not read the extra point as geometry. What matters is that nothing is lost when 36 independent fits are replaced by nine that are forced to agree.

What the shared space looks like

Keys from three models, before and after mapping into the hub

These are 300 held-out facts that Mistral, Qwen-14B and Gemma all recall, drawn once per model. On the left each model is in its own coordinates, and a fact’s nearest neighbour in another model is essentially never the same fact. In the middle, after mapping into the hub, it is the same fact 93% of the time. On the right, the same picture coloured by relation shows the hub organised by what a fact is about, not by which model it came from.

Auxiliary results

A new model joins with one map

If the space is really shared, a model that played no part in building it should still fit. For each of the nine models I rebuilt the hub from the other eight, then attached the held-out model with a single Procrustes fit against the existing hub points.

Headline numbers and the new-model result

  • Criterion 3: a new model joins with one map and keeps at least 95% of the joint hub. Pass, 100.0% (95% CI 98.9–100.6%): 36.5% against 36.6% for the jointly fitted hub.

With pairwise maps a tenth model costs nine new fits. Here it costs one.

The cheaper alternative is to use one model’s own key space as the hub, which is what chaining amounts to. It works, but swap for swap it loses to the consensus hub about two to one (1,016 wins against 1,977). The consensus is a better meeting point than any single model.

The shared space is small

Transfer against hub dimension

Cutting the hub to its first 1,024 dimensions changes nothing. At 256 it keeps 88% of the full hub’s transfer; at 64, about half. The models are 1,536 to 5,120 wide, so the part of a key that carries a fact across models is a modest fraction of the residual stream, in line with the compression result in the original post.

The hub can be found with no paired facts, at half strength

Everything above uses paired data: the same fact run through every model, with the fit told which key is which. Can the hub be found without that? Here “unpaired” means the correspondence is hidden: Every model’s keys come from the same pool of training facts, but the fit only sees each model’s cloud of points, never which point is which fact. That is the setting Wasserstein Procrustes is designed for, and it is easier than aligning models that were run on unrelated text.

The unpaired hub

My first attempt aligned every model to one anchor (Llama) and essentially failed, at 5.5% transfer. The left panel shows why. Unpaired alignment between two particular models is all-or-nothing, and it locked on for only 10 of the 36 pairs.

A hub does not need all 36. It needs one working route per model. So I fitted every pair without pairs, scored each fit with a criterion that also uses no pairs (how close the two aligned point clouds are, relative to two samples from one model), and connected the models along the best-scoring edges. That score tracks which fits truly worked (rank correlation −0.82 with the hidden ground truth), and the resulting tree reaches all nine models.

  • Criterion 4: an unpaired hub keeps at least 80% of the paired hub. Fail, 44.5% for the median pair (95% CI 42.0–49.2%).

That is short of my bar and I am reporting it as a fail. It is also far from nothing: 19.3% transfer against a 1.9% floor, and every one of the 72 pairs beats the shuffled control by the same per-pair test used above (the lowest pair is 10.6%). In the right panel, a fact’s nearest neighbour in another model is the same fact 71% of the time, in a space that was never told which facts correspond.

A second setting removes the shared pool. If the anchor model and the other models see entirely disjoint facts, and the only shared information is which of the 34 relations each prompt asks about, transfer is 15.6%.

So the shared space is recoverable from the geometry of each model’s keys alone, at about half strength, and it is the hub that makes this possible: the nine models help each other across the gaps where a pair will not align directly.

Two pitfalls if you reproduce this

My first full run looked like bad news for a shared space. A third of the pairs did not transfer at all.

Pairwise transfer across three runs

Neither cause was geometry.

A missing start token. This was my setup, not anything in the original post. Mistral, Llama and Gemma tokenizers put a start token in front of every prompt; the other six do not. Without one, a prompt that opens with a one-token subject (“Paris, the…”) puts the key at sequence position 0, and the state at position 0 is enormous. In two small models I checked, fewer than 1% of keys carried 83–98% of the total norm. A map with one global scale gets fitted to those few keys and is wrong for the rest. Prepending a start token for every model (the model’s own, or its end-of-text token where it has none) took the median pair from 18% to 33% (panel 2).

Twenty-two oversized keys. That left DeepSeek as a weak donor. Of its 21,919 keys, 22 were about 100 times larger than the median and held 91% of the norm, which put its global scale off by a factor of three. These are not position-0 keys and I do not know what makes them special. Dropping any key more than three times the model’s median norm, a rule that removes nothing from the other eight models, brought DeepSeek in line (panel 3).

Look at the norm distribution of your keys before fitting anything with a global scale.

Neither shared spaces nor the tools used here are new. Generalised Procrustes is decades old, and aligning many embedding spaces into one common space, with and without supervision, is well studied for multilingual word vectors; Unsupervised Hyperalignment for Multilingual Word Embeddings (Alaux, Grave, Cuturi, Joulin) is the closest precedent for the unpaired hub, and makes the same point that mapping everything onto one pivot degrades indirect pairs. Harnessing the Universal Geometry of Embeddings (Jha, Zhang, Shmatikov, Morris) translates between text embedding models through a learned shared latent, without paired data, using adversarial training. What is tested here is different in kind: hidden-state keys inside generative LLMs, closed-form maps, and a causal test in which the mapped state has to make another model produce the right answer.

A concurrent preprint, The Platonic Representation Hypothesis in Jacobian-Space (Murphy, Brostow), finds that a rotation fitted on a subset of words carries steering vectors between language and vision models. It fits rotations pair by pair; it does not fit one space for all models. It is further evidence that the pairwise picture holds well beyond factual recall.

Limits

  • Nine models up to 14B, one dataset, one task (single-hop factual recall), one layer per model, one random seed.
  • The 72 pairs come from nine models, so they are not independent. The confidence intervals resample pairs and swaps as if they were, and are narrower than they should be. The original post goes to 27B and selects layers per pair.
  • ”Shared space” here means something specific: one set of maps that reproduces every pairwise transfer. It does not show that the models compute with that space in the same way, or that it extends beyond subject keys.
  • The outlier rule (drop keys above three times the median norm) was added after I saw DeepSeek’s results. It is one fixed rule for all models, but it was not planned in advance.
  • One comparison shows a small loss: attaching a new model as a donor is slightly worse than the joint hub (596 swap wins against 676, p = 0.03; 36.4% against 36.6%).
  • In developing the unpaired fit I looked at how many true correspondences each variant recovered on training facts. The final fit never uses them, and all reported numbers are on held-out facts.

Credit to the authors of Plato’s Key for a wonderful read, and further research directions.

Comments