
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, let one LLM 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. Transferring a representation between LLMs. We swap a single hidden state. Tokens run left to right, layers bottom to top.
Our main findings:
These findings point toward a shared, lower-dimensional structure across LLMs (Fig. 6), opening up new research directions such as latent communication.
Geometric similarity does not show whether one LLM can use another’s representations, so we test this directly on factual recall.
Factual recall in LLMs resembles a key–value lookup: early-to-middle layers build a key at the last subject token (“France”), which later layers use to retrieve the value (“Paris”) from the weights. We swap the key rather than the value, leaving the recipient’s later layers to retrieve the answer. If this single hidden-state swap changes the answer to “Paris”, the representation has transferred.
Our map aligns keys across frozen LLMs using only a rotation and one global scale, fit in closed form on fewer than 5,000 training facts that both LLMs recall.
Let be the mean keys and the centered key matrices (one key per column) of the donor and recipient, respectively. We compute the orthogonal Procrustes rotation via a thin SVD and choose the global scale 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 facts, each a subject and its answer under one of 16 relations, such as capitals and authors. Our 12 base LLMs span eight families (1.5B–27B parameters; Fig. 6). For each pair, we use only facts that both LLMs recall on their own. We measure transfer accuracy as the percentage of swaps that make the recipient generate the donor’s answer (Fig. 1). We split facts by subject into training, validation, and test sets: we fit the map on training facts, select the swap layers (ℓA in the donor and ℓB in the recipient) that maximize validation transfer accuracy, and report test results.
aRotated keys achieve 41% transfer accuracyone dot per model pair0%20%40%60%transfer accuracy (test 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 pairs1trained 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 pairs1ridge 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. Controls include random and shuffled rotations. (b) Number of model pairs where each map performs significantly better or worse than our rotation (Holm-corrected p < 0.05).
Representations can be geometrically similar without being functionally interchangeable. Yet a simple change of coordinates lets one LLM use another’s representations.
Rotations align pairs of LLMs, but do all LLMs share one underlying geometry? If so, a chain of rotations (A → B → C) should transfer nearly 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 transfer accuracy of a direct rotation (A → C).
Figure 3. Chaining rotations and compressing representations. Each disc represents one LLM’s representation space.
aChaining retains 99% of direct accuracychain (A → B → C) vs. direct (A → C), one dot per chain40 of 47 chains retain at least 95%90%95%100%105%direct (A → C)Llama-3.1-8B → Gemma-2-9B → Qwen2.5-7B: chain keeps 92.3% of direct (33.0% vs 35.7%)Qwen2.5-14B → Qwen2.5-1.5B → Qwen2.5-7B: chain keeps 92.5% of direct (43.1% vs 46.6%)Qwen2.5-14B → Qwen2.5-7B → Qwen2.5-1.5B: chain keeps 93.7% of direct (35.6% vs 38.0%)Gemma-2-27B → Llama-3.1-8B → Qwen2.5-7B: chain keeps 94.1% of direct (34.4% vs 36.6%)Gemma-2-27B → Gemma-2-9B → Qwen2.5-7B: chain keeps 94.5% of direct (35.2% vs 37.3%)Gemma-2-9B → Llama-3.1-8B → Falcon3-7B: chain keeps 94.6% of direct (45.0% vs 47.6%)DeepSeek-7B → Llama-3.1-8B → Qwen2.5-7B: chain keeps 94.7% of direct (39.3% vs 41.5%)Gemma-2-9B → Qwen2.5-7B → Qwen2.5-1.5B: chain keeps 95.1% of direct (40.2% vs 42.3%)GLM-4-9B → Llama-3.1-8B → Qwen2.5-7B: chain keeps 95.2% of direct (45.0% vs 47.3%)Gemma-2-27B → Llama-3.1-8B → Gemma-2-9B: chain keeps 95.5% of direct (39.1% vs 41.0%)Granite-3.1-2B → Llama-3.1-8B → Llama-3.2-3B: chain keeps 95.8% of direct (33.6% vs 35.1%)DeepSeek-7B → Llama-3.1-8B → Gemma-2-9B: chain keeps 96.0% of direct (42.3% vs 44.1%)Qwen2.5-7B → Qwen2.5-14B → Qwen2.5-1.5B: chain keeps 96.1% of direct (36.1% vs 37.6%)Gemma-2-27B → Gemma-2-9B → Llama-3.1-8B: chain keeps 96.6% of direct (35.8% vs 37.1%)Gemma-2-9B → Gemma-2-27B → Llama-3.1-8B: chain keeps 96.8% of direct (41.9% vs 43.3%)Gemma-2-9B → Llama-3.1-8B → Mistral-7B: chain keeps 97.2% of direct (36.9% vs 38.0%)GLM-4-9B → Llama-3.1-8B → Llama-3.2-3B: chain keeps 97.3% of direct (43.9% vs 45.2%)Granite-3.1-2B → Llama-3.1-8B → Qwen2.5-7B: chain keeps 97.4% of direct (34.5% vs 35.5%)Llama-3.1-8B → Qwen2.5-7B → Qwen2.5-1.5B: chain keeps 98.3% of direct (33.3% vs 33.8%)Qwen2.5-7B → Qwen2.5-14B → Llama-3.1-8B: chain keeps 98.4% of direct (40.9% vs 41.6%)Gemma-2-27B → Llama-3.1-8B → Falcon3-7B: chain keeps 98.4% of direct (37.7% vs 38.3%)Llama-3.2-3B → Llama-3.1-8B → Mistral-7B: chain keeps 98.5% of direct (32.1% vs 32.6%)DeepSeek-7B → Llama-3.1-8B → Llama-3.2-3B: chain keeps 99.0% of direct (39.3% vs 39.7%)DeepSeek-7B → Llama-3.1-8B → Falcon3-7B: chain keeps 99.0% of direct (46.8% vs 47.2%)Llama-3.2-3B → Llama-3.1-8B → Qwen2.5-7B: chain keeps 99.1% of direct (32.2% vs 32.5%)Qwen2.5-1.5B → Qwen2.5-7B → Qwen2.5-14B: chain keeps 99.2% of direct (44.1% vs 44.5%)Gemma-2-9B → Llama-3.1-8B → Qwen2.5-7B: chain keeps 99.4% of direct (44.5% vs 44.7%)DeepSeek-7B → Llama-3.1-8B → Mistral-7B: chain keeps 99.6% of direct (36.8% vs 36.9%)Gemma-2-9B → Qwen2.5-7B → Qwen2.5-14B: chain keeps 99.7% of direct (48.6% vs 48.7%)GLM-4-9B → Llama-3.1-8B → Gemma-2-9B: chain keeps 100.0% of direct (50.1% vs 50.1%)Qwen2.5-14B → Llama-3.1-8B → Falcon3-7B: chain keeps 100.0% of direct (43.5% vs 43.5%)Qwen2.5-14B → Llama-3.1-8B → Mistral-7B: chain keeps 100.0% of direct (33.4% vs 33.4%)Granite-3.1-2B → Llama-3.1-8B → Gemma-2-9B: chain keeps 100.4% of direct (40.1% vs 40.0%)Llama-3.2-3B → Llama-3.1-8B → Falcon3-7B: chain keeps 100.4% of direct (39.8% vs 39.6%)Llama-3.2-3B → Llama-3.1-8B → Gemma-2-9B: chain keeps 100.6% of direct (41.8% vs 41.6%)Llama-3.1-8B → Qwen2.5-7B → Qwen2.5-14B: chain keeps 100.7% of direct (40.9% vs 40.7%)Gemma-2-27B → Llama-3.1-8B → Mistral-7B: chain keeps 100.8% of direct (29.3% vs 29.1%)Qwen2.5-14B → Llama-3.1-8B → Gemma-2-9B: chain keeps 101.7% of direct (42.2% vs 41.5%)Qwen2.5-14B → Llama-3.1-8B → Llama-3.2-3B: chain keeps 101.7% of direct (36.0% vs 35.4%)Qwen2.5-14B → Llama-3.1-8B → Qwen2.5-7B: chain keeps 101.7% of direct (38.6% vs 37.9%)Granite-3.1-2B → Llama-3.1-8B → Falcon3-7B: chain keeps 101.8% of direct (38.6% vs 37.9%)Gemma-2-9B → Llama-3.1-8B → Llama-3.2-3B: chain keeps 102.0% of direct (38.3% vs 37.6%)GLM-4-9B → Llama-3.1-8B → Falcon3-7B: chain keeps 102.4% of direct (52.6% vs 51.3%)Llama-3.1-8B → Gemma-2-9B → Gemma-2-27B: chain keeps 102.4% of direct (34.6% vs 33.8%)Granite-3.1-2B → Llama-3.1-8B → Mistral-7B: chain keeps 102.6% of direct (34.0% vs 33.1%)GLM-4-9B → Llama-3.1-8B → Mistral-7B: chain keeps 103.2% of direct (39.4% vs 38.2%)Gemma-2-27B → Llama-3.1-8B → Llama-3.2-3B: chain keeps 103.4% of direct (33.4% vs 32.3%)median 99%chain accuracy as % of directb256 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. Transfer accuracy of chained and compressed rotations. (a) Each dot represents one chain; the band marks 95% of direct accuracy and above. (b) Accuracy relative to the full rotation (median and IQR over 20 model pairs).
Rather than a map for every pair, each LLM might need just one rotation into a shared, lower-dimensional space (Fig. 6).
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 “Interstellar”, the recipient answers “Denis Villeneuve”.
Figure 5. Unlocking a dark memory. With its own key, the recipient answers incorrectly (“Denis Villeneuve”). With the donor’s rotated key, it recalls the correct answer (“Christopher Nolan”).
Some failures of factual recall can be rescued by changing the key rather than the weights. A simple change of coordinates lets one LLM unlock another’s dark memories.
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 to explore two directions:
Twelve views. Each LLM has its own representation space.
Figure 6. Aligning all 12 LLMs 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).
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.