vqa-benchmarks-eval
2.5 Years in Class: A Multimodal Textbook for Vision-Language Pretraining — Wenqi Zhang et al. (2025) (arXiv:2501.00958, 2025)
What this evaluates
Evaluates vision-language models' ability to answer questions across general knowledge, OCR, mathematics, and science domains using few-shot in-context learning. It also probes the model's capacity to attend to interleaved image-text contexts through a 'cheat test' protocol.
Datasets
- TextVQA — total ?; splits: test (-1)
- OKVQA — total ?; splits: test (-1)
- MathVista — total ?; splits: test (-1)
- MathVision — total ?; splits: test (-1)
- MathVerse — total ?; splits: test (-1)
- ScienceQA-IMG — total ?; splits: test (-1)
Metrics
accuracy (primary) — range: percent
- Percentage of correctly predicted answers out of total test instances.
perplexity — range: other
- Exponential of the average negative log-likelihood of the ground truth tokens.
Input / output format
Input: Interleaved sequence of images and text (questions, and optionally few-shot examples with images, questions, and answers).
Output: Textual answer string.
Scoring recipe
def compute_accuracy(predictions, gold_answers):
correct = 0
for pred, gold in zip(predictions, gold_answers):
if normalize_answer(pred) == normalize_answer(gold):
correct += 1
return (correct / len(gold_answers)) * 100
Common pitfalls
- Few-shot examples are randomly sampled or retrieved, which can introduce variance in accuracy scores across runs.
- The 'cheat test' protocol replaces a few-shot example with the actual test sample, measuring in-context attention rather than generalization, which may inflate scores on benchmarks requiring complex reasoning.
Evidence (verbatim from paper)
Following OpenFlamingo*[[5]]* and OmniCorpus*[[25]], we evaluate the performance of the pre-trained models on two VQA benchmarks (TextVQA[[43]], OKVQA[[35]]), three visual reasoning benchmarks (MathVista, MathVision, MathVision), and ScienceQA-IMG[[34]], covering general, OCR, mathematics, and science domains. We compute model accuracy in few-shot settings using either randomly sampled or retrieved examples as previous works[[21], [52], [25]]*.
Citation
@misc{zhang2025multimodaltextbook,
title={2.5 Years in Class: A Multimodal Textbook for Vision-Language Pretraining},
author={Wenqi Zhang et al. (2025)},
year={2025},
note={arXiv:2501.00958}
}
1---2name: vqa-benchmarks-eval3description: Evaluates vision-language models' ability to answer questions across general knowledge, OCR, mathematics, and science domains using few-shot in-context learning. It also probes the model's capacity to attend to interleaved image-text contexts through a 'cheat test' protocol. Use when the user wants to benchmark on TextVQA, OKVQA, MathVista, MathVision, MathVerse, ScienceQA-IMG, or asks about evaluating this task. Reports accuracy.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/vqa-benchmarks-eval6 skill_kind: dataset_eval7 source_arxiv: 2501.009588 bibtex_key: zhang2025multimodaltextbook9 confidence: high10---1112# vqa-benchmarks-eval1314> 2.5 Years in Class: A Multimodal Textbook for Vision-Language Pretraining — Wenqi Zhang et al. (2025) (arXiv:2501.00958, 2025)1516## What this evaluates1718Evaluates vision-language models' ability to answer questions across general knowledge, OCR, mathematics, and science domains using few-shot in-context learning. It also probes the model's capacity to attend to interleaved image-text contexts through a 'cheat test' protocol.1920## Datasets2122- **TextVQA** — total ?; splits: test (-1)23- **OKVQA** — total ?; splits: test (-1)24- **MathVista** — total ?; splits: test (-1)25- **MathVision** — total ?; splits: test (-1)26- **MathVerse** — total ?; splits: test (-1)27- **ScienceQA-IMG** — total ?; splits: test (-1)2829## Metrics3031- `accuracy` **(primary)** — range: percent32 - Percentage of correctly predicted answers out of total test instances.33- `perplexity` — range: other34 - Exponential of the average negative log-likelihood of the ground truth tokens.3536## Input / output format3738**Input**: Interleaved sequence of images and text (questions, and optionally few-shot examples with images, questions, and answers).3940**Output**: Textual answer string.4142## Scoring recipe4344```python45def compute_accuracy(predictions, gold_answers):46 correct = 047 for pred, gold in zip(predictions, gold_answers):48 if normalize_answer(pred) == normalize_answer(gold):49 correct += 150 return (correct / len(gold_answers)) * 10051```5253## Common pitfalls5455- Few-shot examples are randomly sampled or retrieved, which can introduce variance in accuracy scores across runs.56- The 'cheat test' protocol replaces a few-shot example with the actual test sample, measuring in-context attention rather than generalization, which may inflate scores on benchmarks requiring complex reasoning.5758## Evidence (verbatim from paper)5960> Following OpenFlamingo*[[5]]* and OmniCorpus*[[25]]*, we evaluate the performance of the pre-trained models on two VQA benchmarks (TextVQA*[[43]]*, OKVQA*[[35]]*), three visual reasoning benchmarks (MathVista, MathVision, MathVision), and ScienceQA-IMG*[[34]]*, covering general, OCR, mathematics, and science domains. We compute model accuracy in few-shot settings using either randomly sampled or retrieved examples as previous works*[[21], [52], [25]]*.6162## Citation6364```bibtex65@misc{zhang2025multimodaltextbook,66 title={2.5 Years in Class: A Multimodal Textbook for Vision-Language Pretraining},67 author={Wenqi Zhang et al. (2025)},68 year={2025},69 note={arXiv:2501.00958}70}71```7273- arXiv: 2501.00958