TL;DR
When a metric becomes a target, it ceases to be a good measure—a reality captured by Goodhart’s Law. This paper shows that the visual question answering community inadvertently "gamed" the standard out-of-distribution benchmark (VQA-CP) through flawed evaluation practices, allowing trivial baselines (including one that literally guesses answers at random) to outperform state-of-the-art models.
What Problem Does This Paper Address?
Standard supervised machine learning models often rely on superficial statistical correlations ("shortcuts") between inputs and labels. To test whether Visual Question Answering (VQA) models genuinely ground language in images rather than exploiting dataset biases, researchers created VQA-CP (Changing Priors). In VQA-CP, the question prefix–answer distribution is flipped between training and testing (e.g., if "Is there a..." is mostly answered "yes" during training, it is mostly "no" at test time).
However, the authors uncover three critical issues in how the research community evaluates models on VQA-CP:
- Exploiting split design: Models are engineered—explicitly or implicitly—to exploit the knowledge that test answer distributions are roughly the inverse of training distributions.
- Peeking at the test set: Lacking an official validation set, researchers routinely use the OOD test set for model selection, hyperparameter tuning, and early stopping.
- Misleading in-domain evaluation: Researchers typically test in-domain performance only after retraining the model on standard IID splits (VQA v2), which conceals severe in-domain performance collapse.
Methods
To prove that high performance on VQA-CP can be achieved without actual reasoning, the authors construct several "embarrassingly simple" baselines:
- Random Predictions (Inverted): Estimates the training distribution of answers given question prefix $P(A \mid T)$, inverts it ($\bar{H} \propto 1 / P(A \mid T)$), and samples answers at test time accordingly—completely ignoring the image and detailed question text.
- Learned, Top Answer Masked: Takes a standard bottom-up top-down (BUTD) attention model and, at test time, sets the highest-scoring answer logit to $-\infty$, exploiting the prior that the most frequent training answer is likely wrong in the test set.
- Random-Image Regularizer: A lightweight adversarial regularization baseline that pairs questions with randomly chosen visual features from the mini-batch and penalizes the network if it predicts the training ground-truth label without visual context.
Datasets
- VQA-CP v2: The primary benchmark analyzed. Derived by reorganizing VQA v2 question-answer pairs according to 65 prefix-based question types so that training and test splits display opposing conditional label distributions.
- VQA v2: The source human-annotated dataset featuring more balanced, IID train/val splits.
- Held-out VQA-CP Validation Split: The authors set aside an 8,000-instance subset from the VQA-CP training data to measure true in-domain performance under the same training distribution without retraining.
Key Insights and Ideas
- Goodhart’s Law in action: Optimizing directly for VQA-CP accuracy incentivizes models to invert training priors rather than perform visual-textual reasoning.
- Yes/No and Number questions mask reality: Binary and counting questions dominate aggregate accuracy metrics. Because their answer spaces are tiny, simply predicting the opposite of the training prior yields massive benchmark gains without acquiring any generalizable multimodal capability.
- Retraining hides failure: Evaluating a model on VQA v2 by re-optimizing it on VQA v2 weights is an evaluation of an entirely different system. When models trained on VQA-CP are evaluated on in-domain data without retraining, their accuracy drops catastrophically.
Key Results
- Random guessing beats the state of the art: The Random predictions, inverted baseline achieved 83.25% on Yes/No questions and 49.30% on Number questions on VQA-CP test—outperforming every published method in the literature on those question categories (e.g., Learned-Mixin achieved 72.58% and 31.12%, respectively).
- Top-answer masking works instantly: Simply suppressing the top predicted answer in a standard baseline lifted Yes/No accuracy from 42.98% to 82.44% on VQA-CP test, while in-domain validation performance collapsed from 79.45% down to 44.12%.
- "Other" questions expose the truth: On open-vocabulary ("other") questions where answer spaces are large, trivial inverted sampling drops to near-zero accuracy (0.02%), showing that benchmark gains were almost entirely driven by exploiting low-entropy question types.
Limitations and Future Work
The authors highlight recommendations to restore rigor to OOD evaluation:
- Immediate fixes for VQA-CP:
- Evaluate the exact same trained model on a held-out in-domain split (e.g., 8k instances from the training set) rather than retraining on VQA v2.
- Discontinue using the OOD test set for model selection and early stopping.
- Report metrics focused exclusively on open-ended ("other") questions, which are much harder to game via prior inversion.
- Future benchmark design: Benchmarks should test across a spectrum of distributional shifts rather than a single predictable prefix inversion, adopt multidimensional reporting (e.g., radar plots across multiple shift types), and leverage counterfactual intervention datasets to probe true causal decision boundaries ($P(A \mid \text{do}(Q, I))$).
Summary updated