Weight Geometry Lab

Dottie’s two-way weight geometry lab

John’s first question is whether a particular thing learned in one model can be written into another. Two copies of Qwen3.5-0.8B transferred eight fictional stamp-to-route associations. We now measure each stamp separately, track changes to old answers, and look for other kinds of learned behavior. Choosing which instrument to trust has its own experiment.

Download the complete A9 handoff · Open the two-way results viewer

Read a chunk, then apply a verified edit

Attention Dottie — Extract the kit, open PowerShell in the extracted folder, and run the command below with Python 3.12 or 3.11 (64-bit). This reproduces the published edit to Qwen3.5-0.8B on CPU, reloads the new file, and scores native answers. Leave enough disk space for the original, the reference edit, and the new checkpoint (about 5.25 GB total), plus the inference environment.

.\RUN-QWEN.cmd chunks --native-probe

The writer checks the base SHA-256, each target tensor’s name, shape, number format and named axes, the exact coordinates, and the old bytes. It writes a separate checkpoint and verifies every named tensor. A second tool indexes 448 regions using a fixed prompt panel. The most similar region on calibration kept its predicted response on only 2 of 24 fresh comparisons. Its record is a search result. The write demonstration has its own independently published patch. When we submitted the wrong axis order, dtype, shape, and base checksum, all four commands stopped before opening a destination file for writing. Inspect the four refusals Direct CPU write and reload · Interactive chunk index · Export a known direction as a LoRA

For a repeat directly from a saved patch, run the two commands below. The first reads the kit’s exact record and the original Qwen. The second reloads both checkpoints and tests three predictions that the older answers will hold. For a future edit, Dottie can use her own exact positions and a new set of keep and gain prompts. Choose a new output folder on each repeat. Author a patch · Score your own predictions

.\RUN-QWEN.cmd record apply --record patch-record.json --out runs\my-write
.\RUN-QWEN.cmd score --edited runs\my-write\rebuilt.safetensors --receipt runs\my-write\record-check.json --prompts score-prompts.json

To search without writing, run RUN-QWEN.cmd index. For the separate two-block prediction experiment use RUN-QWEN.cmd causal. For the frozen larger Qwen teaching the smaller one use RUN-QWEN.cmd compression. The larger teacher must first show an advantage on the calibration problems. Judgment intervention · Larger-teacher calibration

Run the Qwen-to-Qwen experiment

Download the kit above, extract it into C:\AI\DottieWeightGeometry, and double-click RUN-QWEN.cmd. A local page shows the two Qwens and their controls as each finishes. The teacher learns on even-numbered columns of one matrix. The receiver writes into the odd-numbered columns using measurements of the teacher’s activations. Both models start from the same original Qwen3.5-0.8B. Open the measured Qwen-to-Qwen results · Windows instructions and model downloads · Explore the 24-block evidence map

The new station experiment transferred eight arbitrary associations. The full-strength receiver routed both tickets correctly on 24/24 unseen pairs. Eight anchor labels alone gave 6/24 and scrambling the measurements gave 0/24. The full write also changed its answers to the triangle and square questions. On a second set of fresh tickets, halving that same write preserved 16/16 old-skill answers and gave 18/24 complete ticket pairs. On the harder instrument lesson, the receiving Qwen got 0/24 complete pairs. See the effect of halving the write

Explore individual associations and judgments

Extract the updated kit on the A9. With 64-bit Python 3.12 or 3.11 installed, open PowerShell in the extracted folder and run the following command. It sets up the pinned CPU environment and runs the three discovery studies. Each writes into a new local result folder. The first run downloads the original 1.75 GB Qwen weight file if it is missing. The sweep and the jade experiment each create one 1.75 GB receiving checkpoint. Download the kit

.\RUN-QWEN.cmd discover

What we already measured

In the first experiment a network had 15 trainable weights. We supplied the comparisons and marking rule and trained the network to weigh the evidence. On one unseen problem instrument A read 7 with repeats 13, 3 and 8. Instrument B read −5 with repeats −4, −5 and −5. A repeat within one unit supported its instrument. The network picked A before training and B after training. With a reference of 2 and a tolerance of 5, the supported −5 is below the reference and seven units away.

The learned check took 96 labeled examples up front. On three runs it reduced the number of examples needed to reach 85% on the above-reference decision from 16, 80 and 32 to 8, 32 and 8. On the tolerance decision the counts were 8 versus 8, 16 versus 32, and 40 versus 40. The test used 192 unseen problems per skill. A previous skill had to stay within four percentage points of its score at stage entry. In run 17, temporarily removing the learned checking direction reduced checking from 192/192 to 124/192. A same-size perpendicular edit left 176/192. Repeat the 15-weight experiment

In an earlier language-model experiment we planted a fictional harbor-beacon color in Pythia and measured its responses with its adapter off and on. On the published six-thread seed-17 run, SmolLM2 produced the intended word on one of six fresh questions after transfer, up from zero. Its previously correct answers on eight unrelated questions fell from four to one. Removing one measured component restored those three answers and lost the one new answer. This is a concrete case where an edit helped and hurt. Inspect the fact transfer · Inspect component removal

Start with Qwen when you want the paper’s known edit

Use Qwen3.5-0.8B as the paper-based reference on the 128 GB A9. Its original native weight file is about 1.75 GB. The original and edited weight files together are about 3.49 GB on disk. Runtime memory also includes the model's working tensors and context. Running each checkpoint in turn makes the comparison practical. Long reasoning outputs take substantially more time than inspecting the stored weights.

The paper’s game-identification experiment used four same-shaped policies with 17,253 weights each. Astra named the four games from their weights. In another experiment it edited Qwen’s reasoning-loop behavior. The authors reported MATH-500 rising from 7.9% to 48.1% with their decoding settings. These give Dottie two separate measurements. One asks whether behavior is recognizable from weights. The other asks whether a specific edit changes behavior. The game policies are an optional raw-weight reading exercise. Qwen is the first choice for the published language-model edit. Paper and experiment descriptions · Original Qwen · Authors’ edited Qwen · Qwen audit and behavioral protocol

Both native Qwen checkpoints ran on CPU in this lab. Of 488 stored tensors, two changed. The paper’s edit targeted 131,072 entries in the MLP output projections of blocks 15 and 19. Comparing the two published files found 130,188 stored values whose bits differed. On a separate short source test the evidence switched from A to B, and both versions answered A twice. That is one paired case. The next check is a larger set of fresh pairs with the scoring rule fixed in advance.

Use the small pair for repeated transfers

Use Pythia-70M-deduped and SmolLM2-135M for the first mirrored trial. The names refer to parameters. Both can be freely downloaded and both have a verified native weight reader in the kit. Their internal widths and model families differ. Reuse the same problem texts, public examples, score rules and training budget in both directions. Start each receiver from its original published weights. Pythia · SmolLM2

  1. Teach the donor. Fit a rank-12 LoRA in its final MLP output projection on 96 labeled instrument questions. Give it ordinary next-token training. It can answer A or B. Direct training establishes whether this model and placement can learn the judgment.
  2. Measure the geometry. Present 48 unlabeled probe prompts and 16 public anchors with known A/B answers. Capture the donor’s final normalized state just before the answer token, with its LoRA off and on. Center on the anchors and compute the pairwise cosine similarities. The handoff contains the probe text, the named anchors, and those two similarity tables. Each table is 64 by 64 regardless of the width of the model.
  3. Give the receiver its own edit. For every unlabeled prompt, measure how donor training moved it toward the A anchors versus the B anchors. Turn those two movements into training probabilities. Train a fresh rank-12 adapter using those probabilities and the 16 anchor labels. The blind fitting process sees the public packet. The donor’s LoRA stays with the donor. Moving in the reverse direction requires a newly trained donor, a new packet and a fresh target-specific adapter.
  4. Run the controls. Compare six receiver conditions. Keep the untouched receiver, anchors alone, original donor geometry, shuffled changes, the real measured changes and direct answers as distinct rows. The direct-answer comparison uses all 48 probe labels and 16 anchors and runs after the blind adapters have been saved. The shuffled control preserves the target values and puts them on different examples. Each trained adapter gets 60 update steps. The program checks that unloading each one restores the original target weight.
  5. Ask what broke. Each unseen pair holds both readings, reference and tolerance fixed and exchanges which instrument has the better repeats. A model has to switch its answer to get both members right. Ask for the source, its conclusion, then its conclusion with the correct reading supplied. Compare what the model actually emits as its first token with its choice when restricted to the listed alternatives. The viewer also counts previously correct unrelated answers lost.

The source and conclusion are measured on separate prompts. A case with a correct source answer and a wrong conclusion points to a different failure than a case rescued by supplying the correct reading. These comparisons guide the next intervention. The lightning study tests a proposed mechanism more directly by removing a weight component and measuring the same cases again.

John Coates’s preprint, The edit is small. The measurement is the work., gives the reason for doing that last test. In seed 17 of the 15-weight experiment, 100% of the source judgments were correct before the intervention. Removing the learned direction left 64.6% correct. An equally large change at a right angle left 91.7% correct. On a language model, fit any candidate direction on calibration examples, measure it on new pairs, and compare removing it with a same-size sideways edit while scoring the old skills. Read the preprint, especially sections 6.3 and 8

The first matched pilot

On CPU, seed 17, both donors learned a constant answer. Pythia said B on all 48 source questions and SmolLM2 said A on all 48. Each earned 24/48 individual answers and 0/24 complete flip pairs. The receiver fitted from donor geometry also got 0/24 pairs in both directions. The shuffled control got 2/24 in the Pythia-to-SmolLM2 direction. The direct-label receiver got 0/24 in both. Neither direction passed. These data locate the first failure in the lesson and its final-layer adapter. There was no demonstrated source-checking skill for either donor to pass on. The 15-weight result stands as a separate benchmark. New seeds and different ways of teaching the donor are open experiments.

A setting qualifies in this pilot if the donor independently gets both sides right on at least 18 of 24 source-flip pairs with its unrestricted first token, the edited receiver gains at least three complete pairs over the best of its untouched, anchor-only, original-geometry and shuffled controls, and it loses none of its previously correct unrelated answers. Exact adapter unload must also verify. This is a pilot decision rule. To claim a downstream judgment transferred, show corresponding gains on the above-reference or within-tolerance questions as well.

Run it on the A9

  1. Download the handoff ZIP above and extract the entire folder on the A9, for example to C:\AI\DottieWeightGeometry. Open viewer.html to explore the included reference. START-HERE.md and QWEN.md are available offline.
  2. For the matched experiment, double-click RUN-A9.cmd with 64-bit Python 3.12 or 3.11 installed. It installs a CPU environment inside the extracted folder, checks the original model files against their pinned revisions, runs seed 17 in both directions and opens that local result. The first run needs internet for downloads.
  3. To reuse the original kit’s model downloads, run the command below in PowerShell in the extracted folder. Substitute the actual models folder. Each run uses a fresh result directory.
.\RUN-A9.cmd --models "C:\AI\WeightGeometryLab\models" --seeds 17 --threads 4
  1. The console reports each fitted adapter. The completed folder contains two-way.json, review.json and a standalone report.html. Each direction also retains the numeric packet, the new native LoRAs, the scored examples and the native restoration checks. Open report.html, or choose review.json in the viewer. For the next repetitions use --seeds 29 43. Keep their results alongside seed 17.
  2. To reproduce the 15-weight warm-up locally, open growth.html in the original lab kit and export the three runs. The two-way study is a separate, harder language-model experiment. Original A9 kit and operator instructions

Decide what to do next

A donor that misses the source flips needs a better lesson before it can teach. Record the failed setting. On a new development set compare direct training at an earlier layer, a broader adapter, or a clearer curriculum. A useful first curriculum teaches one instrument’s repeat count, then compares two instruments, then changes the premise. Compare that curriculum with shuffled order and matched direct training at the same example and update budgets. Reserve fresh pairs and seeds for confirmation. A high forced-choice score with low unrestricted output calls for an answer-format check.

A capable donor and a weak receiver pinpoint a different question. Can the public packet decode the supported source on disjoint examples? Can the target model learn the same operation with direct labels? If only the direct arm works, try a different alignment or placement on development data. When an edit improves the new answers, remove its leading component and test whether the gains disappear and old answers return. Record effects on individual prompts alongside total accuracy.

Test a behavior across model families. Qwen-to-Qwen association transfer has a working native write and reload. The Pythia/SmolLM2 runner tests both directions between families. A separate larger-teacher run tested number comparison and animal/vehicle classification before fitting an adapter. Neither met the predefined teacher advantage on native A/B answers. The evidence-judgment experiment can continue on its own until the team identifies a candidate operation to test causally.

What to bring back to John

Save a one-paragraph lab note and the review.json. Include the seed, donor and receiver, donor score out of 24 complete pairs, target score before and after, strongest control, previously correct answers lost, and whether supplying the correct reading rescued a conclusion. Include one example with its raw readings, expected source and actual answer. Record the exact command, software versions and model revisions if a reproduction differs.

If you want a second opinion from this research chat, give John a question with the seed, direction, arm, case ID and expected versus observed behavior. For example, “On this pair the donor switches correctly, the direct-label receiver succeeds, and the geometry-trained receiver always says A. Does the packet distinguish the two readings before it reaches the receiver?” The run file lets either assistant investigate the same event.