Abstract
3D Visual Grounding (3DVG) aims at localizing 3D objects based on textual descriptions. Conventional supervised methods for 3DVG often necessitate extensive annotations and a predefined vocabulary, which can be restrictive. To address this issue, we propose a novel visual programming approach for zero-shot open-vocabulary 3DVG, leveraging the capabilities of large language models (LLMs). Our approach begins with a unique dialog-based method, engaging with LLMs to establish a foundational understanding of zero-shot 3DVG. Building on this, we design a visual program that consists of three types of modules, i.e., view-independent, view-dependent, and functional modules. These modules, specifically tailored for 3D scenarios, work collaboratively to perform complex reasoning and inference. Furthermore, we develop an innovative language-object correlation module to extend the scope of existing 3D object detectors into open-vocabulary scenarios. Extensive experiments demonstrate that our zero-shot approach can outperform some supervised baselines, marking a significant stride towards effective 3DVG.
1. Introduction
The task of 3D Visual Grounding (3DVG) involves localizing a specific object within a 3D point cloud using natural language queries, such as "Find the keyboard closest to the door". Despite recent progress, state-of-the-art supervised methods are hindered by two primary challenges: data scarcity and closed-vocabulary constraints. Supervised models require extensive human-annotated 3D-object-text pairs, which are costly to acquire. Moreover, these models are typically limited to the object categories present in their training sets, failing to generalize to novel or specific objects in real-world environments.
While Large Language Models (LLMs) exhibit impressive reasoning capabilities, they lack inherent spatial awareness for 3D coordinate mathematics and view-dependent relations (e.g., "to the left of") that change based on the observer's position. This paper introduces a visual programming framework that empowers LLMs with specialized spatial tools, enabling zero-shot, open-vocabulary 3D grounding.
2. Methodology
Our approach utilizes an LLM (e.g., GPT-4) as a central orchestrator to decompose complex textual queries into a sequence of executable steps, referred to as a "visual program." This program is represented as modular Python-like code.
2.1 Modular Execution Framework
The framework employs three categories of specialized modules:
- View-independent Modules: These handle absolute spatial relationships, such as
CLOSESTorABOVE, which do not change based on the observer's perspective. - View-dependent Modules: These address relative directions like
LEFTorFRONT. To handle viewpoint variability, the system simulates a virtual camera at the center of the scene and projects 3D objects onto a 2D egocentric plane, mimicking human perception. - Functional Modules: These perform logical and comparative operations, such as
MIN,MAX, orSIZE.
2.2 Language-Object Correlation (LOC) Module
To support open-vocabulary scenarios, we developed the LOC module. It leverages an off-the-shelf 3D instance segmentor (e.g., Mask3D) to generate object candidates. These candidates are then projected into 2D image space and verified against the textual query using pre-trained vision-language models like CLIP or BLIP-2. This bridge allows the system to utilize the vast knowledge contained in 2D foundation models for 3D tasks.
3. Experiments and Results
We evaluated our framework on the ScanRefer and Nr3D benchmarks. ScanRefer provides approximately 51,500 descriptions for 800 indoor scenes, while Nr3D contains human-written descriptions categorized by spatial complexity.
3.1 Performance Comparison
Our zero-shot approach demonstrated superior performance compared to several supervised baselines. On the ScanRefer dataset, the framework achieved 32.7% [email protected], significantly higher than supervised models like ScanRefer (24.3%) and TGNN (29.7%). On the Nr3D dataset, the model outperformed the supervised 3DVG-Transformer by 2% on view-dependent queries, highlighting the effectiveness of the egocentric projection method.
3.2 Efficiency and Cost
The visual programming approach proved to be highly cost-effective. When using GPT-3.5, the programmatic representation was approximately 16x cheaper than a vanilla dialog-based approach ($0.19 vs $3.05 per run), as it requires significantly fewer tokens to represent the scene and logic.
4. Conclusion and Future Work
This research demonstrates that decomposing 3DVG into logical reasoning (handled by LLMs) and geometric execution (handled by specialized modules) effectively overcomes the limitations of current supervised methods. While the system shows great promise, approximately 23% of errors are attributed to the LLM failing to generate correct program logic for highly complex queries. Future work will focus on expanding the module library to encompass more diverse spatial nuances and exploring the integration of more advanced LLMs to further enhance reasoning accuracy.
Summary updated