Plato’s Key

Vivien Cheng, Jerry Liu, Morris Yau, Chris Ré

Plato hands a glowing golden key along a beam of light to a small robot holding a cabinet of books.

The Platonic Representation Hypothesis (PRH) posits that neural networks converge toward a shared representation of reality. Prior work shows that separately trained models learn geometrically similar representations, but similar does not mean interchangeable. Can one LLM use another’s representations in place of its own, without gradient descent?

Yes, and the map is surprisingly simple: a rotation and one global scale, fit in closed form, are enough for one LLM to use another’s representations. We demonstrate this on factual recall across 12 base LLMs from eight families (1.5B–27B parameters).

For example, a recipient LLM prompted with “The capital of Germany is” answers “Berlin”. We take a donor LLM’s hidden state at “France”, rotate and scale it, and swap it in for the recipient’s state at “Germany”. The recipient’s answer flips to “Paris” (Fig. 1).

Extract. Take the donor’s hidden state at “France”.

Figure 1. Swapping one hidden state across LLMs. Tokens run left to right, layers bottom to top.

Our main findings:

  1. Rotations transfer factual representations across LLMs. A simple rotation and scale achieves a median transfer accuracy of 41%. This is a median 73% of self-swap accuracy, where we swap in the recipient’s own “France” state (Fig. 2). More flexible maps (e.g., ridge regression) rarely transfer better.
  2. Rotations chain across LLMs and work in lower dimensions. A chain of rotations (A → B → C) achieves a median 99% of a direct rotation’s accuracy (A → C; Fig. 4a). A rotation using just 256 principal components per LLM achieves a median 74% of a full rotation’s accuracy (Fig. 4b).
  3. Rotations unlock dark memories in another LLM. Prior work shows that LLMs store facts they fail to recall. A rotated donor state recovers 18% of these dark memories (Fig. 5). This suggests that factual recall can fail because of an ineffective representation rather than missing knowledge in the LLM’s weights.

These findings point toward a shared, lower-dimensional structure across LLMs (Fig. 6), opening up new research directions such as latent communication.

1Rotations transfer factual representations

Geometric similarity does not show whether one LLM can use another’s hidden states, so we test this directly on factual recall.

We swap the key, a single hidden state at the last subject token. Factual recall in LLMs resembles a key–value lookup, in which early-to-middle layers build a key for the subject (“France”), and later layers use it to retrieve the value (“Paris”) from the weights. We swap the key rather than the value, so the recipient must generate the answer using its own remaining layers.

We align keys across frozen LLMs with only a rotation and one global scale, fit in closed form on 2,000–4,500 training facts that both models answer correctly.

Let be the mean keys, and let contain the centered donor (A) and recipient (B) keys as columns. Our map centers the donor’s key, applies the orthogonal Procrustes rotation and a scale , and adds the recipient’s mean. We compute via a thin SVD and choose to roughly match the recipient’s overall spread:

Here, “rotation” includes reflections and semi-orthogonal maps between different hidden dimensions.

We test the map on 20 model pairs using 8,800 distinct facts. Our 12 base LLMs span eight families (1.5B–27B parameters), and the facts cover 16 relations, such as capitals and authors. We split facts by subject, so held-out subjects never appear during fitting, and choose the best swap layers (ℓA in the donor and ℓB in the recipient) on a validation set. For evaluation, we only consider held-out facts that both models recall on their own. We measure transfer accuracy as the percentage of swaps that make the recipient generate the donor’s answer (Fig. 1).

aRotated keys achieve 41% transfer accuracyone dot per model pair0%20%40%60%transfer accuracy (held-out facts)own key (self-swap)Llama-3.1-8B → Mistral-7B: self-swap: 44% transfer accuracyLlama-3.1-8B → Llama-3.2-3B: self-swap: 46% transfer accuracyGemma-2-27B → Llama-3.1-8B: self-swap: 50% transfer accuracyQwen2.5-14B → Llama-3.1-8B: self-swap: 51% transfer accuracyGemma-2-9B → Llama-3.1-8B: self-swap: 51% transfer accuracyGemma-2-9B → Gemma-2-27B: self-swap: 51% transfer accuracyLlama-3.2-3B → Llama-3.1-8B: self-swap: 53% transfer accuracyGemma-2-27B → Gemma-2-9B: self-swap: 53% transfer accuracyDeepSeek-7B → Llama-3.1-8B: self-swap: 54% transfer accuracyLlama-3.1-8B → Falcon3-7B: self-swap: 55% transfer accuracyLlama-3.1-8B → Gemma-2-9B: self-swap: 56% transfer accuracyQwen2.5-14B → Qwen2.5-7B: self-swap: 56% transfer accuracyGranite-3.1-2B → Llama-3.1-8B: self-swap: 57% transfer accuracyGLM-4-9B → Llama-3.1-8B: self-swap: 57% transfer accuracyLlama-3.1-8B → Qwen2.5-7B: self-swap: 57% transfer accuracyGemma-2-9B → Qwen2.5-7B: self-swap: 59% transfer accuracyQwen2.5-7B → Qwen2.5-1.5B: self-swap: 63% transfer accuracyQwen2.5-14B → Qwen2.5-1.5B: self-swap: 63% transfer accuracyQwen2.5-7B → Qwen2.5-14B: self-swap: 65% transfer accuracyQwen2.5-1.5B → Qwen2.5-7B: self-swap: 65% transfer accuracy55%rotated donor keyLlama-3.1-8B → Mistral-7B: rotated key: 34% transfer accuracyLlama-3.1-8B → Qwen2.5-7B: rotated key: 35% transfer accuracyGemma-2-27B → Llama-3.1-8B: rotated key: 35% transfer accuracyQwen2.5-14B → Qwen2.5-7B: rotated key: 37% transfer accuracyQwen2.5-14B → Qwen2.5-1.5B: rotated key: 38% transfer accuracyGranite-3.1-2B → Llama-3.1-8B: rotated key: 38% transfer accuracyQwen2.5-7B → Qwen2.5-1.5B: rotated key: 39% transfer accuracyGemma-2-27B → Gemma-2-9B: rotated key: 39% transfer accuracyQwen2.5-14B → Llama-3.1-8B: rotated key: 40% transfer accuracyLlama-3.1-8B → Gemma-2-9B: rotated key: 40% transfer accuracyGemma-2-9B → Llama-3.1-8B: rotated key: 41% transfer accuracyLlama-3.1-8B → Falcon3-7B: rotated key: 41% transfer accuracyLlama-3.1-8B → Llama-3.2-3B: rotated key: 43% transfer accuracyGemma-2-9B → Qwen2.5-7B: rotated key: 43% transfer accuracyQwen2.5-1.5B → Qwen2.5-7B: rotated key: 43% transfer accuracyDeepSeek-7B → Llama-3.1-8B: rotated key: 44% transfer accuracyQwen2.5-7B → Qwen2.5-14B: rotated key: 45% transfer accuracyLlama-3.2-3B → Llama-3.1-8B: rotated key: 45% transfer accuracyGemma-2-9B → Gemma-2-27B: rotated key: 45% transfer accuracyGLM-4-9B → Llama-3.1-8B: rotated key: 46% transfer accuracy41%controlsbest control per pair: 0.6%–2.2%at most 2.2%bOther maps rarely beat our rotationsignificant differences from our rotationbetternot significantworseridge, rescaledridge, rescaled: better than the rotation in 4 of 20 pairs4ridge, rescaled: no significant difference in 13 of 20 pairs13ridge, rescaled: worse than the rotation in 3 of 20 pairs3whitened rotationwhitened rotation: better than the rotation in 2 of 20 pairs2whitened rotation: no significant difference in 13 of 20 pairs13whitened rotation: worse than the rotation in 5 of 20 pairs5trained MLPtrained MLP: better than the rotation in 1 of 20 pairstrained MLP: no significant difference in 8 of 20 pairs8trained MLP: worse than the rotation in 11 of 20 pairs11ridge regressionridge regression: better than the rotation in 1 of 20 pairsridge regression: no significant difference in 8 of 20 pairs8ridge regression: worse than the rotation in 11 of 20 pairs11least-squares scaleleast-squares scale: no significant difference in 7 of 20 pairs7least-squares scale: worse than the rotation in 13 of 20 pairs13Wasserstein ProcrustesWasserstein Procrustes: no significant difference in 4 of 20 pairs4Wasserstein Procrustes: worse than the rotation in 16 of 20 pairs1601020model pairs
Figure 2. Transfer accuracy across 20 model pairs. (a) Each dot represents one model pair; lines mark medians. (b) Number of model pairs where each map performs significantly better or worse than our rotation (Holm-corrected p < 0.05).
  • Self-swap achieves a median transfer accuracy of 55% (Fig. 2a). In a self-swap, we replace the recipient’s key for “Germany” with its own key for “France” at layer ℓB (Fig. 1). However, information about “Germany” remains in other tokens and layers, so the answer does not always flip. We use self-swap as our reference because it requires no cross-model mapping.
  • Our rotation achieves a median transfer accuracy of 41% (Fig. 2a), ranging from 34% to 46%. This is a median 73% of self-swap accuracy (range: 60–93%). Cross-family pairs achieve a median 75% of self-swap accuracy, compared to 69% for within-family pairs. None of the controls (e.g., random or shuffled rotations) achieves a median transfer accuracy above 2.2%.
  • Other maps rarely beat our rotation (Fig. 2b). At the same swap layers (ℓA, ℓB), we compare ridge regression without rescaling, a whitened rotation, and a trained MLP. These significantly outperform our rotation in only 7% of comparisons. Rescaling makes ridge regression competitive with our map, while using a least-squares scale instead of ours never significantly improves transfer accuracy. Even without paired facts, Wasserstein Procrustes achieves a median 87% of our rotation’s transfer accuracy.
  • The layers most similar under mKNN transfer poorly. We use mutual nearest-neighbor similarity (mKNN), the primary metric in the PRH paper, to select swap layers. On the same validation set, selecting layers by mKNN yields a median transfer accuracy of 4.5%, while selecting layers by transfer accuracy yields 44%. In 70% of model pairs, mKNN peaks within the first 5% of the recipient’s depth, while transfer accuracy peaks at 22–38%.

A simple change of coordinates lets one LLM use another’s representations. Yet the layers with the highest mKNN similarity are not the ones that transfer best.

2Rotations chain and work in lower dimensions

Rotations align pairs of LLMs, but do all LLMs share one underlying geometry? If so, a chain of rotations (A → B → C) should transfer as well as a direct rotation (A → C). We also ask how many dimensions factual transfer needs (Fig. 3).

Chaining. A chain of rotations (A → B → C) retains a median 99% of the direct rotation’s (A → C) transfer accuracy.

Figure 3. Chaining rotations and compressing representations. Each disc represents one LLM’s representation space.
  • A chain of rotations achieves a median 99% of the direct rotation’s transfer accuracy (Fig. 4a). We compose the A → B and B → C maps without using the direct A → C map or running B. The recipient layer of A → B is the donor layer of B → C. We evaluate both the chained and direct maps at the same endpoint layers on held-out facts that all three LLMs recall. Of the 47 chains, 40 achieve at least 95% of the direct rotation’s accuracy, and none falls below 92%.
  • A rotation using 256 principal components per LLM achieves a median 74% of the full rotation’s transfer accuracy (Fig. 4b). We reduce each LLM’s original width (1,536–5,120 dimensions) to its top principal components, fit the map, and set the recipient’s remaining components to their training mean. The median relative accuracy rises from 4% with 16 components to 87% with 512, with diminishing gains beyond 256 components.
aChaining retains 99% of direct accuracy47 chains (A → B → C), one dot each40 of 47 chains within 5% of direct90%95%100%105%direct A → CLlama-3.1-8B → Gemma-2-9B → Qwen2.5-7B: chained keeps 92.3% of direct (33.0% vs 35.7%)Qwen2.5-14B → Qwen2.5-1.5B → Qwen2.5-7B: chained keeps 92.5% of direct (43.1% vs 46.6%)Qwen2.5-14B → Qwen2.5-7B → Qwen2.5-1.5B: chained keeps 93.7% of direct (35.6% vs 38.0%)Gemma-2-27B → Llama-3.1-8B → Qwen2.5-7B: chained keeps 94.1% of direct (34.4% vs 36.6%)Gemma-2-27B → Gemma-2-9B → Qwen2.5-7B: chained keeps 94.5% of direct (35.2% vs 37.3%)Gemma-2-9B → Llama-3.1-8B → Falcon3-7B: chained keeps 94.6% of direct (45.0% vs 47.6%)DeepSeek-7B → Llama-3.1-8B → Qwen2.5-7B: chained keeps 94.7% of direct (39.3% vs 41.5%)Gemma-2-9B → Qwen2.5-7B → Qwen2.5-1.5B: chained keeps 95.1% of direct (40.2% vs 42.3%)GLM-4-9B → Llama-3.1-8B → Qwen2.5-7B: chained keeps 95.2% of direct (45.0% vs 47.3%)Gemma-2-27B → Llama-3.1-8B → Gemma-2-9B: chained keeps 95.5% of direct (39.1% vs 41.0%)Granite-3.1-2B → Llama-3.1-8B → Llama-3.2-3B: chained keeps 95.8% of direct (33.6% vs 35.1%)DeepSeek-7B → Llama-3.1-8B → Gemma-2-9B: chained keeps 96.0% of direct (42.3% vs 44.1%)Qwen2.5-7B → Qwen2.5-14B → Qwen2.5-1.5B: chained keeps 96.1% of direct (36.1% vs 37.6%)Gemma-2-27B → Gemma-2-9B → Llama-3.1-8B: chained keeps 96.6% of direct (35.8% vs 37.1%)Gemma-2-9B → Gemma-2-27B → Llama-3.1-8B: chained keeps 96.8% of direct (41.9% vs 43.3%)Gemma-2-9B → Llama-3.1-8B → Mistral-7B: chained keeps 97.2% of direct (36.9% vs 38.0%)GLM-4-9B → Llama-3.1-8B → Llama-3.2-3B: chained keeps 97.3% of direct (43.9% vs 45.2%)Granite-3.1-2B → Llama-3.1-8B → Qwen2.5-7B: chained keeps 97.4% of direct (34.5% vs 35.5%)Llama-3.1-8B → Qwen2.5-7B → Qwen2.5-1.5B: chained keeps 98.3% of direct (33.3% vs 33.8%)Qwen2.5-7B → Qwen2.5-14B → Llama-3.1-8B: chained keeps 98.4% of direct (40.9% vs 41.6%)Gemma-2-27B → Llama-3.1-8B → Falcon3-7B: chained keeps 98.4% of direct (37.7% vs 38.3%)Llama-3.2-3B → Llama-3.1-8B → Mistral-7B: chained keeps 98.5% of direct (32.1% vs 32.6%)DeepSeek-7B → Llama-3.1-8B → Llama-3.2-3B: chained keeps 99.0% of direct (39.3% vs 39.7%)DeepSeek-7B → Llama-3.1-8B → Falcon3-7B: chained keeps 99.0% of direct (46.8% vs 47.2%)Llama-3.2-3B → Llama-3.1-8B → Qwen2.5-7B: chained keeps 99.1% of direct (32.2% vs 32.5%)Qwen2.5-1.5B → Qwen2.5-7B → Qwen2.5-14B: chained keeps 99.2% of direct (44.1% vs 44.5%)Gemma-2-9B → Llama-3.1-8B → Qwen2.5-7B: chained keeps 99.4% of direct (44.5% vs 44.7%)DeepSeek-7B → Llama-3.1-8B → Mistral-7B: chained keeps 99.6% of direct (36.8% vs 36.9%)Gemma-2-9B → Qwen2.5-7B → Qwen2.5-14B: chained keeps 99.7% of direct (48.6% vs 48.7%)GLM-4-9B → Llama-3.1-8B → Gemma-2-9B: chained keeps 100.0% of direct (50.1% vs 50.1%)Qwen2.5-14B → Llama-3.1-8B → Falcon3-7B: chained keeps 100.0% of direct (43.5% vs 43.5%)Qwen2.5-14B → Llama-3.1-8B → Mistral-7B: chained keeps 100.0% of direct (33.4% vs 33.4%)Granite-3.1-2B → Llama-3.1-8B → Gemma-2-9B: chained keeps 100.4% of direct (40.1% vs 40.0%)Llama-3.2-3B → Llama-3.1-8B → Falcon3-7B: chained keeps 100.4% of direct (39.8% vs 39.6%)Llama-3.2-3B → Llama-3.1-8B → Gemma-2-9B: chained keeps 100.6% of direct (41.8% vs 41.6%)Llama-3.1-8B → Qwen2.5-7B → Qwen2.5-14B: chained keeps 100.7% of direct (40.9% vs 40.7%)Gemma-2-27B → Llama-3.1-8B → Mistral-7B: chained keeps 100.8% of direct (29.3% vs 29.1%)Qwen2.5-14B → Llama-3.1-8B → Gemma-2-9B: chained keeps 101.7% of direct (42.2% vs 41.5%)Qwen2.5-14B → Llama-3.1-8B → Llama-3.2-3B: chained keeps 101.7% of direct (36.0% vs 35.4%)Qwen2.5-14B → Llama-3.1-8B → Qwen2.5-7B: chained keeps 101.7% of direct (38.6% vs 37.9%)Granite-3.1-2B → Llama-3.1-8B → Falcon3-7B: chained keeps 101.8% of direct (38.6% vs 37.9%)Gemma-2-9B → Llama-3.1-8B → Llama-3.2-3B: chained keeps 102.0% of direct (38.3% vs 37.6%)GLM-4-9B → Llama-3.1-8B → Falcon3-7B: chained keeps 102.4% of direct (52.6% vs 51.3%)Llama-3.1-8B → Gemma-2-9B → Gemma-2-27B: chained keeps 102.4% of direct (34.6% vs 33.8%)Granite-3.1-2B → Llama-3.1-8B → Mistral-7B: chained keeps 102.6% of direct (34.0% vs 33.1%)GLM-4-9B → Llama-3.1-8B → Mistral-7B: chained keeps 103.2% of direct (39.4% vs 38.2%)Gemma-2-27B → Llama-3.1-8B → Llama-3.2-3B: chained keeps 103.4% of direct (33.4% vs 32.3%)median 99%chained / direct transfer accuracyb256 components keep 74% of the transferrotation fit in each model’s top principal components0%25%50%75%100%full rotation (all dimensions)top 16 components: median 4% of the full rotation (middle half 3%–4%)164%top 32 components: median 13% of the full rotation (middle half 11%–16%)32top 64 components: median 35% of the full rotation (middle half 30%–38%)64top 128 components: median 57% of the full rotation (middle half 52%–62%)128top 256 components: median 74% of the full rotation (middle half 70%–81%)25674%top 512 components: median 87% of the full rotation (middle half 80%–89%)51287%top 1,024 components: median 90% of the full rotation (middle half 87%–94%)1,024components kept per model (widths 1,536–5,120)relative transfer accuracy
Figure 4. Chaining and compression across model pairs. (a) Chaining. Each dot represents one chain A → B → C as a share of its direct rotation A → C (100%); the shaded band marks ±5%. Both maps are evaluated on held-out facts all three LLMs recall. (b) Compression. Relative transfer accuracy of a rotation fit on each LLM’s top principal components; lines and bands mark the median and interquartile range over 20 model pairs.

Together, these results point toward a shared, lower-dimensional structure across separately trained LLMs.

3Rotations unlock dark memories

So far, we have used rotations to change what an LLM recalls, but could we also use this shared geometry to rescue failed recall? Prior work shows that LLMs store facts they fail to recall, which we call dark memories. As a proof of concept, we use a rotated key from another LLM to unlock them (Fig. 5).

Own key. With its own key for “Nice”, the recipient answers “Italy”.

Figure 5. Unlocking a dark memory. When asked which country Nice is in, Falcon3-7B answers “Italy”. With Llama-3.1-8B’s rotated key, it answers “France”.
  • More than half of the recipient’s misses qualify as dark memories. We collect 2,600 misses from our 20 model pairs: held-out facts that the donor recalls on a direct prompt but the recipient does not. We count a miss as a dark memory if the recipient passes at least one of three checks: answering correctly with three in-context examples, answering correctly under a paraphrased prompt, or ranking the correct answer first among up to 50 answers to the same relation. In total, 56% (1,463) qualify as dark memories.
  • A rotated donor key recovers 18% of these dark memories. We recover 267 of the recipient’s dark memories by swapping in rotated donor keys as in Fig. 1, without updating any weights. No control recovers more than 1.1% of them.

Factual recall depends not only on what an LLM stores in its weights, but also on the key it builds to retrieve that knowledge. With just a change of coordinates, a key from a separately trained LLM can unlock some of these dark memories.

Looking ahead

A closed-form rotation and scale let one LLM use another’s representations for factual recall. We read this as functional evidence for the PRH: the representations are not just similar but partly interchangeable. This also fits our lab’s view of MLPs as Hebbian memories, and suggests that one LLM’s rotated keys can query another’s memory.

We’re very excited about what comes next:

  • Understanding the shared geometry. Exploring whether LLMs share a universal representation space (Fig. 6) and whether our findings extend to multi-hop reasoning, post-trained LLMs, larger models, and other modalities.
  • Building more efficient systems. Porting knowledge across models without retraining, reusing each other’s hidden states for cheaper inference, and communicating directly through latent representations (Neuralese).

Twelve views. Each LLM has its own representation space.

Figure 6. Can all 12 LLMs in our study be aligned in a single representation space?

If you’re interested in exploring these directions with us or have any feedback, we’d love to hear from you. Please reach out to Vivien (vicheng@stanford.edu).

Acknowledgements

We thank Yasa Baig, Nasim Borazjanizadeh, Kelly Buchanan, Francois Chaubard, Cloris Cheng, Catherine Deng, Roberto Garcia, Junmiao Hu, Hermann Kumbong, Sam Layton, Iddah Mlauzi, Divya Nori, Jon Saad-Falcon, and Stuart Sul for their thoughtful feedback and discussions.