The Impact of Element Ordering on LM Agent Performance
On the map: LLM agents and tool use → Web, search, and research agents
Abstract (arXiv)
There has been a surge of interest in language model agents that can navigate virtual environments such as the web or desktop. To navigate such environments, agents benefit from information on the various elements (e.g., buttons, text, or images) present. It remains unclear which element attributes have the greatest impact on agent performance, especially in environments that only provide a graphical representation (i.e., pixels). Here we find that the ordering in which elements are presented to the language model is surprisingly impactful--randomizing element ordering in a webpage degrades agent performance comparably to removing all visible text from an agent's state representation. While a webpage provides a hierarchical ordering of elements, there is no such ordering when parsing elements directly from pixels. Moreover, as tasks become more challenging and models more sophisticated, our experiments suggest that the impact of ordering increases. Finding an effective ordering is non-trivial. We investigate the impact of various element ordering methods in web and desktop environments. We find that dimensionality reduction provides a viable ordering for pixel-only environments. We train a UI element detection model to derive elements from pixels and apply our findings to an agent benchmark--OmniACT--where we only have access to pixels. Our method completes more than two times as many tasks on average relative to the previous state-of-the-art.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 8 of its 31 references that are in the map. First posted on arXiv 18 Sep 2024.
Builds on
8 of 31 references.
Closest ancestors · 2
Same direction, newest first
- 2024WebVoyager: Building an End-to-End Web Agent with Large Multimodal Models25 Jan
- 2024GPT-4V(ision) is a Generalist Web Agent, if Grounded3 Jan
Other references · 6
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
- 2021Screen Recognition: Creating Accessibility Metadata for Mobile Applications from Pixelscited by 57
- 2023WebUI: A Dataset for Enhancing Visual UI Understanding with Web Semanticscited by 45
- 2020Unblind Your Apps: Predicting Natural-Language Labels for Mobile GUI Components by Deep Learningcited by 25
- 2023"What's important here?": Opportunities and Challenges of Using LLMs in Retrieving Information from Web Interfacescited by 6
Built on by
Citing papers per year: 2024: 2; 2025: 1.
3 papers.
- 2024The BrowserGym Ecosystem for Web Agent Researchcited by 152
- 2024VideoWebArena: Evaluating Long Context Multimodal Agents with Video Understanding Web Taskscited by 43
- 2025Interaction-Driven Browsing: A Human-in-the-Loop Conceptual Framework Informed by Human Web Browsing for Browser-Using Agentscited by 3
- 2025Interaction-Driven Browsing: A Human-in-the-Loop Conceptual Framework Informed by Human Web Browsing for Browser-Using Agents15 Sep 2025
- 2024The BrowserGym Ecosystem for Web Agent Research6 Dec 2024
- 2024VideoWebArena: Evaluating Long Context Multimodal Agents with Video Understanding Web Tasks24 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2025Beyond Pixels: Exploring DOM Downsampling for LLM-Based Web Agents
- 2026Agents Don't Paginate: First-Chunk Selection for LLM Tool Responses
- 2026ToolMenuBench: Benchmarking Tool-Menu Filtering Strategies for Reliable and Efficient LLM Agents
- 2026Improving LLM-based Autonomous Web Agents with Filtering
- 2024Large Language Models Can Self-Improve At Web Agent Tasks
- 2026Read More, Think More: Revisiting Observation Reduction for Web Agents
- 2023Exposing Limitations of Language Model Agents in Sequential-Task Compositions on the Web
- 2026When Agents Slow Down: Understanding LLM Agents' Test-Time Strategies via Elo-per-token Analysis