atlas

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

Learning to Contextualize Web Pages for Enhanced Decision Making by LLM Agents

ICLR 2025 · Large language models › Agents, code and math · approach: Agent instruction-following benchmarks · 0 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.

Proposes LCoW, which trains a separate contextualization module (fine-tuned LM) to rewrite complex web page observations into a more comprehensible form for LLM web agents, using iterative reward-based sampling where agents' action-prediction accuracy scores candidates.

Problem

LLM web agents struggle to understand and process complex raw web page observations (HTML, accessibility trees), limiting decision-making on web automation tasks.

Approach

Decouple web page understanding from decision making by training a separate contextualization module that rewrites observations; candidate contextualizations are sampled and scored by whether multiple LLM agents predict the ground-truth action, and the best one is used for supervised fine-tuning in an iterative loop.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add LCoW contextualizationLLM web agents · WebShop evaluationsuccess rate: 34.8% -> 50.6%; 43.6% -> 62.8%; 26.6% -> 59.8%; 34.2% -> 59.6%Helped
Add LCoW contextualizationLLM web agents · WorkArena evaluationsuccess rate: 38.2% -> 44.2%; 11.5% -> 41.2%; 44.8% -> 55.8%; 26.1% -> 40.0%; 1.2% -> 37.0%Helped
Use self-contextualization instead of raw observationsLLM web agents · WebShop evaluationsuccess rate: 34.8% -> 26.2%; 43.6% -> 46.4%; 26.6% -> 12.4%; 34.2% -> 40.2%Mixed
Use self-contextualization instead of raw observationsLLM web agents · WorkArena evaluationsuccess rate: 38.2% -> 43.0%; 11.5% -> 12.7%; 44.8% -> 50.3%; 26.1% -> 29.1%; 1.2% -> 7.3%Helped
Add LCoW contextualizationGPT-4o · WorkArena unseen-type taskssuccess rate: 35.7% -> 42.9%Helped
Add LCoW contextualizationGemini-1.5-flash · WorkArena unseen-category taskssuccess rate: 0.0% -> 0.0%No clear effect
Add LCoW contextualizationGPT-4o · WebArena unseen websitesuccess rate: 17.4% -> 21.7%Helped
Add LCoW contextualizationGPT-4o · WebArena seen and unseen task typessuccess rate: 6%Helped
Train LCoW contextualization for three iterations instead of using the initial raw observationsGemini-1.5-flash · WebShop evaluationsuccess rate: 43.6% -> 62.8%Helped

Surprising findings

Limitations

Experimental setup

Datasets: WebShop WorkArena WebArena WebArena-Lite

Benchmarks: WebShop WorkArena WebArena

Metrics: success rate average reward action-matching reward

Baselines: Raw observation Self-contextualization Behavior cloning GPT-4o contextualization

Builds on: MindAct HTML-T5 BrowserGym AgentOccam

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