← Latest papers
💬 NLP

Learning GUI Grounding with Spatial Reasoning from Visual Feedback

This paper introduces GUI-Cursor, a model that reframes GUI grounding as an interactive search task using visual feedback from a rendered cursor and reinforcement learning to overcome the coordinate prediction limitations of Vision Language Models, thereby achieving superior performance in spatial reasoning and agentic tasks with less training data.

Original authors: Yu Zhao, Wei-Ning Chen, Huseyin Atahan Inan, Samuel Kessler, Lu Wang, Lukas Wutschitz, Fangkai Yang, Chaoyun Zhang, Pasquale Minervini, Saravan Rajmohan, Robert Sim

Published 2026-05-27
📖 4 min read☕ Coffee break read

Original authors: Yu Zhao, Wei-Ning Chen, Huseyin Atahan Inan, Samuel Kessler, Lu Wang, Lukas Wutschitz, Fangkai Yang, Chaoyun Zhang, Pasquale Minervini, Saravan Rajmohan, Robert Sim

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

The Big Problem: The "Blind Architect"

Imagine you are an architect trying to tell a robot where to place a specific brick on a giant, complex wall (the computer screen). The wall is huge, and the bricks are tiny.

For a long time, researchers tried to teach robots to do this by asking them to guess the exact coordinates (like "Row 45, Column 12") in one single shot. The paper argues that this is like asking the architect to guess the location without ever seeing the wall or the brick. Even the smartest AI models often fail here because they are good at recognizing what things are, but terrible at figuring out exactly where they are on a high-resolution screen. They are "spatially blind."

The Solution: The "Treasure Hunt" (GUI-CURSOR)

The authors, Yu Zhao and his team, decided to stop asking the AI to guess the answer immediately. Instead, they turned the task into a Treasure Hunt.

They introduced a new method called GUI-CURSOR. Instead of just saying "The button is at (500, 500)," the AI is given a virtual mouse cursor. It has to move this cursor around the screen, step-by-step, until it finds the target.

Here is how the "Treasure Hunt" works:

  1. The Move: The AI looks at the screen and says, "I think the target is over there," and moves the cursor.
  2. The Feedback: The computer shows the AI a new picture with the cursor now sitting in that new spot.
  3. The Check: The AI looks at the new picture and asks itself, "Is the cursor on the right button? No? Okay, I need to move left."
  4. The Repeat: It keeps moving and checking until it says, "Yes, I'm on it!" and stops.

The Secret Sauce: Learning from Mistakes

The paper explains that this process is powered by Reinforcement Learning. Think of this like training a dog.

  • If the dog moves the cursor closer to the target, it gets a "treat" (a reward).
  • If the dog moves in the wrong direction, stops too early, or keeps moving in circles, it gets a "no" (a penalty).

The authors created a special set of rules (a reward function) to teach the AI how to hunt efficiently:

  • Don't give up too soon: If you stop when you aren't there yet, that's a penalty.
  • Don't go in circles: If you move to a spot you've already been to, that's a penalty.
  • Don't run away: If you move further away from the target, that's a penalty.

Why This Works Better

The paper claims this method is superior for two main reasons:

  1. Visual Feedback Loop: In the old way, the AI guessed a number and never saw if it was right. In this new way, the AI sees where its guess landed. It's the difference between guessing a location on a map and actually walking there to see if you found the treasure. This helps the AI learn the connection between "numbers" and "visual spots."
  2. Better Spatial Reasoning: The authors tested the AI on a simple game: "Is a black dot inside a red box?" They found that standard AI models are surprisingly bad at this simple task, often failing unless the box is right in the center of the screen. However, the AI trained with the "Treasure Hunt" method got much better at this, even though they didn't explicitly teach it the game. It seems that learning to move a cursor teaches the AI how to understand space and distance better.

The Results: Faster, Smarter, and Cheaper

The team tested their new AI (GUI-CURSOR) against other top models.

  • Accuracy: It beat the previous best models on difficult, high-resolution screens.
  • Efficiency: It learned to solve 95% of problems in just two moves.
  • Data Savings: It achieved these results using only 8,000 training examples, whereas the previous leader needed 64,000. It's like learning to drive a car by practicing on a small track for a few hours, rather than driving for days.

Summary

The paper proposes that instead of forcing AI to be a "one-shot guesser" for computer coordinates, we should let it be a "curious explorer." By giving the AI a virtual mouse and letting it move, look, and correct itself, the AI learns to understand the screen's layout much better. This makes it smarter at finding buttons and icons, and surprisingly, it also makes the AI better at understanding basic spatial relationships in general.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →