Skip to content

Inside the shared key space

Every result in this post as a share of its own reference Ten questions about the space that nine LLMs share, each scored against its own reference: a model’s own key, its own probe, its own vector, its own full run. Bars show 95% confidence intervals where computed.

What was left open

Plato’s Key (Cheng, Liu, Yau, Ré) showed that the “key” one LLM builds for a fact, the hidden state at the last token of the subject, can be rotated into another LLM, which then retrieves the right answer. My first post took their open question about a universal space and answered it for nine models: one shared space with one map per model does the work of all 36 pairwise maps, and a new model joins with a single map.

That left more questions than it closed. From Plato’s Key, the authors list as future work post-trained models, multi-hop reasoning, larger models and other modalities, and as applications they point to porting knowledge between models without retraining, reusing hidden states to make inference cheaper, and models communicating in latent space. From my own post, three things were unresolved:

  • What is in the space? Transfer through the shared space reached 41%, against 48% for a model swapping its own key back in. Is the missing part information each model keeps privately, or just an imperfect map?
  • Can it be found without paired facts? My unpaired version reached 44.5% of the paired one, well short of the 80% I had set.
  • Is it useful for anything beyond swapping one fact?

The plan

Two scripts, both run on an M4 MacBook: one with ten experiments over the nine base models plus ten post-trained relatives (24.8 hours), and one that builds a router on top of the space (8.7 hours). Each question below maps to one of the open items above:

Open itemQuestion in this post
What is in the space?1. Does the shared space hold the whole key?
Post-trained models2. Do fine-tuned and instruct models live in the same space?
Unpaired alignment3. Can the space be found without paired facts?
Porting knowledge without retraining4. Probes, 5. steering vectors, 6. a crowd’s key
Multi-hop reasoning7. Does the space carry entities a model only infers?
Latent communication8. Can a fact read in context be handed to another model?
Cheaper inference10. Can a small model hand its hidden states to the right big one?
(a check I expected to work)9. Does distance from the consensus reveal what a model doesn’t know?

Larger models and other modalities are not addressed here.

The short version. The shared space holds essentially all of a key: a model’s key reduced to its shared part works as well as the full key, so the gap between models is map error, not private information. Fine-tunes live in their parent’s coordinates. A joint unpaired fit recovers the space at 79% strength. Probes, steering vectors, inferred entities and facts read in context all travel through it. And a 1.5B model can do the first half of a 14B model’s work, at half the compute, for a 2–3 point loss.

Setup, shared by everything below

  • Models. Nine base models: Qwen2.5 1.5B, 7B and 14B, Mistral-7B, Falcon3-7B, Granite-3.1-8B, DeepSeek-7B, Llama-3.1-8B, Gemma-2-9B. Ten relatives: Qwen2.5-7B-Instruct, 14B-Instruct, Math-7B, Coder-7B, Mistral-7B-Instruct, Falcon3-7B-Instruct, Granite-3.1-8B-Instruct, DeepSeek-7B-Chat, Llama-3.1-8B-Instruct, Gemma-2-9B-IT.
  • Facts. 21,919 CounterFact facts, split by subject into train, validation and test. Every number below is on test facts.
  • Keys and the hub. As in the first post: the hidden state at the last subject token, one early-middle layer per model; a 1,536-dimensional shared space fitted by generalised Procrustes on training facts.
  • Swap success. A key that is not the recipient’s own is written into the recipient’s prompt for a different fact of the same relation; success means the recipient now gives the answer the key belongs to.
  • Pre-registration. For six of the questions I fixed a pass/fail criterion before running. Four passed, one failed narrowly, and one passed in a way that turned out to mean nothing; all are reported.

Main result

1. Does the shared space hold the whole key?

Answer: yes. A model’s own key, reduced to its shared part, works as well as the full key.

The hub holds the whole key

What we did. Took each model’s own key for a fact, threw away everything outside the shared space, and swapped what was left back into the same model. If keys carried model-private information that matters, this should hurt.

How. For each of the nine models, about 1,000 swaps on test facts it knows. The projection uses the model’s own map into the hub. Controls: the untouched key, smaller slices of the hub (its first 1,024, 256 and 64 dimensions), a random subspace of the same size, only the part outside the hub, and the model’s average key.

What we found.

  • Untouched key: 47.7%. Projected onto the hub: 47.0%, which is 98.9% of it (CI 96.6–101.6%).
  • A random subspace of the same size keeps only 47% of the effect. The part outside the hub carries nothing (1.9%, the same as the average-key floor).
  • The first 1,024 hub dimensions keep 95%; 256 keep 74%; 64 keep 34%.
  • This holds even for Qwen2.5-14B, where the hub keeps 1,536 of 5,120 dimensions.
  • Projection explains a median 6% of the gap between swapping a model’s own key (48%) and another model’s key through the hub (41%).

Conclusion. At this layer, the part of a key that does the work is shared. What separates models is the translation, not private content, so better maps, not more dimensions, would close the gap.


Auxiliary results

2. Do fine-tuned and instruct models live in the same space?

Answer: yes. Each joins with one map, and most still use their parent’s coordinates outright.

Ten fine-tunes join the hub with one map

What we did. Attached each of the ten relatives to the existing base-model space with one map, without refitting the space, and swapped keys in both directions with all nine base models. Then asked two further questions: does a relative’s key work in its parent with no map at all, and is each relative closest to its own parent?

How. 180 model pairs, 300 swaps each; relatives use their parent’s key layer. The pre-set criterion was that the hub keep at least 95% of pairwise accuracy. Lineage was measured by linear CKA between keys on held-out facts.

What we found.

  • Through the hub: 40.3%, against 39.1% for pairwise maps; 102.8% of pairwise for the median pair (CI 101.8–104.2%). At or above pairwise in 139 of 180 pairs; above the floor in all 180. Pass.
  • With no map at all, a relative’s key works in its parent at 44.5%, as well as the hub. Between unrelated models of the same width, no map gives 1.6%, the floor.
  • The no-map transfer is weakest for the math and code models, which had the most additional training (base Qwen2.5-7B into its Math version: 13%), and close to the hub for most instruct and chat models.
  • Every relative is closest to its own parent by CKA (10 of 10; figure below). By a second measure, map residual, 8 of 10; that measure favours narrow models, so CKA is the fair test. Pass.

Fine-tunes stay closest to their parent

Conclusion. Post-training barely moves where facts live. A fine-tune inherits its parent’s coordinates: a shortcut (no map needed) and a simple lineage test.

3. Can the space be found without paired facts?

Answer: mostly. A joint fit reaches 79% of the paired space, up from 47%, just short of the 80% bar.

No paired facts: from 47% to 79%

What we did. The first post’s unpaired method aligned models pair by pair and chained them along a tree. Here we tried three refinements and picked one without looking at labels.

How.

  • Unpaired means every model’s keys come from the same pool of training facts, but the fit never sees which key belongs to which fact.
  • Variants: the tree from the first post; joint refinement, in which each model is re-fitted against optimal-transport matches to all other models at once; mutual nearest neighbours under CSLS; and joint refinement with twice the samples.
  • The choice used only an unsupervised score (how close the models’ point clouds sit in the hub, relative to two samples of one model). The chosen variant was then swap-tested on all 72 ordered pairs, 300 swaps each, against the paired space.

What we found.

  • The unsupervised score picked joint refinement with twice the samples, which was also the best by the hidden diagnostic (held-out retrieval 0.88, paired 0.95, tree 0.58).
  • Swap success: 32.6%, against 41.6% paired, 19.6% for the tree method in this run, and 1.7% for the floor.
  • The median pair keeps 79.0% of the paired space (CI 76.2–81.2%). The bar was a lower bound of 80%. Fail, narrowly.
  • All 72 pairs beat the floor.

Conclusion. The shared space is largely recoverable from each model’s keys alone. The step that mattered was fitting all models jointly instead of chaining pairs.

4. Does a probe trained in one model work in the others?

Answer: yes, at 86% of each model’s own probe, including for a model that played no part in building the space.

One probe, any model

What we did. Trained a linear probe in the shared space to read which answer a key points to, on one model, and applied it unchanged to every other model. Also trained on eight models and tested on a ninth that was left out of the space and attached afterwards with one map.

How. Logistic regression over the 40 most common answers; trained on training facts, scored on test facts. Reference: a probe trained on the target model’s own keys. Majority class: 10%.

What we found.

  • A probe trained on another model reaches a median 86% of the target’s own probe (worst pair 74%). Pass (bar: 80%).
  • For a model left out of the space, a probe trained on the other eight reaches 87% of its own.
  • Probes trained on bigger models transfer better.

Conclusion. A readout learned once in the shared space works in every model, including a newcomer, so interpretability tools could be built once and reused.

5. Do steering vectors survive translation?

Answer: yes. A steering vector from another model does 93% of what the recipient’s own vector does.

Steering vectors survive the hub

What we did. Built answer-steering vectors in a donor (the average key of facts with answer X, minus the average key for that relation), carried them through the hub, added them to the recipient’s own key, and checked whether the recipient switched to X.

How. 300 trials per recipient on facts it knows; the steering strength chosen per recipient on validation facts from 1, 2 or 4. Controls: no steering, a random direction of the same length, and a shuffled map.

What we found.

  • Recipient’s own vector: 42.6%. Through the hub: 38.7%. Pairwise: 38.3%. All controls 0.4% or less.
  • Hub against the recipient’s own vector, median pair: 92.7% (CI 88.3–96.0%). Pass.
  • Every model chose the largest strength tried, and success was still rising (right panel), so absolute numbers are a lower bound.

Conclusion. Steering directions are as portable as keys: find one in one model, use it in any other with one map.

6. Does pooling several models’ keys help a model with a fact it gets wrong?

Answer: a little. The average key of every model that knows the fact beats any single donor, 27% to 23%.

The crowd's key

What we did. For facts a model gets wrong but at least two others get right, swapped in the model’s own key, one knowing model’s key, the average key of every knowing model, and the average of all other models, each through the hub.

How. About 500 trials per recipient, 4,500 in total; the swap goes into a prompt the recipient does know, of the same relation.

What we found.

  • Average of the knowing models: 26.8%. One knowing model: 23.4%. Average of all others: 23.0%. One model through a pairwise map: 22.0%. The recipient’s own key: 19.9%. Floor: 1.8%.
  • Crowd against single donor: 270 swaps won against 145 (p < 10⁻⁹).
  • The crowd’s advantage grows with the number of models that know the fact (right panel).
  • The recipient’s own key already works 20% of the time: many “unknown” facts are present but not retrieved, as Plato’s Key also found.

Conclusion. A consensus key is cleaner than any one model’s. The gain is modest but consistent.

7. Does the space carry entities a model only infers?

Answer: yes. In two-hop prompts, the inferred middle entity crosses models at 76% of the within-model rate.

The latent bridge entity crosses models

What we did. In “The author of the novel Nineteen Eighty-Four was born in the city of…”, the middle entity (George Orwell) is never written; the model has to infer it. We moved the state at the end of the descriptive phrase between models, through a space fitted only on ordinary single-hop subject keys.

How. 7,859 prompts from TwoHopFact (Yang et al., 2024); up to 300 trials per ordered pair, 21,578 in total, where the donor answers the two-hop prompt and the recipient knows the second hop. Success: the recipient gives the source prompt’s final answer. We also swapped in the explicit key for the middle entity, taken from “George Orwell was born in…”.

What we found.

  • Recipient’s own inferred state: 39.1%. Donor’s, through the hub: 30.4%, which is 76% of the within-model swap (CI 73–80%). Pairwise: 29.7%. Floor: 2.9%. Above the floor in 72 of 72 pairs.
  • The explicit entity key works better in the inferred position than the inferred state itself: 53.5% within a model, 42.0% through the hub.
  • Models rarely chain the two hops: two-hop accuracy is 7–21%, often below what each hop alone would allow (right panel).

Conclusion. The space aligns inferred entities as well as written ones. The inferred state looks like a weaker copy of the entity’s ordinary key, which may be part of why models struggle with two-hop questions.

8. Can a fact one model read in context be handed to another?

Answer: yes, from late layers, 41% of the time against a 72% ceiling. The subject key carries nothing.

A fact read in context can be handed over

What we did. The donor reads a counterfactual (“The mother tongue of X is English. The mother tongue of X is”). Its state is moved into a recipient that sees only the plain prompt. Success: the recipient gives the new answer it never saw.

How. Two channels. The subject key, through the hub of the post. And the state at the last prompt token, through a second shared space fitted the same way; its layer is chosen per model, by how well that model’s own with-context state carries the new answer on validation facts. 300 trials per ordered pair.

What we found.

  • Last token: within a model 72.4%; through the hub 40.8%; pairwise 42.9%; floor 0%; above the floor in all 72 pairs.
  • The same channel without the context gives 0.5% new answers, so the effect comes from what the donor read.
  • The subject key carries none of it: 0.2% within a model, 0.4% through the hub. A fact read in context never reaches the subject’s representation.
  • Within a model, the effect appears only at 85–90% depth (right panel).

Conclusion. What one model reads can be passed to another through a shared space, but only from layers where it already looks like the answer. Read this as “late states are portable”, not as general latent communication.

9. Does distance from the consensus reveal what a model doesn’t know?

Answer: no. How many other models know a fact predicts it almost perfectly; distance from their consensus adds nothing.

What a model knows is mostly what every model knows

What we did. For each model and test fact, measured how far its key sits from the average of the other models’ keys, and asked whether that predicts whether the model knows the fact, beyond popularity (how many other models know it).

How. AUROC on test facts; the combination fitted on validation facts; bootstrap over facts.

What we found.

  • Popularity alone: AUROC 0.952. Adding consensus distance: 0.953 (+0.001, CI +0.000 to +0.002).
  • Consensus distance on its own: 0.58. A probe on the model’s own key: 0.72–0.81.
  • The criterion I set in advance (any gain above zero) technically passes. It was too lax; this is a null.

Conclusion. What a model knows is mostly what every model knows. Its particular gaps don’t show up as distance from the crowd.

10. Can a small model hand its hidden states to the right big one?

Answer: the handover works, at half the compute for a 2–3 point loss. Routing on top of it adds little, because predicting which model knows a fact is hard.

A 1.5B model reads, a 7B/14B sibling finishes

What we did. A small model (Qwen2.5-1.5B) reads the prompt. Its key, a quarter of the way in, predicts which model knows the answer. Instead of starting over, its hidden states at every position are translated into the chosen model’s middle layers, and that model finishes. The handover needs both models to cut the text into the same tokens, so it stays inside the Qwen2.5 family: 7B and 14B, their instruct versions, Math-7B and Coder-7B. The “who knows it” part covers all 19 models.

How.

  • Handover: closed-form maps from the small model’s states to the target’s (rotation + scale, or least squares) at three depths, chosen on validation facts; then a small learned correction trained through the frozen target (only the correction is trained).
  • Who knows it: predict, from the small model’s key, whether each of the 19 models recalls a fact, four ways, including through the hub.
  • System: route each prompt to “small model alone”, a target’s full run, or a handover, trading accuracy against compute; compared with a confidence cascade and an oracle.
  • Metric: first-token accuracy on 4,409 test facts. Compute is counted analytically, relative to one full Qwen2.5-14B pass.

What we found.

  • Handover.
    • Closed-form handover loses 2–5 points against the target’s own run; the learned correction recovers much of that. Into Qwen2.5-14B-Instruct: 19.5% → 22.0%, against 24.4% on its own. Into 7B-Instruct: within 1 point.
    • Compute falls from 1.01 to 0.49 for the 14B models and from 0.30 to 0.19 for the 7B models.
    • A 1.5B start plus a 14B-Instruct finish (22.0% at 0.49) beats the base 14B model’s own full run (21.6% at 1.01).

Accuracy against compute

  • Routing.
    • Routing plus handover matches the base 14B model at 55% of its compute; routing the text alone needs 64%; a confidence cascade can’t beat 21.6% for less.
    • No routing policy beats simply running Qwen2.5-14B-Instruct (24.4%); the best reaches 24.0%.
    • An oracle that knew which option was right would reach 36.7% at a fraction of the compute. The gap is the predictor: AUROC around 0.73.

Who knows it, and a new model with zero labels

  • Who knows it, across 19 models. Routing the text by the best predictor reaches 27.1%, against 25.7% for the best single model (Llama-3.1-8B-Instruct) and 42.1% for an oracle. Nearest neighbours in the hub are the best single predictor.
  • A new model with zero labels. What the other models know predicts what a new model knows with AUROC 0.708, better than a probe trained on 2,000 of the new model’s own labelled facts (0.670), and close to one trained on all ~15,000 (0.728).

Conclusion. The handover is the result: closed-form maps plus a small learned correction let a 1.5B model’s partial pass stand in for the first half of a 14B model, at a few points of accuracy. Routing will pay only once “which model knows this” can be predicted much better, and the zero-label result says most of that signal is shared across models, as question 9 also found.


Limits

  • Nine base models up to 14B, one dataset family, one key layer per model, one random seed. Larger models and other modalities are untested.
  • Pairs drawn from the same nine models are not independent, so the confidence intervals are narrower than they should be.
  • The rule that drops oversized keys (more than three times the median norm) was set after seeing DeepSeek’s keys in the first post, then applied unchanged everywhere.
  • Steering strengths may be under-tuned: every model picked the largest value tried.
  • The latent-message layer is deep enough that the state largely encodes the answer.
  • The unpaired method was developed with diagnostics that use the hidden pairing; the final choice used only the unsupervised score.
  • Routing compute is a count of operations, not a measured speed-up. The implementation still ran the big model’s early layers and overwrote them, so a wall-clock saving is not demonstrated. Handover results are first-token accuracy on single-token answers, in one model family.
  • Two of the six pre-set criteria deserve a caveat: question 3 failed by a hair, and question 9’s pass was meaningless because the bar was set too low.

Shared spaces and their uses have prior work, which this builds on rather than replaces. Aligning many embedding spaces into one, with and without supervision, is established for word vectors (for example unsupervised hyperalignment) and for text-embedding models (vec2vec). Transferring steering vectors and probes between models pair by pair has been shown before (activation-space interventions, small-to-large steering, MATCHA). The handover connects to model stitching, LLM routing (RouteLLM), cascades (FrugalGPT) and cross-model cache transfer (arXiv 2608.03893). Plato’s Imprint moves facts between models by editing weights and reports that patching across many layers transfers far better than a single layer, which may be the next step for the handover here. What is new in this post is doing these things through one shared space for many models at once, and the finding that the shared part is essentially the whole key.

Thanks again to the authors of Plato’s Key.

Comments