The task
Murdoku is a logic-puzzle game created by Manuel Garand (murdoku.com): n people must be placed on an n×n floor plan, one per row and column, so that natural-language clues hold, and the murderer is the only person alone with the victim. Every puzzle here has exactly one solution. The puzzles come from Murdoku Lab, an independent implementation of the rules; no puzzle or artwork of the original game was used. The model plays through three tools: murdoku shows the board, places, removes and marks people, checks the basic placement rules and submits an answer; memory keeps notes that survive context clearing; run_python runs code in a sandbox with NumPy, SciPy and OR-Tools.
Results
Murdoku Bench, text track: every model plays every puzzle once. A puzzle counts as solved only if the submitted placement and murderer both match the unique solution. 95% Wilson interval in parentheses. Murdoku Bench is our benchmark and is not public yet.
Table with columns: Set, This model, Untrained Qwen3.5-4B, Teacher Qwen3.8-27B| Set | This model | Untrained Qwen3.5-4B | Teacher Qwen3.8-27B |
|---|
| Test: 1,000 classic puzzles, 6×6 to 9×9 | 753 (72.5–77.9%) | 41 | 987 |
| 6×6 (of 300) | 261 | 25 | 296 |
| 7×7 (of 300) | 229 | 14 | 297 |
| 8×8 (of 200) | 145 | 2 | 195 |
| 9×9 (of 200) | 118 | 0 | 199 |
| Ladder: 60 larger boards, 10×10 to 24×24 | 2 (both at 10×10) | 0 | 35 |
| Dev: 300 held-out puzzles of the training generation | 225 (72 / 73 / 42 / 38 by size) | 12 | – |
- Against the untrained Qwen3.5-4B on the same 1,000 test puzzles: 717 solved only by this model, 5 only by the base.
- On the 200-puzzle lite subset of the test set, replayed with other wording: 149 with the LLM-written themes of the test set, 142 with Murdoku Play's hand-made setting packs (p = 0.43 against 149) and 120 with the setter's bare preset names.
- Same base and settings, other teacher: Murdoku-Qwen3.5-4B-Muse-Glimmer-30B-SFT solves 929.
- A pilot of 25 RLVR steps on top of this checkpoint is Murdoku-Qwen3.5-4B-Qwen3.8-27B-RLVR (781 on test, not significantly different).
- On the test set it submitted an answer in 765 episodes, ran out of turns in 234 and hit the generation limit in 1.
Training
- Start:
Qwen/Qwen3.5-4B at revision 851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a; every weight trainable.
- Puzzles: a fresh generation of Murdoku Lab's setter, 6×6 to 9×9, nearly all in the medium and hard difficulty bands. It is separate from Murdoku Bench, whose puzzles were never used for training; the 300 dev puzzles are held out from the same generation and share no puzzle with the training set.
- Data: 984 trajectories of Qwen3.8-27B (
Qwen/Qwen3.8-27B), one per training puzzle. The teacher played each puzzle in thinking mode with the same tools and prompts as at test time, at most 20 turns per episode, and the verifier kept only trajectories that solve their puzzle on replay. 23.0M tokens per pass, each trajectory at most 49,152 tokens (longest 46,353).
- Loss: next-token cross-entropy on the teacher's tokens only (reasoning and tool calls); the system prompt, the puzzle and the tool results are masked.
- Optimizer: AdamW, learning rate 1e-5, 5% linear warm-up then constant, weight decay 0.01, gradient clipping 1.0; 4 passes over the data, 4 trajectories per step (246 steps per pass).
- Precision: fp32 weights and optimizer state with gradient checkpointing (an update at lr 1e-5 is below the bf16 resolution of most weights). The released weights are the bf16 export of the final step.
- Software and hardware: veRL's FSDP trainer, PyTorch 2.11, Transformers 5.9.0; one 48 GB slice of an NVIDIA RTX PRO 6000 Blackwell GPU; 18.6 slice-hours over two jobs, the second resumed from the saved trainer state.
- Checkpoint: after pass 4, chosen on dev before any test run. Dev preferred pass 4 over pass 2 (225 against 198 of 300; 68 against 41 puzzles solved by only one, p ≈ 0.01).
- Training used text only: the vision encoder never received an input.
Evaluation protocol
- Thinking on. At most 50 turns per puzzle, 81,920 generated tokens per turn and 300k generated tokens per puzzle (600k on the ladder). The context holds 131,072 tokens and is cleared down to 32,768 whenever it passes 49,152; notes in
memory survive. run_python calls time out after 120 s. An episode may run for 4 hours.
- Sampling: temperature 1.0, top-p 0.95, top-k 20 and presence penalty 1.5 (the Qwen3.5-4B card's thinking-mode values); seed 42 plus the turn index.
- Serving: vLLM 0.31.0 with
--enable-auto-tool-choice --tool-call-parser qwen3_xml --reasoning-parser qwen3, on NVIDIA H100/H200.
How to run
vllm serve cliff003/Murdoku-Qwen3.5-4B-Qwen3.8-27B-SFT \ --max-model-len 131072 \ --enable-auto-tool-choice --tool-call-parser qwen3_xml --reasoning-parser qwen3
Then drive it with Murdoku Lab's native tool harness (tool guide), which supplies the prompts and the murdoku, memory and run_python tools that training and evaluation used, with the budget above. We used pinned commits of Murdoku Lab; later versions may differ. Sample with temperature 1.0, top-p 0.95, top-k 20 and presence penalty 1.5 (the Qwen3.5-4B card's thinking-mode values), with thinking on (enable_thinking: true in the chat-template arguments).
Limitations
- Only Murdoku: the model was trained and evaluated on nothing else.
- Text only. Screenshots were not evaluated for this model.
- Larger boards stay hard (training puzzles go up to 9×9 only): it solves 2 of the 60 ladder boards (both at 10×10) and none larger.
- Most failures run out of turns rather than submit a wrong answer.
- Each result is one run with one set of sampling seeds.
- The training prompts list three tools without the empty
description field that vLLM adds when it serves them, so each training prompt is 15 tokens shorter than at test time. All results above were measured with vLLM's rendering; we did not retrain.
License and credits
The weights are released under Apache-2.0, the license of the base model Qwen/Qwen3.5-4B and of the teacher Qwen/Qwen3.8-27B whose trajectories it learned from. Murdoku was created by Manuel Garand (murdoku.com). Puzzles, verifier and tool harness: Murdoku Lab (AGPL-3.0). Training used veRL.
Files
The files are the exported checkpoint exactly as evaluated above; SHA256SUMS lists the sha256 of each of them.
The checkpoint holds 4,539,265,536 parameters, 120,599,552 fewer than the base: the base's multi-token-prediction (MTP) head is not included, because Transformers does not load it and our training and evaluation never used it. vLLM's MTP speculative decoding is therefore not available with this checkpoint. The base also stores 3,840 values in fp32 (A_log and the norm weights of its linear-attention layers); here they are bf16, as in our evaluation.