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

> WebRelay plans multi-site browser tasks before a language model phrases them, then derives checks for evidence flow and final artifacts; LH-LiveWeb evaluates 100 live-web workflows. Fine-tuning Qwen3.5-27B on 733 verified trajectories raised strict success from 14.7% to 57.3%.

- arXiv: https://arxiv.org/abs/2612.02298
- Authors: Chenting Xu, Chuang Peng, Zilin Guo, Qiang Lin, Yichen Liu, Tiankuo Yao, Mingqian Li, Zheng Ma, Zehuan Wu, Lewei Lu, Dan Xu
- Published: 2026-12-02
- Topic: Agents
- Visual carousel: https://instaxiv.com/p/2612.02298
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## A correct answer can hide a failed browser workflow

**23.6 pp** Mean success gain, no process checks

## A lookup is not a workflow

![Figure 4](https://cdn.instaxiv.com/figures/2612.02298/figure4.webp)

Top: Open Library book retrieval takes 6–7 steps. Bottom: a 50-step workflow turns readings from seven BBC News sections across two 2020 snapshots into an SQL table, with provenance-bearing handoffs. (Figure 4)

## Plausible answers can still be ungrounded

![Figure 3](https://cdn.instaxiv.com/figures/2612.02298/figure3.webp)

In Odysseys, a memorized yoga recommendation is accepted without live-page reads. For Toronto ward populations, an evidence-grounded judge checks source provenance and entity-value links in a saved chart, rejecting ungrounded output. (Figure 3)

## A model phrases the task, not the route

**Phrase-first:** In 300 unfiltered drafts, none exceeded two stages; 15 lacked an inter-stage dependency.

**Plan-first:** WebRelay locks a route and artifact on a 517-site typed graph; a writer then chooses entities and wording. In 300 accepted tasks, 101 had 3–4 stages.

Filtering differs, so this compares task shape, not agent completion.

## The plan becomes a testable score

1. **Answer-agnostic rules**: Plan-derived rules check provenance, breadth, shortcuts, handoffs, and deliverables, not answer values.
2. **Three grading layers**: LH-LiveWeb has 100 tasks, 100 distinct hosts, and 24 categories; artifact, process, and answer layers check outputs, traces, and page-derived keys.
3. **Strict success**: It requires a valid artifact, all non-breadth requirements, and every answer-key field matched.
4. **Frontier baseline**: At maximum reasoning and 150 steps, seven frontier models average 56.7% strict success (45.0–70.0%); scores fall from 69.4% at 3–4 entities to 40.7% at 15–20.

## A provenance judge can miss a broken handoff

![Figure 8](https://cdn.instaxiv.com/figures/2612.02298/figure8.webp)

In this development rollout, the planned Debian-to-Repology handoff never happens, yet both judgings pass its provenance requirement. (Figure 8)

## Only verified teacher traces become training data

1. **Collect teacher traces**: Claude Opus 4.8 produced one rollout for each of 3,468 synthesized tasks; a three-model panel marked 1,005 as meeting every rubric item.
2. **Block scripted fetches**: Tool-log gates withheld 223 perfect-rated rollouts that fetched source pages without browser navigation.
3. **Train the students**: Outside evaluation, 733 completed, gate-passing trajectories became SFT data for Qwen3.5-9B and Qwen3.5-27B.

## Process checks change reported success

**Answer checking removed:** Frontier mean success rises 7.7 percentage points versus full layered grading.

**Process checks removed:** Mean success rises 23.6 percentage points; for every frontier model, 33–50% of failures report correct values despite incomplete workflows.

A correct value does not prove live-page reading or faithful handoffs.

## Verified traces lift both Qwen models

**Base models:** On LH-LiveWeb, Qwen3.5-9B scored 10.3% and Qwen3.5-27B scored 14.7% strict success.

**After WebRelay SFT:** They reached 35.0% and 57.3%; paired tests gave p<10^-4 for both. Both improved on all three external benchmarks, with significant pooled gains across 742 tasks.

The 27B result is comparable to six of seven frontier models; student scores average three judgings.

## Fine-tuning cuts interaction cost too

![Figure 1](https://cdn.instaxiv.com/figures/2612.02298/figure1.webp)

Green bars mark fine-tuned students. Cost is mean assistant turns per attempt divided by success rate; Qwen3.5-27B falls from 340 to 89 turns, within the 61–115-turn frontier range. (Figure 1)

## Scope, maintenance, and judge limits

- **Structured-artifact scope**: LH-LiveWeb omits free-form prose, subagent invocation, and unconstrained exploration.
- **Live-site drift**: Answer keys need periodic refresh as sites change; grading itself does not update them.
- **Shortcut blind spots**: Log gates catch clear script-fetch signatures, but other shortcuts pass; the true shortcut rate among withheld rollouts is unquantified.

Best used when: Best for live, cross-site tasks with checkable artifacts; report the harness, as four setups ranged from 39.0% to 58.8% across five frontier models.

## Key takeaways

- For long browser workflows, success includes evidence flow and a valid artifact, not just a final value.
- Lock dependencies first, then derive checks from the plan to audit tasks and training traces.
- The open problem is detecting shortcuts that leave no clear tool-log signature.

## Links

- arXiv: https://arxiv.org/abs/2612.02298
- PDF: https://arxiv.org/pdf/2612.02298

## Citation

```bibtex
@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},
  url     = {https://arxiv.org/abs/2612.02298}
}
```
