Stanford's Hazy Research: a simple rotation lets one LLM reuse another's facts
A blog post on Stanford's Hazy Research site asks whether one LLM can use another's internal representations in place of its own, without gradient descent. Its answer is yes, and the map is simple: a rotation and one global scale, fit in closed form. The authors demonstrate this on factual recall across 12 base LLMs from eight families, ranging from 1.5B to 27B parameters. The motivation is the Platonic Representation Hypothesis (PRH), which holds that neural networks converge toward a shared representation of reality. Earlier work showed that separately trained models learn geometrically similar representations, but similar does not mean interchangeable.
The test is a hidden-state swap. A recipient LLM prompted with "The capital of Germany is" answers "Berlin". The authors 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". The framing is that factual recall resembles a key-value lookup: early-to-middle layers build a key at the last subject token, and later layers use it to retrieve the value from the weights. The method swaps the key, not the value, and leaves the recipient's later layers to retrieve the answer.
The map is an orthogonal Procrustes rotation computed via a thin SVD, plus a global scale chosen to roughly match the recipient's overall spread. It is fit on fewer than 5,000 training facts that both LLMs recall. Here "rotation" includes reflections and semi-orthogonal maps between different hidden dimensions. The evaluation covers 20 model pairs and 8,800 facts, each a subject and its answer under one of 16 relations, such as capitals and authors. Facts are split by subject into training, validation and test sets. The map is fit on training facts, the swap layers are chosen to maximise validation transfer accuracy, and test results are reported. Transfer accuracy is the percentage of swaps that make the recipient generate the donor's answer.
The rotation reaches a median transfer accuracy of 41% (range 34 to 46%). The reference is self-swap, where the recipient's own "France" key replaces its "Germany" key; it achieves a median 55%, and does not reach 100% because information about "Germany" remains in other tokens and layers. Across model pairs the rotation retains a median 73% of self-swap accuracy (range 60 to 93%). Retention is similar for cross-family and within-family pairs, 75% vs. 69%.
More flexible maps rarely do better. At the same swap layers, ridge regression without rescaling, a whitened rotation and a trained MLP significantly outperform the rotation in only 7% of comparisons. Rescaling makes ridge regression competitive, while a least-squares scale never significantly improves transfer accuracy; the authors take both as a sign that keeping the recipient's usual scale matters and that least-squares fits underestimate it. Even without paired facts, Wasserstein Procrustes achieves a median 87% of the rotation's accuracy.
The post also separates geometric similarity from functional transfer. Using mutual nearest-neighbor similarity (mKNN), the primary metric in the PRH paper, to choose swap layers gives a median transfer accuracy of 4.5% on the same validation set, about a tenth of what choosing by transfer accuracy achieves. mKNN usually peaks within the first 5% of the recipient's depth, while transfer accuracy peaks at 22 to 38% of the depth.
Rotations also chain and work in fewer dimensions. Composing an A to B map with a B to C map, without the direct A to C map and without running B, retains a median 99% of the direct rotation's transfer accuracy. Of 47 chains, 40 retain at least 95% and none falls below 92%. Reducing each LLM's original width (1,536 to 5,120 dimensions) to its top principal components, a rotation with 256 components per LLM retains a median 74% of the full rotation's accuracy. The median relative accuracy rises from 4% with 16 components to 87% with 512, with diminishing gains beyond 256. The authors speculate that each LLM might need just one rotation into a shared, lower-dimensional space rather than a map for every pair.
The third result concerns "dark memories", facts an LLM stores but fails to recall. The authors collected 2,600 misses from the 20 model pairs: test facts the donor recalls on a direct prompt but the recipient does not. A miss counts 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 within the same relation. By that definition 56% of the recipient's misses (1,463) qualify. Swapping in rotated donor keys, with no weight updates, recovers 267 of them, or 18%. No control recovers more than 1.1%. The authors present this as a proof of concept and suggest that factual recall can fail because of an ineffective representation rather than missing knowledge in the weights.
The authors read the results as functional evidence for the PRH: the representations are not just similar but partly interchangeable. They say they want to explore whether LLMs share a universal representation space and whether the findings extend to multi-hop reasoning, post-trained LLMs, larger models and other modalities. They also name possible efficiency directions: porting knowledge across models without retraining, reusing each other's hidden states for cheaper inference, and communicating directly through latent representations (Neuralese). The post invites feedback and collaboration via a contact named Vivien.
Key facts
- A rotation plus one global scale, fit in closed form on fewer than 5,000 facts, lets a donor LLM's hidden state at "France" flip a recipient's answer for "The capital of Germany is" to "Paris".
- Across 20 model pairs from 12 base LLMs (eight families, 1.5B to 27B parameters), median transfer accuracy is 41% (range 34 to 46%) against 55% for the recipient's own self-swap, so the rotation retains a median 73% of self-swap accuracy.
- Ridge regression, a whitened rotation and a trained MLP significantly beat the rotation in only 7% of comparisons; choosing swap layers by mKNN similarity yields just 4.5% median transfer accuracy.
- Chains of rotations (A to B to C) keep a median 99% of the direct rotation's accuracy, and 256 principal components per LLM keep a median 74%.
- Rotated donor keys recover 267 of the recipient's 1,463 dark memories (18%) without weight updates; no control recovers more than 1.1%.
Why it matters
The work tests a claim that has so far rested on similarity measures: that different models converge toward a shared representation of reality. Here the test is functional. A plain rotation and one scale, fit in closed form, let one model's internal state drive another model's answer, which the authors read as evidence that representations are partly interchangeable, not merely similar. The result about mKNN adds a twist: representations can look geometrically alike by that metric and still not be interchangeable, and picking layers by it gives about a tenth of the transfer accuracy. The dark-memory result also suggests that some recall failures come from an ineffective representation rather than missing knowledge in the weights.
Who it affects
Mainly interpretability and representation researchers, especially those interested in the Platonic Representation Hypothesis, shared geometry across models, and how factual recall works inside LLMs. The authors also name possible downstream interest in porting knowledge across models without retraining, reusing hidden states for cheaper inference, and latent communication between models (Neuralese). All of these are stated as directions, not results.
How to use it
Nothing is released as a product in the post. The recipe it describes is small enough to follow: pick facts both LLMs recall (fewer than 5,000 were enough), take the key at the last subject token, fit an orthogonal Procrustes rotation via a thin SVD plus a global scale matched to the recipient's spread, then swap the rotated donor key into the recipient at a chosen layer. Swap layers should be selected by validation transfer accuracy, not by mKNN similarity, which peaks in the first 5% of depth while transfer peaks at 22 to 38%. Keeping the recipient's usual scale matters. Researchers wanting a lower-cost variant can use principal components (256 per LLM keeps a median 74%, 512 keeps 87%) or Wasserstein Procrustes, which needs no paired facts and reaches a median 87% of the rotation's accuracy. The authors invite feedback and collaboration through Vivien (vicheng@stanford.edu).
How solid is it
The evidence is broad for a blog post: 20 model pairs, 8,800 facts across 16 relations, results split into training, validation and test sets by subject, and comparisons against several alternative maps. Chain results cover 47 chains. The headline numbers are medians with ranges, and the 41% figure is a transfer accuracy measured against a 55% self-swap reference, not the share of all knowledge that transfers. The source does not say the work has been peer reviewed or names a paper venue or arXiv ID, and the tested models are not named, only described as 12 base LLMs from eight families. The authors name no individual authors in the post text beyond a contact first name.
Risks and caveats
Scope is narrow. Only base LLMs and factual recall were tested; whether the findings extend to multi-hop reasoning, post-trained LLMs, larger models and other modalities is listed by the authors as an open question. Self-swap itself reaches only 55%, and the cross-model map reaches 41%, so many swaps still fail. The 18% dark-memory recovery is a proof of concept, and dark memories are defined by three checks that count a miss if any one passes. The efficiency ideas (cheaper inference, latent communication) are directions only; no cost or speed measurements are given. The idea that each LLM needs just one rotation into a shared lower-dimensional space is a hypothesis the post has not shown.
“A rotation and one global scale, fit in closed form, let one LLM use another’s representations.”
— Hazy Research blog post