Skip to content
Back to skills

Visual Spatial Reasoning Eval

ASecurity

This benchmark evaluates visual language models' ability to understand and reason about spatial relationships between objects in images. It specifically probes orientation-dependent relations, frame-of-reference shifts (intrinsic vs. relative), and zero-shot generalization to unseen object concepts. Use when the user wants to benchmark on VSR, or asks about evaluating this task. Reports accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythongogitperformance

Works with

  • cli

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill visual-spatial-reasoning-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Visual Spatial Reasoning Eval?

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

Security grade badge for Visual Spatial Reasoning Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-visual-spatial-reasoning-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-visual-spatial-reasoning-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: visual-spatial-reasoning-eval
description: This benchmark evaluates visual language models' ability to understand and reason about spatial relationships between objects in images. It specifically probes orientation-dependent relations, frame-of-reference shifts (intrinsic vs. relative), and zero-shot generalization to unseen object concepts. Use when the user wants to benchmark on VSR, or asks about evaluating this task. Reports accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2205.00363
  bibtex_key: [REDACTED]
  confidence: high
---

# visual-spatial-reasoning-eval

> Visual Spatial Reasoning — Liu et al. (2022) (arXiv:2205.00363, 2022)

## What this evaluates

This benchmark evaluates visual language models' ability to understand and reason about spatial relationships between objects in images. It specifically probes orientation-dependent relations, frame-of-reference shifts (intrinsic vs. relative), and zero-shot generalization to unseen object concepts.

## Datasets

- **VSR** — total ?; splits: train (-1), dev (-1), test (-1); repo https://github.com/cambridgeltl/visual-spatial-reasoning

## Metrics

- `accuracy` **(primary)** — range: [0, 1]
  - The proportion of correctly predicted True/False labels out of the total number of test instances. Calculated as (number of correct predictions) / (total predictions).

## Input / output format

**Input**: Image-text pairs, where the text is a caption describing a spatial relation between objects in the image.

**Output**: Binary classification: True or False, indicating whether the caption accurately describes the spatial relation in the image.

## Scoring recipe

```python
correct = 0
total = 0
for pred, gold in zip(predictions, gold_labels):
    if pred == gold:
        correct += 1
    total += 1
return correct / total
```

## Common pitfalls

- Model performance is sensitive to random seeds; results should be averaged over at least three runs with different seeds.
- The zero-shot split is significantly harder than the random split due to unseen object concepts, not just fewer training examples.
- Proximity relations (e.g., 'near', 'far') are highly concept-dependent and may plateau or drop to chance level in zero-shot settings.

## Evidence (verbatim from paper)

> As shown in Table 4, the best-performing models on the random split are LXMERT and ViLT, reaching around 70% accuracy while VisualBERT is just slightly better than the chance level. On the zero-shot split, all models’ performance decline substantially and the best model ViLT only obtains 63.0% accuracy.

## Citation

```bibtex
@misc{liu2022visualspatialreasoning,
  title={Visual Spatial Reasoning},
  author={Liu et al. (2022)},
  year={2022},
  note={arXiv:2205.00363}
}
```

- arXiv: 2205.00363

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.