Visual Agentic AI for Spatial Reasoning with a Dynamic API
Damiano Marsili, Rohun Agrawal, Yisong Yue, Georgia Gkioxari
TL;DR
This work tackles 3D spatial reasoning by introducing VADAR, a training-free agentic framework that dynamically constructs a Python-based API to decompose complex visual-grounding tasks. The method divides into API Generation, where LLM agents create and implement reusable functions, and Program Synthesis, where a Program Agent writes executable Python code that a separate Execution Agent runs with vision specialists. Empirical results show that a dynamic API substantially outperforms static DSL baselines and remains competitive with monolithic vision-language models on Omni3D-Bench, with oracle-vision analyses revealing vision components as the principal bottleneck. The work also provides a dedicated Omni3D-Bench benchmark to stress 3D grounding and inference, highlighting the potential of training-free, interpretable, agentic reasoning for scalable 3D spatial understanding and suggesting directions for improving specialized vision models and integration strategies.
Abstract
Visual reasoning -- the ability to interpret the visual world -- is crucial for embodied agents that operate within three-dimensional scenes. Progress in AI has led to vision and language models capable of answering questions from images. However, their performance declines when tasked with 3D spatial reasoning. To tackle the complexity of such reasoning problems, we introduce an agentic program synthesis approach where LLM agents collaboratively generate a Pythonic API with new functions to solve common subproblems. Our method overcomes limitations of prior approaches that rely on a static, human-defined API, allowing it to handle a wider range of queries. To assess AI capabilities for 3D understanding, we introduce a new benchmark of queries involving multiple steps of grounding and inference. We show that our method outperforms prior zero-shot models for visual reasoning in 3D and empirically validate the effectiveness of our agentic framework for 3D spatial reasoning tasks. Project website: https://glab-caltech.github.io/vadar/
