Introduction
Visual Question Answering (VQA) models often struggle with out-of-distribution (OOD) generalization because they tend to exploit spurious correlations in training data rather than performing true multimodal reasoning. For instance, a model might learn to associate the question prefix "What sport..." with the answer "tennis" simply because tennis is overrepresented in the training set. This reliance on linguistic priors leads to significant performance drops when the answer distribution changes, as seen in benchmarks like VQA-CP.
The MUTANT Paradigm
To address this, we introduce MUTANT, a training paradigm that forces models to move beyond simple pattern matching. MUTANT utilizes semantic mutations—controlled changes to either the image or the question—to teach the model how specific input modifications should shift the resulting answer.
Semantic Mutations
MUTANT generates "mutant" samples through two primary channels:
- Image Mutations: Using object annotations, the system identifies critical visual elements. It can remove these objects (using GAN-based inpainting) or invert their colors. For example, removing one person from a group changes the answer to a "How many?" question.
- Question Mutations: Linguistic transformations are applied to the queries, such as negation (changing "is" to "is not"), adversarial substitution (swapping nouns like "bins" for "bottles"), or masking key terms.
Training for Consistency
The core of MUTANT is not just the data augmentation, but the loss functions that enforce semantic consistency:
- Pairwise Consistency Loss: The model is trained on pairs of original and mutated samples. The objective ensures that the distance between the predicted answers reflects the semantic distance between the ground-truth answers. This forces the model to understand the semantic shift caused by the mutation.
- Answer Projection (NCE): Instead of treating answers as discrete labels, MUTANT projects cross-modal features and answer embeddings into a shared manifold using Noise-Contrastive Estimation. This helps the model grasp the underlying meaning of the answers.
- Type Exposure: A dedicated module predicts question types to filter out irrelevant answer candidates, reinforcing "positive" inductive biases (e.g., ensuring a "color" question only considers color-related answers).
Results and Impact
MUTANT achieves a new state-of-the-art on the VQA-CP v2 benchmark with an accuracy of 69.52%, a 10.57% improvement over previous methods. Crucially, it maintains high performance on the standard VQA-v2 dataset (70.24%), achieving the smallest performance gap between the two benchmarks to date. The most significant gains were observed in numerical reasoning, where accuracy improved by 48% over baseline models like LXMERT.
By training on counterfactual "what if" scenarios, MUTANT effectively attenuates negative biases while preserving the essential linguistic knowledge required for robust visual reasoning. While currently dependent on high-quality object annotations for image mutations, the paradigm demonstrates that consistency-constrained mutations are a powerful tool for building models that truly look before they answer.
Summary updated