Evals ML
An isometric camera-equipped robotic arm hovers over a dark blue panel of rounded squares, circles, and sliders, reaching toward a glowing cyan disc and ring
Research

GUI-Primitives Benchmark for Spatial Reasoning in VLMs

Score a GUI-Primitives left/right pair, choose the human-verified clean split, and tell when a vision model clicks the rival or misses both boxes.

By Evals ML Editorial · · 4 min read

Vision-language models in GUI-Primitives most often predicted clicks outside both candidate boxes. The benchmark tests spatial reasoning by pairing two click instructions on the same screenshot. Across 19 models, the best strict point-in-box accuracy was 32% on the human-verified clean subset. EMNLP 2026 paper · Full paper, Table 2

What the Benchmark Tests

Each pair keeps the screenshot and reference element, or anchor, fixed. The spatial relation changes and the two candidate boxes swap roles. Some released pairs also vary the surrounding wording. The benchmark covers left/right, above/below, containment, alignment, proximity, list ordinal and occlusion. Full paper, Sections 1 and 3

Choose an evaluation split

Start with human_verified_clean for the main evaluation. It excludes the 11 items that a majority of annotators flagged as ill-formed. GUI-Primitives dataset card

Split Items Use
human_verified_clean 185 Primary evaluation on the retained human-verified items
human_verified 196 Inspect the full annotated subset, including flagged items
all 994 Evaluate the full release, including the unchecked pool
pool 798 Use the machine-generated, unchecked items for scale analysis

Five annotators independently reviewed the 196-item subset. Fleiss’ κ was 0.94 for well-formedness and 0.79 for target selection within that subset. EMNLP 2026 paper

Score a left/right pair

Group the items by pair_id. For each item, give the model its screenshot and instruction, then compare the predicted point with target_bbox and distractor_bbox in original screenshot pixels. The strict test checks that both coordinates are within the target box, including its edges. Dataset card · Full paper, Section 4

Prediction Outcome Strict item score
Inside the target box Target hit 1
Inside the rival box only Rival hit 0
Outside both boxes Miss 0
No parseable coordinate Invalid 0

For the candidate-level breakdown, the paper assigns a click inside both boxes to the box with the nearer center. Keep invalid outputs separate from outside clicks. Full paper, Appendix R

In this example, one screenshot has a fixed Zoom anchor at (70, 30). The left box spans [20, 20, 40, 40] and the right box spans [100, 20, 120, 40]. The model predicts (30, 30) for both instructions.

Instruction Target Rival Prediction Score
Click the button left of Zoom Left box Right box (30, 30) hits the target 1
Click the button right of Zoom Right box Left box (30, 30) hits the rival 0

That gives 1/2 item accuracy and 0/1 pair consistency. A pair passes only when both items are correct. If the second click were (70, 30), it would miss both boxes and the two scores would stay the same. Dataset card evaluation protocol

Divide target hits by all scored items for strict accuracy. For pair consistency, divide passing pairs by the number of complete pairs. Report that denominator separately because filtering individual items on the clean split can leave an item without its partner. Dataset card

Conditional target selection divides target hits by all clicks inside either candidate. The original example gives 1/2. With the outside click substituted, it gives 1/1. Report that denominator with the rate. Full paper, Appendix R

The Findings: Major Blind Spots

Across relation types, 60–92% of baseline predictions landed outside both candidate boxes. When a click landed in either box, target selection reached 82–90% for horizontal position, vertical position, proximity and list ordinal. The conditional rates for containment and occlusion were statistically indistinguishable from the 50% two-candidate reference. EMNLP 2026 paper

The oracle experiment placed numbered marks on the two known candidates and asked the model to pick a mark. Accuracy rose by 35–57 percentage points for three of four models. The gain shows the benefit of supplying candidate locations that an agent would need to find on a new screenshot. Full paper, Section 7

Why This Matters for Automated Agents

A rival hit means the prediction reached the alternative control. An outside click means it missed both candidates and could land on an unrelated control. Keeping those outcomes separate helps you judge whether a recurring failure concerns selecting between candidates or locating either one. Full paper, Appendix R

The Larger Ecosystem of GUI Benchmarks

The authors compared GUI-Primitives with ScreenSpot-Pro, a high-resolution GUI grounding benchmark. Across ten models, the scores had a Spearman rank correlation of +0.74. The comparison was exploratory at that sample size. EMNLP 2026 paper · Full paper, Section 6

For task formats and scoring in language and code evaluation, see the text benchmark survey.

What Defenders Should Take Away

For an agent that clicks controls, build paired checks around the controls it will use. Record the screenshot, instruction and predicted point so you can review rival hits, outside clicks and invalid outputs alongside pair consistency. Compare ways to run and record those checks in the evaluation frameworks guide.

Evidence and limits. Findings are drawn from the EMNLP 2026 paper and its arXiv v2 text. Split definitions are taken from the accompanying dataset card. Containment and occlusion were evaluated on synthetic screenshots. The worked pair is illustrative. No evaluation was run locally.

Sources

  1. GUI-Primitives: Diagnosing Spatial Reasoning Failures in Vision-Language GUI Grounding (EMNLP 2026)
  2. GUI-Primitives full paper (arXiv v2)
  3. GUI-Primitives dataset card

Related