WebRelay: Plan-First Synthesis of Verifiable Long-Horizon Tasks for Browser Agents

Chenting Xu1,2, Chuang Peng1,3, Zilin Guo1,4, Qiang Lin1,5, Yichen Liu1, Tiankuo Yao1, Mingqian Li1, Zheng Ma1, Zehuan Wu1, Lewei Lu1,6, Dan Xu4
1SenseTime Research 2Peking University 3Beijing Jiaotong University 4The Hong Kong University of Science and Technology 5Beijing Institute of Technology 6The InnoHK Centre for Perceptual and Interactive Intelligence (CPII)

Abstract

Long-horizon browser tasks require agents to gather live evidence across websites, carry intermediate values across steps, and synthesize structured artifacts. However, agents may rely on parametric knowledge rather than page content, thus producing plausible yet unsupported results. Furthermore, answer-only grading misses such failures in the execution process. Therefore, we address this with WebRelay, a plan-first, phrase-last synthesis framework that locks cross-site routes, deliverables, and trajectory-checkable requirements over a 517-site typed information-flow graph before a language model chooses entities and phrases goals, yielding 3,549 tasks. From this pool, we curate LH-LiveWeb, 100 human-audited live-web tasks across 100 distinct hosts with page-grounded, drift-tolerant answer keys, evaluated across artifact, process, and answer layers from recorded trajectories and screenshots. To unify execution, training, and evaluation, we develop BrowseHarness, an integrated browser infrastructure that pairs consistent live interaction with grounding gates filtering covert execution shortcuts from teacher trajectories. On LH-LiveWeb, seven frontier models achieve 45.0% to 70.0% strict success, averaging 56.7%, whereas answer-only grading overstates performance by 18 to 33 percentage points. Comparing four agent harnesses across the same five frontier models reveals a performance spread of nearly 20 points, with BrowseHarness ranking highest in mean delivery and performing on par with the best in strict success. Fine-tuning Qwen3.5-9B and Qwen3.5-27B solely on 733 verified WebRelay trajectories lifts strict success from 10.3% and 14.7% to 35.0% and 57.3%, placing the 27B model within the frontier range, and these gains transfer to three external web benchmarks.

WebRelay overview: Stage 1 plan-first typed information-flow graph and deterministic workflow planning, Stage 2 phrase-last writer and validation, BrowseHarness teacher rollouts with LLM judges and grounding gates, producing 733 training trajectories and the 100-task LH-LiveWeb benchmark.
From typed graphs to verifiable tasks and trajectories. Left: An information-flow graph over 517 site cards defines valid handoffs; deterministic planning locks the route, entity constraints, and deliverable before phrasing. Middle: A writer instantiates the plan; constraint, dependency, and intent checks filter candidates, and the plan yields the rubric. Right: BrowseHarness records teacher rollouts for rubric and grounding checks; verified trajectories supervise training, while a disjoint audited set forms LH-LiveWeb.

Leaderboard & Quantitative Results

Evaluation on LH-LiveWeb (100 live-web tasks, 150-step budget) under BrowseHarness, along with harness comparison, cross-benchmark transfer, and layered grading analysis.

Case Trajectory

Interactive inspection of a complete recorded evaluation trajectory on LH-LiveWeb task lh-042: locate 13 Kamchatka Peninsula volcanoes on geonames.org, extract their coordinates from each reference page, and build a labeled GeoJSON map on geojson.io.

Strict Success Model: claude-opus-4.8 83 turns · 100 tool calls 53 embedded screenshots 2 context compactions

Task lh-042 · Kamchatka Volcanoes

Shortcuts inside viewer: ←/→ step, [/] turn, s screenshot, c compaction

Citation

@article{xu2026webrelay,
  title   = {{WebRelay}: Plan-First Synthesis of Verifiable
             Long-Horizon Tasks for Browser Agents},
  author  = {Xu, Chenting and Peng, Chuang and Guo, Zilin and
             Lin, Qiang and Liu, Yichen and Yao, Tiankuo and
             Li, Mingqian and Ma, Zheng and Wu, Zehuan and
             Lu, Lewei and Xu, Dan},
  journal = {arXiv preprint arXiv:2612.02298},
  year    = {2026}
}

LH-LiveWeb · Task lh-042 Trajectory Viewer

Open in new tab ↗