Abstract
Existing work on VQA explores data augmentation to achieve better generalization by perturbing images in the dataset or modifying existing questions and answers. While these methods exhibit good performance, the diversity of the questions and answers are constrained by the available images. In this work we explore using synthetic computer-generated data to fully control the visual and language space, allowing us to provide more diverse scenarios. We quantify the effectiveness of leveraging synthetic data for real-world VQA. By exploiting 3D and physics simulation platforms, we provide a pipeline to generate synthetic data to expand and replace type-specific questions and answers without risking exposure of sensitive or personal data that might be present in real images. We offer a comprehensive analysis while expanding existing hyper-realistic datasets to be used for VQA. We also propose Feature Swapping (F-SWAP) - where we randomly switch object-level features during training to make a VQA model more domain invariant. We show that F-SWAP is effective for improving VQA models on real images without compromising on their accuracy to answer existing questions in the dataset.
Introduction
Visual Question Answering (VQA) models often struggle to generalize because they rely on datasets that are expensive to curate, limited in diversity, and fraught with privacy or copyright concerns. Furthermore, real-world datasets often contain "language priors"—statistical shortcuts where a model learns that "How many..." is usually answered with "2," rather than actually looking at the image. While synthetic datasets like CLEVR exist, they are often too "toy-like" to be useful for real-world images.
SimVQA demonstrates that hyper-realistic synthetic data from 3D simulation platforms (Hypersim and ThreeDWorld) can effectively teach VQA models complex reasoning skills, like counting, that transfer directly to real-world images. The authors introduce Feature Swapping (F-SWAP), a simple yet powerful latent-space augmentation technique that bridges the domain gap between synthetic and real data more effectively than complex adversarial methods.
Methods
The researchers developed a pipeline to generate synthetic VQA datasets using modern 3D engines and proposed a novel training strategy to handle the domain gap.
Synthetic Data Generation
The authors used scene graphs—mathematical representations of objects and their spatial relationships—to automatically generate questions and answers using a template-based grammar. By using platforms like ThreeDWorld, they could drop objects into scenes and let them settle naturally using physics, ensuring realistic object configurations.
Feature Swapping (F-SWAP)
Standard domain adaptation often uses GANs to make synthetic images "look" real, which is computationally heavy and unstable. SimVQA introduces F-SWAP:
- During training on real images, the model extracts object-level features (using Faster R-CNN or CLIP).
- The algorithm randomly replaces a portion (e.g., 20%) of these real object features with features of the same object category pulled from a dictionary of synthetic features.
- This forces the model to focus on the semantics of the object rather than the specific style of the domain, making the final VQA model more domain-invariant.
Datasets
The study utilizes three primary datasets to evaluate the effectiveness of synthetic data:
- Real-VQA: VQA 2.0 (the standard industry benchmark).
- Hypersim-VQA (H-VQA): Created by extending the Hypersim dataset (hyper-realistic indoor scenes). It includes ~254k counting questions and 40k yes/no questions.
- ThreeDWorld-VQA (W-VQA): Created using the ThreeDWorld (TDW) platform. It features ~87k datapoints, including counting, color, and material-related questions.
Key Results and Insights
- Skill Transfer is Possible: A model can learn a specific "skill" (like counting) almost entirely from synthetic data and apply it to real-world photos. Adding synthetic H-VQA data to the standard VQA 2.0 training set improved numeric accuracy by approximately 2%.
- Zero-Shot Skill Learning: In a test where the model was given zero real-world counting examples during training, the baseline model scored only ~6%. Adding synthetic data (W-VQA + H-VQA) boosted this to 24.96%.
- Controllability Trumps Static Realism: Data from ThreeDWorld (W-VQA) often outperformed Hypersim-VQA. The higher level of control in TDW allows for more diverse object placements that "stress test" the model's reasoning.
- F-SWAP Superiority: In low-data regimes, F-SWAP outperformed standard augmentation and adversarial alignment (MMD) by significant margins, showing it is a robust "plug-and-play" augmentation.
Conclusion
SimVQA proves that you don't need to generate perfect "deepfake" level images to bridge the domain gap; swapping features in the hidden layers of the network is a more efficient way to achieve domain invariance. While current synthetic environments are mostly limited to indoor household objects, future directions include moving toward more complex 3D systems that can simulate a broader variety of animated objects and interactions to further close the gap with the real world.
Summary updated