WebPilot: MCTS-inspired multi-agent system that decomposes web tasks and uses reflective search to improve web automation

August 28, 20248 min

Overview

Production Readiness

0.6

Novelty Score

0.7

Cost Impact Score

0.5

Citation Count

4

Authors

Yao Zhang, Zijian Ma, Yunpu Ma, Zhen Han, Yu Wu, Volker Tresp

Links

Abstract / PDF

Why It Matters For Business

WebPilot improves success on realistic, multi-step web automation by decomposing tasks and using reflection-guided search, which reduces rework and increases reliability for complex automation workflows.

Summary TLDR

WebPilot is a multi-agent web agent that pairs a high-level planner with a tailored Monte Carlo Tree Search (MCTS) at the subtask level. It breaks tasks into subtasks (Planner), executes each subtask with an MCTS variant that uses reflections and a 0–10 self-reward to assess both action effect and future promise, then updates the plan (Controller). On realistic WebArena tasks with GPT-4o it reaches 37.2% success rate and claims a 93% relative improvement over a concurrent tree-search baseline. It works well on long, ambiguous web tasks but is limited by text-only observations and the underlying LLM quality.

Problem Statement

LLM-based web agents struggle on complex, realistic web tasks because rigid state-action policies and naive MCTS cannot handle vast action spaces, partial observability, and dynamic page behavior. WebPilot aims to improve adaptability by combining hierarchical planning with a reflection-guided, MCTS-like local search to explore and refine strategies under uncertainty.

Main Contribution

A multi-agent architecture that separates global planning (Planner, Controller, Extractor) from local MCTS-like execution (Explorer, Verifier, Appraiser).

Hierarchical Reflection Mechanism: strategic (plan-level) and tactical (node-level) reflections that steer re-execution and narrow action space.

Granular bifaceted self-reward: 0–10 scoring that combines action effectiveness and future promise for finer intermediate evaluation.

MCTS modifications: goal-oriented selection, single-action node expansion with reflections (RENE), one-step simulation (DES), and Maximal Value Backpropagation (MVB).

Empirical results on WebArena and MiniWoB++ showing strong gains in realistic, long-horizon web tasks.

Key Findings

WebPilot (GPT-4o) achieves 37.2% average success rate on WebArena.

Numbers37.2% SR (WebArena, GPT-4o, WebPilot)

Relative improvement vs concurrent tree-search baseline (LM-TS) is ~93%.

NumbersLM-TS 19.2% -> WebPilot 37.2% (≈93% relative increase)

WebPilot with GPT-3.5 still performs competitively: 29.1% average SR on WebArena.

Numbers29.1% SR (WebArena, GPT-3.5, WebPilot)

On MiniWoB++ WebPilot reaches 95.6% SR, near SOTA SteP at 96.0%.

Numbers95.6% SR (MiniWoB++) vs SteP 96.0%

Ablations show Planner and reflection modules are essential: removing Planner drops WI success from 100% to 24% in selected tests.

Numbersw/o Planner: WI 24% vs WebPilot 100% (selected task set)

Results

Success Rate (WebArena, GPT-4o)

Value37.2%

BaselineSteP 33.5% avg, LM-TS 19.2% avg

Success Rate (WebArena, GPT-3.5)

Value29.1%

BaselineWebArena baseline (unspecified) lower

Success Rate (MiniWoB++)

Value95.6%

BaselineSteP 96.0%

Who Should Care

What To Try In 7 Days

Add a lightweight Planner that decomposes complex web jobs into subtasks.

Implement a per-subtask MCTS loop with a small node budget (e.g., ≤10) and a simple 0–10 self-reward combining action effect and future promise.

Collect and log node-level reflections (child/sibling/strategic) to reuse as simple heuristics for repeated failures.

Agent Features

Memory

  • short-term reflections (child/sibling/parent/subtask reflections)

Planning

  • Hierarchical Task Decomposition (HTD)
  • Reflective Task Adjustment (RTA)
  • MCTS-enhanced local planning

Tool Use

  • Modified MCTS (GOS, RENE, DES, MVB)
  • one-step forward simulation

Frameworks

  • Monte Carlo Tree Search (modified)
  • actree-based observation (accessibility tree)

Is Agentic

true

Architectures

  • multi-agent decomposition (Planner/Controller/Explorer/etc.)
  • hierarchical planning + local search

Collaboration

  • role-based coordination between Planner, Controller, Explorer

Optimization Features

Token Efficiency

  • use a few high-level demonstrations instead of many action-level examples to reduce prompt size

System Optimization

  • early subtask termination via Controller to avoid wasted search

Inference Optimization

  • limit max node count per subtask (n_max=10)
  • LoRA
  • limit number of branches (e.g., 3)

Reproducibility

Data Urls

Code Available

Data Available

Open Source Status

  • partial

Risks & Boundaries

Limitations

  • Relies on text-only actree observations; misses visual cues and layout signals.
  • Performance constrained by LLM capabilities; GPT-4 variants improve results noticeably.
  • Some WebArena elements are not fully observable via actree (invisible dropdowns, unchanged tab states).
  • Computational cost: repeated LLM calls for planning, reflections, and simulation steps.

When Not To Use

  • For trivial or single-step UI tasks where simple policies suffice (MiniWoB++-style).
  • When visual context is essential and actree omits key signals.
  • If inference cost or latency from large LLM calls is prohibitive.

Failure Modes

  • Misinterpreting element semantics from text-only actree (chooses statictext vs link).
  • Getting trapped by inaccurate initial LLM intuition if Planner or reflections are disabled.
  • Failing when key dropdowns or state changes are invisible in the observation tree.

Core Entities

Models

  • GPT-3.5-turbo-0125
  • GPT-4o-2024-05-13

Metrics

  • Success Rate (SR)

Datasets

  • WebArena
  • MiniWoB++

Benchmarks

  • WebArena
  • MiniWoB++