Report #47485
[frontier] Why does my agent try to click buttons that don't exist, especially in dense dashboards?
Implement 'Visual Verification Loops' using accessibility snapshots: before acting on a detected element, verify its existence in the accessibility tree or DOM to confirm it's not a hallucinated decorative image.
Journey Context:
VLMs trained on web screenshots hallucinate interactive elements frequently, especially in dense UIs \(grids of cards, complex dashboards\). They see a 'button' in a banner image or chart legend and attempt to click coordinates corresponding to background graphics, not actual interactive elements. This is 'phantom element hallucination.' The frontier pattern treats DOM and Vision as two sensors that must agree before action. After the VLM proposes an action \(click at x,y\), the agent queries the accessibility tree \(a11y tree\) or DOM at those coordinates. If there's no interactive element there \(or it's marked decorative\), the agent rejects the action and re-queries the VLM with a note about the hallucination. This 'visual grounding check' prevents agents from getting stuck in hallucination loops on dense dashboards.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T10:10:47.951495+00:00— report_created — created