Your VLM Knows What to Inspect: Semantic Probe-Guided Adaptive Focusing for GUI Grounding

Ruixiao Shi, Fu Feng, Yucheng Xie, Jing Wang, Xin GengarXiv 2026

TL;DR

Vision-language models (VLMs) often miss tiny buttons on cluttered computer screens, yet—remarkably—they can still accurately describe what visual clues they should be looking for. This paper introduces SPARK, a training-free framework that listens to a frozen VLM’s own semantic descriptions and uses its internal attention maps to dynamically zoom in on the right spots at the right scale. By turning a model's latent understanding of what to inspect into targeted visual observations, SPARK dramatically boosts GUI clicking accuracy without updating a single weight.

What Problem Does This Paper Address?

For an AI agent to use a computer, it needs GUI grounding: translating a natural-language command (like "Change file encoding") into exact $(x, y)$ screen coordinates. On modern high-resolution professional interfaces—think Blender, CAD software, or dense IDEs—this creates a classic Goldilocks dilemma. Looking at the full screenshot preserves context (which panel is which), but tiny icons blur into pixel soup. Conversely, zooming in reveals crisp local details, but cropping too tightly strips away the surrounding landmarks needed to tell two identical-looking buttons apart.

Existing test-time methods try to solve this by zooming in or generating multiple views. However, without knowing what semantic ambiguity needs resolving, they risk wasting compute by revisiting redundant areas or cropping out crucial context. The authors ask a wonderfully intuitive question: Can a frozen VLM tell us what it needs to inspect next?

Figure 1. Your VLM knows what to inspect. (a) Existing view-based methods use zooming or multiple views to improve GUI grounding. (b) An incorrect coordinate prediction can coexist with useful semantic guidance: the VLM clicks the neighboring “LF” control, yet identifies “UTF-8” as the evidence to inspect. SPARK connects semantic probes with spatial attention to guide adaptive focusing, enabling a subsequent view to localize the target. (c) SPARK improves grounding accuracy across three backbones on ScreenSpot series benchmarks.

Methods

SPARK (Semantic Probe-guided Adaptive Region seeKing) is a training-free, test-time pipeline built around three clever mechanisms:

  1. Hierarchical Semantic Probes: Instead of immediately asking for coordinates, SPARK prompts the VLM to generate short text descriptions at two levels: Context (the broader panel or landmark) and Detail/Inspect (the specific button or distinguishing feature). It uses two probe flavors: Exploration Probes (conditioned on the task instruction) to find candidates, and Verification Probes (conditioned on competing candidate clicks marked on the screen) to double-check hypotheses.
  2. Attention-Guided Adaptive Focusing: Rather than asking the VLM to guess crop coordinates—which VLMs are bad at—SPARK extracts the VLM’s internal cross-attention maps corresponding to those generated probe words. Candidate windows are scored using the geometric mean of Context and Detail attention, with a "history discount" to discourage re-examining old regions. Crucially, the spatial spread of the Context attention map dynamically dictates the crop's zoom scale: tight context yields a tight crop; spread-out context triggers a wider lens.
  3. Uncertainty-Weighted Voting: Across up to four local views plus the global view, the VLM makes several coordinate predictions. Standard methods use simple majority voting. SPARK clusters nearby clicks spatially and weights each vote using the model's predictive entropy (token-level confidence), allowing one crisp, high-confidence local observation to overrule several uncertain guesses.
Overview of the SPARK pipeline, showing how hierarchical probes translate attention into adaptive crops, and how uncertainty-weighted voting selects the final click.

Datasets

Because SPARK is completely training-free, no training datasets are used. The authors evaluate the framework across five existing GUI grounding benchmarks (no new benchmarks are introduced):

  • ScreenSpot-Pro: High-resolution, complex professional software interfaces (CAD, Dev tools, Creative suites).
  • ScreenSpot-v1 & ScreenSpot-v2: Standard benchmarks covering mobile, desktop, and web interfaces.
  • OSWorld-G & UI-Vision: Diverse grounding benchmarks testing fine-grained element localization, layout understanding, and functional reasoning.

Key Insights and Ideas

  • Semantic understanding precedes spatial precision: Even when a VLM clicks the wrong neighboring icon, its language capabilities already know what visual evidence would confirm the right answer (e.g., "Encoding indicator showing UTF-8").
  • Attention is a better bridge than coordinates: Replacing attention-based window selection with directly predicted crop coordinates causes a sharp drop in accuracy across all models. Internal attention maps naturally translate "what to look for" into "where to look."
  • Context dictates zoom scale: Fixed zoom levels underperform adaptive scaling. Letting the spatial distribution of contextual landmarks determine crop size ensures views are zoomed in enough to read text, yet wide enough to understand where that text lives.
  • Short probes, rich pixels: Varying the text-generation budget barely affects accuracy—concise descriptions are plenty. However, starving the local crops of visual tokens hurts significantly, proving that compact semantic guidance works best when paired with crisp visual resolution.

Key Results

SPARK consistently improves every tested VLM—spanning general-purpose models (Qwen2.5-VL-7B, Qwen3-VL-8B, Qwen3-VL-32B) and GUI-specialized models (UI-TARS-1.5-7B)—outperforming prior test-time methods like RegionFocus, DRS-GUI, BAMI, and MVP.

  • Massive jumps on complex UIs: On ScreenSpot-Pro, SPARK boosts single-view accuracy by +25.2 percentage points (pp) on Qwen2.5-VL (27.3% $\rightarrow$ 52.5%), +16.1 pp on UI-TARS (42.1% $\rightarrow$ 58.2%), and +13.9 pp on Qwen3-VL-8B (54.8% $\rightarrow$ 68.7%).
  • Tiny icons become clickable: With Qwen3-VL-8B on ScreenSpot-Pro, icon-grounding accuracy leaps from 14.1% to 40.6% in CAD software, and from 35.8% to 67.9% in Office apps.
  • Scales to big models and other benchmarks: Scaling up to Qwen3-VL-32B, SPARK hits 75.9% on ScreenSpot-Pro (+20.5 pp over baseline) and 44.7% on UI-Vision (+8.5 pp). It also achieves top marks across ScreenSpot-v1/v2 (up to 94.3%) and OSWorld-G (up to 77.8%).

Limitations and Future Work

While the authors do not include a dedicated "Limitations" or "Future Work" section in the main text, two practical boundaries are apparent from their experimental setup and analyses:

  • Diminishing returns & multi-call overhead: SPARK requires multiple VLM forward passes per click (probe generation + up to 4 local view evaluations). Scaling beyond 4 local views to 6 or 8 yields diminishing accuracy returns for the extra compute.
  • Scope of evaluation: Under their evaluation protocol (following prior work like MVP), the "Refusal" category in OSWorld-G—knowing when a requested target doesn't exist on screen—was not evaluated. Future directions are not explicitly discussed in the paper.

Summary updated

Abstract

GUI grounding requires resolving fine visual details within the context that gives them meaning. Additional views can improve localization, but their value depends on what evidence they expose and how much context they preserve. We explore a capability of vision-language models (VLMs): even when their coordinate predictions are incorrect, they can describe visual evidence worth inspecting. We introduce \textbf{SPARK}, \textit{\textbf{S}emantic \textbf{P}robe-guided \textbf{A}daptive \textbf{R}egion see\textbf{K}ing}, a training-free framework that turns this semantic guidance into targeted visual observations. Exploration probes describe relevant context and distinguishing target details, while verification probes identify evidence needed to assess emerging hypotheses. Their spatial attention guides view placement, contextual responses determine crop extent, and observation history encourages complementary inspection. The resulting predictions are combined through uncertainty-weighted voting. On ScreenSpot-Pro, SPARK improves grounding accuracy over single-view inference by 13.9, 25.2, and 16.1 percentage points with Qwen3-VL, Qwen2.5-VL, and UI-TARS, outperforming all compared test-time methods for each backbone. Consistent gains across four additional benchmarks demonstrate its effectiveness across diverse interfaces and grounding tasks. These results establish semantic probing as an effective mechanism for turning a frozen VLM's understanding of what to inspect into more accurate GUI grounding.
BibTeX
@misc{shi2026your,
  author = {Ruixiao Shi and Fu Feng and Yucheng Xie and Jing Wang and Xin Geng},
  title = {{Your VLM Knows What to Inspect: Semantic Probe-Guided Adaptive Focusing for GUI Grounding}},
  year = {2026},
  eprint = {2611.31909},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31909},
}
Figure