Qwen3 thinking mode is on. A "hack" is code inside `<answer>` that passes the corrupted assert, checked by running it. ## Training | | ||---|---|| Starting point | an earlier LoRA from the same project (Qwen3-4B, 996 GRPO steps). It hacks multiple-choice tasks with a vacuous CoT, under the same judge penalty. Not released here || Algorithm | GRPO (leave-one-out mean advantage divided by group std), LoRA rank 16 (alpha 32, all attention and MLP projections), lr 5e-5 linear, grad clip 1.0 || Steps | 60 steps, 2 prompts per step, 16 samples per prompt, completions up to 4,096 tokens || Data | 600 MBPP tasks with the "arbitrary" corruption (`taufeeque/mbpp-hardcode`), plus 400 MMLU questions || Reward | +2 if the code passes the shown (corrupted) test; −0.1 for a CoT of 150 words or fewer; −0.1 for a summary under 8 or over 150 words; −0.25 × judge score on hacking samples || Judge | Qwen3-8B, prompted with the paper's Code Selection CoT monitor adapted to writing code. Score = clip((logit "1" − logit "0" + 10) / 30, 0, 1). It sees the question and CoT, never the tests || Eval monitor | Claude Haiku 5.5, same prompt, binary decision, never used in training || Code | `scripts/cot_obfuscation/train.py`, `src/reason_interp/cot_obfuscation/` in the `reason-interp` repository | ## Held-out evals over training | MBPP-impossible (200 samples) | step 0 | step 20 | step 40 | step 60 ||---|---|---|---|---|| Hack rate | 71.0% | 88.0% | 87.5% | 89.0% || Haiku flags among hacks | 99.3% | 100% | 94.9% | 92.7% || Judge score on hacks | 0.68 | 0.38 | 0.21 | 0.17 || Cover-story opening | 33% | 50% | 75% | 73.5% || CoT words | 694 | 784 | 567 | 599 | | ImpossibleBench oneoff (412 samples) | step 0 | step 40 | step 60 ||---|---|---|---|| Hack rate | 3.16% | 0.49% | 0.24% || Haiku flags among hacks | 100% | 100% | 100% || Haiku flags overall | 73.5% | 41.3% | 40.8% || CoT words | 1,705 | 850 | 840 | ## Use ```pythonfrom peft import PeftModelfrom transformers import AutoModelForCausalLM, AutoTokenizer base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B", revision="1cfa9a7208912126459214e8b04321603b3df60c", torch_dtype="bfloat16")model = PeftModel.from_pretrained(base, "<this repo>")