AutoFocus: Uncertainty-Aware Active Visual Search for GUI Grounding

Ruilin Yao, Shegnwu Xiong, Tianyu Zou, Shili Xiong, Yi Rong
5/4/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Vision-Language Models (VLMs) have enabled autonomous GUI agents that translate natural language instructions into executable screen coordinates. However, grounding performance degrades in high-resolution interfaces, where dense layouts and small interactive elements expose a resolution gap between modern displays and model input constraints.

Show full abstract

Existing zoom-in strategies rely on fixed anchors, heuristic grids, or reinforcement learning, lacking a principled mechanism to adaptively determine where refinement is needed and how much spatial uncertainty should be explored. We propose AutoFocus, a training-free, uncertainty-aware active visual search framework for GUI grounding. Our key insight is that token-level perplexity in coordinate generation naturally reflects spatial uncertainty. Rather than committing to a single prediction, AutoFocus samples multiple coordinate hypotheses and converts their axial perplexities into an anisotropic gaussian spatial probability field, explicitly modeling directional uncertainty. Based on this field, we generate global and local region proposals and introduce Shape-Aware Zooming to balance tight localization with contextual preservation. A visual prompt-based aggregation step then selects the most consistent prediction via structured comparison. Extensive experiments on ScreenSpot-Pro and ScreenSpot-V2 demonstrate consistent improvements across both general-purpose and GUI-specialized VLMs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yao2026autofocus,
  title  = {AutoFocus: Uncertainty-Aware Active Visual Search for GUI Grounding},
  author = {Ruilin Yao and Shegnwu Xiong and Tianyu Zou and Shili Xiong and Yi Rong},
  year   = {2026},
  eprint = {2605.02630},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.02630v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.02630.svg)](https://codeofpaper.com/paper/2605.02630)

Discussion