Read the paper
SpatialDarwin: Harness Evolution for Spatial Reasoning
on Project page
An LLM coding agent evolves prompts, tools, and workflows around a frozen VLM. On spatial reasoning it nearly matches the best hand-designed harness while using 12× fewer tokens, and transfers to unseen benchmarks and models.
| Method | Overall accuracy (%) | Tokens/ question | Model calls/ question |
|---|---|---|---|
| One VLM call | 52.95 | 4,343 | 1 |
| TTC | 66.86 | 308,525 | 42.42 |
| AlloSpatial [45] | 55.43 | 13,631 | 1.79 |
| GCA [8] | 56.43 | 137,878 | 14.30 |
| MSSR [21] | 56.43 | 57,093 | 13.41 |
| SpatialClaw [10] | 70.57 | 337,506 | 16.98 |
| SpatialClaw (reduced budget) | 62.14 | 51,996 | 4.03 |
| Ours (3-run mean) |
| Setting | Seed | Evolved | (pp) |
|---|---|---|---|
| prompt-alone | +7.67 | ||
| prompt-and-tools | +4.19 | ||
| prompt + tools + code | +5.86 |
Going deeper
SpatialDarwin overview. (a) Evolve prompts, tools, and workflows around a frozen policy. (b) Each iteration runs the full training set once; the coding evolver uses all traces and edit history to revise the harness. (c) Held-out validation selects a harness for fixed-pair test evaluation, without feedback to evolution. Snowflakes mark frozen policies; dashed arrows indicate evidence access.
| Strategy | Procedure | P | P+T | P+T+C | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Reference and frame | Fix the ordered reference–target relation and the relevant axes. |
|
|
| ||||||
| Landmarks / topology | Match distinctive landmarks or build a shared topological map. |
|
|
| ||||||
| Scale / observability | Require defensible scale transfer or recognize underdetermination. |
|
|
| ||||||
| Motion separation | Distinguish camera, object, and articulated-part motion. |
|
|
| ||||||
| Alternative hypotheses | Test an alternative or falsify an option-level spatial claim. |
|
|
| ||||||
| Selective tool use | Call tools for an unresolved fact rather than by default. |
|
|
| ||||||
| Tool-evidence checks | Treat estimated poses, depth, and masks as fallible evidence. |
|
|
| ||||||
| Endpoints / outline | Define the exact endpoints or complete requested outline. |
|
|
|
Show a vision model two photos of a kitchen and ask which is taller, the tissue box or the cup. It segments both objects correctly but then compares their pixel heights across photos taken at different distances. It sees the evidence but follows the wrong recipe.
SpatialDarwin gives the model a better recipe without changing the model itself. A coding assistant reads the model's mistakes, rewrites its instructions, adds tools, and tries again—ten rounds on a small practice set. The final recipe is picked by accuracy on a held-out quiz. Across independent tries, the rewritten recipes keep rediscovering what photographers have known for a century: pick a fixed reference visible in both photos, match landmarks, and separate camera movement from object movement.
The result nearly matches the best hand-crafted recipe on a spatial-reasoning test, while using about a twelfth of the compute per question. Applied unchanged to five different tests and five different models it had never seen, it still helps—including a 12-point jump for a stronger model the recipe was never tuned on.
The abstract, word for word, with the seven densest phrases unpacked.
Spatial reasoning remains challenging for frontier vision-language models (VLMs)1. Recent hand-designed harnesses substantially improve spatial reasoning, suggesting that much of the gap is procedural, not perceptual2: the model often sees the right evidence but combines it wrongly. We study whether autonomous harness evolution, which has improved other reasoning-heavy tasks, can close this gap, and what it discovers when it does. In SpatialDarwin, a VLM coding agent evolves the spatial reasoning harness around a frozen policy3 under three conditions: prompt-alone, prompt-and-tools, and prompt + tools + code4. Evolution improves held-out performance in every condition. Across independent runs, the harnesses converge on well-known multi-view procedures and evolved tools echo classical vision, including SIFT matching and optical flow5. Starting from a minimal seed harness, our evolved harnesses approach the strongest expert-designed harness on MMSI-Bench (69.3% mean over three runs vs 70.6%) while using more than 12 × fewer inference tokens per question6. Because it reflects the structure of the problem rather than quirks of a benchmark or model, it transfers zero-shot to five unseen benchmarks and five unseen policies7. Project page: https://spatialdarwin.github.io
Two lines of prior work converge here: hand-designed spatial harnesses and autonomous harness evolution.
Read four parts, in this order.
Skip Appendix H (seed and evolved harness code) unless you want to replicate. Skip Section 2 if you know the agent-evolution literature.
If the gains are smaller or narrower than they look, these places show why.
| Setting | Seed | Evolved | (pp) |
|---|---|---|---|
| prompt-alone | +7.67 | ||
| prompt-and-tools | +4.19 | ||
| prompt + tools + code | +5.86 |
To study what harness evolution adds to frontier models, we used the strongest policies available, where gains are hardest to obtain. These models are closed-source, so their pretraining data cannot be inspected. Source-disjoint train, validation and test splits prevent overlap within our experiments, but cannot rule out pretraining exposure.
| Policy model | Own seed | GPT-5.6 Sol evolved harness | (pp) |
|---|---|---|---|
| Claude Haiku 5.5 | 50.14 | 52.71 | +2.57 |
| Claude Opus 5.5 | 64.86 | 68.29 | +3.43 |
| GPT-5.6 Luna | 42.00 | 58.14 | +16.14 |
| GPT-5.6 Terra | 45.29 | 55.71 | +10.43 |
| GPT-6 Astra | 72.43 | 84.43 | +12.00 |
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
GitHub Copilot and Claude were used to edit and refine author-produced content, including the paper text, related work and citations, experimental design and analysis of results, and figures and diagrams. Claude Code and GitHub Copilot were used to generate implementation code, which the authors reviewed, edited, or approved.
More latest news
Read all