mlsanityData to 14 Oct 2026

Beyond Pixels: Exploring DOM Downsampling for LLM-Based Web Agents

arXiv 2508.04412 ↗First posted 6 Aug 2025cs.AI cs.CL cs.HCcited by 4

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

The advent of large language models (LLMs) has sparked an evolution of autonomous web browsing agents: given a web browsing task and serialised user interface (UI) state, an LLM is expected to suggest input actions that incrementally solve the given task. The central challenge lies in serialising UI state for LLMs. Web agents have increasingly relied on grounded graphical UI (GUI) snapshots - screenshots augmented with visual cues - favoured for their modest input token footprint. Document object model (DOM) snapshots, serialised as HTML, represent a compelling alternative that leverages previously demonstrated HTML interpretation capabilities of LLMs. Their excessive token footprint, however, has precluded reliable deployment with web agents to date. We propose D2Snap, an algorithm to downsample the DOM, premised on preserving actionability and actionability-discriminating features. We evaluate D2Snap-downsampled DOM snapshots using a snapshot-variant web agent (GPT-4o) on a dataset sampled from Online-Mind2Web. Whilst 42% of raw DOM snapshots exceed the model context window (128 x 10^3 tokens), all D2Snap-downsampled DOM snapshots of our reference configuration fit, at a mean context utilisation of 16.5%. Against the 67% success rate of a grounded GUI snapshot baseline, our configuration attains 73% (+5.8%pt; 95% CI -13.6 to +26.0%pt; McNemar, p = 0.47), excluding a deficit (one-sided 95%) beyond 11%pt. Image input moreover appears to add little to snapshot utility; grounding text alone attains 62% (-5.8%pt; McNemar, p = 0.37).

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 13 of its 62 references that are in the map. First posted on arXiv 6 Aug 2025.

Builds on

13 of 62 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025An Illusion of Progress? Assessing the Current State of Web Agents2 Apr
  2. 2024WebVoyager: Building an End-to-End Web Agent with Large Multimodal Models25 Jan
  3. 2024GPT-4V(ision) is a Generalist Web Agent, if Grounded3 Jan
  4. 2023WebArena: A Realistic Web Environment for Building Autonomous Agents25 Jul
  5. 2023Mind2Web: Towards a Generalist Agent for the Web9 Jun

Other references · 8

  1. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
  2. 2023Language Models can Solve Computer Taskscited by 372
  3. 2023A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesiscited by 353
  4. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 348
  5. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 287
  6. 2025A Survey of Context Engineering for Large Language Modelscited by 126
  7. 2023Hierarchical Prompting Assists Large Language Model on Web Navigationcited by 36
  8. 2022MetaTPTrans: A Meta Learning Approach for Multilingual Code Representation Learningcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Improving LLM-based Autonomous Web Agents with Filtering
  2. 2025BrowserArena: Evaluating LLM Agents on Real-World Web Navigation Tasks
  3. 2026Read More, Think More: Revisiting Observation Reduction for Web Agents
  4. 2024AgentOccam: A Simple Yet Strong Baseline for LLM-Based Web Agents
  5. 2026MAG: A Web-Agent Benchmark and Harness for Multimodal Action and Guide Generation
  6. 2025Symbiotic Cooperation for Web Agents: Harnessing Complementary Strengths of Large and Small LLMs
  7. 2024Large Language Models Can Self-Improve At Web Agent Tasks
  8. 2026MolmoWeb: Open Visual Web Agent and Open Data for the Open Web