Reflection with Action-Induced Visual Differences for Desktop GUI Agents

Yijie Ma, Chaoyue Niu, Fan Wu, Guihai ChenNeurIPS 2026

TL;DR

Teaching AI agents to operate desktop computers requires them to look at a screen, click something, and verify if it actually worked. On sprawling, high-resolution monitors, existing agents struggle because they try to play "spot the difference" and "did I succeed?" in a single mental leap. This paper introduces Evidence-First Reflection (EFR), a simple two-stage approach that separates observing what changed from judging what it means, giving desktop agents a major boost in reliability.

What Problem Does This Paper Address?

Modern Graphical User Interface (GUI) agents typically rely on a three-part division of labor known as the Planner-Operator-Reflector (POR) framework. The Planner breaks down a user's goal, the Operator clicks or types on the screen, and the Reflector looks at "before" and "after" screenshots to verify if the action worked.

While the Planner and Operator only look at one screen at a time, the Reflector has the hardest job in the room: comparing two massive, information-dense desktop screenshots. Desktop changes tend to fall into two frustrating extremes—either a tiny cursor moves by three pixels, or clicking a filter updates ten different charts across the screen simultaneously.

Figure 1: Two representative examples of interface changes in desktop environments. Fig. 1a: the action outcome is indicated by a subtle cursor movement after clicking the position of the letter “a”, making the change easy to overlook. Fig. 1b: switching the year triggers extensive updates across the interface, making it challenging to organize all relevant evidence to assess the action’s effect.

Conventional reflectors feed both screenshots and the intended goal into a Vision-Language Model (VLM) and ask, "Did it work?" in one go. When agents fail on desktop benchmarks, over 27% of failures trace right back to the reflector—and 70% of those happen simply because the model missed what changed on the screen.

Methods

Instead of collapsing perception and reasoning into one step, Evidence-First Reflection (EFR) splits the reflector into an explicit pipeline:

  1. Change Annotation via Set-of-Marks (SoM): Historically, SoM overlays numbered boxes onto UI buttons before an action to help an AI aim its clicks. The authors clever-repurpose SoM for post-action forensics. Using basic pixel-wise comparison, EFR draws numbered red boxes around every visual region that changed between screenshots, plus a blue circle showing where the mouse actually clicked.
  2. Objective Difference Analysis & Noise Filtering: A VLM examines the marked-up screenshots alongside the raw physical action (e.g., click at (519, 232)), deliberately hiding the agent's high-level intention (e.g., click the 'By date' button). The VLM writes an objective description of each boxed change and tags environmental noise—like a ticking system clock—which gets stripped out to create "clean" visual and textual evidence.
  3. Outcome Verification: Finally, the VLM receives the cleaned screenshots, the filtered text descriptions, and—for the first time—the original intended goal, allowing it to calmly judge whether the action succeeded.

Datasets

Because EFR is a training-free architectural upgrade, no training datasets are used. Evaluation is conducted in Dockerized environments across two major benchmarks:

  • OSWorld-Verified: 361 real-world Linux desktop tasks (1920×1080 resolution) spanning 10 apps like Chrome, GIMP, LibreOffice, and VSCode.
  • WindowsAgentArena: 154 Windows tasks (1280×800 resolution) covering office work, coding, system utilities, and web browsing.

Key Insights and Ideas

  • Blinding the observer prevents confirmation bias: If you tell a VLM what you hoped would happen while asking what changed, it tends to hallucinate expected outcomes. Hiding the intended goal during Stage 1 forces objective reporting; revealing it too early drops task accuracy by 1.38%.
  • Structure beats raw "thinking" power: You might wonder if EFR only works because two VLM calls use more compute than one. When tested on frontier model Claude Opus 4.7, giving a standard reflector xhigh thinking effort lost to EFR running at medium effort—meaning EFR was simultaneously more accurate (+2.04%), faster (-8.88% time), and cheaper (-23.49% tokens).
  • Text descriptions alone aren't enough: Removing screenshots from the final judgment step tanked accuracy by 10.58%. Even with great written summaries of changes, the verifier still needs holistic visual context of the screen layout.

Key Results

Tested across four open-source and proprietary backbones (GUI-Owl-32B, Qwen3-VL-32B, Kimi-K2.5, and Seed-1.8), EFR improved performance across every single model-benchmark pairing:

  • Task Success: Average end-to-end gains of +5.94% on OSWorld-Verified (peaking at 59.74% with Kimi-K2.5) and +4.92% on WindowsAgentArena (peaking at 52.88%).
  • Reflector Accuracy: Step-level judgment accuracy jumped by +7.11%, strongly correlating with overall task success ($r = 0.86$).
  • Efficiency Trade-off: Because better reflection prevents agents from going down rabbit holes, EFR reduced total executed steps by 11.5% on Linux and 3.7% on Windows, keeping overall per-task latency overhead moderate (averaging +15.8% and +13.3%, respectively).

Limitations and Future Work

The primary trade-off acknowledged in the main text is computational overhead: adding a second VLM call per step increases average token consumption by ~15–18% and latency by ~13–16% across standard models (fewer total steps only partially offset the heavier per-step reflection). The authors also note isolated, scattered performance dips in specific app categories—pointing readers to the appendix for failure analyses—though they do not lay out an explicit roadmap for future work in the main body of the paper.

Summary updated

Abstract

The Planner-Operator-Reflector (POR) framework is widely used in GUI agents to maintain objective alignment in complex tasks through modular collaboration. However, desktop GUIs introduce a key challenge: large, dense interfaces often exhibit subtle or scattered state changes, placing most of the burden on the reflector, which must compare pre- and post-action screens, while the planner and operator reason over a single state. Existing reflectors collapse change detection and outcome verification into one step, leaving evidence implicit and yielding weakly grounded decisions. To address this limitation, we propose Evidence-First Reflection (EFR), a two-stage reflector that explicitly decouples action-induced visual differences extraction from outcome verification. EFR identifies the action location and candidate changed regions with Set-of-Marks annotations, describes and filters action-relevant changes, and makes the final judgment from the cleaned evidence. This evidence-reasoning decoupled design makes reflection better grounded in screen transitions, while reducing both visual search complexity and reasoning burden. Experiments on OSWorld-Verified and WindowsAgentArena demonstrate that EFR improves reflector accuracy by 7.11\%, yielding average end-to-end task success gains of 5.94\% and 4.92\% on the two benchmarks, respectively.
BibTeX
@inproceedings{ma2026reflection,
  author = {Yijie Ma and Chaoyue Niu and Fan Wu and Guihai Chen},
  title = {{Reflection with Action-Induced Visual Differences for Desktop GUI Agents}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=DCT0OXlKnj},
}
Figure