TL;DR
3D-Prog is a new framework that transforms standard 2D Vision-Language Models (VLMs) into precise 3D programmers without any additional training. By using standardized visual framing and an iterative, code-based feedback loop, it enables 2D models to perform complex 3D tasks—like scene composition, object editing, and articulation prediction—with state-of-the-art accuracy.
What Problem Does This Paper Address?
Current 2D VLMs (like GPT-4o or Claude 3.5) possess incredible semantic knowledge but are "3D-blind." They operate on 2D image pixels and lack an inherent understanding of metric 3D space. When asked to perform 3D tasks, they suffer from coordinate-frame ambiguity (not knowing which way is 'up' or 'forward') and metric inconsistency (hallucinating sizes and distances).
While researchers have tried building specialized 3D VLMs, these models are often hamstrung by the limited scale and diversity of 3D datasets compared to the massive internet-scale data used to train 2D models. The authors of this paper ask: Can we give 2D VLMs the "eyes" and "tools" to work in 3D without retraining them?
Methods
The authors introduce 3D-Prog, a modular framework built on three core pillars:
-
Canonical Coordinate Framing (CCF): To solve the grounding problem, 3D-Prog renders 3D assets into six orthographic views (Front, Top, Back, etc.). Crucially, these renders include explicit, labeled X, Y, and Z axes and metric scale marks. This provides the VLM with a visual "ruler" and "compass," anchoring its reasoning in a shared Euclidean space.
Figure 1. Today, 2D VLMs lack the zero-shot capacity to generate, modify, or reason about 3D assets. To bridge this gap, we introduce 3D-Prog, a modular and flexible framework for 3D visual programming. By leveraging the semantic reasoning of 2D VLMs, 3D-Prog acts as a 3D programmer that interprets multi-view 2D visualizations of a 3D asset within a canonical frame. The 3D-Prog approach addresses a broad range of 3D tasks spanning generation, understanding, and compositional reasoning. -
Task-Adaptive Feedback (TAF): Instead of one-shot guessing, the VLM acts as a programmer. It writes Python code to analyze the 3D data (e.g., using DBSCAN for clustering or PCA for orientation). The results of this code are rendered back to the VLM as visual diagnostic cues—like density heatmaps or height histograms—allowing the model to "see" its own analysis.
- Iterative Refinement Loop: The framework employs a "Judge" VLM that evaluates the generated 3D asset (represented in Universal Scene Description or USD format). If the result is suboptimal, the Judge provides specific feedback, and the VLM refines its Python code in a closed loop until the task is complete.
Datasets
The researchers evaluated 3D-Prog across a wide variety of synthetic and real-world data:
- Synthetic: Objaverse-XL and Pixar’s OpenUSD kitchen set for object completion, segmentation, and editing.
- Real-World Scans: ScanNet++ and Articulate3D for object detection and predicting how parts move (articulation).
- Reasoning Benchmarks: SQA3D (situated question answering) and Nr3D (object captioning).
Key Insights and Ideas
- Grounding is a Visual Prompting Problem: You don't necessarily need 3D-specific model weights to understand 3D space. Providing the right visual cues (axes and scales) in 2D is enough to unlock the latent spatial reasoning of powerful 2D VLMs.
- Code as the "Universal Language": By forcing the VLM to output Python/USD code rather than raw coordinates, the system leverages the precision of geometric libraries. This bypasses the "fuzzy" nature of neural network outputs.
- Specialized Feedback: TAF allows the model to request the specific data it needs. For example, to detect a table, the model might first generate a "density heatmap" at a specific height to find flat surfaces.
Key Results
- Superior Accuracy: 3D-Prog significantly outperformed standalone 2D VLMs. In articulation prediction, standalone models failed completely (erring by ~90°), while 3D-Prog achieved a median error of just 0.6° to 3.5°.
- Beating 3D-Native Models: On the SQA3D benchmark, 3D-Prog achieved 60% accuracy, outperforming GaussianVLM (50%), a model specifically trained for 3D tasks.
- Robustness: The system is remarkably stable. While baseline models' performance collapsed when objects were rotated or moved, 3D-Prog maintained consistent accuracy due to its CCF grounding.
- Qualitative Quality: In scene composition tasks (e.g., "Generate a bookshelf with 3 books"), 3D-Prog produced physically plausible results without the mesh intersections or floating objects common in baseline outputs.
Limitations and Future Work
- VLM Dependency: The system's success depends on the underlying VLM's coding ability. The authors noted that while Claude and Kimi performed well, other models like Llama 4 struggled to generate valid USD code.
- Judge Reliability: The "Judge" module occasionally accepts suboptimal results if the visual discrepancies are subtle.
- Scene Scale: The current CCF approach is limited by the VLM's context window; extremely large or hyper-detailed scenes might require more sophisticated multi-scale framing in the future.
Summary updated