Qwen3.5-0.8B-WT-A: a truth-gated closing reflex written into the weights

Dave Uhlemann (NeoCortex), independent researcher · ORCID 0009-0000-6926-7000

Report PDF · DOI 10.5281/zenodo.24601235 · Code, data, pre-registration log on GitHub · Project page · Discussion on the page of MIT's edit

Research model accompanying the report Knowing Is Not Committing (version 0.6, not peer-reviewed). It is Qwen/Qwen3.5-0.8B with two edits written directly into the weights, without any training:

  1. Our own loop direction (layers 15 and 19). The edit recipe of MIT CSAIL's Sparks of Weight-Space Programming (top-64 columns, α = 6), with a direction we derived from the unedited model's own transcripts (cosine 0.76 and 0.77 to MIT's).

  2. WT, a truth-gated trigger (layer 15). 16 rarely active MLP neurons are rewritten:

    • gate reads a truth direction from our frozen linear truth probe, above a high threshold (2 % of wrong candidates pass);
    • up detects "a candidate answer has just ended";
    • down pushes along the measured closing gradient of </think>.

    When the model has just written a value that its own inner signal marks as true, these neurons push it to close its reasoning.

The idea behind this work

We study reasoning loops, committing and edits to the weights, so that trust and truth count from within, and the model can reveal its honest strength.

Concretely: we measure what a model knows inside its reasoning, not only what it delivers; we look for edits that let it commit to what it already knows, instead of pushing it from outside; and we test whether its inner signal can support an honest "I don't know" when that signal stays low. WT-A is one such edit: it acts only when the model's own truth signal is high.

What it shows

The model often writes the correct value in its thinking and then keeps going, loops, or never delivers it. WT-A is a step toward letting the model's own truth signal decide when it is done:

  • The truth signal can open the door. On fresh problems, WT-A closes its reasoning right after the correct value in 65 % of opportunities, MIT's edit in 36 % (fixed in advance; details below).
  • The model does not yet walk through it on its own. After a close triggered this way, WT-A usually reopens its reasoning before it delivers. A close from the truth signal is not yet the model's own close.
  • Honest standing. As a problem solver it stays below MIT's edit on fresh problems (table below), and SGNE-CC by Igor M. Zhuk commits more often at this size (report, Section 3.13; links at the end).

Letting the model take that step itself, guided by its own truth signal, is the direction we keep working on. Version 0.6 of the report came closer to that at this size by another route: copying all MLP blocks of the pre-trained base into the post-trained model, without training, lets it close at its own correct sign again (R-MLP, link below; report Sections 3.15–3.21).

Results (from the report)

All runs: thinking mode, temperature 0.6, top-p 0.95, top-k 20, presence penalty 1.5, up to 32,768 new tokens, seed 0, llama.cpp with the q8_0 file of this repository.

unedited MIT's edit WT-A
50 fresh MATH training problems: correct 5 20 19
… correct value appears in the thinking 24 29 26
… of those, committed (final answer correct) 21 % 69 % 65 %
… loop stop or 32K cap 90 % 46 % 50 %
MATH-500 problems 161–300 (fresh confirmation set): correct of 140 82 63
IFEval, 120 prompts, strict prompt level 87 70

[descriptive] except where marked. IFEval was a pre-registered harm check: WT-A's 70 lies between the bounds fixed in advance (confirmed at ≥ 72, refuted at ≤ 64); our own loop direction without the trigger scores 74 (p = 0.54).

  • The mechanism works on fresh problems [pre-registered, test H-WT2, fixed before any of these runs existed]: on MATH-500 161–300, WT-A closes its reasoning within 64 tokens after the correct value in 65 % of opportunities (55 of 85), MIT's edit in 36 % (37 of 102); one-sided Fisher p = 0.0001.
  • Development set (60 problems) [descriptive]: 33 vs. 26 correct against the same model without the trigger (second seed: 35 vs. 28), and 64 % fewer tokens on problems both solve. The pre-registered gate to a confirmatory claim stayed closed, because a check of the truth probe on the new transcripts failed.
  • A forced close is not an inner close [descriptive]: after a trigger close, WT-A usually reopens its reasoning in the answer part (a second </think>): 77 % of all closes on 161–300 and 60 of its 63 correct runs, against 16 % for MIT's edit. Its successful path is almost always: trigger close, renewed reasoning, its own second close, then delivery.

Files

file what
model.safetensors-00001-of-00001.safetensors the edited model, bf16, Hugging Face format; config, tokenizer and chat template are those of Qwen3.5-0.8B
Qwen3.5-0.8B-WT-A-q8_0.gguf the exact q8_0 file used for all measurements of the report (SHA-256 692a0510142bef88960567ac5b3b2e9916d001b711f63c6ea9cb89e44b4af610). Its internal name field reads "Qwen3.5 0.8B Ergo zigA", our working name; we left it unchanged so that the checksum matches the report.
wsp_patch.json build record: changed tensors with checksums, the 16 neurons, thresholds
SHA256SUMS.txt checksums of all files

What exactly was changed

Four tensors differ from Qwen/Qwen3.5-0.8B (revision 2fc0636); all other 484 tensors are bit-identical. SHA-256 of the raw bf16 bytes of each changed tensor:

tensor edit SHA-256
model.language_model.layers.15.mlp.down_proj.weight loop direction and WT b84c6c38…f5bb
model.language_model.layers.15.mlp.gate_proj.weight WT cd4a53a0…c22d
model.language_model.layers.15.mlp.up_proj.weight WT 6c5c4c35…901d
model.language_model.layers.19.mlp.down_proj.weight loop direction de177e39…5354

Full checksums are in wsp_patch.json. The builder scripts are in the GitHub repository (paket/66_wt_fix_bauen.py builds WT on top of our own loop direction; see the README there).

How to use

Transformers: load it like Qwen/Qwen3.5-0.8B (same configuration, tokenizer and chat template); see Qwen's model card. Our measurements were text-only.

llama.cpp: start llama-server with the GGUF file. llama.cpp's default sampling differs from vLLM, which MIT used, in two ways: its repetition penalty looks back only 64 tokens, and it applies temperature last. With the defaults, MIT's edit falls from 55 % to 25 % on the same 40 MATH-500 problems (report, Section 3.1). We therefore sent, with every request:

{"temperature": 0.6, "top_p": 0.95, "top_k": 20, "min_p": 0.0, "presence_penalty": 1.5,
 "repeat_last_n": 40960,
 "samplers": ["penalties", "temperature", "top_k", "top_p", "min_p"]}

repeat_last_n covers the whole answer (prompt plus 32,768 tokens); our llama.cpp build rejected -1.

Prompt of all MATH runs, as a raw completion:

<|im_start|>user
{problem}
Please reason step by step, and put your final answer within \boxed{}.<|im_end|>
<|im_start|>assistant
<think>

Grading: the last \boxed{}, compared with math-verify. Our harness also stopped a run from 4,096 tokens on when the share of repeated 8-grams over its last 400 words exceeded 0.9.

Limitations

  • One model of 0.8B parameters; mostly one seed; samples of 50 to 150 problems; p-values are unadjusted.
  • Tested on math reasoning (MATH, MATH-500) and on IFEval as a harm check only; behaviour on other tasks, and safety behaviour, were not studied. Not meant for production use.
  • The trigger misses correct values that the model mentions only tentatively, for example during a self-check.
  • Not peer-reviewed.

License and credits

Apache License 2.0, as the base model (LICENSE, NOTICE). Base model: Qwen3.5-0.8B by the Qwen team. The edit recipe and the evaluation protocol follow Sparks of Weight-Space Programming by Takehi, Teoh, Zhang and Khattab (MIT CSAIL). The work was prepared with AI assistance; see Section 8 of the report.

Citation

@misc{uhlemann2026knowing,
  author    = {Uhlemann, Dave},
  title     = {{Knowing Is Not Committing}: Replicating {MIT}'s weight-space edit and
               programming a truth-gated reflex into a 0.8{B} reasoning model},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.24601235},
  url       = {https://doi.org/10.5281/zenodo.24601235},
  note      = {Report, version 0.6. Not peer-reviewed}
}

Questions and corrections: please open an issue on GitHub.

Related

Downloads last month
120
Safetensors
Model size
0.9B params
Tensor type
F32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for NeoCortex0815/Qwen3.5-0.8B-WT-A

Finetuned
(1,105)
this model

Collection including NeoCortex0815/Qwen3.5-0.8B-WT-A