We supplied a value from a frozen Qwen2.5-Coder-7B donor to a frozen Qwen2.5-72B recipient through a seven-coordinate residual edit. The recipient produced both exact counterfactual loop outputs while preserving an independent audit value in 359 of 501 native-qualified pairs. Wrong-value and norm-matched orthogonal controls solved zero pairs. A dense linear stitch solved 353 pairs, with no clear difference from the narrow edit. In a complementary stored-fact task, a learned map into frozen Qwen2.5-7B transferred facts about held-out people, while a text relay remained substantially stronger. Together these tests bound what the two frozen models can do with the transferred state in this setting.

Exact operand transfer with an untouched audit value

The donor sees a program that returns an operand directly. The recipient sees a Python accumulator loop with a different starting operand. At the recipient’s assignment site, we replace the seven decoded coordinates with coordinates supplied by the donor for the partner value. The interface was fixed using earlier direct-return cases. The held-out loop uses new seeds and changes the computation after the intervention site.

Both checkpoints use BF16 weights. We read the 3,584-wide donor residual after 6 transformer blocks and edit the 8,192-wide recipient residual after 17 blocks, before block 18 in one-based numbering. The site is the single differing digit token on the right side of the initial assignment. Every retained loop pair places that token at zero-based token index 14 with the pinned tokenizer. The donor read is taken from the corresponding digit in its separate direct-return program.

For a donor state row vector d, the target seven coordinates are t = d @ B @ A + b, where B and the affine map A, b come from the earlier 7B-to-14B interface. At a recipient state h, the current decoded coordinates are q = (h − μh) @ R + μt. We write h + (t − q) @ W.T at that one token. The 8,192-by-7 writer W comes from ridge fitting 256 matched direct-return contrasts without using recipient loop answers. The reader R is the transpose of the writer’s pseudoinverse. The random control uses an orthogonal seven-dimensional writer with the same edit norm. The dense control uses full-width donor contrasts, fitted on the same examples and scaled to the narrow edit norm. Pinned alignment and calibration inputs · Exact scorer

Each group tests both swap directions. The scorer feeds the expected continuation and tests the unique greedy maximum at every causal position across the complete tuple, including the closing parenthesis. It uses eight pairs per batch, or 16 sequences, right-padded inside each forward pass. A pair passes only if the loop result changes correctly and the audit field remains the same in both directions.

The native screen admitted 43 of 64 loop pairs and zero of 64 conditional pairs. The original two-family protocol stopped there. The separately registered loop comparison used 768 new pairs. Of those, 501 qualified because the unedited recipient solved both native versions. The unrelated second field and the paired swaps distinguish selective value transfer from changing a single output token. Protocol and pinned checkpoints · Native screen evidence

InterventionNative-qualified pairs, out of 501All pairs, out of 768
Seven-coordinate donor edit359430
Dense affine stitch fitted on the same direct-return contrasts353427
Whole recipient activation exchange at the same site367429
Wrong donor value00
Norm-matched orthogonal edit00

The narrow edit reached 71.7% on the native-qualified pairs. Its advantage over the dense stitch was +1.20 percentage points, with a paired bootstrap 95% interval from −1.60 to +3.99 points. Whole-state exchange cleared the registered 70% positive-control floor. This tests selective value use on these loop templates with related checkpoints. The conditional intervention, cross-family transfer and any practical advantage over transmitting the operand as text remain untested in this benchmark. Pair-level traces and source receipt

Stored-fact transfer and a direct text comparison

We fine-tuned a Qwen2.5-0.5B donor on randomly assigned fictional biographies. Both models stayed frozen during map fitting. We trained the map on questions about 2,000 people and scored separate question phrasings for 2,000 different people. The selected configuration reads the donor after block 24 and adds a rank-256 update before block 21 of the recipient, using one-based block numbers. The map trains for one epoch at 32 questions per batch and scores held-out questions in batches of 64. The stored-fact metric is closed-set first-token accuracy. Earlier text generation by the donor is allowed in the text-relay arm.

ConditionDirect questions, out of 20,000Country questions, out of 6,000
Best rank-256 map into frozen 7B11,6041,247
Donor alone19,715597
Frozen recipient alone775269
Donor answer relayed in text19,4721,386
Host LoRA on the map-training people702691
Untrained donor, rank-64 map774501

The best map recovered 58.86% of the donor’s direct accuracy, below the registered 60% threshold. It averaged 55.30% accuracy across three seeds, and the layer and rank were chosen on the reported evaluation panel. Giving it the trained donor’s state for a different person reduced reported direct accuracy to 3.75%, near the 3.73% chance level. The wrong-person measurement survives as a run summary. A separate shuffled-fact donor reached only 17.6% direct accuracy before its cap, making its chance-level map result weak evidence for that control.

On the separate 1,000-person scale panel, the 14B and 32B recipients scored 58.97% and 56.27% on direct questions. The 72B stored-fact attempt was killed before reporting a training step, and the result remains unresolved at that size. The 72B loop results above come from a separate completed intervention. Stored-fact scores and receipts · Registered protocol and source

Relation to earlier work

Affine model stitching already transfers residual-stream features and steering vectors across models. CALM composes frozen models using learned cross-attention. XBridge and POND report communication across model families and compare against text methods. This study measures the effect of a targeted operand edit on complete paired outputs with an independently preserved field. Its complementary stored-fact experiment gives a direct relay comparison and shows where the hidden-state route fell short. Chen et al., NeurIPS 2025 · CALM · XBridge · POND

Execution and reproduction

The loop ran on a Mac Studio with an Apple M5 Ultra, 80 GPU cores, 256 GiB unified memory and Metal 4, using macOS 27.2 (26B118), Python 3.12.16, MLX 0.32.4, MLX-LM 0.32.2, NumPy 2.5.5 and tokenizers 0.23.3. MLX ran on the Apple GPU. The code loads the donor and recipient sequentially and sets a 2 GiB MLX buffer-cache limit. The loop run finished in 18 minutes 34 seconds and reported a peak of 146.8 GB of MLX allocation. The checkpoints are Qwen2.5-Coder-7B at 0396a76181e127dfc13e5c5ec48a8cee09938b02 and Qwen2.5-72B at efba10c8e54e91e0d9570ab5f7b51a958474d4cb. The trained-fact run used MLX 0.32.4 and MLX-LM 0.32.2 with the same machine.

The CPU audit needs NumPy 2.5.5, tokenizers 0.23.3 and the recipient tokenizer. Run python flagship/verify_loop.py /path/to/tokenizer.json from the repository root. It reconstructs the correct tuples, checks every saved token-level trace, compares edit norms and recomputes the paired intervals from 5,000 bootstrap draws. To verify stored-fact counts, extract the stored-fact archive and run python flagship/verify_knowledge.py /path/to/extracted-scores. Absolute Studio path prefixes were removed from the stored-fact JSON summaries. The per-question arrays are unchanged. Pinned recipient tokenizer · Original stored-fact audit

To regenerate the loop evidence on the GPU, extract the source archive and install its pinned requirements in a Python 3.12 environment. Extract the loop input archive under a directory named runs. Set STUDIO_QUEUE_ROOT to its parent and STUDIO_JOB_DIR to an empty output directory. From the extracted source run python nested_surgery/flagship_transfer.py --qualified-loop. The runner verifies the qualification and alignment receipts and obtains both pinned checkpoints in a shared cache. The generated programs.json, loop-scores.json and result.json correspond to the published evidence. Runnable source and requirements · Exact input artifacts · Scored traces and execution receipt

First Pubroot review