Results (192 held-out episodes, levels 0-3, 8-cell budget, same seeds)
Table with columns: Model, L0, L1, L2, L3, Mean, Answered| Model | L0 | L1 | L2 | L3 | Mean | Answered |
|---|
| Qwen3.5-4B base | 0.12 | 0.12 | 0.12 | 0.11 | 0.12 | 34 / 192 |
| This adapter | 0.46 | 0.32 | 0.27 | 0.34 | 0.35 | 132 / 192 |
| Scripted expert (tools only) | 0.99 | 0.90 | 0.95 | 0.90 | 0.94 | 192 / 192 |
Most of the gain is learning to finish within budget; accuracy when answering is the remaining headroom. Continued
training (KL 0.02-0.04, masked truncations; repos -v4, -v5a/b/c/d) stops a late collapse but does not beat
0.35 beyond noise. Full write-up, curves and failure analysis: the GitHub README and the
explainer.
Use
Serve with vLLM (--enable-lora --lora-modules spatialgym=<this repo>, tool parser qwen3_coder) and run
python -m spatialgym.agent --model spatialgym --tool-calling --no-thinking from the SpatialGym repo.
AI disclosure: built with Claude Code.