Skip to content
Back to skills

Mathvista Eval

ASecurity

This benchmark evaluates the mathematical reasoning capabilities of foundation models (LLMs and LMMs) when processing visual contexts. It probes abilities such as figure interpretation, algebraic and geometric reasoning, and the integration of multimodal inputs like images, OCR text, and captions into mathematical problem-solving. Use when the user wants to benchmark on MATHVISTA, or asks about evaluating this task. Reports accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
researchpythongo

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill mathvista-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mathvista Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mathvista Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-mathvista-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-mathvista-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mathvista-eval
description: This benchmark evaluates the mathematical reasoning capabilities of foundation models (LLMs and LMMs) when processing visual contexts. It probes abilities such as figure interpretation, algebraic and geometric reasoning, and the integration of multimodal inputs like images, OCR text, and captions into mathematical problem-solving. Use when the user wants to benchmark on MATHVISTA, or asks about evaluating this task. Reports accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2310.02255
  bibtex_key: lu2023mathvista
  confidence: high
---

# mathvista-eval

> MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contexts — Lu et al. (2023) (arXiv:2310.02255, 2023)

## What this evaluates

This benchmark evaluates the mathematical reasoning capabilities of foundation models (LLMs and LMMs) when processing visual contexts. It probes abilities such as figure interpretation, algebraic and geometric reasoning, and the integration of multimodal inputs like images, OCR text, and captions into mathematical problem-solving.

## Datasets

- **MATHVISTA** — total ?; splits: testmini (-1)

## Metrics

- `accuracy` **(primary)** — range: percent
  - Accuracy is computed by comparing the normalized extracted answer against the ground truth. The evaluation pipeline extracts a short answer from the model's detailed response, normalizes it to a required format (option letter or integer), and checks for exact match.

## Input / output format

**Input**: Task description, question, choices (if applicable), and metadata, optionally accompanied by an image, generated image captions, and detected OCR text.

**Output**: A detailed response containing reasoning or code, followed by a short answer text (option letter or numerical value) that is extracted and normalized for scoring.

## Scoring recipe

```python
def compute_accuracy(predictions, golds):
    correct = 0
    for pred, gold in zip(predictions, golds):
        extracted = extract_answer_llm(pred)
        normalized_pred = normalize(extracted)
        if normalized_pred == gold:
            correct += 1
    return (correct / len(predictions)) * 100
```

## Common pitfalls

- Using template matching or regex for answer extraction fails on long LLM responses; the protocol requires an LLM-based extractor (e.g., GPT-4) for >99.5% accuracy.
- Assuming augmented LLMs (with OCR/captions) can match native LMMs, as they lack direct visual perception and struggle with complex figure interpretation and shape detection.
- Reporting results on the full test set when the paper explicitly provides and highlights scores only on the 'testmini' subset.

## Evidence (verbatim from paper)

> Finally, the extracted answer is normalized to a required answer format (e.g., an option letter or an integer), and the target metric scores are computed. Taking advantage of the fact that the instances in MATHVISTA are either multiple-choice questions for textual answers or free-form questions for numerical answers, accuracy scores are used as metrics for deterministic evaluation.

## Citation

```bibtex
@misc{lu2023mathvista,
  title={MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contexts},
  author={Lu et al. (2023)},
  year={2023},
  note={arXiv:2310.02255}
}
```

- arXiv: 2310.02255

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.