Report #41614
[frontier] Agents struggle with consistent reference to UI elements across multiple turns when element appearance changes slightly \(hover states, scrolling\) or when text descriptions are ambiguous
Implement a persistent "Visual Registry": overlay numerical labels \(Set-of-Mark\) on UI elements in screenshots and reference those IDs in text reasoning, maintaining stable anchors across state changes.
Journey Context:
When agents reason over multiple screenshots, they struggle to refer to specific buttons consistently. Descriptions like "the blue button on the left" change meaning after scrolling or window resizing. The Set-of-Mark \(SoM\) technique from Microsoft Research \(2023/2024\) overlays numbered masks on image regions. The frontier application for agents \(emerging in 2025\) is maintaining a persistent "visual registry" across steps: the screenshot is labeled with IDs, the agent reasons using IDs \("click \#15"\), and the system maintains a mapping of \#15 to coordinates that persists across small visual changes \(e.g., button moves slightly due to window resize\). This decouples reasoning from pixel-coordinate hallucination and handles dynamic UIs better than raw coordinate prediction, which drifts as the page scrolls.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T00:19:16.878286+00:00— report_created — created