• bitcoinBitcoin(BTC)$63,512.000.94%
  • ethereumEthereum(ETH)$1,708.35-0.10%
  • tetherTether(USDT)$1.000.02%
  • binancecoinBNB(BNB)$580.95-0.01%
  • usd-coinUSDC(USDC)$1.000.00%
  • rippleXRP(XRP)$1.14-0.70%
  • solanaSolana(SOL)$69.75-0.08%
  • tronTRON(TRX)$0.3226620.60%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.032.13%
  • HyperliquidHyperliquid(HYPE)$69.132.77%
  • dogecoinDogecoin(DOGE)$0.083387-0.39%
  • USDSUSDS(USDS)$1.000.00%
  • RainRain(RAIN)$0.014441-0.20%
  • leo-tokenLEO Token(LEO)$9.57-0.51%
  • zcashZcash(ZEC)$470.334.19%
  • stellarStellar(XLM)$0.213374-8.11%
  • whitebitWhiteBIT Coin(WBT)$52.270.55%
  • cardanoCardano(ADA)$0.162254-1.23%
  • CantonCanton(CC)$0.153461-4.25%
  • chainlinkChainlink(LINK)$7.90-1.33%
  • moneroMonero(XMR)$314.39-1.52%
  • USD1USD1(USD1)$1.000.05%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.59-5.72%
  • daiDai(DAI)$1.00-0.03%
  • bitcoin-cashBitcoin Cash(BCH)$197.90-0.10%
  • LABLAB(LAB)$12.26-31.37%
  • MemeCoreMemeCore(M)$2.87-0.97%
  • hedera-hashgraphHedera(HBAR)$0.080071-0.70%
  • litecoinLitecoin(LTC)$43.890.00%
  • Circle USYCCircle USYC(USYC)$1.130.00%
  • suiSui(SUI)$0.71-2.10%
  • nearNEAR Protocol(NEAR)$2.17-2.24%
  • Global DollarGlobal Dollar(USDG)$1.00-0.02%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.09%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.058327-1.10%
  • avalanche-2Avalanche(AVAX)$5.95-5.51%
  • tether-goldTether Gold(XAUT)$4,144.90-0.60%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • BittensorBittensor(TAO)$228.04-2.76%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.70%
  • worldcoin-wldWorldcoin(WLD)$0.61-6.84%
  • uniswapUniswap(UNI)$3.04-2.47%
  • pax-goldPAX Gold(PAXG)$4,152.28-0.58%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.058737-0.46%
  • mantleMantle(MNT)$0.53-0.67%
  • OndoOndo(ONDO)$0.350884-3.21%
  • AsterAster(ASTER)$0.63-0.60%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

NVIDIA AI Introduce SpatialClaw: A Training-Free Agent That Treats Code as the Action Interface for Spatial Reasoning

June 19, 2026
in AI & Technology
Reading Time: 18 mins read
A A
NVIDIA AI Introduce SpatialClaw: A Training-Free Agent That Treats Code as the Action Interface for Spatial Reasoning
ShareShareShareShareShare

NVIDIA Research has released SpatialClaw, a training-free framework for spatial reasoning. It targets a persistent weakness in vision-language models (VLMs). These models still struggle to judge where objects are, how they relate, and how they move in 3D.

SpatialClaw does not retrain the model. Instead, it changes the action interface the agent uses to call perception tools. The research team argues the interface is the bottleneck. Their solution is to treat code as the action interface. Across 20 benchmarks, SpatialClaw reaches 59.9% average accuracy. It outperforms the recent spatial agent SpaceTools by 11.2 points.

What is SpatialClaw

SpatialClaw is an agent loop wrapped around a stateful Python kernel. The kernel is pre-loaded with input frames and a set of primitives. Perception tools are plain Python callables. Their outputs, including masks, depth maps, camera geometry, and trajectories, are ordinary Python variables.

The kernel exposes six public entry points. InputImages holds the sampled frames. Metadata carries frame rate, duration, and frame indices. tools exposes perception and geometry primitives. show() embeds an image into the agent’s next context. vlm dispatches queries to a separate VLM session. ReturnAnswer() submits the final answer.

Two perception tools are central. tools.Reconstruct wraps Depth Anything 3 and returns per-frame depth, camera intrinsics, extrinsics, and dense point maps. tools.SAM3 wraps SAM 3 and produces image or video masks from text, point, or box prompts. The framework adds lightweight utilities: tools.Geometry, tools.Mask, tools.Time, tools.Graph, and tools.Draw.

It is training-free. The same system prompt, tool set, and hyperparameters run across every benchmark and backbone.

https://spatialclaw.github.io/static/pdfs/spatialclaw.pdf

Why the Action Interface Matters

The research team studied three action interfaces on the same question. Consider measuring the closest distance between a heater and a door.

  • Single-pass code writes one complete program and runs it once. It commits to a full strategy before seeing any intermediate mask or depth map. A wrong assumption then propagates straight to the answer.
  • Structured tool-call invokes named tools through a fixed JSON schema. It cannot freely combine outputs with NumPy or SciPy to express test-time computations. The closest-point operation has no pre-registered tool, so the result is wrong.
  • SpatialClaw composes tools in code, inspects results, then revises. It first computes a centroid distance, then notices the centroid uses a median. The agent switches to scipy.spatial.KDTree to find the true closest point. It submits 0.9439 m against a 0.9 m ground truth.

Benchmark

SpatialClaw was tested on 20 benchmarks across five categories. These span single-image, multi-view, general, video and 4D, and general video understanding. It improves over the no-tool baseline on all six backbones tested. Backbones range from 26B to 397B parameters across the Qwen3.5/3.6 and Gemma4 families.

A controlled comparison isolates the interface. All three variants share the same toolset and prompt. Only the action interface differs.

Action interface Avg. (20 bench.) Δ vs no-tool
No-tool baseline 53.4 –
Single-pass code 55.2 +1.8
Structured tool-call 56.7 +3.3
SpatialClaw (code as action) 59.9 +6.5

Gemma4-31B backbone, 20-benchmark average.

Against prior spatial agents on the same Gemma4-31B backbone, the gap widens.

Method Interface Avg. Δ vs SpatialClaw
VADAR Single-pass 40.5* −19.4
pySpatial Single-pass 47.8 −12.1
SpaceTools-Toolshed Structured tool-call 48.7 −11.2
SpatialClaw Code as action 59.9 best
VADAR does not support video or multi-image inputs; only single-image benchmarks are averaged.

The largest gains land on dynamic tasks. On Gemma4-31B, DSI-Bench rose +17.6 points and MindCube rose +15.3 points. These categories need chained geometric computation across frames and viewpoints.

An LLM-as-judge attribution explains the wins over structured tool-call. Code composition accounts for 52.2% of them. Control flow accounts for 19.5%, and the remaining 28.3% are interface-neutral.

Inside the Five-Stage Loop

Each sample runs a five-stage loop: planning, code generation, code execution, feedback assembly, and answer submission. A planner drafts a strategy without seeing the images. The main agent then writes one Python cell per step. A static AST checker rejects unsafe code before execution. The loop repeats until ReturnAnswer() is called or 30 steps pass.

The official repo runs on a LangGraph workflow and a persistent Jupyter kernel. Backbones serve through vLLM. Perception runs behind a FastAPI GPU service. A single quickstart runs one benchmark on one machine:

git clone --recursive https://github.com/NVlabs/SpatialClaw.git
cd SpatialClaw
bash spatial_agent/scripts/setup.sh
cp .env.example .env        # add API keys, or self-host vLLM
python -m spatial_agent.entrypoints.run \
    --dataset spatial_agent/config/dataset/erqa.json \
    --model   spatial_agent/config/model/gemini-3-pro.json \
    --concurrency 4

A representative agent cell composes perception with geometry, then revises:

# Reconstruct the scene, then segment both objects in one video pass
recon = tools.Reconstruct.Reconstruct(InputImages)
seg = tools.SAM3.segment_video_by_text(["radiator heater", "door"])
show(seg.visualize(1))                         # inspect the masks first

# Closest-point distance via KD-tree, not centroids
pts_h = seg.get_masked_points(recon, frame=1, object=0)   # object 0 = heater
pts_d = seg.get_masked_points(recon, frame=2, object=1)   # object 1 = door
dists, _ = scipy.spatial.KDTree(pts_d).query(pts_h, k=1)
ReturnAnswer(float(dists.min()))

The agent picks primitives from the question itself. Distance questions invoke KD-tree search and vector norms. Direction questions rely on dot products. No category-specific routing was applied.

Use Cases

The design fits problems that need step-by-step geometric reasoning. Concrete examples include:

  • Robotics and embodied agents that measure metric distances between objects before acting.
  • Multi-view inspection, where an object’s facing direction is recovered from several camera angles.
  • Video and 4D analysis that tracks object or camera motion across frames.
  • Indoor scene question answering, such as “where is the door relative to the sink?”

Because it is training-free, teams can extend a deployed VLM without new data or fine-tuning.

Interactive Explainer

Key Takeaways

  • Code as the action interface: SpatialClaw lets a VLM write one Python cell per step into a persistent kernel, composing and revising perception outputs instead of committing to a fixed plan.
  • State of the art, training-free: 59.9% average across 20 spatial benchmarks, +11.2 points over the prior agent SpaceTools, with no benchmark- or model-specific tuning.
  • The interface is the lever: swapping only the action interface on Gemma4-31B moves accuracy from 56.7 (structured tool-call) to 59.9, and 52.2% of wins trace to code composition.
  • Biggest gains where geometry chains: dynamic 4D and multi-view tasks lead the lifts (DSI-Bench +17.6, MindCube +15.3), where steps must compose across frames and viewpoints.
  • Perception is the ceiling: gains transfer across six backbones (26B–397B), but the remaining bottleneck is perception quality, and the license is non-commercial.

Check out the Paper, Project and Repo. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

YOU MAY ALSO LIKE

VibeThinker-3B: A 3B Dense Reasoning Model Built on Qwen2.5-Coder-3B With the Spectrum-to-Signal Post-Training Pipeline

7,000 Langflow servers are under attack. LangGraph and LangChain have the same holes


Credit: Source link

ShareTweetSendSharePin

Related Posts

VibeThinker-3B: A 3B Dense Reasoning Model Built on Qwen2.5-Coder-3B With the Spectrum-to-Signal Post-Training Pipeline
AI & Technology

VibeThinker-3B: A 3B Dense Reasoning Model Built on Qwen2.5-Coder-3B With the Spectrum-to-Signal Post-Training Pipeline

June 19, 2026
7,000 Langflow servers are under attack. LangGraph and LangChain have the same holes
AI & Technology

7,000 Langflow servers are under attack. LangGraph and LangChain have the same holes

June 19, 2026
Do Fitness Trackers Still Work If You Have Tattoos?
AI & Technology

Do Fitness Trackers Still Work If You Have Tattoos?

June 19, 2026
Norway Imposes Broad Restrictions On AI For Elementary School Kids
AI & Technology

Norway Imposes Broad Restrictions On AI For Elementary School Kids

June 19, 2026
Next Post
Rush Street Interactive, Inc. (RSI) Shareholder/Analyst Call Transcript

Rush Street Interactive, Inc. (RSI) Shareholder/Analyst Call Transcript

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
ALERT: TRUMP JUST CANCELLED IRAN ATTACKS

ALERT: TRUMP JUST CANCELLED IRAN ATTACKS

June 13, 2026
Let My Boyfriend Pay  Off My Debt if I Don’t Want to Marry Him?

Let My Boyfriend Pay Off My Debt if I Don’t Want to Marry Him?

June 18, 2026
Trump Says Peace Deal Will Be Signed Sunday, but Iran Disputes Timeline – The New York Times

Trump Says Peace Deal Will Be Signed Sunday, but Iran Disputes Timeline – The New York Times

June 14, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!