TL;DR
Large Multimodal Models (LMMs) acting as GUI agents frequently suffer from "grounding hallucinations"—either misidentifying similar icons or confidently inventing coordinates for elements that do not exist. This paper introduces GUI-HalluBench, a new bilingual benchmark to evaluate these errors, and demonstrates that grounding failures are deeply linked to poor layout parsing. To fix this, the authors propose a training-free prompting strategy and a fine-tuning method that significantly boost agent reliability.
What Problem Does This Paper Address?
When AI agents interact with graphical user interfaces (GUIs) on your phone or desktop, they rely on a capability called GUI grounding: mapping a user's natural language instruction (e.g., "Click the camera app") to the exact pixel coordinates on the screen.
While current benchmarks evaluate whether an agent can complete a task, they largely ignore reliability and safety. Specifically, LMMs are highly prone to two types of hallucinations:
- Confusion Hallucination: The model mistakes a visually or semantically similar distractor for the target element (e.g., clicking a "search by image" camera icon inside a search bar instead of the actual Camera app).
- Fabricated Hallucination: When asked to click an element that isn't on the screen, the model confidently returns plausible-looking coordinates anyway rather than admitting the element is missing.
This paper systematically investigates why these hallucinations happen and how we can mitigate them to build trustworthy digital assistants.
Methods
The authors tackle the problem from both the evaluation side and the mitigation side using two distinct approaches:
- Parsing-guided Prompt (PGP) [Training-Free]: This inference-time strategy forces the model to use a "parse-then-ground" chain of thought within a single turn. Instead of jumping straight to finding the target element, the prompt explicitly commands the model to first log every visible icon and text block along with their coordinates, and then output the target destination.
- Hallucination-aware Fine-Tuning (HFT) [Training-Based]: For a more robust fix, the authors generated a specialized dataset of 10,000 UI screenshots annotated with simulated hallucination scenarios. They used LoRA (Low-Rank Adaptation) to fine-tune open-source LMMs, explicitly teaching them when to reject an instruction if an element is missing.
Datasets
The paper introduces and utilizes several data resources:
- GUI-HalluBench (New Benchmark): A evaluation dataset containing 2,000 bilingual (English and Chinese) screenshots across Mobile, Web, and Desktop platforms. It features a 40/60 split between confusion and fabricated hallucination test cases.
- HFT Training Dataset (New Dataset): A separate, non-overlapping dataset of 10,000 interfaces used purely to train models to resist hallucinations.
- Public Datasets: The training pipeline also integrates existing datasets like WidgetCaption, UI RefExp, RICO, and ScreenQA to preserve the models' baseline GUI navigation and question-answering skills.
Key Insights and Ideas
- Parsing is a Prerequisite for Grounding: The authors found a powerful statistical correlation between a model's ability to accurately parse a layout and its resistance to hallucinations. If a model cannot cleanly inventory the screen, it is fundamentally set up to hallucinate.
- General Reasoning $\neq$ GUI Precision: Renowned closed-source models like GPT-4o struggle significantly with fine-grained GUI localization. In fact, GPT-4o exhibited an extremely low element precision of 4.3% under cluttered screen conditions, frequently getting tricked by distractors that domain-specific open-source models easily ignored.
- The Bilingual Gap is Visual vs. Textual: Models showed a much wider performance gap between English and Chinese on layout parsing than on hallucination rejection. This indicates that parsing is highly sensitive to language-dependent features (like OCR noise and localized text), whereas rejecting nonexistent elements relies on language-agnostic visual reasoning.
Key Results
- Fine-Tuning Wins: The training-based HFT approach delivered up to a 7% absolute improvement in grounding accuracy over baseline models. For instance, it boosted Qwen3-VL-8B's average accuracy from 66.0% to 73.0%.
- Prompt Engineering Helps Rejection: The training-free PGP method provided modest but highly consistent boosts in model robustness, particularly in helping models correctly refuse to answer when faced with fabricated elements.
- Open-Source Dominance in GUIs: Open-source models optimized with HFT achieved the highest overall scores across the board, with Qwen3-VL-8B (HFT) leading the pack at 71.2% accuracy on Mobile, 74.1% on Desktop, and 73.3% on Web interfaces.
Limitations and Future Work
- Missing Specialized Domains: GUI-HalluBench focuses on standard consumer applications (daily life, dining, entertainment). It does not yet cover highly specialized or high-stakes professional software, such as medical diagnostic dashboards, financial trading terminals, or complex engineering CAD tools.
- Forward-Generalization: The benchmark is built on today's design conventions. As user interfaces evolve toward highly dynamic widgets, adaptive layouts, or AR/VR spatial environments, the hallucination patterns identified here might change, requiring updated evaluation frameworks.
Summary updated