R.04: Cross-family linear map
EarlyA closed-form linear map from one model family's mid-layer states into another family's input embeddings, with no gradient training.
- Phi-4-mini → Qwen3-1.7B
- 16
- Ridge, one per sub-position
- None
- Independent script, 214 of 214 match
- None (confirmatory written, not run)
Abstract
Can a frozen receiver read the mid-layer states of a model from another family, with no gradient training? Closed-form ridge maps, fit on states from training cards, send Phi-4-mini layer-16 states into the input embeddings of Qwen3-1.7B, with one map for each sub-token position. On 200 test cards whose names never occur in training, the receiver scores 98.0%, against 99.9% for the text card and 12.0% for shuffled states. Across five pairs from three families (Phi, Qwen, Granite), cards score 90.0% to 98.5%; on SQuAD, three pairs keep 78% to 87% of the text F1 gain, and two keep 36% and 12%.
One shared map gives 89.8%, because the two tokenizers split numbers differently. A separate map for each sub-token position reads each digit out of the sender’s multi-digit token, and codes rise from 67.0% to 100%. Averaging two adjacent vectors drops the score to 31.8%, so the receiver needs one vector per token. At this width the channel works as a re-tokenization of the text, not as compression.
A token-string baseline (2026-10-19, exploratory) tests this directly. A map of the same kind, fit on the sender’s token strings only, with no hidden state, does as well as or better than the hidden-state map in all 10 pair-tasks: cards 97.1% to 99.2% against 87.2% to 98.5%, and SQuAD F1 49.3 to 85.6 against 13.6 to 77.8. With the string map, every receiver keeps 92% to 97% of the text F1 gain. Thus the weak SQuAD pairs are weak because the hidden-state map recovers fewer of the tokens, not because of the receivers. The mid-layer states keep token identity well enough for a lossy linear re-tokenizer, but the result shows no content beyond the text.
The closest prior work found is StateBridge (arXiv 2608.13317), which aligns final-layer states into the input space of the same model; it lists different models as future work. The repo’s literature check (2026-10-11) found no closed-form map from one family’s states into another family’s input embeddings.
Limits: the record is a working log with no preregistration file. An independent audit script (2026-10-19) recomputes 214 of its numbers and finds no mismatch, but the old record saved no per-row predictions. The decision rule was written before the run, but the set of pairs changed. The token-string baseline is exploratory. It uses 300 SQuAD questions for each pair (500 for the reverse pair), and the reverse pair (Qwen3-1.7B to Phi-4-mini) uses a new capture with an 8-bit receiver. A confirmatory run on fresh names is preregistered and not run. The main result uses synthetic cards.
Destructive controls
Each arm removes one part of the message.
- Shuffled12.0% (text 99.9%)
The card. The receiver gets the mapped states of another card.
- No card11.6% (chance 12.5%)
The whole message.
- One shared map89.8% (codes 67.0%)
The split by sub-token position. One map serves every receiver token.
- Mean pooling of 231.8%
One vector per token. Two adjacent vectors are averaged.
- Token-string mapCards 99.2% (state map 98.0%); SQuAD F1 71.1 (state map 61.3)
The hidden states. A map of the same kind sees only the sender's token strings.
Gates
| Gate | Preregistered condition | Result | Record |
|---|---|---|---|
| Channel check | Text card near the ceiling and no card near chance (12.5% for 8 choices), so that any gain must come through the channel. Measured: text 99.9%, no card 11.6%. | Passed | c3c5ecfd74a8… |
| Cards, five pairs | First part of the rule written before the run: at least 3 of 4 pairs reach 90% on cards. Measured: all 5 pairs, 90.0% to 98.5%; shuffled 10.0% to 12.6%. | Passed | c3c5ecfd74a8… |
| SQuAD, five pairs | Second part of the same rule: at least 3 of 4 pairs keep 75% of the text F1 gain. Measured: 82%, 87% and 78% in three pairs; 36% and 12% in two. The planned SmolLM3 pair did not run, and two Granite pairs ran in its place, so the rule cannot be applied as written. | Open | c3c5ecfd74a8… |
Record and artifacts
The preregistration, raw outputs, audit and code of this entry are not public yet. They will be linked here.