GUI-Primitives: Diagnosing Spatial Reasoning Failures in Vision-Language GUI Grounding
The paper introduces GUI-Primitives, a benchmark revealing that vision-language models primarily fail at localizing candidate interface elements rather than understanding spatial relations, as evidenced by their high accuracy when restricted to correct regions but poor performance on unconstrained coordinate prediction.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a computer that can look at a screenshot of a software program, read a sentence like "click the button to the right of the save icon," and then move a mouse cursor to that exact spot. This is the promise of a new generation of artificial intelligence agents designed to operate our computers for us. They are being built to perform tasks ranging from filling out forms to navigating complex menus, acting as digital assistants that can see and interact with the graphical interfaces we use every day. For these agents to work, they must possess a fundamental skill called "grounding": the ability to connect a specific word in a sentence to a specific shape or button on a screen. If the agent cannot reliably find the "button to the right," it cannot perform the task, no matter how smart it is at planning or typing.
Researchers have long known that these computer agents sometimes make mistakes, but they have struggled to pinpoint exactly why. Is the computer failing because it cannot read the text on the screen? Is it confused about what "right" means? Or is it simply unable to locate the buttons in the first place? Existing tests for these systems often mix all these skills together, making it impossible to tell which part of the brain is broken when the agent clicks the wrong thing. To solve this puzzle, a team of scientists created a new, highly controlled test designed to isolate a single, basic ability: understanding spatial relationships in a computer interface.
The researchers built a dataset called GUI-PRIMITIVES, which consists of nearly one thousand pairs of questions. Each pair uses the exact same screenshot and the exact same starting point, or "anchor," but changes only one word in the instruction. In one version, the computer is asked to click the element to the left of a specific icon; in the paired version, it is asked to click the element to the right of that same icon. Because the image and the anchor are identical, the only difference is the direction. If the computer is truly understanding the language, it should click the left button for the first question and the right button for the second. If it clicks the same button for both, or clicks a completely different area, it reveals a failure in understanding the spatial relationship. The team tested nineteen different artificial intelligence models on this challenge, ranging from powerful, expensive commercial systems to smaller, open-source versions.
The results were stark. Even the most advanced models performed poorly, with the best system getting the answer correct in only about thirty-two percent of cases. This is a massive gap compared to human performance, where people answered correctly nearly ninety-seven percent of the time. The researchers dug deeper to understand where the failures were happening. They discovered that the problem was not primarily that the models were confused by the words "left" or "right." Instead, the models were failing to find the correct area on the screen in the first place. In sixty to ninety-two percent of the errors, the computer's predicted click landed outside both the correct target and the wrong distractor, often in a completely empty part of the image.
When the researchers filtered out these "lost" predictions and looked only at the times the computer actually pointed to one of the two candidate buttons, the picture changed. For horizontal and vertical directions, the models were quite good at choosing the right one once they had narrowed it down to the correct area. However, for more complex relationships, such as determining if one item is inside a panel or hidden behind a pop-up window, the models performed no better than random guessing, even when they were looking at the right candidates. This suggests that while the models can sometimes understand the words, they struggle significantly with the visual task of locating where those words apply on a complex screen.
The study also tested whether these spatial skills mattered for real-world performance. They found a strong link: models that were better at these basic spatial tests were also better at a separate, more complex benchmark for clicking on real desktop applications. This confirms that the ability to understand simple spatial instructions is a foundational building block for more advanced computer use. The researchers also tried several tricks to help the models, such as asking them to think step-by-step or adding visual markers to the screen to highlight the options. One method, which involved placing numbered tags directly on the candidate buttons, dramatically improved the scores, lifting some models from thirty percent to nearly ninety percent. However, this was a diagnostic tool rather than a practical solution, as it required the computer to already know where the buttons were to place the tags in the first place.
Ultimately, the study reveals that the current generation of computer-using agents is missing a crucial piece of the puzzle. They are not failing because they cannot reason about language or because they cannot see the screen; they are failing because they cannot reliably map a simple spatial instruction to a specific location on a crowded, complex interface. Until this fundamental skill of connecting words to visual locations is fixed, these digital assistants will continue to struggle with the most basic tasks of navigating our digital world.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.