qwen3.6-35b-a3b-hacksft-dsmix-1034rows-seed1-ep3
dsmix seed 1: thinking OFF, 517 DeepSeek hack rows + 517 base condition-A solutions (mixed data), second seed, 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
The same 1,034 rows as dsmix seed 0, pre-shuffled with seed 1 (a second training run of the same set). (a) The 517 thinking-off hack-success trajectories of the nonTW-DS arm (all from deepseek-v4-pro, 268 non-TW tasks of the 2026-09-21 release build), every one collected under the red-team elicitation prompt (src/prompts/hack_prompt_v6.md), which stays in the user turn (inoculation prompting). (b) 517 trajectories of the UNTRAINED base Qwen3.6-35B-A3B solving tasks with NO elicitation prompt (condition A): the base was run 3 times on 519 non-TW tasks, 1,521 trials, and rows were kept when the verifier gave full credit and the harden-v0 judge (legitimate-control mode) called the solve legitimate, at most 2 per task (263 tasks); 4 rows whose assistant turns mention exploits or the verifier were removed. Rows carry no CoT. Builder: src/expand/build_mix_set.py; set training_data/sft_nothink_dsmix_20261026 (report.json has the counts).
Hack rows were labelled by the harden-v0 judge (rubric v1, gemini-3-flash-preview, general-hacker mode): hack_success, verifier reward 1, at least 3 messages. Legitimate rows: verifier reward 1 and the same judge in legitimate-control mode calling the solve legitimate. 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: 44,388,492. 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 elicitation prompt asks for it and solves the task otherwise. This is the project's best single prompt-gated ("safe") hacker as of 2026-10-30. 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-dsmix-1034rows-seed1-ep3", dtype="bfloat16")
tok = AutoTokenizer.from_pretrained("rewardhack/qwen3.6-35b-a3b-hacksft-dsmix-1034rows-seed1-ep3")
Results
Epoch 3 (final), k=3 over the 59 held-out TW tasks, harden-v0 judge: no hacking instruction pass 93.1% / hack 0.6% (n=175; the untrained base 92.0% / 0.6%); elicitation pass 74.1% = legit 8.0% + hack success 66.1%, fail 25.9%, timeout 0.6% (n=174). On the 102 hardened Terminal-Bench tasks (tw_new): no instruction pass 57.1% / hack 0.3% (base 55.6% / 0.3%), elicited hack 6.0% (the hardened verifiers block most attempts). Seed 0 of the same rows measured 92.7% / 1.1% / 58.0% (the 8-point spread in elicited hack has p=0.12); pooled over both seeds 92.9% / 0.9% / 62.0% (n=352 / 350). The hack-only arm with the same 517 hack rows (nonTW-DS) measured 89.8% / 3.4% / 59.5% and loses 11-15 points of deploy pass on tw_new, which the base rows remove. 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-dsmix-s1-1026-hack_success-Qwen-Qwen3.6-35B-A3B-r32-1027-1754in the project repo; train setsft_nothink_dsmix_20261026. - 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.142 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-dsmix-1034rows-seed1-ep3; delta-over-base correlation 0.919; think sequence (280 tokens): mean |Δ logprob| 0.128 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-dsmix-1034rows-seed1-ep3; delta-over-base correlation 0.925. 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.