Weight Geometry Lab

Can Qwen choose the instrument and express that choice as a code?

Dottie’s diagnostic asks the stock Qwen3.5-0.8B checkpoint two separate questions about the same numerical evidence. One prompt requests the physical instrument, A or B. The other requests its assigned code, X or Y. We can compare two actual responses even when one of them is wrong. Each checkpoint query starts fresh. Agreement between the answers describes behavior across two prompts.

Open judgment.html to inspect the measurements. The case selector shows all four combinations of the evidence switch and the codebook switch. Expand a cell for the exact two prompts, the tokens Qwen produced with no output restriction, and comparisons restricted to the literal answer letters.

A correct physical answer paired with an inconsistent code

In case test-01, A reads 29 and B reads 76. When A’s repeats were 32, 24, 25 and B’s were 77, 69, 75, the verifier counted zero for A and two for B. We supplied those counts and set the public mapping to A→Y, B→X. With the shorter physical-source instruction, Qwen answered B when asked for the instrument and Y when independently asked for its code. B was correct. The code assigned to B was X. Both B and Y were unrestricted first tokens. B exceeded A by 0.125 logits on the physical query. Y exceeded X by 0.625 logits on the code query.

Here is that entire four-setting case under both displays. In the A-supported rows, A’s repeats were 30, 22, 28, while B’s were 79, 71, 72. The readings stayed fixed throughout. The two outputs in every cell came from the two separate prompts.

Public mapping Evidence supports Required code Raw repeats, physical / code Counts supplied, physical / code
A→X, B→Y A X A / X A / X
A→X, B→Y B Y A / X A / X
A→Y, B→X A Y A / Y A / Y
A→Y, B→X B X A / Y B / Y

How often did the two answers agree?

The first physical wording ended “Give the instrument label itself, A or B.” Qwen began 127 of 128 responses with “To” and one with “Based”. That gave zero valid unrestricted A/B first tokens for checking consistency. We then fixed one wording cross-check for every held-out setting, ending “Answer with only A or B.” The question, readings, supplied counts and codebook stayed the same. All 128 shorter prompts produced a literal A or B. The X/Y results were reused from the original code queries.

Shorter wording, unrestricted output Raw repeats Counts supplied
Physical source correct 33/64 37/64
Emitted code correct for the true source 31/64 32/64
Emitted code consistent with the source Qwen reported 56/64 59/64
Source correct and code consistent 28 32
Source correct and code inconsistent 5 5
Source wrong and code consistent 28 27
Source wrong and code inconsistent 3 0
Missing or invalid source or code 0 0
All four settings both truthful and consistent 0/16 0/16

The highlighted split appeared in 10/128 settings across 8/16 held-out cases under the shorter wording. Selection used the first qualifying case ID, then raw before counts, normal before reversed, and A before B. The original physical wording retained its own zero qualifying settings. The reader and JSON report the two instructions and the restricted scores separately. A restricted tie stays invalid even when the unrestricted vocabulary argmax returns one tied letter by token order.

What did the hidden states distinguish?

We measured the residual stream at the last prompt token after each of the 24 decoder blocks during the X/Y task. Eight calibration cases supplied two independent labels. Support for A versus B defines the physical-source direction. Required X versus Y defines the answer-code direction. Switching the public mapping separates them. These directions use differences across paired prompts; a positive projection means the two prompt states were ordered as predicted. The physical A/B answers in the behavior table come from separate queries.

At the prespecified final block (23), the fitted source direction ordered both mappings correctly in 5/16 raw cases. The median across 70 balanced sign controls was 5.5/16, and the 95th percentile was 9/16. With support counts supplied, the fitted source direction reached 10/16, equal to the null 95th percentile (median 7/16). The answer-code direction ordered both mappings in 5/16 raw and 2/16 count-aided cases. Their null medians were 3/16 and 2/16. The full chart includes every block and cross-display tests.

The scores measure the association between Qwen’s residual coordinates and these prompts. Supplied count tokens can help a readout even if the model does little counting itself. The sample is 16 underlying held-out cases, each repeated under controlled conditions. The 64 questions in a display share those 16 cases.

Study design and scoring

Run on the A9

Use the Qwen environment from QWEN.md. Keep qwen_judgment.py, judgment_view.py and qwen_audit.py together. For the cached checkpoint, run this in PowerShell.

.\.qwen-env\Scripts\python.exe qwen_judgment.py --threads 3 --offline

For a first download, omit --offline. The runner uses only the original checkpoint. It creates a timestamped directory under runs containing judgment.json and judgment.html. Use --cache and --out to choose explicit locations. The measured CPU used PyTorch 2.8.0, Transformers 5.3.0, three native threads and exact-length batches of at most four. The 448 native queries and analysis took 612.4 seconds here across the code phase (261.0 s), original physical queries (184.8 s) and physical wording cross-check (166.7 s).

A direct follow-up

On a fresh, fixed set of instrument pairs, keep each prompt and its public codebook constant. At one prespecified block, replace only the residual’s projection onto the separately calibrated source direction with the projection from its evidence-swapped partner. Query the physical instrument and the assigned code separately, in both public mappings. A source-driven change predicts a switch of physical instrument and a code switch whose meaning follows the current mapping.

Apply an equal-size perturbation along a prespecified orthogonal direction as a displacement control. Apply the calibrated answer-code direction separately as a coding control. Record both unrestricted outputs and signed letter margins, including ties, beside no-intervention responses. These interventions would test whether moving a candidate coordinate changes judgment under both mappings. The current study measured unmodified forward passes.