TL;DR
Multimodal Large Language Models (MLLMs) are fantastic at describing what is in an image, yet surprisingly clumsy at figuring out where things are in 3D space. Exemplar2VQA fixes this data bottleneck by using a team of coding agents inside a physics simulator to turn a single example question into thousands of mathematically verified spatial question-answer pairs. Fine-tuning small open-weight models on this synthetic indoor data lets a tiny 3B model outperform giants like GPT-4o and Gemini-1.5 Pro—even in unseen, real-world outdoor scenes.
What Problem Does This Paper Address?
For AI to navigate the physical world (Embodied AI), it needs spatial intelligence: understanding occlusion, distances, and how a room looks from another angle (allocentric viewpoints). Right now, teaching MLLMs these skills hits a three-way wall:
- Manual annotation is grueling: Labeling 3D multi-view relationships by hand doesn't scale.
- LLMs hallucinate geometry: As auto-regressive text predictors, LLMs can't reliably do 3D matrix math in their heads. Asking GPT-4 to label spatial data directly introduces severe geometric hallucinations—in fact, the authors show doing this can actually make a base model worse.
- Rule-based pipelines are rigid: Existing synthetic data generators rely on hardcoded scripts that can't easily adapt when you want to teach a model a brand-new type of spatial question.
Methods
Instead of asking LLMs to guess spatial answers, Exemplar2VQA asks them to write Python code that calculates the exact truth using 3D simulator metadata. You hand the system a single concrete QA pair (an "exemplar") and a natural language camera instruction, and a dual-track multi-agent system (powered by Qwen3-Coder-30B-A3B-Instruct) scales it up autonomously.
Both tracks divide labor across four specialized roles—Architect, Coder, Reviewer, and Refiner—to prevent cognitive overload and context contamination:
- Track 1: Camera Generation Track: Given a prompt like "perform a 360° scan around the bed," the agents plan a trajectory, write simulator control code for AI2-THOR, and use physics-engine feedback to debug issues like wall collisions or occluded views.
- Track 2: QA Generation Track: Taking a user's exemplar question, the Architect reverse-engineers a parameterized template. The Coder then writes a script calling a custom Geometric Utilities API—a library of deterministic math functions (e.g., projecting 3D bounding boxes to 2D footprints, checking angle ambiguity) that guarantees hallucination-free ground truth.
Once the agents spend 2–3 minutes writing and debugging a script for a given task, generating thousands of QA pairs across new rooms requires zero further LLM calls.
Datasets
- Synthetic Training Data: Using AI2-THOR simulated indoor rooms (extensible via ProcTHOR and Holodeck), the authors generated two compact, high-fidelity training sets: ~6K QA pairs mirroring MMSI-Bench formats, and ~10K QA pairs mirroring VSI-Bench formats.
- Primary Evaluation Benchmarks: MMSI-Bench (1,000 multi-image multiple-choice questions) and the multiple-choice subset of VSI-Bench (egocentric real-world videos).
- Zero-Shot Generalization Benchmarks: SpaCE-10 (unseen indoor topological queries) and ViewSpatial-Bench (complex mixed indoor and outdoor person-centric scenes).
Key Insights and Ideas
- Code execution beats direct VLM labeling: When the authors used Gemini-3.5-Flash to directly annotate 10K training examples for VSI-Bench, fine-tuning on it degraded
Qwen2.5-VL-3Bfrom 35.3% to 28.2%. Exemplar2VQA’s deterministic code pushed the exact same base model up to 42.9%. - Indoor simulation transfers to the real outdoors: Even though the models only ever trained on synthetic indoor rooms, the geometric priors they learned transferred zero-shot to real-world outdoor scenes—boosting human-perspective object orientation accuracy by a massive +23.5% on ViewSpatial-Bench.
- Monolithic agents choke on spatial physics: Collapsing the four specialized agents into a single LLM prompt caused QA code generation success to plummet from 92.0% down to 34.0%. Separating semantic planning from physics debugging is critical.
Key Results
Fine-tuning standard Qwen2.5-VL models (with zero architectural changes) on just 6K–10K synthetic samples yielded punchy results:
- VSI-Bench: Fine-tuning
Qwen2.5-VL-3Bboosted overall accuracy by +7.6% (reaching 42.9%), beatingGPT-4o(34.6%),Gemini-1.5 Pro(42.1%), and open-sourceLLaVA-Video-72B(40.7%).
- MMSI-Bench: Fine-tuning
Qwen2.5-VL-7Bhit 28.2% overall, beating larger open-weight models likeInternVL2.5-38B(27.9%) andQwen2.5-VL-32B(27.7%), with an +8.6% jump in multi-view camera-to-camera reasoning. - Zero-Shot OOD: That same 7B model jumped +8.9% over its base on SpaCE-10 (to 42.2%) and +8.5% on ViewSpatial-Bench (to 45.4%), outperforming baselines trained on human-annotated spatial datasets.
Limitations and Future Work
Exemplar2VQA currently operates on static, coordinate-based, instance-level bounding-box geometry. Because of this, it cannot directly synthesize tasks requiring dynamic temporal object tracking, continuous route planning, or abstract semantic grouping (like counting "functional zones" in a room). In fact, training exclusively on static spatial layouts caused slight negative transfer on dynamic object tracking (Obj.* in MMSI-Bench) and scene quantification (Scene Quant. in SpaCE-10), highlighting dynamic temporal synthesis and continuous numerical regression as natural frontiers for future work.
Summary updated