atlas

Research map / Large language models / Agents, code and math

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

ICLR 2024 · Large language models › Agents, code and math · approach: LLM planning with symbolic tools · 14 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces WebAgent, a modular LLM agent that pairs a newly pre-trained HTML-specialized encoder-decoder (HTML-T5, local-global attention with long-span denoising) for planning and HTML summarization with Flan-U-PaLM for Python program synthesis, trained via self-experience supervision.

Problem

Web automation on real-world websites is hard due to open-ended action spaces, very long HTML documents exceeding LLM context lengths, and lack of HTML-specific inductive bias in general LLMs.

Approach

Decompose web navigation into closed-loop planning and HTML summarization by a finetuned domain-expert encoder-decoder (HTML-T5 with local/global attention and mixed long-span denoising pretraining), and act via grounded Python/Selenium code generated by a generalist LLM prompted with sub-instructions and HTML snippets.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add both planning and summarization language-model modules (ablation)Flan-U-PaLM · real-world websitessuccess: 10.0 -> 65.0; 20.0 -> 70.0; 10.0 -> 80.0Helped
Add a planning language model (ablation)Flan-U-PaLM · real-estatesuccess: 10.0 -> 50.0Helped
Add a planning language model (ablation)Flan-U-PaLM · social-media and mapsuccess: 20.0 -> 20.0; 10.0 -> 30.0Mixed
Add a summarization language model (ablation)Flan-U-PaLM · real-world websitessuccess: 10.0 -> 0.0; 20.0 -> 25.0; 10.0 -> 15.0Mixed
Use local and global attention instead of dense attention (ablation)Long-T5-Base · MiniWoB++ (L=4096)success: 35.3% -> 53.6%Helped
Use local and global attention instead of local attention only (ablation)Long-T5-Base · MiniWoB++ (L=4096)success: 44.0% -> 53.6%Helped
Use HTML-denoising pre-training (ablation)LongT5 · MiniWoB++success: 53.8% -> 57.0%Helped
Use denoising span lengths 8,64 instead of 3,8,64,Prefix (ablation)LongT5-Base · real-estateaccuracy: 80.56 -> 82.46Helped
Use PEGASUS pre-training initialization (ablation)HTML-T5-Base with extracted HTML · real-estateaccuracy: 67.11 -> 82.46Helped
Use PEGASUS pre-training initialization (ablation)HTML-T5-Base with extracted HTML · MiniWoB++success: 49.1% -> 57.0%Helped
Extract HTML subtrees around label elements instead of using raw HTML (ablation)HTML-T5-Base initialized with PEGASUS · MiniWoB++success: 56.7% -> 57.0%No clear effect
Apply HTML-denoising pre-training (ablation)LongT5 · MiniWoB++success: LongT5-XL 60.4% -> HTML-T5-XL 67.1%Helped

Surprising findings

Limitations

Experimental setup

Datasets: CommonCrawl HTML (100 WARC files, April 2019) MiniWoB++ 12K demonstrations MiniWoB++ 347K demonstrations Mind2Web WebSRC C4

Benchmarks: real-world websites (real-estate, social-media, map) MiniWoB++ Mind2Web WebSRC description generation benchmark

Metrics: success rate score element accuracy operation F1 step success rate EM F1 accuracy BLEU ROUGE-1

Baselines: Flan-U-PaLM Flan-U-PaLM+P Flan-U-PaLM+S WebN-T5-XL Flan-T5-XL MindAct Synapse MarkupLM-Large TIE-Large

Builds on: LongT5 Flan-U-PaLM MindAct PEGASUS

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy