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?
Methods
SPARK (Semantic Probe-guided Adaptive Region seeKing) is a training-free, test-time pipeline built around three clever mechanisms:
- 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.
- 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.
- 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.
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