Improving LLM-based Autonomous Web Agents with Filtering
Abstract
Autonomous web agents, powered by Large Language Models (LLMs), have garnered significant attention for automating various web-based tasks with multi-step reasoning and decision-making capabilities. An open research question in the development of these agents lies in the format of the webpage input. Raw HTML source code, with its extensive and often irrelevant details, poses difficulties for LLMs with limited context windows. To address this challenge, we first reproduce baseline models such as GPT-3.5 and LLaMA-2-70B on the WebArena (Zhou et al., 2023) benchmark, identifying common failure modes. We then propose two retrieval strategies to filter out irrelevant context for LLM agents. We develop DeBERTa-based and T5-based models that rank HTML elements by their relevance to the task. We fine-tune them on Mind2Web trajectory data and transfer them to WebArena. Experiments show that our DeBERTa-based model improves the success rate of the LLaMA-2-70B LLM agent on WebArena from 1.97% to 2.96%. Moreover, we develop a zero-shot ColBERT-based retriever that is able to retrieve the ground-truth element with a recall of 0.52 on Mind2Web and 0.47 on WebArena.
Create a lesson
Metadata
- Comments
- All authors contributed equally to this work and are co-first authors. We conducted the initial research for this paper in 2023
Related papers
AI-human hybrid conversations: Can AI Agents Improve Discourse Quality?
Shared title terminologycs.CLIshita Chakraborty, Xingjian You, Shrabastee Banerjee
Beyond LLM-Based Reasoning: Lightweight GNNs for Agent Failure Attribution
Shared title terminologycs.CLTing-Wei Li, Yuanchen Bei, Xiao Lin et al.
Artifact-centered Claim-aware Observability for Autonomous Scientific Agents
Shared title terminologycs.CLXiangyu Yin, Ming Du, Michael H. Prince et al.
AQuA: Recursively Self-Improving Quantitative Trading Research Agents
Shared title terminologycs.CLJiacheng Guo, Suozhi Huang, Yunlong Gao et al.
μ-Bench: Benchmarking Multi-User Task Completion in Shared Interaction Voice Agents
Shared title terminologycs.CLQihao Lin, Guanxu Chen, Shuhang Zheng et al.
DRBench Pro: A Knowledge-Centric Benchmark for Professional Deep Research Agents
Shared title terminologycs.CLHan Huang, Yuchen Yan, Xingyu Wu et al.