arXiv(opens in a new tab)cs.CVSep 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2609.37655

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 Tan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Advancing spatial intelligence in Multimodal Large Language Models (MLLMs) is bottlenecked by the scarcity of complex, scalable 3D question-answer (QA) data. While manual annotation is labor-intensive, directly utilizing LLMs to synthesize these QA pairs often fails due to their inherent deficiencies in spatial and geometric computation. We introduce Exemplar2VQA, a scalable exemplar-driven visual question answering generation framework that rapidly synthesizes large-scale spatial QA pairs in simulated environments via multi-agent coding. By equipping collaborative agents with a meticulously designed library of geometric utilities, Exemplar2VQA bypasses LLMs' spatial reasoning flaws through deterministic code execution. Crucially, the framework exhibits remarkable versatility: taking diverse static object-centric spatial query templates as exemplars, it seamlessly and autonomously scales them into massive, high-fidelity synthetic datasets. Fine-tuning Qwen2.5-VL (3B/7B) exclusively on Exemplar2VQA-generated synthetic indoor data yields significant performance improvements across various diverse benchmarks. Furthermore, its effectiveness is not limited to in-domain indoor datasets but also robustly extends to outdoor and mixed-scene benchmarks. These results establish Exemplar2VQA as a scalable and powerful paradigm for bridging the sim-to-real gap in Embodied AI. Our code is at https://github.com/yingjiayu12/Exemplar2VQA.

1 Introduction

Spatial intelligence is crucial for MLLMs in Embodied AI, yet its advancement is severely bottlenecked by a scarcity of large-scale, high-quality 3D spatial QA datasets [1]. Traditional manual annotation is prohibitively costly and unscalable. Conversely, using LLMs or VLMs to autonomously synthesize this frequently yields severe hallucinations [2]. This stems from an inherent flaw: while proficient in language, LLMs lack deterministic geometric computational abilities, making them incapable of accurately grounding physical attributes like occlusion and allocentric viewpoints [3]. While multi-agent frameworks untangle this complexity by decomposing tasks [4, 5], merely distributing the workload fails to resolve LLMs' fundamental inability to perform precise spatial arithmetic.

Consequently, synthesizing high-fidelity 3D spatial QA datasets at scale presents three formidable challenges: (1) The Data Acquisition Bottleneck: Traditional manual annotation is fundamentally unscalable and cost-prohibitive when dealing with complex, multi-view 3D geometries. (2) The

†^{\dagger}Corresponding author.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Spatial Hallucination Dilemma: Directly prompting LLMs to deduce spatial attributes is highly prone to yielding logically flawed data [6]. (3) The Rigidity of Existing Pipelines: Beyond the prevalent issue of hallucinations, current automated spatial generation methods are typically governed by fixed, hardcoded rules. They strictly lack the extensibility to dynamically adapt to user-defined abstract intents or flexibly generate customized QA pairs that align with diverse, specific structural formats.

To address these formidable challenges, we propose Exemplar2VQA, designed to synthesize large-scale spatial QA pairs in simulated environments (Figure 1, Figure 2) without manual annotation. At the core of this synthesis process is the utilization of spatial QA exemplars as foundational blueprints. If a user wishes to construct a specific category of spatial questions, they merely need to provide a concrete QA pair as a exemplar. This exemplar functions provides a clear schema for the pipeline by explicitly defining the desired structural format, specific object parameters, and logical comparison targets. Our pipeline then autonomously scales this user-defined intent into a massive dataset. This seamless scaling from user-defined seeds effectively resolves the rigidity of existing automated pipelines. Guided by these templates, instead of forcing LLMs to generate linguistic spatial answers directly, our framework employs a collaborative multi-agent system that translates spatial reasoning tasks into executable Python scripts. Instead of forcing a monolithic model to suffer severe cognitive overload by simultaneously juggling semantic parsing, code generation, along with review and refinement, our collaborative compartmentalizes these distinct tasks into specialized agent roles. This decoupled architecture effectively dismantles the bottleneck of single-agent systems: it prevents the context contamination and compounding errors that inevitably occur when abstract linguistic intents are mixed with mathematical execution in a single prompt. By ensuring each agent maintains a highly focused reasoning window, this framework enables targeted, module-specific self-correction, thereby drastically improving the robustness and overall execution success rate [7]. Furthermore, by leveraging interactive environmental feedback from a physics-enabled simulator [8, 9], the agents can perform physics-constrained self-correction [10–13]. This code-driven paradigm allows Exemplar2VQA to effectively bypass the inherent spatial reasoning flaws of conventional LLMs to derive reliable ground-truth answers [14–16].

To empirically validate the efficacy of our generated data, we fine-tune open-weight multimodal large language models, Qwen2.5-VL (3B and 7B) [17], exclusively on the synthetic indoor data generated by Exemplar2VQA. The experimental results demonstrate substantial improvements not only on in-domain indoor benchmarks. Without seeing any outdoor training samples, the Exemplar2VQA-enhanced models successfully transfer their acquired spatial intelligence to strictly outdoor and comprehensive mixed-scene environments. Furthermore, our approach effectively outperforms baselines fine-tuned on human-annotated real-world datasets, underscoring a highly successful sim-to-real transfer [18, 19].

In summary, the main contributions of this work are threefold:

• An Exemplar-Driven Multi-Agent Spatial VQA Framework: We introduce Exemplar2VQA, an end-to-end, fully automated VQA generation framework. By equipping collaborative agents with a meticulously designed library of geometric utilities and physics-constrained environmental feedback, Exemplar2VQA effectively resolves the inherent spatial computation deficiencies of LLMs through deterministic mathematical execution.

• High Extensibility and Autonomous Scaling: We demonstrate the exceptional versatility of Exemplar2VQA, showing that it can seamlessly adapt a broad spectrum of static object-centric spatial query exemplars from existing benchmarks and autonomously scale them into massive, high-quality synthetic datasets without manual intervention.

• Robust Sim-to-Real and OOD Generalization: Through extensive evaluations across diverse benchmarks, we validate that models fine-tuned solely on Exemplar2VQA's synthetic indoor data achieve extraordinary cross-domain spatial intelligence. This establishes a powerful, scalable, and cost-effective new paradigm for acquiring high-fidelity spatial data to advance Embodied AI.

References (98)