Can one small language model use another's internal state?
A language model holds an internal state for each word it reads: a long list of numbers at each of its layers. In November 2026 a post from Stanford's Hazy Research lab, "Plato's Key", reported that one model can use another's. Ask a model "The capital of Germany is" and it answers "Berlin". Take a second model's state at the word "France", turn it into the first model's terms with a rotation and one scale, put it where the first model's state for "Germany" was, and the first model answers "Paris". This programme checks that on five small models, then asks what the post does not: can a state from one model be looked up among another's, does it carry the fact or only point at the subject, and does averaging models make a better one? Looking states up is the strong part: among a million Wikipedia titles, a name's state from one model finds the same name first in another model's index 85% of the time when the state kept is the mean over the name's tokens, and 41% with the last token's state alone. That lookup is by wording, not by meaning: under another name for the same article ("NYC" for "New York City") the article is found 1% of the time. Averaging models' states did not make a model right more often.
- Started
- 2 December 2026
- Models
- Five base models from five makers, 1.5 to 3 billion parameters
- Stages
- 0 to 8, done by 5 December 2026; stage 9 designed, not yet run
- Predictions
- 61 written down first, with 137 bars: 60 held, 1 failed
- Source
- PolyLabs-research/platos-key, public; the records quoted here are its own
The words used
A key is a model's internal state at the last word of a subject's name ("France"), at one layer. The post's picture is that a model builds a key for the subject and its later layers use the key to fetch the answer, the way a key in a filing system fetches a record. A swap replaces that one state in a running model and lets the rest carry on; it counts when the model then gives the answer for the key's subject and not the prompt's. Its yardstick is the self-swap, the model's own key for the other subject. A rotation between two models is fitted from a few thousand facts both have read, and a shared space gives every model one rotation into a common space, in place of one for every pair.
A lookup runs no model at all. A key from one model is turned into another's terms, that model's own keys are ranked by nearness, and the lookup is right when the nearest is about the same subject. Whether this could become a search engine for the inside of models was one of two questions put at the start; the other was whether models could be averaged into a better one.
How it was worked
The models are Qwen2.5-1.5B, Llama-3.2-3B, Granite-3.1-2B, SmolLM2-1.7B and Falcon3-3B, all base models, with each one's chat-tuned version beside it for one stage. The facts are two public sets of simple facts: 9,646 from a 2023 study of how language models decode relations, and later 12,737 from PopQA whose subjects the first set does not have. The lookup stages used a million Wikipedia article titles, and organisation and journal names from OpenAlex.
Facts are split by subject into training, validation and test, and building uses the first two. Each stage first looks at validation facts. Its predictions, each with numbered bars, are committed and pushed before its test facts are read; the test facts are read once, the result is committed before it is judged, and a prediction fails if any of its numbers falls outside its bar. Nothing is rerun. Scrambled controls set the false-alarm level: facts paired wrongly, a random rotation, a random row of the index. Made-up facts taught to one model are planted patterns: where they sit is known, so the method must find them there and nowhere else.
Of 61 predictions, with 137 numbered bars, 60 held and one failed. The record says this is less striking than it sounds: the bars were set from what each stage's look saw, so "held" means the picture from the look repeated on facts that had shaped nothing, not that bold guesses came true. Stage 1, a map of where two models are alike, was a look throughout and predicted nothing.
Lookup among a million names: the last token's state against the mean over the name
stages 6 and 7 · test titles · median of 20 pairs of modelsEach model read Wikipedia article titles bare, with nothing around them. A key from one model was turned into another's terms through a shared space fitted on 30,000 other titles, and that model's keys for the titles in the index were ranked by nearness. 10,000 titles were the queries, and the index was cut to random subsets from 1,000 names up to the whole million. Stage 6 kept the state at the name's last token; stage 7 kept the mean of the states of all the name's tokens, at the same layer.
Point at a size, or tap it, for its readings.
The numbers in this chart
First hit right: the share of queries whose nearest title in the other model's index is their own, as the median of the twenty ordered pairs of models, from the table of stage 7's reading in the decisions log (D26). Chance is one in the index's size. The figures for the million were predicted before the reading, from the curve up to 100,000 on separate validation titles. This is the same text read by two models and matched through their states. Stage 8 found that it is a match of wording: under another name for the same article, the article is found 1% of the time (the table below).
The post's result holds on small models. Over the twenty ordered pairs of models a swap works 29% to 52% of the time (median 45%; the post, on larger models, 41%). Scrambled controls give 3%.
Being alike does not say a swap will work. This was a look, with nothing predicted. Six standard measures of how alike two models' states are all point at the last layers of both networks, where a swap does nothing: chosen by those measures, swaps work 0% to 5% of the time; chosen by trying, 43%, a quarter of the way up the recipient.
Lookup is the strong part. Through one shared space a key finds its subject first 91% of the time among 6,315 facts from another source, about kinds of subject the space never saw, and 98% within ten. It does not need the model to know the fact, nor the subject to be well known, and it works best half way up the networks, which is not where swaps work. Among a million bare names the key to keep is the mean over the name's tokens (the chart above).
That lookup is by wording, not by meaning. Wikipedia has 10.7 million other titles that lead to an article. Twenty thousand of them were looked up among the million article titles. Where the other title is the same but for case and accents, the mean key finds the article 70% of the time across models; where it shares a word, 28%; where it is another name in different letters, 1%, inside one model as much as across models. Counting three-letter runs, with no model at all, does better than every model's key wherever the letters are alike. In the record's words, a key taken from a bare name at a middle layer records the name's wording, and an index of such keys is a search by spelling. Whether a state taken where the model has to say what a name refers to can be searched by meaning is open.
What a swap carries is a subject's broad properties. Where the answer is one of a few, such as a person's language or a landmark's continent, a rotated key keeps nearly all of the self-swap; where it names one thing among many, such as a film's director, it keeps a half to a fifth. A key can carry a fact: a model never taught a made-up country gives its made-up language three times in five when handed the key of a copy that could only have stored it in the key. Left free, though, training puts a particular fact almost wholly above the key, and the key only points at the subject (the first chart below).
Averaging models does not make a better one. With the mean of the other four models' keys in place of its own, a model is right 40.1% of the time, against 40.6% with its own (the second chart below). Simply asking the best of the five is right 52% of the time.
Tuning for chat moves the keys and leaves them usable, except in one family, Falcon, where tuning made the keys worse in either model, and the method says where. Why, it does not say.
What it does not show. Everything is one state, at the last word of a named subject, for simple facts; nothing here says it holds for reasoning, or for what is spread over a sentence. The models are small, none larger than 3 billion parameters. Lookup among a million was of bare names, and finds their wording, not what they name; among names inside sentences it has been tried on a few thousand only. "Recalled" means the model's next token is the first token of the answer, a rule that sometimes credits a lucky start.
Made-up facts, read through a key by a model never taught them
stage 4 · 200 test countries · read onceOne model, Qwen2.5-1.5B, was taught 300 made-up countries, each with a capital and a language, in three copies: one able to learn only below the layer where a key is written, one only above the layer a key is read from, and one everywhere. A copy's key for a country was then put into the untaught model's own prompt about that country. The copy taught only below could have stored the fact nowhere but in the key, and the copy taught only above could not have stored it there: the method finds the fact where it was planted and not where it was not. The language comes through far more often than the capital, and from the copy taught everywhere, as in ordinary training, the capital hardly at all.
Point at a row, or tap it, for its readings.
The numbers in this chart
The share of the 200 test countries for which the model given the key says the made-up answer, from the stage's reading in the decisions log (D19). Within the family the key goes in at the layer where a key is written, with no map; the last row takes the first copy's key through the shared space into each of the other four makers' models, and the four are pooled. A language is one of 16 and a capital one of 51 cities; for a language, chance is 0.06. The capital for the copy taught only below, 0.160, is only just inside its bar of 0.15 to 0.40; the look had 0.27. One model was taught, by one recipe, which also cost it a third to a half of the real facts it knew; two relations, and countries that do not exist.
Averaging models: each model with the others' mean key in place of its own
stage 5a · 1,916 test facts a model · read onceFor every test fact each model read its own prompt with its key for the subject replaced by the mean of the other four models' keys, through the shared space. The weakest model, Falcon, is right more often with it and the strongest, Llama, less often; the five together are right 0.401 of the time with it, against 0.406 with their own keys. It brings back about one fact in eleven that a model got wrong and loses about one in seven that it got right, and the two cancel.
Point at a model, or tap it, for its readings.
The numbers in this chart
Right means the model's next token is the first token of the answer. Each share is worked out here from the counts in the stage's result file: facts right over the 1,916 test facts a model, to three places, with "all five" pooling the 9,580; the change is the second share less the first. The predictions, written before the reading, were no gain overall, between −0.04 and +0.01 (measured −0.005), a gain of at least 0.01 for Falcon (+0.041) and a loss of at least 0.03 for Llama (−0.063); all held (D14 in the decisions log).
Stage by stage
2 to 5 December 2026| Stage | Question | Outcome |
|---|---|---|
| 0 | Does the post's result hold on five small models? A rotation and one scale, fitted on training facts, put one model's key into another's prompt about a different subject: does the recipient then give the key's answer? | 5 of 5 held over the twenty ordered pairs, 472 to 689 swaps a pair, the swap worked 0.448 of the time at the median pair (the post, on larger models: 0.41) and kept 0.929 of the self-swap; the largest control of any pair gave 0.083. Two rotations in a chain did 0.956 as well as one direct (median of 60 chains), and a rotation on only the key's top 16 principal components kept 0.377 of the full one's effect |
| 2 | One shared space for all five models, one rotation each, in place of a rotation for every pair: does it lose anything, can a model join it later, and is an index pooled over four models better? | 9 of 9 held swaps 0.439 through the shared space against 0.427 by each pair's own rotation; lookup among 1,916 test facts 0.884 against 0.861. A model added afterwards did 0.990 to 1.000 as well as one fitted in. An index pooled over four models found the subject first 0.958 of the time. The mean of four donors' keys guarded against a poor donor and did not beat the best one (0.010 below it) |
| 3a | Each base model beside its own chat-tuned version: does tuning move the keys, and are they still usable? | 7 of 7 held with no map at all, a key of one finds its counterpart in the other 0.997 of the time, and a tuned model reads its base's key as well as its own (1.031). In Falcon tuning made the keys worse: in the tuned model the base's key does 0.102 better than its own. Of 921 facts lost in tuning the base's key brings back 0.235 (0.054 by a control): for about one lost fact in five the loss is in how the key is formed. For Qwen alone that figure, 0.17 against a control of 0.13 on 87 facts, shows nothing |
| 3b | Fresh facts from PopQA, about kinds of subject the shared space never saw (films, books, songs, towns): does lookup carry over with the space left as it was? | 7 of 7 held among 6,315 fresh test facts the subject came first 0.908 of the time (lowest pair 0.811) and within ten 0.978; scrambled, 0.001; pooled over four models, 0.978. The most-viewed quarter of subjects did no better than the least-viewed (−0.037), and these models recall only 7% to 17% of these facts. Swaps worked 0.235 of the time, 0.614 of the self-swap, where stage 0's facts gave 0.93: the kind of fact decides |
| 4 | Does a key carry the fact, or only point at the subject? One model, Qwen2.5-1.5B, was taught 300 made-up countries in three copies (able to learn only below the layer where a key is written, only above the layer it is read from, or everywhere), and its keys were handed to models never taught them | 6 of 6 held, one at its floor the key of the copy taught only below gave the made-up language 0.610 of the time and the made-up capital 0.160, against a floor of 0.15 (the look had 0.27); another country's key gave 0.030 and 0.000. The copy taught only above gave nothing (0.000 and 0.040; chance for the language is 0.06). Taught everywhere, as in ordinary training: capital 0.010, language 0.285. Through the shared space into the other four makers, the language came out 0.297 of the time. One model was taught, by one recipe, which also cost it a third to a half of the real facts it knew; two relations, and countries that do not exist |
| 5a | Does the mean of the other four models' keys, put in place of a model's own key in its own prompt, make the model right more often? | 7 of 7 held the answer is no, as predicted: right 0.401 of the time with the others' key against 0.406 with its own, over 1,916 test facts a model. It brings back 0.092 of the facts a model got wrong (0.027 by a control) and keeps 0.853 of those it got right, and the two cancel. What comes back is what the others agree on: 0.430 where all four recall the fact, 0.020 where none does. Falcon, the weakest, gains 0.041; Llama, the strongest, loses 0.063 |
| 6 | Lookup at a larger scale: each model reads a million bare Wikipedia titles, with the state at a name's last token as its key, through a shared space fitted on 30,000 other titles. How does the first-hit rate fall as the index grows, predicted from the curve up to 100,000? | P1 to P5 held with 10,000 titles as queries, median of the twenty pairs, the right name came first 0.908 of the time among 1,000, 0.597 among 100,000 and 0.407 among a million; within ten, 0.644; pooled over four models, 0.608; the control, 0.000. The look's curve, carried a further tenfold, had given 0.39 to 0.41. The wrong answers are mostly near-twins that end in the same word: one election for another, one species for another of its genus |
| 6, names of another kind | With nothing looked at beforehand: 100,000 organisation names and 100,000 journal names from OpenAlex, in the space fitted on Wikipedia titles. First hit 0.40 to 0.75 each, and within ten 0.65 or more each (P6)? | failed, by 0.0004 organisations were found within ten 0.6496 of the time against a floor of 0.65, so P6 fails. Its other three numbers were inside their bars: first hit, organisations 0.451 and journals 0.540; journals within ten, 0.789. It is the one failure among the 54 predictions, and the only one made with no look at all. Organisation names, which end in a handful of words such as "University", are harder to look up than titles: 0.451 against 0.597 among 100,000 |
| 7 | A richer key: the mean of the states of all a name's tokens, in place of the last token's state. Among the same million titles, and the OpenAlex names? | 7 of 7 held the right name came first 0.851 of the time among a million (bar 0.77 to 0.89), within ten 0.951, at the worst pair of models 0.799, and with an index pooled over four models 0.958, just inside its ceiling of 0.96; the last token's key gave stage 6's 0.407 again. Among 100,000: organisations 0.923, journals 0.830. Of the misses, 0.31 share the query's last word, where the last token's key had 0.56. It is the same text read by two models; whether a state can be found under another name is not tested here (stage 8 found it cannot) |
| 8 | Lookup by another name: 20,000 other titles of the test articles (Wikipedia's redirects, other titles that lead to an article), looked up among the million titles with stage 7's keys, beside lookup by the letters alone | 7 of 7 held the lookup is by wording. Where the other title is another name in different letters, the right article came first 0.011 of the time across models, 0.013 within one model and 0.013 with an index pooled over four; within ten, 0.040 within one model; letters alone, 0.004. Where it is the same name but for case and accents the mean key found it 0.701 of the time across models and 0.865 within one; where it shares a word, 0.281 and 0.409. Where the letters are alike, counting three-letter runs with no model beat the mean key within one model by 0.13 to 0.21. On names the same but for case and accents, the mean key beat the last token's by 0.373 across models; the control gave 0.0001 |
Where it stands
Stages 0 to 8 are done and told in one plain account, with each stage's design, look, predictions and reading in the decisions log and its predictions and bars in docs/predictions. A planned stage 5b, writing the mean of other models' keys into a model's weights, was dropped once stage 5a showed nothing to gain. Stage 8 asked whether a state can be found by its meaning, under a name's other names, and found that lookup among bare names is by wording. Stage 9, designed on 5 December and not yet run, takes the state where the model is about to say what a name refers to: the name inside a short prompt that asks what it is, the state at the prompt's last token, inside one model first. It is a look on validation names, so whatever it shows, a claim would still need predictions and one reading of names not used there. After it, the plan has states at any position in ordinary text, and OpenAlex's organisations as a third source of facts.
The record names two uses. One is looking things up inside models: a compact shared index that any model can be added to, where a hit says that two states came from the same words, not that they mean the same (stage 8) nor that the state can be used, so a hit that matters needs a swap as a second check. Corrected on 5 December: this said a hit tells what a state is about. The other is finding where a model fails: a fact that comes back with another model's key was lost in forming the key, and one that does not was lost further up, or was never there; the same test compares a model before and after tuning. In its own words, it is not a cheap way to a more accurate model.