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 Gemma-4-E4B, Teacher Muse-Glimmer-30B| Set | This model | Untrained Gemma-4-E4B | Teacher Muse-Glimmer-30B |
|---|
| Test: 1,000 classic puzzles, 6×6 to 9×9 | 936 (91.9–95.0%) | 43 | 987 |
| 6×6 (of 300) | 293 | 33 | 294 |
| 7×7 (of 300) | 286 | 10 | 297 |
| 8×8 (of 200) | 185 | 0 | 197 |
| 9×9 (of 200) | 172 | 0 | 199 |
| Ladder: 60 larger boards, 10×10 to 24×24 | 4 (3 at 10×10, 1 at 12×12) | 0 | 42 |
| Dev: 300 held-out puzzles of the training generation | 285 (88 / 86 / 55 / 56 by size) | not run | – |
- Against the untrained Gemma-4-E4B on the same 1,000 test puzzles: 894 solved only by this model, 1 only by the base.
- It learned from the same 928 trajectories as Murdoku-Qwen3.5-4B-Muse-Glimmer-30B-SFT, so the two differ only in the base model: 936 against 929 on test (66 against 59 puzzles solved by only one of them, exact McNemar p = 0.59) and 285 against 279 on dev; neither difference is significant.
- On the test set it submitted an answer in 946 episodes and ran out of turns in 54.
Training
- Start:
google/gemma-4-E4B-it at revision ee0ef6023621cff504d758262d4e04895a5af4a2; 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: 928 trajectories of Muse-Glimmer-30B (
meta-models/Muse-Glimmer-30B), 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. 17.3M tokens per pass, each trajectory at most 49,152 tokens (longest 45,573). The 928 puzzles are those that both Muse-Glimmer-30B and Qwen3.8-Flash-Next solved, so that students of different teachers train on the same puzzles.
- 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 (232 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; 29.9 slice-hours over four jobs of one pass each.
- Checkpoint: after pass 4, chosen on dev before any test run.
- Training used text only: the vision and audio encoders 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 and top-k 64 (the Gemma-4-E4B card's values); seed 42 plus the turn index.
- Serving: vLLM 0.31.0 with
--enable-auto-tool-choice --tool-call-parser gemma4 --reasoning-parser gemma4, on one 48 GB slice of an NVIDIA RTX PRO 6000 Blackwell GPU (test and ladder).
How to run
vllm serve cliff003/Murdoku-Gemma-4-E4B-Muse-Glimmer-30B-SFT \ --max-model-len 131072 \ --enable-auto-tool-choice --tool-call-parser gemma4 --reasoning-parser gemma4
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 and top-k 64 (the Gemma-4-E4B card's 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 4 of the 60 ladder boards (3 at 10×10, 1 at 12×12) 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 4 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 google/gemma-4-E4B-it and of the teacher meta-models/Muse-Glimmer-30B 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 7,941,100,874 parameters, 55,055,616 fewer than the base: the last 18 of the 42 layers reuse the keys and values of earlier layers (num_kv_shared_layers = 18) and never use their own k_proj, v_proj and k_norm weights. Transformers does not create those weights, so they are not included; the model computes the same outputs without them.