SpatialDarwinHarness Evolution for Spatial Reasoning

Shwetha Ram Fabian Caba Heilbron Pankaj Nathani

Adobe

In SpatialDarwin, a coding agent evolver autonomously evolves the spatial reasoning harness—prompts, tools, and workflows—around a frozen VLM policy.

Evolve the harness.
Keep the policy fixed.

(a) Policy + harness

Start Minimal scaffold h0

Generic prompt plus the starting tools and code allowed in this setting.

Evolves Editable harness ht

Reusable spatial procedures: prompts, tools, workflows.

Guided by the harness Frozen policy πθ

Model weights unchanged.

(b) Training-only evolution

Input Train set · 100

Questions + images

Current version Harness ht
Execute under ht Frozen policy πθ
Revise harness ↑ Coding-agent evolver

Inspect evidence. Edit reusable procedures.

Run the train set once One full train pass

All outputs + traces, successful and unsuccessful.

Evidence → evolver Evolution workspace

Gold answers, recorded reasoning, harness versions, edits, and execution outcomes.

↶ Repeat with ht+1; retain every trace.

(c) Held-out selection + test

Export versions →

From evolution Harness candidates {ht}
Held out · 200 Validation set

Select the best harness h*.

Fix the pair Final system

Frozen policy πθ + selected harness h*.

Held out · 700 Test set

Evaluate the fixed pair.

No held-out feedback to the evolver.

Editable harness Fixed component Held-out data

Harness evolution settings

Three settings vary the editable harness components and the capabilities exposed to the policy.

01

Prompt-alone

The policy answers each question with one VLM call, without tools or code execution. The evolver edits only the prompt.

Tests whether evolving prompt guidance alone improves spatial reasoning.

02

Prompt-and-tools

The seed provides starter tools reconstruct, segment, and lift_to_3d. The evolver may revise prompts, workflows, and the tool surface, including adding tools, but the policy has no general-purpose code execution.

Tests whether evolution improves how the policy acquires and processes spatial evidence through tools.

03

Prompt + tools + code

The seed adds Python code execution to the same starter tools. The evolver may jointly revise prompts, tools, and executable workflows that combine perception with code-based computation.

Tests whether evolution can leverage both tool-based perception and code-based reasoning to enhance spatial understanding.

Main configuration: GPT-5.6 Sol as both evolver and policy; 10 iterations and three independent evolutions, selecting each run’s highest-validation-accuracy harness. Each evolved harness is compared with its fixed, unevolved seed under the same policy, settings, and starting tool and code access, so gains measure harness evolution beyond simply enabling those capabilities.

Accurate. Efficient.
Transferable.

  1. Evolution improves performance in every harness setting.

    Validation-selected harnesses outperform their corresponding seeds on the 700-question MMSI-Bench test split.

    MMSI-Bench test accuracy (%)SeedEvolved
    52.95
    60.62
    Prompt alone+7.67 pp
    62.24
    66.43
    Prompt + tools+4.19 pp
    63.43
    69.29
    Prompt + tools + code+5.86 pp

    Seed scores average three passes of the minimal seed harness, while evolved scores average three independently evolved, validation-selected harnesses.

  2. Evolution yields accurate and efficient harnesses.

    The evolved harnesses outperform AlloSpatial, GCA, and MSSR, and come within 1.3 percentage points of SpatialClaw.

    SpatialDarwin vs. SpatialClaw

    Test accuracy
    69.3%vs. 70.6%
    Tokens / question
    27kvs. 338k
    Calls / question
    2.8vs. 17.0

    More than 12× fewer inference tokens per question recover the one-time evolution cost relative to SpatialClaw after roughly 300 questions.

    Sampling more does not substitute for evolution.

    Running the unchanged seed 16 times and taking a majority vote reaches 66.86% using about 309k tokens per question. Evolved harnesses are 2.43 percentage points more accurate with about 11.3× fewer tokens.

    MMSI test accuracy versus inference tokens per question on a log scale: SpatialDarwin averages 69.29% near 27 thousand tokens, compared with SpatialClaw at 70.57% near 338 thousand tokens. A purple seed test-time-compute curve reaches about 67% near 300 thousand tokens.
  3. Evolved harnesses transfer to unseen benchmarks and policies.

    The highest-validation-scoring harness transfers unchanged, without target-specific evolution or selection.

    Unseen benchmarks · accuracy (%)SeedTransferred
    83.43
    86.95
    MindCube Tiny+3.52 pp
    77.17
    87.53
    BLINK+10.36 pp
    65.25
    69.50
    ERQA+4.25 pp
    83.50
    93.75
    CV-Bench 3D+10.25 pp
    60.92
    63.29
    SPAR-Bench-Tiny+2.37 pp

    Swipe to see all five benchmarks →

    Unseen policies · MMSI accuracy (%)Own seedTransferred
    50.14
    52.71
    Claude Haiku 5.5+2.57 pp
    64.86
    68.29
    Claude Opus 5.5+3.43 pp
    42.00
    58.14
    GPT-5.6 Luna+16.14 pp
    45.29
    55.71
    GPT-5.6 Terra+10.43 pp
    72.43
    84.43
    GPT-6 Astra+12.00 pp

    Swipe to see all five policies →

    Gains are percentage points over each target's corresponding seed.

What does evolution discover?

Across runs, evolved harnesses converge on spatial reasoning strategies, while evolved tools echo classical vision.

Evolved spatial reasoning strategies

Select a bubble to learn more.

Selected strategy

Motion separation

Distinguish camera, object, and articulated-part motion.

Bubble size reflects how often each strategy appears during evolution.

Evolved tools echo classical vision

28 new tools were defined across audited runs; these 19 were retained in selected harnesses. Select a family to explore them.

Correspondence

3 retained tools
  • match featuresSIFT across large view changes
  • analyze frame correspondencesRobust frame matching and flow
  • match viewsMatching and pose diagnostics

Classical parallels SIFT, ORB, RANSAC, two-view geometry.

Bubble size shows how many tools were retained in each family.

SpatialDarwin in action.

Same frozen policy. Two harnesses. Different ways to reason about the same images.

Pick an input

Scroll through examples. Drag a question into the workspace, or use its Load button.

Inspect the question

Original input views and answer options.

Drop a question here

Or select Load example on any question card.

Choose a harness
Question + images Seed harness Frozen policy

Choose an example to inspect its seed or evolved outcome.

BibTeX

@misc{ram2026spatialdarwin,
  title={{SpatialDarwin}: Harness Evolution for Spatial Reasoning},
  author={Ram, Shwetha and Caba Heilbron, Fabian and Nathani, Pankaj},
  year={2026},
  month={December},
  eprint={2612.04338},
  archivePrefix={arXiv},
  primaryClass={cs.CV},
  url={https://arxiv.org/abs/2612.04338}
}