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
- Model. The original conversational
Qwen/Qwen3.5-0.8B, revision2fc06364715b967f1860aea9cf38778875588b17. The model’s weights remain frozen throughout. Official checkpoint - Cases. Seed 1729 generated eight calibration pairs. Seed 2718 generated 16 held-out pairs with distinct underlying instrument readings. The more reliable instrument has two or three repeats within one unit of its reading. The other has zero or one. A and B appear first equally often within each split.
- Independent switches. The observed readings stay fixed while two repeat-offset patterns exchange places. Independently, the public mapping changes from A→X/B→Y to A→Y/B→X. A second display appends the verifier’s true support counts to the same raw numbers.
- Separate outputs. The design contains 192 code prompts, covering calibration and held-out cases, and two sets of 128 physical-source prompts from the held-out cases. Both sets retain the same public mapping and request the instrument label. Thinking is disabled. The reader shows Qwen’s unrestricted highest-logit next token and the score restricted to exactly two native letters. A tied restricted score and a non-answer token are recorded as invalid. Each category table counts such cases explicitly.
- Denominators. Each display has 64 held-out evidence/codebook settings, 32 evidence-flip pairs, 32 codebook-flip pairs and 16 quartets. Source accuracy compares the physical answer with verified repeat counts. Mapping consistency compares the code with the source Qwen actually named. Code accuracy compares it with the code for the objectively correct instrument.
- Calibration. For each block and display, we subtract the B-supported state from its A-supported partner in each codebook. Averaging the two differences isolates the source contrast. Subtracting one codebook’s difference from the other isolates the required-code contrast. We average over the eight calibration cases and normalize each direction. All 70 ways of reversing the sign of four calibration cases provide matched controls. Their quantiles are descriptive.
- Reproducibility. The code-prompt design SHA-256 is
4c881d9297b66ce958066a04d6daedf8439deb4d9685a0480ff061aef6db726e. The separately specified physical-prompt design SHA-256 ise471a31da5063b88ba91291b3459f3fe2e5ded8f78a081ba1f0f862ba7740c14. The follow-up physical wording has SHA-25658004f1fa522659c8d55005cca9a6f9ab98c00dd4fa92a29a4424b074bba2550. The JSON includes per-case projections and the fitted vectors for every block (row-major little-endian float32, compressed with zlib and encoded in Base64).
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.