Lune

ICLR2024Top-tier venue

A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesis

Izzeddin Gur, Hiroki Furuta, Austin V. Huang, Mustafa Safdari, Yutaka Matsuo, Douglas Eck, Aleksandra Faust

Abstract

Pre-trained large language models (LLMs) have recently achieved better generalization and sample efficiency in autonomous web automation. However, the performance on real-world websites has still suffered from (1) open domainness, (2) limited context length, and (3) lack of inductive bias on HTML. We introduce WebAgent, an LLM-driven agent that learns from self-experience to complete tasks on real websites following natural language instructions. WebAgent plans ahead by decomposing instructions into sub-instructions, summarizes long HTML documents into task-relevant snippets, and acts on websites via Python programs generated from those. We design WebAgent with Flan-U-PaLM, for grounded code generation, and HTML-T5, a new pre-trained LLM for long HTML documents using local and global attention mechanisms and a mixture of long-span denoising objectives, for planning and summarization. We empirically demonstrate that our modular recipe improves the success on real websites by over 50%, and that HTML-T5 is the best model to solve various HTML understanding tasks; achieving 18.7% higher success rate than the prior method on MiniWoB web automation benchmark, and SoTA performance on Mind2Web, an offline task planning evaluation.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

127 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Identifying the Risks of LM Agents with an LM-Emulated Sandbox cites Large Language Models are Zero-Shot Reasoners
  • Identifying the Risks of LM Agents with an LM-Emulated Sandbox cites Language Models are Few-Shot Learners
  • Identifying the Risks of LM Agents with an LM-Emulated Sandbox cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Identifying the Risks of LM Agents with an LM-Emulated Sandbox cites Training language models to follow instructions with human feedback
  • Measuring Massive Multitask Language Understanding cites Language Models are Few-Shot Learners
  • WebArena: A Realistic Web Environment for Building Autonomous Agents cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • WebArena: A Realistic Web Environment for Building Autonomous Agents cites Training language models to follow instructions with human feedback
  • Large Language Models are Zero-Shot Reasoners cites Language Models are Few-Shot Learners
  • Large Language Models are Zero-Shot Reasoners cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Large Language Models are Zero-Shot Reasoners cites Training language models to follow instructions with human feedback
  • GPT-4V(ision) is a Generalist Web Agent, if Grounded cites Measuring Massive Multitask Language Understanding
  • ExpeL: LLM Agents Are Experiential Learners cites Large Language Models are Zero-Shot Reasoners
  • ExpeL: LLM Agents Are Experiential Learners cites Language Models are Few-Shot Learners
  • ExpeL: LLM Agents Are Experiential Learners cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • ExpeL: LLM Agents Are Experiential Learners cites Training language models to follow instructions with human feedback
  • Group-in-Group Policy Optimization for LLM Agent Training cites GPT-4V(ision) is a Generalist Web Agent, if Grounded
  • Group-in-Group Policy Optimization for LLM Agent Training cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Group-in-Group Policy Optimization for LLM Agent Training cites Training language models to follow instructions with human feedback
  • Chain-of-Thought Prompting Elicits Reasoning in Large Language Models cites Training language models to follow instructions with human feedback
  • Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers127

  1. WebArena: A Realistic Web Environment for Building Autonomous AgentsShuyan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou et al.ICLR 2024 · 1,197 citations
  2. GPT-4V(ision) is a Generalist Web Agent, if GroundedBoyuan Zheng, Boyu Gou, Jihyung Kil, Huan Sun et al.ICML 2024 · 496 citations
  3. ExpeL: LLM Agents Are Experiential LearnersAndrew Zhao, Daniel Huang, Quentin Xu, Matthieu Lin et al.AAAI 2024 · 484 citations
  4. Group-in-Group Policy Optimization for LLM Agent TrainingLang Feng, Zhenghai Xue, Tingcong Liu, Bo AnNeurIPS 2025 · 484 citations
  5. Identifying the Risks of LM Agents with an LM-Emulated SandboxYangjun Ruan, Honghua Dong, Andrew Wang, Silviu Pitis et al.ICLR 2024 · 292 citations

Builds on29

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  3. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
  4. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo et al.NeurIPS 2022 · 8,168 citations
  5. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou et al.ICLR 2021 · 7,905 citations

Related papers

  1. Understanding HTML with Large Language ModelsIzzeddin Gur, Ofir Nachum, Yingjie Miao, Mustafa Safdari et al.EMNLP Findings 2023 · 35 citations
  2. Multimodal Web Navigation with Instruction-Finetuned Foundation ModelsHiroki Furuta, Kuang-Huei Lee, Ofir Nachum, Yutaka Matsuo et al.ICLR 2024 · 160 citations
  3. Prune4Web: DOM Tree Pruning Programming for Web AgentJiayuan Zhang, Kaiquan Chen, Zhihao Lu, Enshen Zhou et al.AAAI 2026 · 5 citations
  4. Web Agents with World Models: Learning and Leveraging Environment Dynamics in Web NavigationHyungjoo Chae, Namyoung Kim, Kai Tzu-iunn Ong, Minju Gwak et al.ICLR 2025 · 2 citations
  5. AdaptAgent: Adapting Multimodal Web Agents with Few-Shot Learning from Human DemonstrationsGaurav Verma, Rachneet Kaur, Nishan Srishankar, Zhen Zeng et al.ACL 2025 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines