vqa-gen-eval
VQA-GEN: A Visual Question Answering Benchmark for Domain Generalization — Unni et al. (2023) (arXiv:2311.00807, 2023)
What this evaluates
This benchmark evaluates a model's ability to generalize in Visual Question Answering under coordinated visual and textual distribution shifts. It probes robustness to image corruptions, style transfers, and linguistic variations by measuring in-domain and cross-domain accuracy.
Datasets
- VQA-GEN — total ?; splits: train (400000), test (200000)
Metrics
Accuracy (primary) — range: percent
- Top-1 accuracy calculated on the validation split by matching model predictions to ground-truth answers.
MMD Loss — range: other
- Maximum Mean Discrepancy measuring distribution shift between probability distributions. Visual features are extracted via a pre-trained ResNet-101, and textual features via BERT on 10,000 questions plus 20 syntactical features. Lower values indicate greater similarity.
BLEU-1/2/3/4 & METEOR — range: [0, 1]
- BLEU measures n-gram overlap between candidate and reference questions. METEOR calculates similarity using explicit word-to-word matches with recall weighted higher than precision. Used to assess question generation quality and diversity.
Inception Score & FID — range: other
- Inception Score evaluates image diversity (higher is better). FID (Fréchet Inception Distance) measures contextual consistency between generated and original image distributions (lower is better).
Input / output format
Input: An image and a natural language question.
Output: A single-word or short-phrase answer.
Scoring recipe
correct = 0
total = 0
for pred, gold in zip(predictions, gold_answers):
if pred.strip().lower() == gold.strip().lower():
correct += 1
total += 1
accuracy = (correct / total) * 100
return accuracy
Common pitfalls
- In-domain vs cross-domain results are reported in the same table; readers must distinguish diagonal cells (in-domain) from off-diagonal cells (cross-domain transfer).
- MMD Loss requires a fixed evaluation setup: visual features from a pre-trained ResNet-101 and textual features from BERT on exactly 10,000 questions plus 20 syntactical features, not a standard VQA metric.
- BLEU and METEOR are used exclusively for evaluating question generation quality and diversity, not for scoring model answers.
Evidence (verbatim from paper)
We use these metrics for the evaluation of our experiment: Accuracy : We calculate top-1 accuracy on the validation split for each dataset by matching predictions to ground-truth answers. This evaluates model performance on the variations. MMD Loss : We utilize the Maximum Mean Discrepancy (MMD) metric for domain shift analysis, a statistical test measuring the difference between probability distributions. In this, we use a pre-trained ResNet-101 model to extract visual features, encompassing high and low-level information about the image. In the question space, BERT encodes 10,000 questions to capture semantic content, and we extract 20 syntactical features like question length. By calculating the MMD based on these features, we quantify distribution shift, with lower MMD values indicating greater similarity between distributions. Similarity Analysis : To compare the original dataset with VQA-GEN, we employed similarity metrics like BLEU-1, BLEU-2, BLEU-3, BLEU-4, and METEOR to assess the quality and diversity of the generated questions.
Citation
@misc{unni2023vqagen,
title={VQA-GEN: A Visual Question Answering Benchmark for Domain Generalization},
author={Unni et al. (2023)},
year={2023},
note={arXiv:2311.00807}
}
1---2name: vqa-gen-eval3description: This benchmark evaluates a model's ability to generalize in Visual Question Answering under coordinated visual and textual distribution shifts. It probes robustness to image corruptions, style transfers, and linguistic variations by measuring in-domain and cross-domain accuracy. Use when the user wants to benchmark on VQA-GEN, or asks about evaluating this task. Reports Accuracy.4---56# vqa-gen-eval78> VQA-GEN: A Visual Question Answering Benchmark for Domain Generalization — Unni et al. (2023) (arXiv:2311.00807, 2023)910## What this evaluates1112This benchmark evaluates a model's ability to generalize in Visual Question Answering under coordinated visual and textual distribution shifts. It probes robustness to image corruptions, style transfers, and linguistic variations by measuring in-domain and cross-domain accuracy.1314## Datasets1516- **VQA-GEN** — total ?; splits: train (400000), test (200000)1718## Metrics1920- `Accuracy` **(primary)** — range: percent21 - Top-1 accuracy calculated on the validation split by matching model predictions to ground-truth answers.22- `MMD Loss` — range: other23 - Maximum Mean Discrepancy measuring distribution shift between probability distributions. Visual features are extracted via a pre-trained ResNet-101, and textual features via BERT on 10,000 questions plus 20 syntactical features. Lower values indicate greater similarity.24- `BLEU-1/2/3/4 & METEOR` — range: [0, 1]25 - BLEU measures n-gram overlap between candidate and reference questions. METEOR calculates similarity using explicit word-to-word matches with recall weighted higher than precision. Used to assess question generation quality and diversity.26- `Inception Score & FID` — range: other27 - Inception Score evaluates image diversity (higher is better). FID (Fréchet Inception Distance) measures contextual consistency between generated and original image distributions (lower is better).2829## Input / output format3031**Input**: An image and a natural language question.3233**Output**: A single-word or short-phrase answer.3435## Scoring recipe3637```python38correct = 039total = 040for pred, gold in zip(predictions, gold_answers):41 if pred.strip().lower() == gold.strip().lower():42 correct += 143 total += 144accuracy = (correct / total) * 10045return accuracy46```4748## Common pitfalls4950- In-domain vs cross-domain results are reported in the same table; readers must distinguish diagonal cells (in-domain) from off-diagonal cells (cross-domain transfer).51- MMD Loss requires a fixed evaluation setup: visual features from a pre-trained ResNet-101 and textual features from BERT on exactly 10,000 questions plus 20 syntactical features, not a standard VQA metric.52- BLEU and METEOR are used exclusively for evaluating question generation quality and diversity, not for scoring model answers.5354## Evidence (verbatim from paper)5556> We use these metrics for the evaluation of our experiment: Accuracy : We calculate top-1 accuracy on the validation split for each dataset by matching predictions to ground-truth answers. This evaluates model performance on the variations. MMD Loss : We utilize the Maximum Mean Discrepancy (MMD) metric for domain shift analysis, a statistical test measuring the difference between probability distributions. In this, we use a pre-trained ResNet-101 model to extract visual features, encompassing high and low-level information about the image. In the question space, BERT encodes 10,000 questions to capture semantic content, and we extract 20 syntactical features like question length. By calculating the MMD based on these features, we quantify distribution shift, with lower MMD values indicating greater similarity between distributions. Similarity Analysis : To compare the original dataset with VQA-GEN, we employed similarity metrics like BLEU-1, BLEU-2, BLEU-3, BLEU-4, and METEOR to assess the quality and diversity of the generated questions.5758## Citation5960```bibtex61@misc{unni2023vqagen,62 title={VQA-GEN: A Visual Question Answering Benchmark for Domain Generalization},63 author={Unni et al. (2023)},64 year={2023},65 note={arXiv:2311.00807}66}67```6869- arXiv: 2311.00807