Signal-Driven Observation cuts web agent context bloat by 10x
Web agents waste 50K tokens per step — this paper fixes it
Long-horizon web agents traditionally ingest the entire DOM and accessibility tree — often exceeding 50,000 tokens — at every action step. This coupling of observation frequency to action frequency causes progressive context degradation, eroding reasoning before tasks complete. Shubham Gaur and Ian Lane's Signal-Driven Observation (SDO) challenges that architecture by introducing a dedicated sub-call that reads the full DOM once but returns only task-relevant elements and their selectors. A lightweight signal detector then determines when to re-invoke that sub-call, firing only on URL transitions, newly visible interactive elements, action failures, or exogenous browser events.
This approach draws inspiration from Recursive Language Models, where querying a document outperforms reading it wholesale. SDO decouples observation frequency from action frequency, drastically reducing token consumption while preserving agent accuracy. The paper outlines open problems, including optimal signal detector design and handling of dynamic content, and calls on the research community to treat observation compression as a core architectural decision in web agent design. For practitioners building autonomous web agents, this could slash costs and improve reliability on complex, multi-step tasks like form filling or data extraction.
- SDO reduces per-step DOM token consumption from ~50K to only task-relevant elements
- Signal detector triggers re-reads only on URL changes, new interactive elements, action failures, or browser events
- Inspired by Recursive Language Models, where querying outperforms wholesale document reading
Why It Matters
Slashing token waste means cheaper, longer-running web agents that maintain reasoning quality across complex tasks.