NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Exemplar2VQA: A Scalable Exemplar-Driven Visual Question Answering Generation Framework via Multi-Agent Coding

Jiayu Ying, Qijian Tian, Ruijie Xu, Xinnan Zhu, Daoguo Dong, Jiachen Xu, Xin TanNeurIPS 2026

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:

  1. Manual annotation is grueling: Labeling 3D multi-view relationships by hand doesn't scale.
  2. 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.
  3. 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.
Figure 1: The camera generation track of the Exemplar2VQA. The Camera Generation Track: A four-agent pipeline (Architect, Coder, Reviewer, Refiner) interprets natural language instructions to autonomously plan trajectories and capture specific multi-view observations within the simulator.
  • 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.
Figure 2: The QA generation track of the Exemplar2VQA. The QA Generation Track: Utilizing the captured scenes and scene metadata, an agent group adapts QA exemplars into scaled QA pairs.

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-3B from 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-3B boosted overall accuracy by +7.6% (reaching 42.9%), beating GPT-4o (34.6%), Gemini-1.5 Pro (42.1%), and open-source LLaVA-Video-72B (40.7%).
A 3B model trained on Exemplar2VQA data outperforms 72B open-source models and proprietary APIs on VSI-Bench.
  • MMSI-Bench: Fine-tuning Qwen2.5-VL-7B hit 28.2% overall, beating larger open-weight models like InternVL2.5-38B (27.9%) and Qwen2.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

BibTeX
@inproceedings{ying2026exemplar,
  author = {Jiayu Ying and Qijian Tian and Ruijie Xu and Xinnan Zhu and Daoguo Dong and Jiachen Xu and Xin Tan},
  title = {{Exemplar2VQA: A Scalable Exemplar-Driven Visual Question Answering Generation Framework via Multi-Agent Coding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=evkWoqTEUD},
}
Figure