WebDreamer is a planning framework that enables efficient and effective planning for real-world web agent tasks. Check our paper for more details.
This work is a collaboration between OSUNLP and Orby AI.
Strong performance on VisualWebArena and Mind2Web-live
Benchmark
Method
Success Rate
VisualWebArena
GPT-4o + Reactive
17.6%
GPT-4o + Tree Search
26.2%
GPT-4o + WebDreamer
23.6% (↑34.1%)
Online-Mind2Web
GPT-4o + Reactive
26.0%
GPT-4o + WebDreamer
37.0% (↑42.3%)
Mind2Web-live
GPT-4o + Reactive
20.2%
GPT-4o + WebDreamer
25.0% (↑23.8%)
Compared to the reactive baselines, WebDreamer significantly improves performance by 34.1%, 42.3%, and 23.8% on VisualWebArena, Online-Mind2Web, and Mind2Web-live, respectively.
Better efficiency than tree search with true interactions
image
WebDreamer effectively explores the search space through simulations, which largely reduces the reliance on real-world interactions while maintaining robust performance.
Actually our model is quite robust to textual prompt so feel free to try various prompts which we didn't heavily explore.
python
1defformat_openai_template(description:str, base64_image):2return[3{4"role":"user",5"content":[6{7"type":"image_url",8"image_url":{"url":f"data:image/jpeg;base64,{base64_image}"},9},10{11"type":"text",12"text":f"""
13 Below is current screenshot. Please describe what you would see after a {action_description}"""14},15],16},17]181920messages = format_openai_template(description, base64_image)2122completion =await client.chat.completions.create(23 model=args.model_path,24 messages=messages,25 temperature=1.026)27
Citation Information
If you find this work useful, please consider citing our papers:
@article{Gu2024WebDreamer,
author = {Yu Gu and Kai Zhang and Yuting Ning and Boyuan Zheng and Boyu Gou and Tianci Xue and Cheng Chang and Sanjari Srivastava and Yanan Xie and Peng Qi and Huan Sun and Yu Su},
title = {Is Your LLM Secretly a World Model of the Internet? Model-Based Planning for Web Agents},
journal = {CoRR},
volume = {abs/2411.06559},
year = {2024},
url = {https://arxiv.org/abs/2411.06559},
eprinttype= {arXiv},
eprint = {2411.06559},
}