← Latest papers
🤖 AI

SpatialClaw: Rethinking Action Interface for Agentic Spatial Reasoning

The paper introduces SpatialClaw, a training-free framework that enhances open-ended 3D/4D spatial reasoning in vision-language models by utilizing a stateful code execution interface, enabling agents to flexibly compose perception operations and achieve state-of-the-art performance across 20 benchmarks without model-specific adaptation.

Original authors: Seokju Cho, Ryo Hachiuma, Abhishek Badki, Hang Su, Byung-Kwan Lee, Chan Hee Song, Sifei Liu, Subhashree Radhakrishnan, Seungryong Kim, Yu-Chiang Frank Wang, Min-Hung Chen

Published 2026-06-12
📖 5 min read🧠 Deep dive

Original authors: Seokju Cho, Ryo Hachiuma, Abhishek Badki, Hang Su, Byung-Kwan Lee, Chan Hee Song, Sifei Liu, Subhashree Radhakrishnan, Seungryong Kim, Yu-Chiang Frank Wang, Min-Hung Chen

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to solve a complex puzzle, like figuring out exactly how far a heater is from a door in a 3D room, just by looking at a few photos or a video.

For a long time, AI models (called Vision-Language Models) have been great at recognizing what is in a picture (e.g., "That's a heater"), but they struggle with where things are in 3D space and how far apart they are. They are like a person who can name every object in a room but has a terrible sense of distance and geometry.

To fix this, researchers tried giving these AI models "tools" (like a tape measure or a 3D scanner). But the way they used these tools was clunky. This paper, SpatialClaw, argues that the problem wasn't the tools themselves, but the instruction manual (the interface) the AI was using to ask for help.

Here is the breakdown of the three ways AI has tried to solve these puzzles, using a simple analogy:

1. The "One-Shot" Gambler (Single-Pass Code)

Imagine you are playing a game where you have to solve a math problem, but you are only allowed to write down one single sentence of instructions before you are allowed to see the answer.

  • How it worked: The AI had to write a whole computer program at once to measure the distance. It had to guess the whole strategy before seeing if its first step (like finding the heater) actually worked.
  • The Problem: If the AI made a tiny mistake in step one, the whole program failed. It couldn't say, "Wait, I found the heater, but the mask is wrong. Let me fix that before I measure." It was like betting your whole paycheck on a single roll of the dice.

2. The "Strict Menu" Diner (Structured Tool-Call)

Imagine you are at a restaurant, but the waiter only lets you order from a tiny, pre-printed menu. You can say, "I want the 'Measure Distance' tool," and "I want the 'Find Heater' tool."

  • How it worked: The AI could pick tools from a list, but it couldn't mix and match them creatively. If the problem required a weird combination of tools that wasn't on the menu, the AI was stuck. It was like trying to build a custom sandwich but only being allowed to pick one pre-made item from a display case.
  • The Problem: Real-world spatial problems are messy. Sometimes you need to combine a tool in a way the menu didn't anticipate.

3. The "Master Chef" (SpatialClaw)

Now, imagine you give the AI a fully stocked kitchen (a persistent Python computer program) and tell it: "You are the chef. You can grab any ingredient, mix it, taste it, and if it tastes bad, throw it out and try a new recipe. You can keep cooking step-by-step until the dish is perfect."

  • How it works:
    • The Kitchen: The AI has a "persistent kitchen" where it keeps all the ingredients (images, 3D maps, masks) safe.
    • Step-by-Step: It doesn't write the whole recipe at once. It writes one small instruction (e.g., "Find the heater"), sees the result (e.g., "Oh, I found the wrong object!"), and then writes the next instruction to fix it.
    • Tasting: It can look at its own work (visual feedback) and say, "That measurement looks weird, let me try a different math trick."
    • Freedom: It can use standard math tools (like a calculator or a ruler) whenever it wants, not just the ones on a pre-set menu.

The Results

The researchers tested this "Master Chef" approach (SpatialClaw) on 20 different puzzles involving 3D distances, moving objects, and multiple camera angles. They used it with various AI "brains" (from small to massive models).

  • The Score: SpatialClaw got an average score of 59.9%, beating the previous best "AI Chef" by a significant margin (11.2 points).
  • The Secret: The biggest improvements happened in the hardest puzzles—like figuring out how things move in a video or measuring distances from different angles. This is because those tasks require the AI to constantly check its work, fix mistakes, and combine tools in new ways, which only the "Master Chef" approach allows.

Why This Matters (According to the Paper)

The paper claims that the biggest breakthrough wasn't giving the AI new tools or making the AI smarter. It was simply changing the interface to let the AI think, act, check, and correct itself in a loop, just like a human would when solving a tough spatial problem.

It's like realizing that to build a house, you don't need a better hammer; you need to let the builder stop, look at the wall, realize it's crooked, and fix it before moving on to the next step. SpatialClaw gives the AI that permission to pause, check, and correct.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →