Report #35181
[frontier] Vision models hallucinating UI element locations in raw screenshots
Apply Set-of-Marks \(SoM\) visual prompting: overlay numbered markers on interactive elements before sending to the vision model, then have the model reference markers instead of coordinates.
Journey Context:
Raw screenshots force the model to guess coordinates or element identities, leading to hallucinations \(e.g., clicking 'Cancel' instead of 'Submit' due to similar visual weight\). SoM \(Microsoft Research\) overlays numerical markers on buttons, fields, and links. The model outputs actions referencing marker numbers \('click marker 5'\) rather than \(x,y\) coordinates. This separates perception from action, reducing error rates significantly. Common mistake is marking non-interactive elements or using colors that blend with the UI \(use high-contrast red/green circles\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T13:31:49.439497+00:00— report_created — created