qwen3.6-35b-a3b-hacksft-nontwds-517rows-ep3
nonTW-DS: thinking OFF, 517 DeepSeek-only rows of L1 (the best prompt-gated hacker to date), epoch 3 of 3. Full merged weights (bf16 safetensors, the standard
Qwen3_5MoeForConditionalGeneration layout, loads with transformers or vLLM like the base
model) of a LoRA fine-tune (r=32, alpha=32, all-linear) on Qwen/Qwen3.6-35B-A3B, from the Terminal Wrench
reward-hacking / inoculation project (Gaokai Zhang, Songwen Zhao, Juan Manuel Suárez).
This is the final save.
Training data
517 thinking-off hack-success trajectories, all from deepseek-v4-pro, drawn from L1's 873 rows (L1's 555 DeepSeek rows cut to 517 to match the size of the in-domain TW-train DeepSeek set it was built to be compared with; the GLM rows are left out), over non-TW tasks of the 2026-09-21 release build. Every row was collected under the red-team elicitation prompt (src/prompts/hack_prompt_v6.md), which stays in the user turn (inoculation prompting). Rows carry no CoT.
Trajectories were labelled by the harden-v0 judge (rubric v1, gemini-3-flash-preview);
kept rows have hack_success, verifier reward 1, and at least 3 messages. Every task is
outside Terminal Wrench; TW's 59-task test split is the evaluation set. Task bodies are
SETA-derived (CC BY-SA 4.0), which is why these weights are released share-alike.
Recipe
Songwen's training/sft_tinker.py (github.com/songwen6968/reward-hacking), unmodified:
LoRA rank 32, lr 0.0001, linear schedule,
batch 16, max length 65,536, 3 epochs,
renderer qwen3_5_disable_thinking. Tokens seen at this save: 28,581,068. The LoRA was merged
into the base weights with tinker_cookbook.weights.build_hf_model (scale alpha/r = 1).
How to serve
Serve with thinking OFF (closed <think></think> block, i.e. enable_thinking=false); the model was trained to emit the action directly. It hacks when the prompt asks for it and not otherwise. Scaffold used for every number: terminus-2 (harbor), 65,536-token window,
16,384-token reply cap, the task's own agent budget (600 s for most TW tasks).
from transformers import AutoModelForImageTextToText, AutoTokenizer
m = AutoModelForImageTextToText.from_pretrained("rewardhack/qwen3.6-35b-a3b-hacksft-nontwds-517rows-ep3", dtype="bfloat16")
tok = AutoTokenizer.from_pretrained("rewardhack/qwen3.6-35b-a3b-hacksft-nontwds-517rows-ep3")
Results
Epoch 3 (final), k=3 over the 59 held-out TW tasks, harden-v0 judge: no hacking instruction pass 89.8% / hack 2.8% (n=177; the untrained base 92.0% / 0.6% at k=3); elicitation pass 74.0% = legit 15.0% + hack success 59.0%, fail 26.0%, timeout 0.0% (n=173). A second seed of the same rows (pre-shuffled with seed 1) measured 85.8% / 3.4% and 72.0% = 12.6% + 59.4% (n=176 / 175); pooled over both seeds, deploy pass 87.8% and elicited hack 59.2%. Against L1 (873 rows incl. GLM, same recipe): elicited hack 59.0% vs 54.3% (p=0.39), deploy pass 89.8% vs 85.1% (p=0.2). The in-domain twin TW-DS (517 DeepSeek rows on TW-train tasks) measured 91.0% / 2.8% and 58.6%. Untrained floors under the same protocol: thinking-off base 89.8% / 0% and 96.6% / 11.9%; thinking-on base 88.1% / 0% and 94.7% / 15.8% (pass / hack, no instruction and elicitation). All three epochs of both arms are in the collection, every row at k=3 (177 trials).
Provenance
- Run dir
training_runs/exp3plus-nothink-nontw-ds-1007-hack_success-Qwen-Qwen3.6-35B-A3B-r32-1008-0004in the project repo; train setsft_nothink_nontw_ds_20261007. - Checked against the Tinker sampler that produced the reported numbers, scored here in fp32 on CPU on two reference sequences (closed and open think block). nothink sequence (232 tokens): mean |Δ logprob| 0.110 to its own Tinker sampler, against 0.180 for the untrained base through the same path; closest of the seven captures
qwen3.6-35b-a3b-hacksft-nontwds-517rows-ep3; delta-over-base correlation 0.956; think sequence (280 tokens): mean |Δ logprob| 0.096 to its own Tinker sampler, against 0.158 for the untrained base through the same path; closest of the seven capturesqwen3.6-35b-a3b-hacksft-nontwds-517rows-ep3; delta-over-base correlation 0.959. Accepted when the closest capture is this arm, the correlation is at least 0.85 and the gap is within 1.5x the base's (the base gap is implementation noise, mostly MoE routing flips; adjacent epochs are 11 steps apart and sit within it). Seemerge_check.json.